PageSourceSearch

https://artvillage.club/assets/index-CcjXMo1L.js

js artvillage.club collected 2026-10-07 10:04:42 UTC 622,016 bytes, 55 lines download raw bytes

vendor: 7,953 bytes, line 1
1function X0(l,r){for(var o=0;o<r.length;o++){const c=r[o];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in l)){const f=Object.getOwnPropertyDescriptor(c,d);f&&Object.defineProperty(l,d,f.get?f:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const f of d)if(f.type==="childList")for(const x of f.addedNodes)x.tagName==="LINK"&&x.rel==="modulepreload"&&c(x)}).observe(document,{childList:!0,subtree:!0});function o(d){const f={};return d.integrity&&(f.integrity=d.integrity),d.referrerPolicy&&(f.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?f.credentials="include":d.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function c(d){if(d.ep)return;d.ep=!0;const f=o(d);fetch(d.href,f)}})();function Ip(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var pu={exports:{}},ni={};var Wh;function Q0(){if(Wh)return ni;Wh=1;var l=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(c,d,f){var x=null;if(f!==void 0&&(x=""+f),d.key!==void 0&&(x=""+d.key),"key"in d){f={};for(var g in d)g!=="key"&&(f[g]=d[g])}else f=d;return d=f.ref,{$$typeof:l,type:c,key:x,ref:d!==void 0?d:null,props:f}}return ni.Fragment=r,ni.jsx=o,ni.jsxs=o,ni}var $h;function Z0(){return $h||($h=1,pu.exports=Q0()),pu.exports}var s=Z0(),xu={exports:{}},li={},gu={exports:{}},bu={};var Ph;function K0(){return Ph||(Ph=1,(function(l){function r(T,G){var se=T.length;T.push(G);e:for(;0<se;){var ve=se-1>>>1,Q=T[ve];if(0<d(Q,G))T[ve]=G,T[se]=Q,se=ve;else break e}}function o(T){return T.length===0?null:T[0]}function c(T){if(T.length===0)return null;var G=T[0],se=T.pop();if(se!==G){T[0]=se;e:for(var ve=0,Q=T.length,C=Q>>>1;ve<C;){var H=2*(ve+1)-1,q=T[H],K=H+1,W=T[K];if(0>d(q,se))K<Q&&0>d(W,q)?(T[ve]=W,T[K]=se,ve=K):(T[ve]=q,T[H]=se,ve=H);else if(K<Q&&0>d(W,se))T[ve]=W,T[K]=se,ve=K;else break e}}return G}function d(T,G){var se=T.sortIndex-G.sortIndex;return se!==0?se:T.id-G.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var x=Date,g=x.now();l.unstable_now=function(){return x.now()-g}}var v=[],h=[],A=1,p=null,j=3,E=!1,N=!1,_=!1,U=!1,L=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function X(T){for(var G=o(h);G!==null;){if(G.callback===null)c(h);else if(G.startTime<=T)c(h),G.sortIndex=G.expirationTime,r(v,G);else break;G=o(h)}}function re(T){if(_=!1,X(T),!N)if(o(v)!==null)N=!0,ue||(ue=!0,Oe());else{var G=o(h);G!==null&&Ye(re,G.startTime-T)}}var ue=!1,Z=-1,Y=5,Ce=-1;function at(){return U?!0:!(l.unstable_now()-Ce<Y)}function Je(){if(U=!1,ue){var T=l.unstable_now();Ce=T;var G=!0;try{e:{N=!1,_&&(_=!1,P(Z),Z=-1),E=!0;var se=j;try{t:{for(X(T),p=o(v);p!==null&&!(p.expirationTime>T&&at());){var ve=p.callback;if(typeof ve=="function"){p.callback=null,j=p.priorityLevel;var Q=ve(p.expirationTime<=T);if(T=l.unstable_now(),typeof Q=="function"){p.callback=Q,X(T),G=!0;break t}p===o(v)&&c(v),X(T)}else c(v);p=o(v)}if(p!==null)G=!0;else{var C=o(h);C!==null&&Ye(re,C.startTime-T),G=!1}}break e}finally{p=null,j=se,E=!1}G=void 0}}finally{G?Oe():ue=!1}}}var Oe;if(typeof ne=="function")Oe=function(){ne(Je)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,ut=Pe.port2;Pe.port1.onmessage=Je,Oe=function(){ut.postMessage(null)}}else Oe=function(){L(Je,0)};function Ye(T,G){Z=L(function(){T(l.unstable_now())},G)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(T){T.callback=null},l.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<T?Math.floor(1e3/T):5},l.unstable_getCurrentPriorityLevel=function(){return j},l.unstable_next=function(T){switch(j){case 1:case 2:case 3:var G=3;break;default:G=j}var se=j;j=G;try{return T()}finally{j=se}},l.unstable_requestPaint=function(){U=!0},l.unstable_runWithPriority=function(T,G){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var se=j;j=T;try{return G()}finally{j=se}},l.unstable_scheduleCallback=function(T,G,se){var ve=l.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ve+se:ve):se=ve,T){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=se+Q,T={id:A++,callback:G,priorityLevel:T,startTime:se,expirationTime:Q,sortIndex:-1},se>ve?(T.sortIndex=se,r(h,T),o(v)===null&&T===o(h)&&(_?(P(Z),Z=-1):_=!0,Ye(re,se-ve))):(T.sortIndex=Q,r(v,T),N||E||(N=!0,ue||(ue=!0,Oe()))),T},l.unstable_shouldYield=at,l.unstable_wrapCallback=function(T){var G=j;return function(){var se=j;j=G;try{return T.apply(this,arguments)}finally{j=se}}}})(bu)),bu}var Ih;function J0(){return Ih||(Ih=1,gu.exports=K0()),gu.exports}var yu={exports:{}},pe={};var ep;function W0(){if(ep)return pe;ep=1;var l=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),x=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),j=Symbol.iterator;function E(C){return C===null||typeof C!="object"?null:(C=j&&C[j]||C["@@iterator"],typeof C=="function"?C:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,U={};function L(C,H,q){this.props=C,this.context=H,this.refs=U,this.updater=q||N}L.prototype.isReactComponent={},L.prototype.setState=function(C,H){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,H,"setState")},L.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function P(){}P.prototype=L.prototype;function ne(C,H,q){this.props=C,this.context=H,this.refs=U,this.updater=q||N}var X=ne.prototype=new P;X.constructor=ne,_(X,L.prototype),X.isPureReactComponent=!0;var re=Array.isArray;function ue(){}var Z={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function Ce(C,H,q){var K=q.ref;return{$$typeof:l,type:C,key:H,ref:K!==void 0?K:null,props:q}}function at(C,H){return Ce(C.type,H,C.props)}function Je(C){return typeof C=="object"&&C!==null&&C.$$typeof===l}function Oe(C){var H={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(q){return H[q]})}var Pe=/\/+/g;function ut(C,H){return typeof C=="object"&&C!==null&&C.key!=null?Oe(""+C.key):H.toString(36)}function Ye(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(ue,ue):(C.status="pending",C.then(function(H){C.status==="pending"&&(C.status="fulfilled",C.value=H)},function(H){C.status==="pending"&&(C.status="rejected",C.reason=H)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function T(C,H,q,K,W){var ee=typeof C;(ee==="undefined"||ee==="boolean")&&(C=null);var ge=!1;if(C===null)ge=!0;else switch(ee){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(C.$$typeof){case l:case r:ge=!0;break;case A:return ge=C._init,T(ge(C._payload),H,q,K,W)}}
vendor: 12,245 bytes, line 1
1if(ge)return W=W(C),ge=K===""?"."+ut(C,0):K,re(W)?(q="",ge!=null&&(q=ge.replace(Pe,"$&/")+"/"),T(W,H,q,"",function(Yt){return Yt})):W!=null&&(Je(W)&&(W=at(W,q+(W.key==null||C&&C.key===W.key?"":(""+W.key).replace(Pe,"$&/")+"/")+ge)),H.push(W)),1;ge=0;var xe=K===""?".":K+":";if(re(C))for(var me=0;me<C.length;me++)K=C[me],ee=xe+ut(K,me),ge+=T(K,H,q,ee,W);else if(me=E(C),typeof me=="function")for(C=me.call(C),me=0;!(K=C.next()).done;)K=K.value,ee=xe+ut(K,me++),ge+=T(K,H,q,ee,W);else if(ee==="object"){if(typeof C.then=="function")return T(Ye(C),H,q,K,W);throw H=String(C),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ge}function G(C,H,q){if(C==null)return C;var K=[],W=0;return T(C,K,"","",function(ee){return H.call(q,ee,W++)}),K}function se(C){if(C._status===-1){var H=C._result;H=H(),H.then(function(q){(C._status===0||C._status===-1)&&(C._status=1,C._result=q)},function(q){(C._status===0||C._status===-1)&&(C._status=2,C._result=q)}),C._status===-1&&(C._status=0,C._result=H)}if(C._status===1)return C._result.default;throw C._result}var ve=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},Q={map:G,forEach:function(C,H,q){G(C,function(){H.apply(this,arguments)},q)},count:function(C){var H=0;return G(C,function(){H++}),H},toArray:function(C){return G(C,function(H){return H})||[]},only:function(C){if(!Je(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return pe.Activity=p,pe.Children=Q,pe.Component=L,pe.Fragment=o,pe.Profiler=d,pe.PureComponent=ne,pe.StrictMode=c,pe.Suspense=v,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,pe.__COMPILER_RUNTIME={__proto__:null,c:function(C){return Z.H.useMemoCache(C)}},pe.cache=function(C){return function(){return C.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(C,H,q){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var K=_({},C.props),W=C.key;if(H!=null)for(ee in H.key!==void 0&&(W=""+H.key),H)!Y.call(H,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&H.ref===void 0||(K[ee]=H[ee]);var ee=arguments.length-2;if(ee===1)K.children=q;else if(1<ee){for(var ge=Array(ee),xe=0;xe<ee;xe++)ge[xe]=arguments[xe+2];K.children=ge}return Ce(C.type,W,K)},pe.createContext=function(C){return C={$$typeof:x,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:f,_context:C},C},pe.createElement=function(C,H,q){var K,W={},ee=null;if(H!=null)for(K in H.key!==void 0&&(ee=""+H.key),H)Y.call(H,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(W[K]=H[K]);var ge=arguments.length-2;if(ge===1)W.children=q;else if(1<ge){for(var xe=Array(ge),me=0;me<ge;me++)xe[me]=arguments[me+2];W.children=xe}if(C&&C.defaultProps)for(K in ge=C.defaultProps,ge)W[K]===void 0&&(W[K]=ge[K]);return Ce(C,ee,W)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(C){return{$$typeof:g,render:C}},pe.isValidElement=Je,pe.lazy=function(C){return{$$typeof:A,_payload:{_status:-1,_result:C},_init:se}},pe.memo=function(C,H){return{$$typeof:h,type:C,compare:H===void 0?null:H}},pe.startTransition=function(C){var H=Z.T,q={};Z.T=q;try{var K=C(),W=Z.S;W!==null&&W(q,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(ue,ve)}catch(ee){ve(ee)}finally{H!==null&&q.types!==null&&(H.types=q.types),Z.T=H}},pe.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},pe.use=function(C){return Z.H.use(C)},pe.useActionState=function(C,H,q){return Z.H.useActionState(C,H,q)},pe.useCallback=function(C,H){return Z.H.useCallback(C,H)},pe.useContext=function(C){return Z.H.useContext(C)},pe.useDebugValue=function(){},pe.useDeferredValue=function(C,H){return Z.H.useDeferredValue(C,H)},pe.useEffect=function(C,H){return Z.H.useEffect(C,H)},pe.useEffectEvent=function(C){return Z.H.useEffectEvent(C)},pe.useId=function(){return Z.H.useId()},pe.useImperativeHandle=function(C,H,q){return Z.H.useImperativeHandle(C,H,q)},pe.useInsertionEffect=function(C,H){return Z.H.useInsertionEffect(C,H)},pe.useLayoutEffect=function(C,H){return Z.H.useLayoutEffect(C,H)},pe.useMemo=function(C,H){return Z.H.useMemo(C,H)},pe.useOptimistic=function(C,H){return Z.H.useOptimistic(C,H)},pe.useReducer=function(C,H,q){return Z.H.useReducer(C,H,q)},pe.useRef=function(C){return Z.H.useRef(C)},pe.useState=function(C){return Z.H.useState(C)},pe.useSyncExternalStore=function(C,H,q){return Z.H.useSyncExternalStore(C,H,q)},pe.useTransition=function(){return Z.H.useTransition()},pe.version="19.2.7",pe}var tp;function Qr(){return tp||(tp=1,yu.exports=W0()),yu.exports}var vu={exports:{}},At={};var ap;function $0(){if(ap)return At;ap=1;var l=Qr();function r(v){var h="https://react.dev/errors/"+v;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)h+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+v+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var c={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},d=Symbol.for("react.portal");function f(v,h,A){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:p==null?null:""+p,children:v,containerInfo:h,implementation:A}}var x=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(v,h){if(v==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,At.createPortal=function(v,h){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return f(v,h,null,A)},At.flushSync=function(v){var h=x.T,A=c.p;try{if(x.T=null,c.p=2,v)return v()}finally{x.T=h,c.p=A,c.d.f()}},At.preconnect=function(v,h){typeof v=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,c.d.C(v,h))},At.prefetchDNS=function(v){typeof v=="string"&&c.d.D(v)},At.preinit=function(v,h){if(typeof v=="string"&&h&&typeof h.as=="string"){var A=h.as,p=g(A,h.crossOrigin),j=typeof h.integrity=="string"?h.integrity:void 0,E=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;A==="style"?c.d.S(v,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:j,fetchPriority:E}):A==="script"&&c.d.X(v,{crossOrigin:p,integrity:j,fetchPriority:E,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},At.preinitModule=function(v,h){if(typeof v=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var A=g(h.as,h.crossOrigin);c.d.M(v,{crossOrigin:A,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&c.d.M(v)},At.preload=function(v,h){if(typeof v=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var A=h.as,p=g(A,h.crossOrigin);c.d.L(v,A,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},At.preloadModule=function(v,h){if(typeof v=="string")if(h){var A=g(h.as,h.crossOrigin);c.d.m(v,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:A,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else c.d.m(v)},At.requestFormReset=function(v){c.d.r(v)},At.unstable_batchedUpdates=function(v,h){return v(h)},At.useFormState=function(v,h,A){return x.H.useFormState(v,h,A)},At.useFormStatus=function(){return x.H.useHostTransitionStatus()},At.version="19.2.7",At}var np;function ex(){if(np)return vu.exports;np=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(r){console.error(r)}}return l(),vu.exports=$0(),vu.exports}var lp;function P0(){if(lp)return li;lp=1;var l=J0(),r=Qr(),o=ex();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function x(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(f(e)!==e)throw Error(c(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(c(188));return t!==e?null:e}for(var a=e,n=t;;){var i=a.return;if(i===null)break;var u=i.alternate;if(u===null){if(n=i.return,n!==null){a=n;continue}break}if(i.child===u.child){for(u=i.child;u;){if(u===a)return v(i),e;if(u===n)return v(i),t;u=u.sibling}throw Error(c(188))}if(a.return!==n.return)a=i,n=u;else{for(var m=!1,b=i.child;b;){if(b===a){m=!0,a=i,n=u;break}if(b===n){m=!0,n=i,a=u;break}b=b.sibling}if(!m){for(b=u.child;b;){if(b===a){m=!0,a=u,n=i;break}if(b===n){m=!0,n=u,a=i;break}b=b.sibling}if(!m)throw Error(c(189))}}if(a.alternate!==n)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?e:t}function A(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=A(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,j=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),Ce=Symbol.for("react.activity"),at=Symbol.for("react.memo_cache_sentinel"),Je=Symbol.iterator;function Oe(e){return e===null||typeof e!="object"?null:(e=Je&&e[Je]||e["@@iterator"],typeof e=="function"?e:null)}var Pe=Symbol.for("react.client.reference");function ut(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Pe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case L:return"Profiler";case U:return"StrictMode";case re:return"Suspense";case ue:return"SuspenseList";case Ce:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case N:return"Portal";case ne:return e.displayName||"Context";case P:return(e._context.displayName||"Context")+".Consumer";case X:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return t=e.displayName||null,t!==null?t:ut(e.type)||"Memo";case Y:t=e._payload,e=e._init;try{return ut(e(t))}catch{}}return null}var Ye=Array.isArray,T=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pen
vendor: 4,187 bytes, lines 1-8
1ding:!1,data:null,method:null,action:null},ve=[],Q=-1;function C(e){return{current:e}}function H(e){0>Q||(e.current=ve[Q],ve[Q]=null,Q--)}function q(e,t){Q++,ve[Q]=e.current,e.current=t}var K=C(null),W=C(null),ee=C(null),ge=C(null);function xe(e,t){switch(q(ee,t),q(W,e),q(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=yh(t),e=vh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(K),q(K,e)}function me(){H(K),H(W),H(ee)}function Yt(e){e.memoizedState!==null&&q(ge,e);var t=K.current,a=vh(t,e.type);t!==a&&(q(W,e),q(K,a))}function Tt(e){W.current===e&&(H(K),H(W)),ge.current===e&&(H(ge),Is._currentValue=se)}var Et,Za;function yt(e){if(Et===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Et=t&&t[1]||"",Za=-1<a.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+Et+e+Za}var os=!1;function rl(e,t){if(!e||os)return"";os=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(O){var M=O}Reflect.construct(e,[],V)}else{try{V.call()}catch(O){M=O}e.call(V.prototype)}}else{try{throw Error()}catch(O){M=O}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(O){if(O&&M&&typeof O.stack=="string")return[O.stack,M.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),m=u[0],b=u[1];if(m&&b){var S=m.split(`
4`),z=b.split(`
5`);for(i=n=0;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;for(;i<z.length&&!z[i].includes("DetermineComponentFrameRoot");)i++;if(n===S.length||i===z.length)for(n=S.length-1,i=z.length-1;1<=n&&0<=i&&S[n]!==z[i];)i--;for(;1<=n&&0<=i;n--,i--)if(S[n]!==z[i]){if(n!==1||i!==1)do if(n--,i--,0>i||S[n]!==z[i]){var B=`
6`+S[n].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),B}while(1<=n&&0<=i);break}}}finally{os=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?yt(a):""}function _n(e,t){switch(e.tag){case 26:case 27:case 5:return yt(e.type);case 16:return yt("Lazy");case 13:return e.child!==t&&t!==null?yt("Suspense Fallback"):yt("Suspense");case 19:return yt("SuspenseList");case 0:case 15:return rl(e.type,!1);case 11:return rl(e.type.render,!1);case 1:return rl(e.type,!0);case 31:return yt("Activity");default:return""}}function cs(e){try{var t="",a=null;do t+=_n(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
7Error generating stack: `+n.message+`
8`+n.stack}}var Xt=Object.prototype.hasOwnProperty,us=l.unstable_scheduleCallback,ds=l.unstable_cancelCallback,jt=l.unstable_shouldYield,Ka=l.unstable_requestPaint,Nt=l.unstable_now,ao=l.unstable_getCurrentPriorityLevel,Rn=l.unstable_ImmediatePriority,pi=l.unstable_UserBlockingPriority,Tn=l.unstable_NormalPriority,fs=l.unstable_LowPriority,Na=l.unstable_IdlePriority,xi=l.log,Ja=l.unstable_setDisableYieldValue,Dn=null,St=null;function ca(e){if(typeof xi=="function"&&Ja(e),St&&typeof St.setStrictMode=="function")try{St.setStrictMode(Dn,e)}catch{}}var vt=Math.clz32?Math.clz32:pa,no=Math.log,ms=Math.LN2;function pa(e){return e>>>=0,e===0?32:31-(no(e)/ms|0)|0}var ol=256,cl=262144,zn=4194304;function xa(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;
vendor: 7,958 bytes, line 8
8case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function he(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var i=0,u=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var b=n&134217727;return b!==0?(n=b&~u,n!==0?i=xa(n):(m&=b,m!==0?i=xa(m):a||(a=b&~e,a!==0&&(i=xa(a))))):(b=n&~u,b!==0?i=xa(b):m!==0?i=xa(m):a||(a=n&~e,a!==0&&(i=xa(a)))),i===0?0:t!==0&&t!==i&&(t&u)===0&&(u=i&-i,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:i}function Xe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function dt(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 wt(){var e=zn;return zn<<=1,(zn&62914560)===0&&(zn=4194304),e}function Wa(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ze(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Dt(e,t,a,n,i,u){var m=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,z=e.hiddenUpdates;for(a=m&~a;0<a;){var B=31-vt(a),V=1<<B;b[B]=0,S[B]=-1;var M=z[B];if(M!==null)for(z[B]=null,B=0;B<M.length;B++){var O=M[B];O!==null&&(O.lane&=-536870913)}a&=~V}n!==0&&Mn(e,n,0),u!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=u&~(m&~t))}function Mn(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-vt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function zt(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-vt(a),i=1<<n;i&t|e[n]&t&&(e[n]|=t),a&=~i}}function Mt(e,t){var a=t&-t;return a=(a&42)!==0?1:ul(a),(a&(e.suspendedLanes|t))!==0?0:a}function ul(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ua(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function lo(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:Gh(e.type))}function ld(e,t){var a=G.p;try{return G.p=e,t()}finally{G.p=a}}var $a=Math.random().toString(36).slice(2),ht="__reactFiber$"+$a,Ot="__reactProps$"+$a,dl="__reactContainer$"+$a,so="__reactEvents$"+$a,Mg="__reactListeners$"+$a,Og="__reactHandles$"+$a,sd="__reactResources$"+$a,hs="__reactMarker$"+$a;function io(e){delete e[ht],delete e[Ot],delete e[so],delete e[Mg],delete e[Og]}function fl(e){var t=e[ht];if(t)return t;for(var a=e.parentNode;a;){if(t=a[dl]||a[ht]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Ch(e);e!==null;){if(a=e[ht])return a;e=Ch(e)}return t}e=a,a=e.parentNode}return null}function ml(e){if(e=e[ht]||e[dl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ps(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function hl(e){var t=e[sd];return t||(t=e[sd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ft(e){e[hs]=!0}var id=new Set,rd={};function On(e,t){pl(e,t),pl(e+"Capture",t)}function pl(e,t){for(rd[e]=t,e=0;e<t.length;e++)id.add(t[e])}var Lg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),od={},cd={};function Bg(e){return Xt.call(cd,e)?!0:Xt.call(od,e)?!1:Lg.test(e)?cd[e]=!0:(od[e]=!0,!1)}function gi(e,t,a){if(Bg(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function bi(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Sa(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function It(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ud(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ug(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(m){a=""+m,u.call(this,m)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ro(e){if(!e._valueTracker){var t=ud(e)?"checked":"value";e._valueTracker=Ug(e,t,""+e[t])}}function dd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=ud(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function yi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Hg=/[\n"\\]/g;function ea(e){return e.replace(Hg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function oo(e,t,a,n,i,u,m,b){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+It(t)):e.value!==""+It(t)&&(e.value=""+It(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?co(e,m,It(t)):a!=null?co(e,m,It(a)):n!=null&&e.removeAttribute("value"),i==null&&u!=null&&(e.defaultChecked=!!u),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+It(b):e.removeAttribute("name")}function fd(e,t,a,n,i,u,m,b){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){ro(e);return}a=a!=null?""+It(a):"",t=t!=null?""+It(t):a,b||t===e.value||(e.value=t),e.defaultValue=t}n=n??i,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=b?e.checked:!!n,e.defaultChecked=!!n,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),ro(e)}function co(e,t,a){t==="number"&&yi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function xl(e,t,a,n){if(e=e.options,t){t={};for(var i=0;i<a.length;i++)t["$"+a[i]]=!0;for(a=0;a<e.length;a++)i=t.hasOwnProperty("$"+e[a].value),e[a].selected!==i&&(e[a].selected=i),i&&n&&(e[a].defaultSelected=!0)}else{for(a=""+It(a),t=null,i=0;i<e.length;i++){if(e[i].value===a){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function md(e,t,a){if(t!=null&&(t=""+It(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+It(a):""}function hd(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(c(92));
vendor: 4,340 bytes, line 8
8if(Ye(n)){if(1<n.length)throw Error(c(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=It(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),ro(e)}function gl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Fg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function pd(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Fg.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function xd(e,t,a){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var i in t)n=t[i],t.hasOwnProperty(i)&&a[i]!==n&&pd(e,i,n)}else for(var u in t)t.hasOwnProperty(u)&&pd(e,u,t[u])}function uo(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Vg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
8-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),qg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function vi(e){return qg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ca(){}var fo=null;function mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bl=null,yl=null;function gd(e){var t=ml(e);if(t&&(e=t.stateNode)){var a=e[Ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(oo(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+ea(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var i=n[Ot]||null;if(!i)throw Error(c(90));oo(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&dd(n)}break e;case"textarea":md(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&xl(e,!!a.multiple,t,!1)}}}var ho=!1;function bd(e,t,a){if(ho)return e(t,a);ho=!0;try{var n=e(t);return n}finally{if(ho=!1,(bl!==null||yl!==null)&&(rr(),bl&&(t=bl,e=yl,yl=bl=null,gd(t),e)))for(t=0;t<e.length;t++)gd(e[t])}}function xs(e,t){var a=e.stateNode;if(a===null)return null;var n=a[Ot]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(c(231,t,typeof a));return a}var ka=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),po=!1;if(ka)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){po=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{po=!1}var Pa=null,xo=null,wi=null;function yd(){if(wi)return wi;var e,t=xo,a=t.length,n,i="value"in Pa?Pa.value:Pa.textContent,u=i.length;for(e=0;e<a&&t[e]===i[e];e++);var m=a-e;for(n=1;n<=m&&t[a-n]===i[u-n];n++);return wi=i.slice(e,1<n?1-n:void 0)}function Ai(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ei(){return!0}function vd(){return!1}function Lt(e){function t(a,n,i,u,m){this._reactName=a,this._targetInst=i,this.type=n,this.nativeEvent=u,this.target=m,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(a=e[b],this[b]=a?a(u):u[b]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ei:vd,this.isPropagationStopped=vd,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ei)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ei)},persist:function(){},isPersistent:Ei}),t}var Ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ji=Lt(Ln),bs=p({},Ln,{view:0,detail:0}),Gg=Lt(bs),go,bo,ys,Ni=p({},bs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ys&&(ys&&e.type==="mousemove"?(go=e.screenX-ys.screenX,bo=e.screenY-ys.screenY):bo=go=0,ys=e),go)},movementY:function(e){return"movementY"in e?e.movementY:bo}}),wd=Lt(Ni),Yg=p({},Ni,{dataTransfer:0}),Xg=Lt(Yg),Qg=p({},bs,{relatedTarget:0}),yo=Lt(Qg),Zg=p({},Ln,{animationName:0,elapsedTime:0,pseudoElement:0}),Kg=Lt(Zg),Jg=p({},Ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wg=Lt(Jg),$g=p({},Ln,{data:0}),Ad=Lt($g),Pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ig={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=eb[e])?!!t[e]:!1}function vo(){return tb}var ab=p({},bs,{key:function(e){if(e.key){var t=Pg[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 2,941 bytes, line 8
8return e.type==="keypress"?(e=Ai(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ig[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vo,charCode:function(e){return e.type==="keypress"?Ai(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ai(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nb=Lt(ab),lb=p({},Ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ed=Lt(lb),sb=p({},bs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vo}),ib=Lt(sb),rb=p({},Ln,{propertyName:0,elapsedTime:0,pseudoElement:0}),ob=Lt(rb),cb=p({},Ni,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ub=Lt(cb),db=p({},Ln,{newState:0,oldState:0}),fb=Lt(db),mb=[9,13,27,32],wo=ka&&"CompositionEvent"in window,vs=null;ka&&"documentMode"in document&&(vs=document.documentMode);var hb=ka&&"TextEvent"in window&&!vs,jd=ka&&(!wo||vs&&8<vs&&11>=vs),Nd=" ",Sd=!1;function Cd(e,t){switch(e){case"keyup":return mb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vl=!1;function pb(e,t){switch(e){case"compositionend":return kd(t);case"keypress":return t.which!==32?null:(Sd=!0,Nd);case"textInput":return e=t.data,e===Nd&&Sd?null:e;default:return null}}function xb(e,t){if(vl)return e==="compositionend"||!wo&&Cd(e,t)?(e=yd(),wi=xo=Pa=null,vl=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jd&&t.locale!=="ko"?null:t.data;default:return null}}var gb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _d(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gb[e.type]:t==="textarea"}function Rd(e,t,a,n){bl?yl?yl.push(n):yl=[n]:bl=n,t=hr(t,"onChange"),0<t.length&&(a=new ji("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var ws=null,As=null;function bb(e){mh(e,0)}function Si(e){var t=ps(e);if(dd(t))return e}function Td(e,t){if(e==="change")return t}var Dd=!1;if(ka){var Ao;if(ka){var Eo="oninput"in document;if(!Eo){var zd=document.createElement("div");zd.setAttribute("oninput","return;"),Eo=typeof zd.oninput=="function"}Ao=Eo}else Ao=!1;Dd=Ao&&(!document.documentMode||9<document.documentMode)}
vendor: 21,256 bytes, line 8
8function Md(){ws&&(ws.detachEvent("onpropertychange",Od),As=ws=null)}function Od(e){if(e.propertyName==="value"&&Si(As)){var t=[];Rd(t,As,e,mo(e)),bd(bb,t)}}function yb(e,t,a){e==="focusin"?(Md(),ws=t,As=a,ws.attachEvent("onpropertychange",Od)):e==="focusout"&&Md()}function vb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Si(As)}function wb(e,t){if(e==="click")return Si(t)}function Ab(e,t){if(e==="input"||e==="change")return Si(t)}function Eb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qt=typeof Object.is=="function"?Object.is:Eb;function Es(e,t){if(Qt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var i=a[n];if(!Xt.call(t,i)||!Qt(e[i],t[i]))return!1}return!0}function Ld(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bd(e,t){var a=Ld(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ld(a)}}function Ud(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ud(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=yi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=yi(e.document)}return t}function jo(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 jb=ka&&"documentMode"in document&&11>=document.documentMode,wl=null,No=null,js=null,So=!1;function Fd(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;So||wl==null||wl!==yi(n)||(n=wl,"selectionStart"in n&&jo(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),js&&Es(js,n)||(js=n,n=hr(No,"onSelect"),0<n.length&&(t=new ji("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=wl)))}function Bn(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Al={animationend:Bn("Animation","AnimationEnd"),animationiteration:Bn("Animation","AnimationIteration"),animationstart:Bn("Animation","AnimationStart"),transitionrun:Bn("Transition","TransitionRun"),transitionstart:Bn("Transition","TransitionStart"),transitioncancel:Bn("Transition","TransitionCancel"),transitionend:Bn("Transition","TransitionEnd")},Co={},Vd={};ka&&(Vd=document.createElement("div").style,"AnimationEvent"in window||(delete Al.animationend.animation,delete Al.animationiteration.animation,delete Al.animationstart.animation),"TransitionEvent"in window||delete Al.transitionend.transition);function Un(e){if(Co[e])return Co[e];if(!Al[e])return e;var t=Al[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Vd)return Co[e]=t[a];return e}var qd=Un("animationend"),Gd=Un("animationiteration"),Yd=Un("animationstart"),Nb=Un("transitionrun"),Sb=Un("transitionstart"),Cb=Un("transitioncancel"),Xd=Un("transitionend"),Qd=new Map,ko="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ko.push("scrollEnd");function da(e,t){Qd.set(e,t),On(t,[e])}var Ci=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ta=[],El=0,_o=0;function ki(){for(var e=El,t=_o=El=0;t<e;){var a=ta[t];ta[t++]=null;var n=ta[t];ta[t++]=null;var i=ta[t];ta[t++]=null;var u=ta[t];if(ta[t++]=null,n!==null&&i!==null){var m=n.pending;m===null?i.next=i:(i.next=m.next,m.next=i),n.pending=i}u!==0&&Zd(a,i,u)}}function _i(e,t,a,n){ta[El++]=e,ta[El++]=t,ta[El++]=a,ta[El++]=n,_o|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function Ro(e,t,a,n){return _i(e,t,a,n),Ri(e)}function Hn(e,t){return _i(e,null,null,t),Ri(e)}function Zd(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var i=!1,u=e.return;u!==null;)u.childLanes|=a,n=u.alternate,n!==null&&(n.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(i=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,i&&t!==null&&(i=31-vt(a),e=u.hiddenUpdates,n=e[i],n===null?e[i]=[t]:n.push(t),t.lane=a|536870912),u):null}function Ri(e){if(50<Qs)throw Qs=0,Hc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var jl={};function kb(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zt(e,t,a,n){return new kb(e,t,a,n)}function To(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _a(e,t){var a=e.alternate;return a===null?(a=Zt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Kd(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ti(e,t,a,n,i,u){var m=0;if(n=e,typeof e=="function")To(e)&&(m=1);else if(typeof e=="string")m=z0(e,a,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ce:return e=Zt(31,a,t,i),e.elementType=Ce,e.lanes=u,e;case _:return Fn(a.children,i,u,t);case U:m=8,i|=24;break;case L:return e=Zt(12,a,t,i|2),e.elementType=L,e.lanes=u,e;case re:return e=Zt(13,a,t,i),e.elementType=re,e.lanes=u,e;case ue:return e=Zt(19,a,t,i),e.elementType=ue,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ne:m=10;break e;case P:m=9;break e;case X:m=11;break e;case Z:m=14;break e;case Y:m=16,n=null;break e}m=29,a=Error(c(130,e===null?"null":typeof e,"")),n=null}return t=Zt(m,a,t,i),t.elementType=e,t.type=n,t.lanes=u,t}function Fn(e,t,a,n){return e=Zt(7,e,n,t),e.lanes=a,e}function Do(e,t,a){return e=Zt(6,e,null,t),e.lanes=a,e}function Jd(e){var t=Zt(18,null,null,0);return t.stateNode=e,t}function zo(e,t,a){return t=Zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wd=new WeakMap;function aa(e,t){if(typeof e=="object"&&e!==null){var a=Wd.get(e);return a!==void 0?a:(t={value:e,source:t,stack:cs(t)},Wd.set(e,t),t)}return{value:e,source:t,stack:cs(t)}}var Nl=[],Sl=0,Di=null,Ns=0,na=[],la=0,Ia=null,ga=1,ba="";function Ra(e,t){Nl[Sl++]=Ns,Nl[Sl++]=Di,Di=e,Ns=t}function $d(e,t,a){na[la++]=ga,na[la++]=ba,na[la++]=Ia,Ia=e;var n=ga;e=ba;var i=32-vt(n)-1;n&=~(1<<i),a+=1;var u=32-vt(t)+i;if(30<u){var m=i-i%5;u=(n&(1<<m)-1).toString(32),n>>=m,i-=m,ga=1<<32-vt(t)+i|a<<i|n,ba=u+e}else ga=1<<u|a<<i|n,ba=e}function Mo(e){e.return!==null&&(Ra(e,1),$d(e,1,0))}function Oo(e){for(;e===Di;)Di=Nl[--Sl],Nl[Sl]=null,Ns=Nl[--Sl],Nl[Sl]=null;for(;e===Ia;)Ia=na[--la],na[la]=null,ba=na[--la],na[la]=null,ga=na[--la],na[la]=null}function Pd(e,t){na[la++]=ga,na[la++]=ba,na[la++]=Ia,ga=t.id,ba=t.overflow,Ia=e}var pt=null,qe=null,ke=!1,en=null,sa=!1,Lo=Error(c(519));function tn(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ss(aa(t,e)),Lo}function Id(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[ht]=e,t[Ot]=n,a){case"dialog":je("cancel",t),je("close",t);break;case"iframe":case"object":case"embed":je("load",t);break;case"video":case"audio":for(a=0;a<Ks.length;a++)je(Ks[a],t);break;case"source":je("error",t);break;case"img":case"image":case"link":je("error",t),je("load",t);break;case"details":je("toggle",t);break;case"input":je("invalid",t),fd(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":je("invalid",t);break;case"textarea":je("invalid",t),hd(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||gh(t.textContent,a)?(n.popover!=null&&(je("beforetoggle",t),je("toggle",t)),n.onScroll!=null&&je("scroll",t),n.onScrollEnd!=null&&je("scrollend",t),n.onClick!=null&&(t.onclick=Ca),t=!0):t=!1,t||tn(e,!0)}function ef(e){for(pt=e.return;pt;)switch(pt.tag){case 5:case 31:case 13:sa=!1;return;case 27:case 3:sa=!0;return;default:pt=pt.return}}function Cl(e){if(e!==pt)return!1;if(!ke)return ef(e),ke=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||eu(e.type,e.memoizedProps)),a=!a),a&&qe&&tn(e),ef(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));qe=Sh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));qe=Sh(e)}else t===27?(t=qe,xn(e.type)?(e=su,su=null,qe=e):qe=t):qe=pt?ra(e.stateNode.nextSibling):null;return!0}function Vn(){qe=pt=null,ke=!1}function Bo(){var e=en;return e!==null&&(Ft===null?Ft=e:Ft.push.apply(Ft,e),en=null),e}function Ss(e){en===null?en=[e]:en.push(e)}var Uo=C(null),qn=null,Ta=null;function an(e,t,a){q(Uo,t._currentValue),t._currentValue=a}function Da(e){e._currentValue=Uo.current,H(Uo)}function Ho(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function Fo(e,t,a,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=i.dependencies;if(u!==null){var m=i.child;u=u.firstContext;e:for(;u!==null;){var b=u;u=i;for(var S=0;S<t.length;S++)if(b.context===t[S]){u.lanes|=a,b=u.alternate,b!==null&&(b.lanes|=a),Ho(u.return,a,e),n||(m=null);break e}u=b.next}}else if(i.tag===18){if(m=i.return,m===null)throw Error(c(341));m.lanes|=a,u=m.alternate,u!==null&&(u.lanes|=a),Ho(m,a,e),m=null}else m=i.child;if(m!==null)m.return=i;else for(m=i;m!==null;){if(m===e){m=null;break}if(i=m.sibling,i!==null){i.return=m.return,m=i;break}m=m.return}i=m}}function kl(e,t,a,n){e=null;for(var i=t,u=!1;i!==null;){if(!u){if((i.flags&524288)!==0)u=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var m=i.alternate;if(m===null)throw Error(c(387));if(m=m.memoizedProps,m!==null){var b=i.type;Qt(i.pendingProps.value,m.value)||(e!==null?e.push(b):e=[b])}}else if(i===ge.current){if(m=i.alternate,m===null)throw Error(c(387));m.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(Is):e=[Is])}i=i.return}e!==null&&Fo(t,e,a,n),t.flags|=262144}function zi(e){for(e=e.firstContext;e!==null;){if(!Qt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gn(e){qn=e,Ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function xt(e){return tf(qn,e)}function Mi(e,t){return qn===null&&Gn(e),tf(e,t)}function tf(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Ta===null){if(e===null)throw Error(c(308));Ta=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ta=Ta.next=t;return a}var _b=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Rb=l.unstable_scheduleCallback,Tb=l.unstable_NormalPriority,nt={$$typeof:ne,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Vo(){return{controller:new _b,data:new Map,refCount:0}}function Cs(e){e.refCount--,e.refCount===0&&Rb(Tb,function(){e.controller.abort()})}var ks=null,qo=0,_l=0,Rl=null;function Db(e,t){if(ks===null){var a=ks=[];qo=0,_l=Xc(),Rl={status:"pending",value:void 0,then:function(n){a.push(n)}}}return qo++,t.then(af,af),t}function af(){if(--qo===0&&ks!==null){Rl!==null&&(Rl.status="fulfilled");var e=ks;ks=null,_l=0,Rl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function zb(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(i){a.push(i)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var i=0;i<a.length;i++)(0,a[i])(t)},function(i){for(n.status="rejected",n.reason=i,i=0;i<a.length;i++)(0,a[i])(void 0)}),n}var nf=T.S;T.S=function(e,t){Vm=Nt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Db(e,t),nf!==null&&nf(e,t)};var Yn=C(null);function Go(){var e=Yn.current;return e!==null?e:He.pooledCache}function Oi(e,t){t===null?q(Yn,Yn.current):q(Yn,t.pool)}function lf(){var e=Go();return e===null?null:{parent:nt._currentValue,pool:e}}var Tl=Error(c(460)),Yo=Error(c(474)),Li=Error(c(542)),Bi={then:function(){}};function sf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Ca,Ca),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cf(e),e;default:if(typeof t.status=="string")t.then(Ca,Ca);else{if(e=He,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=n}},function(n){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cf(e),e}throw Qn=t,Tl}}function Xn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Qn=a,Tl):a}}var Qn=null;function of(){if(Qn===null)throw Error(c(459));var e=Qn;return Qn=null,e}function cf(e){if(e===Tl||e===Li)throw Error(c(483))}var Dl=null,_s=0;function Ui(e){var t=_s;return _s+=1,Dl===null&&(Dl=[]),rf(Dl,e,t)}function Rs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Hi(e,t){throw t.$$typeof===j?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function uf(e){function t(R,k){if(e){var D=R.deletions;D===null?(R.deletions=[k],R.flags|=16):D.push(k)}}function a(R,k){if(!e)return null;for(;k!==null;)t(R,k),k=k.sibling;return null}function n(R){for(var k=new Map;R!==null;)R.key!==null?k.set(R.key,R):k.set(R.index,R),R=R.sibling;return k}function i(R,k){return R=_a(R,k),R.index=0,R.sibling=null,R}function u(R,k,D){return R.index=D,e?(D=R.alternate,D!==null?(D=D.index,D<k?(R.flags|=67108866,k):D):(R.flags|=67108866,k)):(R.flags|=1048576,k)}function m(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function b(R,k,D,F){return k===null||k.tag!==6?(k=Do(D,R.mode,F),k.return=R,k):(k=i(k,D),k.return=R,k)}function S(R,k,D,F){var oe=D.type;return oe===_?B(R,k,D.props.children,F,D.key):k!==null&&(k.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===Y&&Xn(oe)===k.type)?(k=i(k,D.props),Rs(k,D),k.return=R,k):(k=Ti(D.type,D.key,D.props,null,R.mode,F),Rs(k,D),k.return=R,k)}function z(R,k,D,F){return k===null||k.tag!==4||k.stateNode.containerInfo!==D.containerInfo||k.stateNode.implementation!==D.implementation?(k=zo(D,R.mode,F),k.return=R,k):(k=i(k,D.children||[]),k.return=R,k)}function B(R,k,D,F,oe){return k===null||k.tag!==7?(k=Fn(D,R.mode,F,oe),k.return=R,k):(k=i(k,D),k.return=R,k)}function V(R,k,D){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=Do(""+k,R.mode,D),k.return=R,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case E:return D=Ti(k.type,k.key,k.props,null,R.mode,D),Rs(D,k),D.return=R,D;case N:return k=zo(k,R.mode,D),k.return=R,k;case Y:return k=Xn(k),V(R,k,D)}if(Ye(k)||Oe(k))return k=Fn(k,R.mode,D,null),k.return=R,k;if(typeof k.then=="function")return V(R,Ui(k),D);if(k.$$typeof===ne)return V(R,Mi(R,k),D);Hi(R,k)}return null}function M(R,k,D,F){var oe=k!==null?k.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return oe!==null?null:b(R,k,""+D,F);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===oe?S(R,k,D,F):null;case N:return D.key===oe?z(R,k,D,F):null;case Y:return D=Xn(D),M(R,k,D,F)}if(Ye(D)||Oe(D))return oe!==null?null:B(R,k,D,F,null);if(typeof D.then=="function")return M(R,k,Ui(D),F);if(D.$$typeof===ne)return M(R,k,Mi(R,D),F);Hi(R,D)}return null}function O(R,k,D,F,oe){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return R=R.get(D)||null,b(k,R,""+F,oe);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case E:return R=R.get(F.key===null?D:F.key)||null,S(k,R,F,oe);case N:return R=R.get(F.key===null?D:F.key)||null,z(k,R,F,oe);case Y:return F=Xn(F),O(R,k,D,F,oe)}if(Ye(F)||Oe(F))return R=R.get(D)||null,B(k,R,F,oe,null);if(typeof F.then=="function")return O(R,k,D,Ui(F),oe);if(F.$$typeof===ne)return O(R,k,D,Mi(k,F),oe);Hi(k,F)}return null}function le(R,k,D,F){for(var oe=null,_e=null,ie=k,ye=k=0,Se=null;ie!==null&&ye<D.length;ye++){ie.index>ye?(Se=ie,ie=null):Se=ie.sibling;var Re=M(R,ie,D[ye],F);if(Re===null){ie===null&&(ie=Se);break}e&&ie&&Re.alternate===null&&t(R,ie),k=u(Re,k,ye),_e===null?oe=Re:_e.sibling=Re,_e=Re,ie=Se}if(ye===D.length)return a(R,ie),ke&&Ra(R,ye),oe;if(ie===null){for(;ye<D.length;ye++)ie=V(R,D[ye],F),ie!==null&&(k=u(ie,k,ye),_e===null?oe=ie:_e.sibling=ie,_e=ie);return ke&&Ra(R,ye),oe}for(ie=n(ie);ye<D.length;ye++)Se=O(ie,R,ye,D[ye],F),Se!==null&&(e&&Se.alternate!==null&&ie.delete(Se.key===null?ye:Se.key),k=u(Se,k,ye),_e===null?oe=Se:_e.sibling=Se,_e=Se);return e&&ie.forEach(function(wn){return t(R,wn)}),ke&&Ra(R,ye),oe}function de(R,k,D,F){if(D==null)throw Error(c(151));for(var oe=null,_e=null,ie=k,ye=k=0,Se=null,Re=D.next();ie!==null&&!Re.done;ye++,Re=D.next()){ie.index>ye?(Se=ie,ie=null):Se=ie.sibling;var wn=M(R,ie,Re.value,F);if(wn===null){ie===null&&(ie=Se);break}e&&ie&&wn.alternate===null&&t(R,ie),k=u(wn,k,ye),_e===null?oe=wn:_e.sibling=wn,_e=wn,ie=Se}if(Re.done)return a(R,ie),ke&&Ra(R,ye),oe;if(ie===null){for(;!Re.done;ye++,Re=D.next())Re=V(R,Re.value,F),Re!==null&&(k=u(Re,k,ye),_e===null?oe=Re:_e.sibling=Re,_e=Re);return ke&&Ra(R,ye),oe}for(ie=n(ie);!Re.done;ye++,Re=D.next())Re=O(ie,R,ye,Re.value,F),Re!==null&&(e&&Re.alternate!==null&&ie.delete(Re.key===null?ye:Re.key),k=u(Re,k,ye),_e===null?oe=Re:_e.sibling=Re,_e=Re);return e&&ie.forEach(function(Y0){return t(R,Y0)}),ke&&Ra(R,ye),oe}function Ue(R,k,D,F){if(typeof D=="object"&&D!==null&&D.type===_&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case E:e:{for(var oe=D.key;k!==null;){if(k.key===oe){if(oe=D.type,oe===_){if(k.tag===7){a(R,k.sibling),F=i(k,D.props.children),F.return=R,R=F;break e}}else if(k.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===Y&&Xn(oe)===k.type){a(R,k.sibling),F=i(k,D.props),Rs(F,D),F.return=R,R=F;break e}a(R,k);break}else t(R,k);k=k.sibling}D.type===_?(F=Fn(D.props.children,R.mode,F,D.key),F.return=R,R=F):(F=Ti(D.type,D.key,D.props,null,R.mode,F),Rs(F,D),F.return=R,R=F)}return m(R);case N:e:{for(oe=D.key;k!==null;){if(k.key===oe)if(k.tag===4&&k.stateNode.containerInfo===D.containerInfo&&k.stateNode.implementation===D.implementation){a(R,k.sibling),F=i(k,D.children||[]),F.return=R,R=F;break e}else{a(R,k);break}else t(R,k);k=k.sibling}F=zo(D,R.mode,F),F.return=R,R=F}return m(R);case Y:return D=Xn(D),Ue(R,k,D,F)}if(Ye(D))return le(R,k,D,F);if(Oe(D)){if(oe=Oe(D),typeof oe!="function")throw Error(c(150));return D=oe.call(D),de(R,k,D,F)}if(typeof D.then=="function")return Ue(R,k,Ui(D),F);if(D.$$typeof===ne)return Ue(R,k,Mi(R,D),F);Hi(R,D)}
vendor: 4,891 bytes, line 8
8return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,k!==null&&k.tag===6?(a(R,k.sibling),F=i(k,D),F.return=R,R=F):(a(R,k),F=Do(D,R.mode,F),F.return=R,R=F),m(R)):a(R,k)}return function(R,k,D,F){try{_s=0;var oe=Ue(R,k,D,F);return Dl=null,oe}catch(ie){if(ie===Tl||ie===Li)throw ie;var _e=Zt(29,ie,null,R.mode);return _e.lanes=F,_e.return=R,_e}}}var Zn=uf(!0),df=uf(!1),nn=!1;function Xo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qo(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 ln(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function sn(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Te&2)!==0){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,t=Ri(e),Zd(e,null,a),t}return _i(e,n,t,a),Ri(e)}function Ts(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,zt(e,a)}}function Zo(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var i=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var m={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?i=u=m:u=u.next=m,a=a.next}while(a!==null);u===null?i=u=t:u=u.next=t}else i=u=t;a={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Ko=!1;function Ds(){if(Ko){var e=Rl;if(e!==null)throw e}}function zs(e,t,a,n){Ko=!1;var i=e.updateQueue;nn=!1;var u=i.firstBaseUpdate,m=i.lastBaseUpdate,b=i.shared.pending;if(b!==null){i.shared.pending=null;var S=b,z=S.next;S.next=null,m===null?u=z:m.next=z,m=S;var B=e.alternate;B!==null&&(B=B.updateQueue,b=B.lastBaseUpdate,b!==m&&(b===null?B.firstBaseUpdate=z:b.next=z,B.lastBaseUpdate=S))}if(u!==null){var V=i.baseState;m=0,B=z=S=null,b=u;do{var M=b.lane&-536870913,O=M!==b.lane;if(O?(Ne&M)===M:(n&M)===M){M!==0&&M===_l&&(Ko=!0),B!==null&&(B=B.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var le=e,de=b;M=t;var Ue=a;switch(de.tag){case 1:if(le=de.payload,typeof le=="function"){V=le.call(Ue,V,M);break e}V=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=de.payload,M=typeof le=="function"?le.call(Ue,V,M):le,M==null)break e;V=p({},V,M);break e;case 2:nn=!0}}M=b.callback,M!==null&&(e.flags|=64,O&&(e.flags|=8192),O=i.callbacks,O===null?i.callbacks=[M]:O.push(M))}else O={lane:M,tag:b.tag,payload:b.payload,callback:b.callback,next:null},B===null?(z=B=O,S=V):B=B.next=O,m|=M;if(b=b.next,b===null){if(b=i.shared.pending,b===null)break;O=b,b=O.next,O.next=null,i.lastBaseUpdate=O,i.shared.pending=null}}while(!0);B===null&&(S=V),i.baseState=S,i.firstBaseUpdate=z,i.lastBaseUpdate=B,u===null&&(i.shared.lanes=0),dn|=m,e.lanes=m,e.memoizedState=V}}function ff(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function mf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)ff(a[e],t)}var zl=C(null),Fi=C(0);function hf(e,t){e=Va,q(Fi,e),q(zl,t),Va=e|t.baseLanes}function Jo(){q(Fi,Va),q(zl,zl.current)}function Wo(){Va=Fi.current,H(zl),H(Fi)}var Kt=C(null),ia=null;function rn(e){var t=e.alternate;q(Ie,Ie.current&1),q(Kt,e),ia===null&&(t===null||zl.current!==null||t.memoizedState!==null)&&(ia=e)}function $o(e){q(Ie,Ie.current),q(Kt,e),ia===null&&(ia=e)}function pf(e){e.tag===22?(q(Ie,Ie.current),q(Kt,e),ia===null&&(ia=e)):on()}function on(){q(Ie,Ie.current),q(Kt,Kt.current)}function Jt(e){H(Kt),ia===e&&(ia=null),H(Ie)}var Ie=C(0);function Vi(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||nu(a)||lu(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var za=0,be=null,Le=null,lt=null,qi=!1,Ml=!1,Kn=!1,Gi=0,Ms=0,Ol=null,Mb=0;function We(){throw Error(c(321))}function Po(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Qt(e[a],t[a]))return!1;return!0}function Io(e,t,a,n,i,u){return za=u,be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=e===null||e.memoizedState===null?Pf:hc,Kn=!1,u=a(n,i),Kn=!1,Ml&&(u=gf(t,a,n,i)),xf(e),u}function xf(e){T.H=Bs;var t=Le!==null&&Le.next!==null;if(za=0,lt=Le=be=null,qi=!1,Ms=0,Ol=null,t)throw Error(c(300));
vendor: 9,227 bytes, line 8
8e===null||st||(e=e.dependencies,e!==null&&zi(e)&&(st=!0))}function gf(e,t,a,n){be=e;var i=0;do{if(Ml&&(Ol=null),Ms=0,Ml=!1,25<=i)throw Error(c(301));if(i+=1,lt=Le=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}T.H=If,u=t(a,n)}while(Ml);return u}function Ob(){var e=T.H,t=e.useState()[0];return t=typeof t.then=="function"?Os(t):t,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&&(be.flags|=1024),t}function ec(){var e=Gi!==0;return Gi=0,e}function tc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function ac(e){if(qi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qi=!1}za=0,lt=Le=be=null,Ml=!1,Ms=Gi=0,Ol=null}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?be.memoizedState=lt=e:lt=lt.next=e,lt}function et(){if(Le===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=lt===null?be.memoizedState:lt.next;if(t!==null)lt=t,Le=e;else{if(e===null)throw be.alternate===null?Error(c(467)):Error(c(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},lt===null?be.memoizedState=lt=e:lt=lt.next=e}return lt}function Yi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Os(e){var t=Ms;return Ms+=1,Ol===null&&(Ol=[]),e=rf(Ol,e,t),t=be,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,T.H=t===null||t.memoizedState===null?Pf:hc),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Os(e);if(e.$$typeof===ne)return xt(e)}throw Error(c(438,String(e)))}function nc(e){var t=null,a=be.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=be.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Yi(),be.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=at;return t.index++,a}function Ma(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=et();return lc(t,Le,e)}function lc(e,t,a){var n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=a;var i=e.baseQueue,u=n.pending;if(u!==null){if(i!==null){var m=i.next;i.next=u.next,u.next=m}t.baseQueue=i=u,n.pending=null}if(u=e.baseState,i===null)e.memoizedState=u;else{t=i.next;var b=m=null,S=null,z=t,B=!1;do{var V=z.lane&-536870913;if(V!==z.lane?(Ne&V)===V:(za&V)===V){var M=z.revertLane;if(M===0)S!==null&&(S=S.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),V===_l&&(B=!0);else if((za&M)===M){z=z.next,M===_l&&(B=!0);continue}else V={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},S===null?(b=S=V,m=u):S=S.next=V,be.lanes|=M,dn|=M;V=z.action,Kn&&a(u,V),u=z.hasEagerState?z.eagerState:a(u,V)}else M={lane:V,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},S===null?(b=S=M,m=u):S=S.next=M,be.lanes|=V,dn|=V;z=z.next}while(z!==null&&z!==t);if(S===null?m=u:S.next=b,!Qt(u,e.memoizedState)&&(st=!0,B&&(a=Rl,a!==null)))throw a;e.memoizedState=u,e.baseState=m,e.baseQueue=S,n.lastRenderedState=u}return i===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function sc(e){var t=et(),a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=e;var n=a.dispatch,i=a.pending,u=t.memoizedState;if(i!==null){a.pending=null;var m=i=i.next;do u=e(u,m.action),m=m.next;while(m!==i);Qt(u,t.memoizedState)||(st=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,n]}function bf(e,t,a){var n=be,i=et(),u=ke;if(u){if(a===void 0)throw Error(c(407));a=a()}else a=t();var m=!Qt((Le||i).memoizedState,a);if(m&&(i.memoizedState=a,st=!0),i=i.queue,oc(wf.bind(null,n,i,e),[e]),i.getSnapshot!==t||m||lt!==null&&lt.memoizedState.tag&1){if(n.flags|=2048,Ll(9,{destroy:void 0},vf.bind(null,n,i,a,t),null),He===null)throw Error(c(349));u||(za&127)!==0||yf(n,t,a)}return a}function yf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=be.updateQueue,t===null?(t=Yi(),be.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function vf(e,t,a,n){t.value=a,t.getSnapshot=n,Af(t)&&Ef(e)}function wf(e,t,a){return a(function(){Af(t)&&Ef(e)})}function Af(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Qt(e,a)}catch{return!0}}function Ef(e){var t=Hn(e,2);t!==null&&Vt(t,e,2)}function ic(e){var t=Ct();if(typeof e=="function"){var a=e;if(e=a(),Kn){ca(!0);try{a()}finally{ca(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},t}function jf(e,t,a,n){return e.baseState=a,lc(e,Le,typeof n=="function"?n:Ma)}function Lb(e,t,a,n,i){if(Ji(e))throw Error(c(485));if(e=t.action,e!==null){var u={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){u.listeners.push(m)}};T.T!==null?a(!0):u.isTransition=!1,n(u),a=t.pending,a===null?(u.next=t.pending=u,Nf(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Nf(e,t){var a=t.action,n=t.payload,i=e.state;if(t.isTransition){var u=T.T,m={};T.T=m;try{var b=a(i,n),S=T.S;S!==null&&S(m,b),Sf(e,t,b)}catch(z){rc(e,t,z)}finally{u!==null&&m.types!==null&&(u.types=m.types),T.T=u}}else try{u=a(i,n),Sf(e,t,u)}catch(z){rc(e,t,z)}}function Sf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){Cf(e,t,n)},function(n){return rc(e,t,n)}):Cf(e,t,a)}function Cf(e,t,a){t.status="fulfilled",t.value=a,kf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Nf(e,a)))}function rc(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,kf(t),t=t.next;while(t!==n)}e.action=null}function kf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function _f(e,t){return t}function Rf(e,t){if(ke){var a=He.formState;if(a!==null){e:{var n=be;if(ke){if(qe){t:{for(var i=qe,u=sa;i.nodeType!==8;){if(!u){i=null;break t}if(i=ra(i.nextSibling),i===null){i=null;break t}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){qe=ra(i.nextSibling),n=i.data==="F!";break e}}tn(n)}n=!1}n&&(t=a[0])}}return a=Ct(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_f,lastRenderedState:t},a.queue=n,a=Jf.bind(null,be,n),n.dispatch=a,n=ic(!1),u=mc.bind(null,be,!1,n.queue),n=Ct(),i={state:t,dispatch:null,action:e,pending:null},n.queue=i,a=Lb.bind(null,be,i,u,a),i.dispatch=a,n.memoizedState=e,[t,a,!1]}function Tf(e){var t=et();return Df(t,Le,e)}function Df(e,t,a){if(t=lc(e,t,_f)[0],e=Qi(Ma)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Os(t)}catch(m){throw m===Tl?Li:m}else n=t;t=et();var i=t.queue,u=i.dispatch;return a!==t.memoizedState&&(be.flags|=2048,Ll(9,{destroy:void 0},Bb.bind(null,i,a),null)),[n,u,e]}function Bb(e,t){e.action=t}function zf(e){var t=et(),a=Le;if(a!==null)return Df(t,a,e);et(),t=t.memoizedState,a=et();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Ll(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=be.updateQueue,t===null&&(t=Yi(),be.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Mf(){return et().memoizedState}function Zi(e,t,a,n){var i=Ct();be.flags|=e,i.memoizedState=Ll(1|t,{destroy:void 0},a,n===void 0?null:n)}function Ki(e,t,a,n){var i=et();n=n===void 0?null:n;var u=i.memoizedState.inst;Le!==null&&n!==null&&Po(n,Le.memoizedState.deps)?i.memoizedState=Ll(t,u,a,n):(be.flags|=e,i.memoizedState=Ll(1|t,u,a,n))}function Of(e,t){Zi(8390656,8,e,t)}function oc(e,t){Ki(2048,8,e,t)}function Ub(e){be.flags|=4;var t=be.updateQueue;if(t===null)t=Yi(),be.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Lf(e){var t=et().memoizedState;return Ub({ref:t,nextImpl:e}),function(){if((Te&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Bf(e,t){return Ki(4,2,e,t)}function Uf(e,t){return Ki(4,4,e,t)}function Hf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ff(e,t,a){a=a!=null?a.concat([e]):null,Ki(4,4,Hf.bind(null,t,e),a)}function cc(){}function Vf(e,t){var a=et();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&Po(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function qf(e,t){var a=et();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Po(t,n[1]))return n[0];if(n=e(),Kn){ca(!0);try{e()}finally{ca(!1)}}return a.memoizedState=[n,t],n}function uc(e,t,a){return a===void 0||(za&1073741824)!==0&&(Ne&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Gm(),be.lanes|=e,dn|=e,a)}function Gf(e,t,a,n){return Qt(a,t)?a:zl.current!==null?(e=uc(e,a,n),Qt(e,t)||(st=!0),e):(za&42)===0||(za&1073741824)!==0&&(Ne&261930)===0?(st=!0,e.memoizedState=a):(e=Gm(),be.lanes|=e,dn|=e,t)}function Yf(e,t,a,n,i){var u=G.p;G.p=u!==0&&8>u?u:8;var m=T.T,b={};
vendor: 15,824 bytes, line 8
8T.T=b,mc(e,!1,t,a);try{var S=i(),z=T.S;if(z!==null&&z(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var B=zb(S,n);Ls(e,t,B,Pt(e))}else Ls(e,t,n,Pt(e))}catch(V){Ls(e,t,{then:function(){},status:"rejected",reason:V},Pt())}finally{G.p=u,m!==null&&b.types!==null&&(m.types=b.types),T.T=m}}function Hb(){}function dc(e,t,a,n){if(e.tag!==5)throw Error(c(476));var i=Xf(e).queue;Yf(e,i,t,se,a===null?Hb:function(){return Qf(e),a(n)})}function Xf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:se},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qf(e){var t=Xf(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},Pt())}function fc(){return xt(Is)}function Zf(){return et().memoizedState}function Kf(){return et().memoizedState}function Fb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Pt();e=ln(a);var n=sn(t,e,a);n!==null&&(Vt(n,t,a),Ts(n,t,a)),t={cache:Vo()},e.payload=t;return}t=t.return}}function Vb(e,t,a){var n=Pt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ji(e)?Wf(t,a):(a=Ro(e,t,a,n),a!==null&&(Vt(a,e,n),$f(a,t,n)))}function Jf(e,t,a){var n=Pt();Ls(e,t,a,n)}function Ls(e,t,a,n){var i={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ji(e))Wf(t,i);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var m=t.lastRenderedState,b=u(m,a);if(i.hasEagerState=!0,i.eagerState=b,Qt(b,m))return _i(e,t,i,0),He===null&&ki(),!1}catch{}if(a=Ro(e,t,i,n),a!==null)return Vt(a,e,n),$f(a,t,n),!0}return!1}function mc(e,t,a,n){if(n={lane:2,revertLane:Xc(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ji(e)){if(t)throw Error(c(479))}else t=Ro(e,a,n,2),t!==null&&Vt(t,e,2)}function Ji(e){var t=e.alternate;return e===be||t!==null&&t===be}function Wf(e,t){Ml=qi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function $f(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,zt(e,a)}}var Bs={readContext:xt,use:Xi,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useLayoutEffect:We,useInsertionEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useSyncExternalStore:We,useId:We,useHostTransitionStatus:We,useFormState:We,useActionState:We,useOptimistic:We,useMemoCache:We,useCacheRefresh:We};Bs.useEffectEvent=We;var Pf={readContext:xt,use:Xi,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:Of,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Zi(4194308,4,Hf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Zi(4194308,4,e,t)},useInsertionEffect:function(e,t){Zi(4,2,e,t)},useMemo:function(e,t){var a=Ct();t=t===void 0?null:t;var n=e();if(Kn){ca(!0);try{e()}finally{ca(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=Ct();if(a!==void 0){var i=a(t);if(Kn){ca(!0);try{a(t)}finally{ca(!1)}}}else i=t;return n.memoizedState=n.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},n.queue=e,e=e.dispatch=Vb.bind(null,be,e),[n.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:function(e){e=ic(e);var t=e.queue,a=Jf.bind(null,be,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:cc,useDeferredValue:function(e,t){var a=Ct();return uc(a,e,t)},useTransition:function(){var e=ic(!1);return e=Yf.bind(null,be,e.queue,!0,!1),Ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=be,i=Ct();if(ke){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),He===null)throw Error(c(349));(Ne&127)!==0||yf(n,t,a)}i.memoizedState=a;var u={value:a,getSnapshot:t};return i.queue=u,Of(wf.bind(null,n,u,e),[e]),n.flags|=2048,Ll(9,{destroy:void 0},vf.bind(null,n,u,a,t),null),a},useId:function(){var e=Ct(),t=He.identifierPrefix;if(ke){var a=ba,n=ga;a=(n&~(1<<32-vt(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Gi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Mb++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:fc,useFormState:Rf,useActionState:Rf,useOptimistic:function(e){var t=Ct();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=mc.bind(null,be,!0,a),a.dispatch=t,[e,t]},useMemoCache:nc,useCacheRefresh:function(){return Ct().memoizedState=Fb.bind(null,be)},useEffectEvent:function(e){var t=Ct(),a={impl:e};return t.memoizedState=a,function(){if((Te&2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},hc={readContext:xt,use:Xi,useCallback:Vf,useContext:xt,useEffect:oc,useImperativeHandle:Ff,useInsertionEffect:Bf,useLayoutEffect:Uf,useMemo:qf,useReducer:Qi,useRef:Mf,useState:function(){return Qi(Ma)},useDebugValue:cc,useDeferredValue:function(e,t){var a=et();return Gf(a,Le.memoizedState,e,t)},useTransition:function(){var e=Qi(Ma)[0],t=et().memoizedState;return[typeof e=="boolean"?e:Os(e),t]},useSyncExternalStore:bf,useId:Zf,useHostTransitionStatus:fc,useFormState:Tf,useActionState:Tf,useOptimistic:function(e,t){var a=et();return jf(a,Le,e,t)},useMemoCache:nc,useCacheRefresh:Kf};hc.useEffectEvent=Lf;var If={readContext:xt,use:Xi,useCallback:Vf,useContext:xt,useEffect:oc,useImperativeHandle:Ff,useInsertionEffect:Bf,useLayoutEffect:Uf,useMemo:qf,useReducer:sc,useRef:Mf,useState:function(){return sc(Ma)},useDebugValue:cc,useDeferredValue:function(e,t){var a=et();return Le===null?uc(a,e,t):Gf(a,Le.memoizedState,e,t)},useTransition:function(){var e=sc(Ma)[0],t=et().memoizedState;return[typeof e=="boolean"?e:Os(e),t]},useSyncExternalStore:bf,useId:Zf,useHostTransitionStatus:fc,useFormState:zf,useActionState:zf,useOptimistic:function(e,t){var a=et();return Le!==null?jf(a,Le,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:nc,useCacheRefresh:Kf};If.useEffectEvent=Lf;function pc(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:p({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var xc={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Pt(),i=ln(n);i.payload=t,a!=null&&(i.callback=a),t=sn(e,i,n),t!==null&&(Vt(t,e,n),Ts(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Pt(),i=ln(n);i.tag=1,i.payload=t,a!=null&&(i.callback=a),t=sn(e,i,n),t!==null&&(Vt(t,e,n),Ts(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Pt(),n=ln(a);n.tag=2,t!=null&&(n.callback=t),t=sn(e,n,a),t!==null&&(Vt(t,e,a),Ts(t,e,a))}};function em(e,t,a,n,i,u,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,u,m):t.prototype&&t.prototype.isPureReactComponent?!Es(a,n)||!Es(i,u):!0}function tm(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&xc.enqueueReplaceState(t,t.state,null)}function Jn(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=p({},a));for(var i in e)a[i]===void 0&&(a[i]=e[i])}return a}function am(e){Ci(e)}function nm(e){console.error(e)}function lm(e){Ci(e)}function Wi(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function sm(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function gc(e,t,a){return a=ln(a),a.tag=3,a.payload={element:null},a.callback=function(){Wi(e,t)},a}function im(e){return e=ln(e),e.tag=3,e}function rm(e,t,a,n){var i=a.type.getDerivedStateFromError;if(typeof i=="function"){var u=n.value;e.payload=function(){return i(u)},e.callback=function(){sm(t,a,n)}}var m=a.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){sm(t,a,n),typeof i!="function"&&(fn===null?fn=new Set([this]):fn.add(this));var b=n.stack;this.componentDidCatch(n.value,{componentStack:b!==null?b:""})})}function qb(e,t,a,n,i){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&kl(t,a,i,!0),a=Kt.current,a!==null){switch(a.tag){case 31:case 13:return ia===null?or():a.alternate===null&&$e===0&&($e=3),a.flags&=-257,a.flags|=65536,a.lanes=i,n===Bi?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),qc(e,n,i)),!1;case 22:return a.flags|=65536,n===Bi?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),qc(e,n,i)),!1}throw Error(c(435,a.tag))}return qc(e,n,i),or(),!1}if(ke)return t=Kt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,n!==Lo&&(e=Error(c(422),{cause:n}),Ss(aa(e,a)))):(n!==Lo&&(t=Error(c(423),{cause:n}),Ss(aa(t,a))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,n=aa(n,a),i=gc(e.stateNode,n,i),Zo(e,i),$e!==4&&($e=2)),!1;var u=Error(c(520),{cause:n});if(u=aa(u,a),Xs===null?Xs=[u]:Xs.push(u),$e!==4&&($e=2),t===null)return!0;n=aa(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=i&-i,a.lanes|=e,e=gc(a.stateNode,n,e),Zo(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(fn===null||!fn.has(u))))return a.flags|=65536,i&=-i,a.lanes|=i,i=im(i),rm(i,e,a,n),Zo(a,i),!1}a=a.return}while(a!==null);return!1}var bc=Error(c(461)),st=!1;function gt(e,t,a,n){t.child=e===null?df(t,null,a,n):Zn(t,e.child,a,n)}function om(e,t,a,n,i){a=a.render;var u=t.ref;if("ref"in n){var m={};for(var b in n)b!=="ref"&&(m[b]=n[b])}else m=n;return Gn(t),n=Io(e,t,a,m,u,i),b=ec(),e!==null&&!st?(tc(e,t,i),Oa(e,t,i)):(ke&&b&&Mo(t),t.flags|=1,gt(e,t,n,i),t.child)}function cm(e,t,a,n,i){if(e===null){var u=a.type;return typeof u=="function"&&!To(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,um(e,t,u,n,i)):(e=Ti(a.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Sc(e,i)){var m=u.memoizedProps;if(a=a.compare,a=a!==null?a:Es,a(m,n)&&e.ref===t.ref)return Oa(e,t,i)}return t.flags|=1,e=_a(u,n),e.ref=t.ref,e.return=t,t.child=e}function um(e,t,a,n,i){if(e!==null){var u=e.memoizedProps;if(Es(u,n)&&e.ref===t.ref)if(st=!1,t.pendingProps=n=u,Sc(e,i))(e.flags&131072)!==0&&(st=!0);else return t.lanes=e.lanes,Oa(e,t,i)}return yc(e,t,a,n,i)}function dm(e,t,a,n){var i=n.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|a:a,e!==null){for(n=t.child=e.child,i=0;n!==null;)i=i|n.lanes|n.childLanes,n=n.sibling;n=i&~u}else n=0,t.child=null;return fm(e,t,u,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Oi(t,u!==null?u.cachePool:null),u!==null?hf(t,u):Jo(),pf(t);else return n=t.lanes=536870912,fm(e,t,u!==null?u.baseLanes|a:a,a,n)}else u!==null?(Oi(t,u.cachePool),hf(t,u),on(),t.memoizedState=null):(e!==null&&Oi(t,null),Jo(),on());return gt(e,t,i,a),t.child}function Us(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fm(e,t,a,n,i){var u=Go();return u=u===null?null:{parent:nt._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},e!==null&&Oi(t,null),Jo(),pf(t),e!==null&&kl(e,t,n,!0),t.childLanes=i,null}function $i(e,t){return t=Ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function mm(e,t,a){return Zn(t,e.child,null,a),e=$i(t,t.pendingProps),e.flags|=2,Jt(t),t.memoizedState=null,e}function Gb(e,t,a){var n=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ke){if(n.mode==="hidden")return e=$i(t,n),t.lanes=536870912,Us(null,e);if($o(t),(e=qe)?(e=Nh(e,sa),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ia!==null?{id:ga,overflow:ba}:null,retryLane:536870912,hydrationErrors:null},a=Jd(e),a.return=t,t.child=a,pt=t,qe=null)):e=null,e===null)throw tn(t);return t.lanes=536870912,null}return $i(t,n)}var u=e.memoizedState;if(u!==null){var m=u.dehydrated;if($o(t),i)if(t.flags&256)t.flags&=-257,t=mm(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(st||kl(e,t,a,!1),i=(a&e.childLanes)!==0,st||i){if(n=He,n!==null&&(m=Mt(n,a),m!==0&&m!==u.retryLane))throw u.retryLane=m,Hn(e,m),Vt(n,e,m),bc;or(),t=mm(e,t,a)}else e=u.treeContext,qe=ra(m.nextSibling),pt=t,ke=!0,en=null,sa=!1,e!==null&&Pd(t,e),t=$i(t,n),t.flags|=4096;return t}return e=_a(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Pi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(c(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function yc(e,t,a,n,i){return Gn(t),a=Io(e,t,a,n,void 0,i),n=ec(),e!==null&&!st?(tc(e,t,i),Oa(e,t,i)):(ke&&n&&Mo(t),t.flags|=1,gt(e,t,a,i),t.child)}function hm(e,t,a,n,i,u){return Gn(t),t.updateQueue=null,a=gf(t,n,a,i),xf(e),n=ec(),e!==null&&!st?(tc(e,t,u),Oa(e,t,u)):(ke&&n&&Mo(t),t.flags|=1,gt(e,t,a,u),t.child)}function pm(e,t,a,n,i){if(Gn(t),t.stateNode===null){var u=jl,m=a.contextType;typeof m=="object"&&m!==null&&(u=xt(m)),u=new a(n,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=xc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=n,u.state=t.memoizedState,u.refs={},Xo(t),m=a.contextType,u.context=typeof m=="object"&&m!==null?xt(m):jl,u.state=t.memoizedState,m=a.getDerivedStateFromProps,typeof m=="function"&&(pc(t,a,m,n),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(m=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),m!==u.state&&xc.enqueueReplaceState(u,u.state,null),zs(t,n,u,i),Ds(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){u=t.stateNode;var b=t.memoizedProps,S=Jn(a,b);u.props=S;var z=u.context,B=a.contextType;m=jl,typeof B=="object"&&B!==null&&(m=xt(B));var V=a.getDerivedStateFromProps;B=typeof V=="function"||typeof u.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,B||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(b||z!==m)&&tm(t,u,n,m),nn=!1;var M=t.memoizedState;u.state=M,zs(t,n,u,i),Ds(),z=t.memoizedState,b||M!==z||nn?(typeof V=="function"&&(pc(t,a,V,n),z=t.memoizedState),(S=nn||em(t,a,S,n,M,z,m))?(B||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=z),u.props=n,u.state=z,u.context=m,n=S):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{u=t.stateNode,Qo(e,t),m=t.memoizedProps,B=Jn(a,m),u.props=B,V=t.pendingProps,M=u.context,z
vendor: 3,950 bytes, line 8
8=a.contextType,S=jl,typeof z=="object"&&z!==null&&(S=xt(z)),b=a.getDerivedStateFromProps,(z=typeof b=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m!==V||M!==S)&&tm(t,u,n,S),nn=!1,M=t.memoizedState,u.state=M,zs(t,n,u,i),Ds();var O=t.memoizedState;m!==V||M!==O||nn||e!==null&&e.dependencies!==null&&zi(e.dependencies)?(typeof b=="function"&&(pc(t,a,b,n),O=t.memoizedState),(B=nn||em(t,a,B,n,M,O,S)||e!==null&&e.dependencies!==null&&zi(e.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,O,S),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,O,S)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=O),u.props=n,u.state=O,u.context=S,n=B):(typeof u.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),n=!1)}return u=n,Pi(e,t),n=(t.flags&128)!==0,u||n?(u=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&n?(t.child=Zn(t,e.child,null,i),t.child=Zn(t,null,a,i)):gt(e,t,a,i),t.memoizedState=u.state,e=t.child):e=Oa(e,t,i),e}function xm(e,t,a,n){return Vn(),t.flags|=256,gt(e,t,a,n),t.child}var vc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:lf()}}function Ac(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=$t),e}function gm(e,t,a){var n=t.pendingProps,i=!1,u=(t.flags&128)!==0,m;if((m=u)||(m=e!==null&&e.memoizedState===null?!1:(Ie.current&2)!==0),m&&(i=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(ke){if(i?rn(t):on(),(e=qe)?(e=Nh(e,sa),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ia!==null?{id:ga,overflow:ba}:null,retryLane:536870912,hydrationErrors:null},a=Jd(e),a.return=t,t.child=a,pt=t,qe=null)):e=null,e===null)throw tn(t);return lu(e)?t.lanes=32:t.lanes=536870912,null}var b=n.children;return n=n.fallback,i?(on(),i=t.mode,b=Ii({mode:"hidden",children:b},i),n=Fn(n,i,a,null),b.return=t,n.return=t,b.sibling=n,t.child=b,n=t.child,n.memoizedState=wc(a),n.childLanes=Ac(e,m,a),t.memoizedState=vc,Us(null,n)):(rn(t),Ec(t,b))}var S=e.memoizedState;if(S!==null&&(b=S.dehydrated,b!==null)){if(u)t.flags&256?(rn(t),t.flags&=-257,t=jc(e,t,a)):t.memoizedState!==null?(on(),t.child=e.child,t.flags|=128,t=null):(on(),b=n.fallback,i=t.mode,n=Ii({mode:"visible",children:n.children},i),b=Fn(b,i,a,null),b.flags|=2,n.return=t,b.return=t,n.sibling=b,t.child=n,Zn(t,e.child,null,a),n=t.child,n.memoizedState=wc(a),n.childLanes=Ac(e,m,a),t.memoizedState=vc,t=Us(null,n));else if(rn(t),lu(b)){if(m=b.nextSibling&&b.nextSibling.dataset,m)var z=m.dgst;m=z,n=Error(c(419)),n.stack="",n.digest=m,Ss({value:n,source:null,stack:null}),t=jc(e,t,a)}else if(st||kl(e,t,a,!1),m=(a&e.childLanes)!==0,st||m){if(m=He,m!==null&&(n=Mt(m,a),n!==0&&n!==S.retryLane))throw S.retryLane=n,Hn(e,n),Vt(m,e,n),bc;nu(b)||or(),t=jc(e,t,a)}else nu(b)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,qe=ra(b.nextSibling),pt=t,ke=!0,en=null,sa=!1,e!==null&&Pd(t,e),t=Ec(t,n.children),t.flags|=4096);return t}return i?(on(),b=n.fallback,i=t.mode,S=e.child,z=S.sibling,n=_a(S,{mode:"hidden",children:n.children}),n.subtreeFlags=S.subtreeFlags&65011712,z!==null?b=_a(z,b):(b=Fn(b,i,a,null),b.flags|=2),b.return=t,n.return=t,n.sibling=b,t.child=n,Us(null,n),n=t.child,b=e.child.memoizedState,b
vendor: 8,742 bytes, line 8
8===null?b=wc(a):(i=b.cachePool,i!==null?(S=nt._currentValue,i=i.parent!==S?{parent:S,pool:S}:i):i=lf(),b={baseLanes:b.baseLanes|a,cachePool:i}),n.memoizedState=b,n.childLanes=Ac(e,m,a),t.memoizedState=vc,Us(e.child,n)):(rn(t),a=e.child,e=a.sibling,a=_a(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(m=t.deletions,m===null?(t.deletions=[e],t.flags|=16):m.push(e)),t.child=a,t.memoizedState=null,a)}function Ec(e,t){return t=Ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ii(e,t){return e=Zt(22,e,null,t),e.lanes=0,e}function jc(e,t,a){return Zn(t,e.child,null,a),e=Ec(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function bm(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Ho(e.return,t,a)}function Nc(e,t,a,n,i,u){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:i,treeForkCount:u}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=n,m.tail=a,m.tailMode=i,m.treeForkCount=u)}function ym(e,t,a){var n=t.pendingProps,i=n.revealOrder,u=n.tail;n=n.children;var m=Ie.current,b=(m&2)!==0;if(b?(m=m&1|2,t.flags|=128):m&=1,q(Ie,m),gt(e,t,n,a),n=ke?Ns:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bm(e,a,t);else if(e.tag===19)bm(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(a=t.child,i=null;a!==null;)e=a.alternate,e!==null&&Vi(e)===null&&(i=a),a=a.sibling;a=i,a===null?(i=t.child,t.child=null):(i=a.sibling,a.sibling=null),Nc(t,!1,i,a,u,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Vi(e)===null){t.child=i;break}e=i.sibling,i.sibling=a,a=i,i=e}Nc(t,!0,a,null,u,n);break;case"together":Nc(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function Oa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),dn|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(kl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,a=_a(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=_a(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Sc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&zi(e)))}function Yb(e,t,a){switch(t.tag){case 3:xe(t,t.stateNode.containerInfo),an(t,nt,e.memoizedState.cache),Vn();break;case 27:case 5:Yt(t);break;case 4:xe(t,t.stateNode.containerInfo);break;case 10:an(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$o(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(rn(t),t.flags|=128,null):(a&t.child.childLanes)!==0?gm(e,t,a):(rn(t),e=Oa(e,t,a),e!==null?e.sibling:null);rn(t);break;case 19:var i=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(kl(e,t,a,!1),n=(a&t.childLanes)!==0),i){if(n)return ym(e,t,a);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),q(Ie,Ie.current),n)break;return null;case 22:return t.lanes=0,dm(e,t,a,t.pendingProps);case 24:an(t,nt,e.memoizedState.cache)}return Oa(e,t,a)}function vm(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)st=!0;else{if(!Sc(e,a)&&(t.flags&128)===0)return st=!1,Yb(e,t,a);st=(e.flags&131072)!==0}else st=!1,ke&&(t.flags&1048576)!==0&&$d(t,Ns,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=Xn(t.elementType),t.type=e,typeof e=="function")To(e)?(n=Jn(e,n),t.tag=1,t=pm(null,t,e,n,a)):(t.tag=0,t=yc(null,t,e,n,a));else{if(e!=null){var i=e.$$typeof;if(i===X){t.tag=11,t=om(null,t,e,n,a);break e}else if(i===Z){t.tag=14,t=cm(null,t,e,n,a);break e}}throw t=ut(e)||e,Error(c(306,t,""))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,i=Jn(n,t.pendingProps),pm(e,t,n,i,a);case 3:e:{if(xe(t,t.stateNode.containerInfo),e===null)throw Error(c(387));n=t.pendingProps;var u=t.memoizedState;i=u.element,Qo(e,t),zs(t,n,null,a);var m=t.memoizedState;if(n=m.cache,an(t,nt,n),n!==u.cache&&Fo(t,[nt],a,!0),Ds(),n=m.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=xm(e,t,n,a);break e}else if(n!==i){i=aa(Error(c(424)),t),Ss(i),t=xm(e,t,n,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,qe=ra(e.firstChild),pt=t,ke=!0,en=null,sa=!0,a=df(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Vn(),n===i){t=Oa(e,t,a);break e}gt(e,t,n,a)}t=t.child}return t;case 26:return Pi(e,t),e===null?(a=Th(t.type,null,t.pendingProps,null))?t.memoizedState=a:ke||(a=t.type,e=t.pendingProps,n=pr(ee.current).createElement(a),n[ht]=t,n[Ot]=e,bt(n,a,e),ft(n),t.stateNode=n):t.memoizedState=Th(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Yt(t),e===null&&ke&&(n=t.stateNode=kh(t.type,t.pendingProps,ee.current),pt=t,sa=!0,i=qe,xn(t.type)?(su=i,qe=ra(n.firstChild)):qe=i),gt(e,t,t.pendingProps.children,a),Pi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ke&&((i=n=qe)&&(n=v0(n,t.type,t.pendingProps,sa),n!==null?(t.stateNode=n,pt=t,qe=ra(n.firstChild),sa=!1,i=!0):i=!1),i||tn(t)),Yt(t),i=t.type,u=t.pendingProps,m=e!==null?e.memoizedProps:null,n=u.children,eu(i,u)?n=null:m!==null&&eu(i,m)&&(t.flags|=32),t.memoizedState!==null&&(i=Io(e,t,Ob,null,null,a),Is._currentValue=i),Pi(e,t),gt(e,t,n,a),t.child;case 6:return e===null&&ke&&((e=a=qe)&&(a=w0(a,t.pendingProps,sa),a!==null?(t.stateNode=a,pt=t,qe=null,e=!0):e=!1),e||tn(t)),null;case 13:return gm(e,t,a);case 4:return xe(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Zn(t,null,n,a):gt(e,t,n,a),t.child;case 11:return om(e,t,t.type,t.pendingProps,a);case 7:return gt(e,t,t.pendingProps,a),t.child;case 8:return gt(e,t,t.pendingProps.children,a),t.child;case 12:return gt(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,an(t,t.type,n.value),gt(e,t,n.children,a),t.child;case 9:return i=t.type._context,n=t.pendingProps.children,Gn(t),i=xt(i),n=n(i),t.flags|=1,gt(e,t,n,a),t.child;case 14:return cm(e,t,t.type,t.pendingProps,a);case 15:return um(e,t,t.type,t.pendingProps,a);case 19:return ym(e,t,a);case 31:return Gb(e,t,a);case 22:return dm(e,t,a,t.pendingProps);case 24:return Gn(t),n=xt(nt),e===null?(i=Go(),i===null&&(i=He,u=Vo(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=a),i=u),t.memoizedState={parent:n,cache:i},Xo(t),an(t,nt,i)):((e.lanes&a)!==0&&(Qo(e,t),zs(t,null,null,a),Ds()),i=e.memoizedState,u=t.memoizedState,i.parent!==n?(i={parent:n,cache:n},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),an(t,nt,n)):(n=u.cache,an(t,nt,n),n!==i.cache&&Fo(t,[nt],a,!0))),gt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function La(e){e.flags|=4}function Cc(e,t,a,n,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Zm())e.flags|=8192;else throw Qn=Bi,Yo}else e.flags&=-16777217}function wm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Lh(t))if(Zm())e.flags|=8192;else throw Qn=Bi,Yo}function er(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?wt():536870912,e.lanes|=t,Fl|=t)}function Hs(e,t){if(!ke)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ge(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var i=e.child;i!==null;)a|=i.lanes|i.childLanes,n|=i.subtreeFlags&65011712,n|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)a|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Xb(e,t,a){var n=t.pendingProps;switch(Oo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return Ge(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Da(nt),me(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Cl(t)?La(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Bo())
vendor: 7,308 bytes, line 8
8),Ge(t),null;case 26:var i=t.type,u=t.memoizedState;return e===null?(La(t),u!==null?(Ge(t),wm(t,u)):(Ge(t),Cc(t,i,null,n,a))):u?u!==e.memoizedState?(La(t),Ge(t),wm(t,u)):(Ge(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&La(t),Ge(t),Cc(t,i,e,n,a)),null;case 27:if(Tt(t),a=ee.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&La(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ge(t),null}e=K.current,Cl(t)?Id(t):(e=kh(i,n,a),t.stateNode=e,La(t))}return Ge(t),null;case 5:if(Tt(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&La(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ge(t),null}if(u=K.current,Cl(t))Id(t);else{var m=pr(ee.current);switch(u){case 1:u=m.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:u=m.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":u=m.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":u=m.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":u=m.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?m.createElement("select",{is:n.is}):m.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?m.createElement(i,{is:n.is}):m.createElement(i)}}u[ht]=t,u[Ot]=n;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)u.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=u;e:switch(bt(u,i,n),i){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&La(t)}}return Ge(t),Cc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&La(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(c(166));if(e=ee.current,Cl(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,i=pt,i!==null)switch(i.tag){case 27:case 5:n=i.memoizedProps}e[ht]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||gh(e.nodeValue,a)),e||tn(t,!0)}else e=pr(e).createTextNode(n),e[ht]=t,t.stateNode=e}return Ge(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Cl(t),a!==null){if(e===null){if(!n)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[ht]=t}else Vn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),e=!1}else a=Bo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Jt(t),t):(Jt(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Ge(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Cl(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(c(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));i[ht]=t}else Vn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),i=!1}else i=Bo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Jt(t),t):(Jt(t),null)}return Jt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,i=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(i=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==i&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),er(t,t.updateQueue),Ge(t),null);case 4:return me(),e===null&&Jc(t.stateNode.containerInfo),Ge(t),null;case 10:return Da(t.type),Ge(t),null;case 19:if(H(Ie),n=t.memoizedState,n===null)return Ge(t),null;if(i=(t.flags&128)!==0,u=n.rendering,u===null)if(i)Hs(n,!1);else{if($e!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Vi(e),u!==null){for(t.flags|=128,Hs(n,!1),e=u.updateQueue,t.updateQueue=e,er(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Kd(a,e),a=a.sibling;return q(Ie,Ie.current&1|2),ke&&Ra(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&Nt()>sr&&(t.flags|=128,i=!0,Hs(n,!1),t.lanes=4194304)}else{if(!i)if(e=Vi(u),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,er(t,e),Hs(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ke)return Ge(t),null}else 2*Nt()-n.renderingStartTime>sr&&a!==536870912&&(t.flags|=128,i=!0,Hs(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(e=n.last,e!==null?e.sibling=u:t.child=u,n.last=u)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Nt(),e.sibling=null,a=Ie.current,q(Ie,i?a&1|2:a&1),ke&&Ra(t,n.treeForkCount),e):(Ge(t),null);case 22:case 23:return Jt(t),Wo(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),a=t.updateQueue,a!==null&&er(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&H(Yn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Da(nt),Ge(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function Qb(e,t){switch(Oo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Da(nt),me(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Tt(t),null;case 31:if(t.memoizedState!==null){if(Jt(t),t.alternate===null)throw Error(c(340));Vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Jt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));Vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(Ie),null;case 4:return me(),null;case 10:return Da(t.type),null;case 22:case 23:return Jt(t),Wo(),e!==null&&H(Yn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Da(nt),null;case 25:return null;default:return null}}function Am(e,t){switch(Oo(t),t.tag){case 3:Da(nt),me();break;case 26:case 27:case 5:Tt(t);break;case 4:me();break;case 31:t.memoizedState!==null&&Jt(t);break;case 13:Jt(t);break;case 19:H(Ie);break;case 10:Da(t.type);break;case 22:case 23:Jt(t),Wo(),e!==null&&H(Yn);break;case 24:Da(nt)}}function Fs(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&e)===e){n=void 0;var u=a.create,m=a.inst;n=u(),m.destroy=n}a=a.next}while(a!==i)}}catch(b){ze(t,t.return,b)}}function cn(e,t,a){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next;n=u;do{if((n.tag&e)===e){var m=n.inst,b=m.destroy;if(b!==void 0){m.destroy=void 0,i=t;var S=a,z=b;try{z()}catch(B){ze(i,S,B)}}}n=n.next}while(n!==u)}}catch(B){ze(t,t.return,B)}}function Em(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{mf(t,a)}catch(n){ze(e,e.return,n)}}}function jm(e,t,a){a.props=Jn(e.type,e.memoizedProps),a.state=e.memoizedState;
vendor: 18,318 bytes, line 8
8try{a.componentWillUnmount()}catch(n){ze(e,t,n)}}function Vs(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(i){ze(e,t,i)}}function ya(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(i){ze(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(i){ze(e,t,i)}else a.current=null}function Nm(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(i){ze(e,e.return,i)}}function kc(e,t,a){try{var n=e.stateNode;h0(n,e.type,a,t),n[Ot]=t}catch(i){ze(e,e.return,i)}}function Sm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&xn(e.type)||e.tag===4}function _c(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sm(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&&xn(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 Rc(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ca));else if(n!==4&&(n===27&&xn(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Rc(e,t,a),e=e.sibling;e!==null;)Rc(e,t,a),e=e.sibling}function tr(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&xn(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(tr(e,t,a),e=e.sibling;e!==null;)tr(e,t,a),e=e.sibling}function Cm(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);bt(t,n,a),t[ht]=e,t[Ot]=a}catch(u){ze(e,e.return,u)}}var Ba=!1,it=!1,Tc=!1,km=typeof WeakSet=="function"?WeakSet:Set,mt=null;function Zb(e,t){if(e=e.containerInfo,Pc=Ar,e=Hd(e),jo(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var i=n.anchorOffset,u=n.focusNode;n=n.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var m=0,b=-1,S=-1,z=0,B=0,V=e,M=null;t:for(;;){for(var O;V!==a||i!==0&&V.nodeType!==3||(b=m+i),V!==u||n!==0&&V.nodeType!==3||(S=m+n),V.nodeType===3&&(m+=V.nodeValue.length),(O=V.firstChild)!==null;)M=V,V=O;for(;;){if(V===e)break t;if(M===a&&++z===i&&(b=m),M===u&&++B===n&&(S=m),(O=V.nextSibling)!==null)break;V=M,M=V.parentNode}V=O}a=b===-1||S===-1?null:{start:b,end:S}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ic={focusedElem:e,selectionRange:a},Ar=!1,mt=t;mt!==null;)if(t=mt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,mt=e;else for(;mt!==null;){switch(t=mt,u=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(a=0;a<e.length;a++)i=e[a],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,i=u.memoizedProps,u=u.memoizedState,n=a.stateNode;try{var le=Jn(a.type,i);e=n.getSnapshotBeforeUpdate(le,u),n.__reactInternalSnapshotBeforeUpdate=e}catch(de){ze(a,a.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)au(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":au(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,mt=e;break}mt=t.return}}function _m(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Ha(e,a),n&4&&Fs(5,a);break;case 1:if(Ha(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(m){ze(a,a.return,m)}else{var i=Jn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){ze(a,a.return,m)}}n&64&&Em(a),n&512&&Vs(a,a.return);break;case 3:if(Ha(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{mf(e,t)}catch(m){ze(a,a.return,m)}}break;case 27:t===null&&n&4&&Cm(a);case 26:case 5:Ha(e,a),t===null&&n&4&&Nm(a),n&512&&Vs(a,a.return);break;case 12:Ha(e,a);break;case 31:Ha(e,a),n&4&&Dm(e,a);break;case 13:Ha(e,a),n&4&&zm(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=a0.bind(null,a),A0(e,a))));break;case 22:if(n=a.memoizedState!==null||Ba,!n){t=t!==null&&t.memoizedState!==null||it,i=Ba;var u=it;Ba=n,(it=t)&&!u?Fa(e,a,(a.subtreeFlags&8772)!==0):Ha(e,a),Ba=i,it=u}break;case 30:break;default:Ha(e,a)}}function Rm(e){var t=e.alternate;t!==null&&(e.alternate=null,Rm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&io(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qe=null,Bt=!1;function Ua(e,t,a){for(a=a.child;a!==null;)Tm(e,t,a),a=a.sibling}function Tm(e,t,a){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Dn,a)}catch{}switch(a.tag){case 26:it||ya(a,t),Ua(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:it||ya(a,t);var n=Qe,i=Bt;xn(a.type)&&(Qe=a.stateNode,Bt=!1),Ua(e,t,a),Ws(a.stateNode),Qe=n,Bt=i;break;case 5:it||ya(a,t);case 6:if(n=Qe,i=Bt,Qe=null,Ua(e,t,a),Qe=n,Bt=i,Qe!==null)if(Bt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName==="HTML"?Qe.ownerDocument.body:Qe).removeChild(a.stateNode)}catch(u){ze(a,t,u)}else try{Qe.removeChild(a.stateNode)}catch(u){ze(a,t,u)}break;case 18:Qe!==null&&(Bt?(e=Qe,Eh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Kl(e)):Eh(Qe,a.stateNode));break;case 4:n=Qe,i=Bt,Qe=a.stateNode.containerInfo,Bt=!0,Ua(e,t,a),Qe=n,Bt=i;break;case 0:case 11:case 14:case 15:cn(2,a,t),it||cn(4,a,t),Ua(e,t,a);break;case 1:it||(ya(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&jm(a,t,n)),Ua(e,t,a);break;case 21:Ua(e,t,a);break;case 22:it=(n=it)||a.memoizedState!==null,Ua(e,t,a),it=n;break;default:Ua(e,t,a)}}function Dm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Kl(e)}catch(a){ze(t,t.return,a)}}}function zm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Kl(e)}catch(a){ze(t,t.return,a)}}function Kb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new km),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new km),t;default:throw Error(c(435,e.tag))}}function ar(e,t){var a=Kb(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var i=n0.bind(null,e,n);n.then(i,i)}})}function Ut(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var i=a[n],u=e,m=t,b=m;e:for(;b!==null;){switch(b.tag){case 27:if(xn(b.type)){Qe=b.stateNode,Bt=!1;break e}break;case 5:Qe=b.stateNode,Bt=!1;break e;case 3:case 4:Qe=b.stateNode.containerInfo,Bt=!0;break e}b=b.return}if(Qe===null)throw Error(c(160));Tm(u,m,i),Qe=null,Bt=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Mm(t,e),t=t.sibling}var fa=null;function Mm(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ut(t,e),Ht(e),n&4&&(cn(3,e,e.return),Fs(3,e),cn(5,e,e.return));break;case 1:Ut(t,e),Ht(e),n&512&&(it||a===null||ya(a,a.return)),n&64&&Ba&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var i=fa;if(Ut(t,e),Ht(e),n&512&&(it||a===null||ya(a,a.return)),n&4){var u=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,i=i.ownerDocument||i;t:switch(n){case"title":u=i.getElementsByTagName("title")[0],(!u||u[hs]||u[ht]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(n),i.head.insertBefore(u,i.querySelector("head > title"))),bt(u,n,a),u[ht]=e,ft(u),n=u;break e;case"link":var m=Mh("link","href",i).get(n+(a.href||""));if(m){for(var b=0;b<m.length;b++)if(u=m[b],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){m.splice(b,1);break t}}u=i.createElement(n),bt(u,n,a),i.head.appendChild(u);break;case"meta":if(m=Mh("meta","content",i).get(n+(a.content||""))){for(b=0;b<m.length;b++)if(u=m[b],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){m.splice(b,1);break t}}u=i.createElement(n),bt(u,n,a),i.head.appendChild(u);break;default:throw Error(c(468,n))}u[ht]=e,ft(u),n=u}e.stateNode=n}else Oh(i,e.type,e.stateNode);else e.stateNode=zh(i,n,e.memoizedProps);else u!==n?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,n===null?Oh(i,e.type,e.stateNode):zh(i,n,e.memoizedProps)):n===null&&e.stateNode!==null&&kc(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ut(t,e),Ht(e),n&512&&(it||a===null||ya(a,a.return)),a!==null&&n&4&&kc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ut(t,e),Ht(e),n&512&&(it||a===null||ya(a,a.return)),e.flags&32){i=e.stateNode;try{gl(i,"")}catch(le){ze(e,e.return,le)}}n&4&&e.stateNode!=null&&(i=e.memoizedProps,kc(e,i,a!==null?a.memoizedProps:i)),n&1024&&(Tc=!0);break;case 6:if(Ut(t,e),Ht(e),n&4){if(e.stateNode===null)throw Error(c(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(le){ze(e,e.return,le)}}break;case 3:if(br=null,i=fa,fa=xr(t.containerInfo),Ut(t,e),fa=i,Ht(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{Kl(t.containerInfo)}catch(le){ze(e,e.return,le)}Tc&&(Tc=!1,Om(e));break;case 4:n=fa,fa=xr(e.stateNode.containerInfo),Ut(t,e),Ht(e),fa=n;break;case 12:Ut(t,e),Ht(e);break;case 31:Ut(t,e),Ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,ar(e,n)));break;case 13:Ut(t,e),Ht(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(lr=Nt()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,ar(e,n)));break;case 22:i=e.memoizedState!==null;var S=a!==null&&a.memoizedState!==null,z=Ba,B=it;if(Ba=z||i,it=B||S,Ut(t,e),it=B,Ba=z,Ht(e),n&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(a===null||S||Ba||it||Wn(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){S=a=t;try{if(u=S.stateNode,i)m=u.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{b=S.stateNode;var V=S.memoizedProps.style,M=V!=null&&V.hasOwnProperty("display")?V.display:null;b.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(le){ze(S,S.return,le)}}}else if(t.tag===6){if(a===null){S=t;try{S.stateNode.nodeValue=i?"":S.memoizedProps}catch(le){ze(S,S.return,le)}}}else if(t.tag===18){if(a===null){S=t;try{var O=S.stateNode;i?jh(O,!0):jh(S.stateNode,!1)}catch(le){ze(S,S.return,le)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,ar(e,a))));break;case 19:Ut(t,e),Ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,ar(e,n)));break;case 30:break;case 21:break;default:Ut(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(Sm(n)){a=n;break}n=n.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var i=a.stateNode,u=_c(e);tr(e,u,i);break;case 5:var m=a.stateNode;a.flags&32&&(gl(m,""),a.flags&=-33);var b=_c(e);tr(e,b,m);break;case 3:case 4:var S=a.stateNode.containerInfo,z=_c(e);Rc(e,z,S);break;default:throw Error(c(161))}}catch(B){ze(e,e.return,B)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Om(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Om(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ha(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)_m(e,t.alternate,t),t=t.sibling}function Wn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cn(4,t,t.return),Wn(t);break;case 1:ya(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&jm(t,t.return,a),Wn(t);break;case 27:Ws(t.stateNode);case 26:case 5:ya(t,t.return),Wn(t);break;case 22:t.memoizedState===null&&Wn(t);break;case 30:Wn(t);break;default:Wn(t)}e=e.sibling}}function Fa(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,i=e,u=t,m=u.flags;switch(u.tag){case 0:case 11:case 15:Fa(i,u,a),Fs(4,u);break;case 1:if(Fa(i,u,a),n=u,i=n.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(z){ze(n,n.return,z)}if(n=u,i=n.updateQueue,i!==null){var b=n.stateNode;try{var S=i.shared.hiddenCallbacks;if(S!==null)for(i.shared.hiddenCallbacks=null,i=0;i<S.length;i++)ff(S[i],b)}catch(z){ze(n,n.return,z)}}a&&m&64&&Em(u),Vs(u,u.return);break;case 27:Cm(u);case 26:case 5:Fa(i,u,a),a&&n===null&&m&4&&Nm(u),Vs(u,u.return);break;case 12:Fa(i,u,a);break;case 31:Fa(i,u,a),a&&m&4&&Dm(i,u);break;case 13:Fa(i,u,a),a&&m&4&&zm(i,u);break;case 22:u.memoizedState===null&&Fa(i,u,a),Vs(u,u.return);break;case 30:break;default:Fa(i,u,a)}t=t.sibling}}function Dc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Cs(a))}function zc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Cs(e))}function ma(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Lm(e,t,a,n),t=t.sibling}function Lm(e,t,a,n){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ma(e,t,a,n),i&2048&&Fs(9,t);break;case 1:ma(e,t,a,n);break;case 3:ma(e,t,a,n),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Cs(e)));break;case 12:if(i&2048){ma(e,t,a,n),e=t.stateNode;try{var u=t.memoizedProps,m=u.id,b=u.onPostCommit;typeof b=="function"&&b(m,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){ze(t,t.return,S)}}else ma(e,t,a,n);break;case 31:ma(e,t,a,n);break;case 13:ma(e,t,a,n);break;case 23:break;case 22:u=t.stateNode,m=t.alternate,t.memoizedState!==null?u._visibility&2?ma(e,t,a,n):qs(e,t):u._visibility&2?ma(e,t,a,n):(u._visibility|=2,Bl(e,t,a,n,(t.subtreeFlags&10256)!==0||!1)),i&2048&&Dc(m,t);break;case 24:ma(e,t,a,n),i&2048&&zc(t.alternate,t);break;default:ma(e,t,a,n)}}function Bl(e,t,a,n,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,m=t,b=a,S=n,z=m.flags;switch(m.tag){case 0:case 11:case 15:Bl(u,m,b,S,i),Fs(8,m);break;case 23:break;case 22:var B=m.stateNode;m.memoizedState!==null?B._visibility&2?Bl(u,m,b,S,i):qs(u,m):(B._visibility|=2,Bl(u,m,b,S,i)),i&&z&2048&&Dc(m.alternate,m);break;case 24:Bl(u,m,b,S,i),i&&z&2048&&zc(m.alternate,m);break;default:Bl(u,m,b,S,i)}t=t.sibling}}function qs(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,i=n.flags;switch(n.tag){case 22:qs(a,n),i&2048&&Dc(n.alternate,n);break;case 24:qs(a,n),i&2048&&zc(n.alternate,n);break;default:qs(a,n)}t=t.sibling}}var Gs=8192;function Ul(e,t,a){if(e.subtreeFlags&Gs)for(e=e.child;e!==null;)Bm(e,t,a),e=e.sibling}function Bm(e,t,a){switch(e.tag){case 26:Ul(e,t,a),e.flags&Gs&&e.memoizedState!==null&&M0(a,fa,e.memoizedState,e.memoizedProps);break;case 5:Ul(e,t,a);break;case 3:case 4:var n=fa;fa=xr(e.stateNode.containerInfo),Ul(e,t,a),fa=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Gs,Gs=16777216,Ul(e,t,a),Gs=n):Ul(e,t,a));break;default:Ul(e,t,a)}}function Um(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ys(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];mt=n,Fm(n,e)}Um(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Hm(e),e=e.sibling}function Hm(e){switch(e.tag){case 0:case 11:case 15:Ys(e),e.flags&2048&&cn(9,e,e.return);break;case 3:Ys(e);break;case 12:Ys(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,nr(e)):Ys(e);break;default:Ys(e)}}function nr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];mt=n,Fm(n,e)}Um(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:cn(8,t,t.return),nr(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,nr(t));break;default:nr(t)}e=e.sibling}}function Fm(e,t){for(;mt!==null;){var a=mt;switch(a.tag){case 0:case 11:case 15:cn(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Cs(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,mt=n;else e:for(a=e;mt!==null;){n=mt;var i=n.sibling,u=n.return;if(Rm(n),n===a){mt=null;break e}if(i!==null){i.return=u,mt=i;break e}mt=u}}}var Jb={getCacheForType:function(e){var t=xt(nt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return xt(nt).controller.signal}},Wb=typeof WeakMap=="function"?WeakMap:Map,Te=0,He=null,Ee=null,Ne=0,De=0,Wt=null,un=!1,Hl=!1,Mc=!1,Va=0,$e=0,dn=0,$n=0,Oc=0,$t
vendor: 16,204 bytes, line 8
8=0,Fl=0,Xs=null,Ft=null,Lc=!1,lr=0,Vm=0,sr=1/0,ir=null,fn=null,ot=0,mn=null,Vl=null,qa=0,Bc=0,Uc=null,qm=null,Qs=0,Hc=null;function Pt(){return(Te&2)!==0&&Ne!==0?Ne&-Ne:T.T!==null?Xc():lo()}function Gm(){if($t===0)if((Ne&536870912)===0||ke){var e=cl;cl<<=1,(cl&3932160)===0&&(cl=262144),$t=e}else $t=536870912;return e=Kt.current,e!==null&&(e.flags|=32),$t}function Vt(e,t,a){(e===He&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(ql(e,0),hn(e,Ne,$t,!1)),Ze(e,a),((Te&2)===0||e!==He)&&(e===He&&((Te&2)===0&&($n|=a),$e===4&&hn(e,Ne,$t,!1)),va(e))}function Ym(e,t,a){if((Te&6)!==0)throw Error(c(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Xe(e,t),i=n?Ib(e,t):Vc(e,t,!0),u=n;do{if(i===0){Hl&&!n&&hn(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!$b(a)){i=Vc(e,t,!1),u=!1;continue}if(i===2){if(u=t,e.errorRecoveryDisabledLanes&u)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){t=m;e:{var b=e;i=Xs;var S=b.current.memoizedState.isDehydrated;if(S&&(ql(b,m).flags|=256),m=Vc(b,m,!1),m!==2){if(Mc&&!S){b.errorRecoveryDisabledLanes|=u,$n|=u,i=4;break e}u=Ft,Ft=i,u!==null&&(Ft===null?Ft=u:Ft.push.apply(Ft,u))}i=m}if(u=!1,i!==2)continue}}if(i===1){ql(e,0),hn(e,t,0,!0);break}e:{switch(n=e,u=i,u){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:hn(n,t,$t,!un);break e;case 2:Ft=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(i=lr+300-Nt(),10<i)){if(hn(n,t,$t,!un),he(n,0,!0)!==0)break e;qa=t,n.timeoutHandle=wh(Xm.bind(null,n,a,Ft,ir,Lc,t,$t,$n,Fl,un,u,"Throttled",-0,0),i);break e}Xm(n,a,Ft,ir,Lc,t,$t,$n,Fl,un,u,null,-0,0)}}break}while(!0);va(e)}function Xm(e,t,a,n,i,u,m,b,S,z,B,V,M,O){if(e.timeoutHandle=-1,V=t.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ca},Bm(t,u,V);var le=(u&62914560)===u?lr-Nt():(u&4194048)===u?Vm-Nt():0;if(le=O0(V,le),le!==null){qa=u,e.cancelPendingCommit=le(Im.bind(null,e,t,u,a,n,i,m,b,S,B,V,null,M,O)),hn(e,u,m,!z);return}}Im(e,t,u,a,n,i,m,b,S)}function $b(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var i=a[n],u=i.getSnapshot;i=i.value;try{if(!Qt(u(),i))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function hn(e,t,a,n){t&=~Oc,t&=~$n,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var i=t;0<i;){var u=31-vt(i),m=1<<u;n[u]=-1,i&=~m}a!==0&&Mn(e,a,t)}function rr(){return(Te&6)===0?(Zs(0),!1):!0}function Fc(){if(Ee!==null){if(De===0)var e=Ee.return;else e=Ee,Ta=qn=null,ac(e),Dl=null,_s=0,e=Ee;for(;e!==null;)Am(e.alternate,e),e=e.return;Ee=null}}function ql(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,g0(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),qa=0,Fc(),He=e,Ee=a=_a(e.current,null),Ne=t,De=0,Wt=null,un=!1,Hl=Xe(e,t),Mc=!1,Fl=$t=Oc=$n=dn=$e=0,Ft=Xs=null,Lc=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var i=31-vt(n),u=1<<i;t|=e[i],n&=~u}return Va=t,ki(),a}function Qm(e,t){be=null,T.H=Bs,t===Tl||t===Li?(t=of(),De=3):t===Yo?(t=of(),De=4):De=t===bc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Wt=t,Ee===null&&($e=1,Wi(e,aa(t,e.current)))}function Zm(){var e=Kt.current;return e===null?!0:(Ne&4194048)===Ne?ia===null:(Ne&62914560)===Ne||(Ne&536870912)!==0?e===ia:!1}function Km(){var e=T.H;return T.H=Bs,e===null?Bs:e}function Jm(){var e=T.A;return T.A=Jb,e}function or(){$e=4,un||(Ne&4194048)!==Ne&&Kt.current!==null||(Hl=!0),(dn&134217727)===0&&($n&134217727)===0||He===null||hn(He,Ne,$t,!1)}function Vc(e,t,a){var n=Te;Te|=2;var i=Km(),u=Jm();(He!==e||Ne!==t)&&(ir=null,ql(e,t)),t=!1;var m=$e;e:do try{if(De!==0&&Ee!==null){var b=Ee,S=Wt;switch(De){case 8:Fc(),m=6;break e;case 3:case 2:case 9:case 6:Kt.current===null&&(t=!0);var z=De;if(De=0,Wt=null,Gl(e,b,S,z),a&&Hl){m=0;break e}break;default:z=De,De=0,Wt=null,Gl(e,b,S,z)}}Pb(),m=$e;break}catch(B){Qm(e,B)}while(!0);return t&&e.shellSuspendCounter++,Ta=qn=null,Te=n,T.H=i,T.A=u,Ee===null&&(He=null,Ne=0,ki()),m}function Pb(){for(;Ee!==null;)Wm(Ee)}function Ib(e,t){var a=Te;Te|=2;var n=Km(),i=Jm();He!==e||Ne!==t?(ir=null,sr=Nt()+500,ql(e,t)):Hl=Xe(e,t);e:do try{if(De!==0&&Ee!==null){t=Ee;var u=Wt;t:switch(De){case 1:De=0,Wt=null,Gl(e,t,u,1);break;case 2:case 9:if(sf(u)){De=0,Wt=null,$m(t);break}t=function(){De!==2&&De!==9||He!==e||(De=7),va(e)},u.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:sf(u)?(De=0,Wt=null,$m(t)):(De=0,Wt=null,Gl(e,t,u,7));break;case 5:var m=null;switch(Ee.tag){case 26:m=Ee.memoizedState;case 5:case 27:var b=Ee;if(m?Lh(m):b.stateNode.complete){De=0,Wt=null;var S=b.sibling;if(S!==null)Ee=S;else{var z=b.return;z!==null?(Ee=z,cr(z)):Ee=null}break t}}De=0,Wt=null,Gl(e,t,u,5);break;case 6:De=0,Wt=null,Gl(e,t,u,6);break;case 8:Fc(),$e=6;break e;default:throw Error(c(462))}}e0();break}catch(B){Qm(e,B)}while(!0);return Ta=qn=null,T.H=n,T.A=i,Te=a,Ee!==null?0:(He=null,Ne=0,ki(),$e)}function e0(){for(;Ee!==null&&!jt();)Wm(Ee)}function Wm(e){var t=vm(e.alternate,e,Va);e.memoizedProps=e.pendingProps,t===null?cr(e):Ee=t}function $m(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=hm(a,t,t.pendingProps,t.type,void 0,Ne);break;case 11:t=hm(a,t,t.pendingProps,t.type.render,t.ref,Ne);break;case 5:ac(t);default:Am(a,t),t=Ee=Kd(t,Va),t=vm(a,t,Va)}e.memoizedProps=e.pendingProps,t===null?cr(e):Ee=t}function Gl(e,t,a,n){Ta=qn=null,ac(t),Dl=null,_s=0;var i=t.return;try{if(qb(e,i,t,a,Ne)){$e=1,Wi(e,aa(a,e.current)),Ee=null;return}}catch(u){if(i!==null)throw Ee=i,u;$e=1,Wi(e,aa(a,e.current)),Ee=null;return}t.flags&32768?(ke||n===1?e=!0:Hl||(Ne&536870912)!==0?e=!1:(un=e=!0,(n===2||n===9||n===3||n===6)&&(n=Kt.current,n!==null&&n.tag===13&&(n.flags|=16384))),Pm(t,e)):cr(t)}function cr(e){var t=e;do{if((t.flags&32768)!==0){Pm(t,un);return}e=t.return;var a=Xb(t.alternate,t,Va);if(a!==null){Ee=a;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);$e===0&&($e=5)}function Pm(e,t){do{var a=Qb(e.alternate,e);if(a!==null){a.flags&=32767,Ee=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ee=e;return}Ee=e=a}while(e!==null);$e=6,Ee=null}function Im(e,t,a,n,i,u,m,b,S){e.cancelPendingCommit=null;do ur();while(ot!==0);if((Te&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(u=t.lanes|t.childLanes,u|=_o,Dt(e,a,u,m,b,S),e===He&&(Ee=He=null,Ne=0),Vl=t,mn=e,qa=a,Bc=u,Uc=i,qm=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,l0(Tn,function(){return lh(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=T.T,T.T=null,i=G.p,G.p=2,m=Te,Te|=4;try{Zb(e,t,a)}finally{Te=m,G.p=i,T.T=n}}ot=1,eh(),th(),ah()}}function eh(){if(ot===1){ot=0;var e=mn,t=Vl,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=T.T,T.T=null;var n=G.p;G.p=2;var i=Te;Te|=4;try{Mm(t,e);var u=Ic,m=Hd(e.containerInfo),b=u.focusedElem,S=u.selectionRange;if(m!==b&&b&&b.ownerDocument&&Ud(b.ownerDocument.documentElement,b)){if(S!==null&&jo(b)){var z=S.start,B=S.end;if(B===void 0&&(B=z),"selectionStart"in b)b.selectionStart=z,b.selectionEnd=Math.min(B,b.value.length);else{var V=b.ownerDocument||document,M=V&&V.defaultView||window;if(M.getSelection){var O=M.getSelection(),le=b.textContent.length,de=Math.min(S.start,le),Ue=S.end===void 0?de:Math.min(S.end,le);!O.extend&&de>Ue&&(m=Ue,Ue=de,de=m);var R=Bd(b,de),k=Bd(b,Ue);if(R&&k&&(O.rangeCount!==1||O.anchorNode!==R.node||O.anchorOffset!==R.offset||O.focusNode!==k.node||O.focusOffset!==k.offset)){var D=V.createRange();D.setStart(R.node,R.offset),O.removeAllRanges(),de>Ue?(O.addRange(D),O.extend(k.node,k.offset)):(D.setEnd(k.node,k.offset),O.addRange(D))}}}}for(V=[],O=b;O=O.parentNode;)O.nodeType===1&&V.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<V.length;b++){var F=V[b];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Ar=!!Pc,Ic=Pc=null}finally{Te=i,G.p=n,T.T=a}}e.current=t,ot=2}}function th(){if(ot===2){ot=0;var e=mn,t=Vl,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=T.T,T.T=null;var n=G.p;G.p=2;var i=Te;Te|=4;try{_m(e,t.alternate,t)}finally{Te=i,G.p=n,T.T=a}}ot=3}}function ah(){if(ot===4||ot===3){ot=0,Ka();var e=mn,t=Vl,a=qa,n=qm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ot=5:(ot=0,Vl=mn=null,nh(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(fn=null),ua(a),t=t.stateNode,St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Dn,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=T.T,i=G.p,G.p=2,T.T=null;try{for(var u=e.onRecoverableError,m=0;m<n.length;m++){var b=n[m];u(b.value,{componentStack:b.stack})}}finally{T.T=t,G.p=i}}(qa&3)!==0&&ur(),va(e),i=e.pendingLanes,(a&261930)!==0&&(i&42)!==0?e===Hc?Qs++:(Qs=0,Hc=e):Qs=0,Zs(0)}}function nh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Cs(t)))}function ur(){return eh(),th(),ah(),lh()}function lh(){if(ot!==5)return!1;var e=mn,t=Bc;Bc=0;var a=ua(qa),n=T.T,i=G.p;try{G.p=32>a?32:a,T.T=null,a=Uc,Uc=null;var u=mn,m=qa;if(ot=0,Vl=mn=null,qa=0,(Te&6)!==0)throw Error(c(331));var b=Te;if(Te|=4,Hm(u.current),Lm(u,u.current,m,a),Te=b,Zs(0,!1),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Dn,u)}catch{}return!0}finally{G.p=i,T.T=n,nh(e,t)}}function sh(e,t,a){t=aa(a,t),t=gc(e.stateNode,t,2),e=sn(e,t,2),e!==null&&(Ze(e,2),va(e))}function ze(e,t,a){if(e.tag===3)sh(e,e,a);else for(;t!==null;){if(t.tag===3){sh(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(fn===null||!fn.has(n))){e=aa(a,e),a=im(2),n=sn(t,a,2),n!==null&&(rm(a,n,t,e),Ze(n,2),va(n));break}}t=t.return}}function qc(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new Wb;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(a)||(Mc=!0,i.add(a),e=t0.bind(null,e,t,a),t.then(e,e))}function t0(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,He===e&&(Ne&a)===a&&($e===4||$e===3&&(Ne&62914560)===Ne&&300>Nt()-lr?(Te&2)===0&&ql(e,0):Oc|=a,Fl===Ne&&(Fl=0)),va(e)}function ih(e,t){t===0&&(t=wt()),e=Hn(e,t),e!==null&&(Ze(e,t),va(e))}function a0(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),ih(e,a)}function n0(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(a=i.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(c(314))}n!==null&&n.delete(t),ih(e,a)}function l0(e,t){return us(e,t)}var dr=null,Yl=null,Gc=!1,fr=!1,Yc=!1,pn=0;function va(e){e!==Yl&&e.next===null&&(Yl===null?dr=Yl=e:Yl=Yl.next=e),fr=!0,Gc||(Gc=!0,i0())}function Zs(e,t){if(!Yc&&fr){Yc=!0;do for(var a=!1,n=dr;n!==null;){if(e!==0){var i=n.pendingLanes;if(i===0)var u=0;else{var m=n.suspendedLanes,b=n.pingedLanes;u=(1<<31-vt(42|e)+1)-1,u&=i&~(m&~b),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,uh(n,u))}else u=Ne,u=he(n,n===He?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||Xe(n,u)||(a=!0,uh(n,u));n=n.next}while(a);Yc=!1}}function s0(){rh()}function rh(){fr=Gc=!1;var e=0;pn!==0&&x0()&&(e=pn);for(var t=Nt(),a=null,n=dr;n!==null;){var i=n.next,u=oh(n,t);u===0?(n.next=null,a===null?dr=i:a.next=i,i===null&&(Yl=a)):(a=n,(e!==0||(u&3)!==0)&&(fr=!0)),n=i}ot!==0&&ot!==5||Zs(e),pn!==0&&(pn=0)}function oh(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var m=31-vt(u),b=1<<m,S=i[m];S===-1?((b&a)===0||(b&n)!==0)&&(i[m]=dt(b,t)):S<=t&&(e.expiredLanes|=b),u&=~b}if(t=He,a=Ne,a=he(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&ds(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Xe(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&ds(n),ua(a)){case 2:case 8:a=pi;break;case 32:a=Tn;break;case 268435456:a=Na;break;default:a=Tn}return n=ch.bind(null,e),a=us(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&ds(n),e.callbackPriority=2,e.callbackNode=null,2}function ch(e,t){if(ot!==0&&ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ur()&&e.callbackNode!==a)return null;var n=Ne;return n=he(e,e===He?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Ym(e,n,t),oh(e,Nt()),e.callbackNode!=null&&e.callbackNode===a?ch.bind(null,e):null)}function uh(e,t){if(ur())return null;Ym(e,t,!0)}function i0(){b0(function(){(Te&6)!==0?us(Rn,s0):rh()})}function Xc(){if(pn===0){var e=_l;e===0&&(e=ol,ol<<=1,(ol&261888)===0&&(ol=256)),pn=e}return pn}function dh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:vi(""+e)}function fh(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function r0(e,t,a,n,i){if(t==="submit"&&a&&a.stateNode===i){var u=dh((i[Ot]||null).action),m=n.submitter;m&&(t=(t=m[Ot]||null)?dh(t.formAction):m.getAttribute("formAction"),t!==null&&(u=t,m=null));var b=new ji("action","action",null,n,i);e.push({event:b,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(pn!==0){var S=m?fh(i,m):new FormData(i);dc(a,{pending:!0,data:S,method:i.method,action:u},null,S)}}else typeof u=="function"&&(b.preventDefault(),S=m?fh(i,m):new FormData(i),dc(a,{pending:!0,data:S,method:i.method,action:u},u,S))},currentTarget:i}]})}}for(var Qc=0;Qc<ko.length;Qc++){var Zc=ko[Qc],o0=Zc.toLowerCase(),c0=Zc[0].toUpperCase()+Zc.slice(1);da(o0,"on"+c0)}da(qd,"onAnimationEnd"),da(Gd,"onAnimationIteration"),da(Yd,"onAnimationStart"),da("dblclick","onDoubleClick"),da("focusin","onFocus"),da("focusout","onBlur"),da(Nb,"onTransitionRun"),da(Sb,"onTransitionStart"),da(Cb,"onTransitionCancel"),da(Xd,"onTransitionEnd"),pl("onMouseEnter",["mouseout","mouseover"]),pl("onMouseLeave",["mouseout","mouseover"]),pl("onPointerEnter",["pointerout","pointerover"]),pl("onPointerLeave",["pointerout","pointerover"]),On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),On("onBeforeInput",["compositionend","keypress","textInput","paste"]),On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ks="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),u0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ks));function mh(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],i=n.event;n=n.listeners;e:{var u=void 0;if(t)for(var m=n.length-1;0<=m;m--){var b=n[m],S=b.instance,z=b.currentTarget;if(b=b.listener,S!==u&&i.isPropagationStopped())break e;u=b,i.currentTarget=z;try{u(i)}catch(B){Ci(B)}i.currentTarget=null,u=S}else for(m=0;m<n.length;m++){if(b=n[m],S=b.instance,z=b.currentTarget,b=b.listener,S!==u&&i.isPropagationStopped())break e;u=b,i.currentTarget=z;try{u(i)}catch(B){Ci(B)}i.currentTarget=null,u=S}}}}function je(e,t){var a=t[so];a===void 0&&(a=t[so]=new Set);var n=e+"__bubble";a.has(n)||(hh(t,e,2,!1),a.add(n))}function Kc(e,t,a){var n=0;t&&(n|=4),hh(a,e,n,t)}var mr="_reactListening"+Math.random().toString(36).slice(2);
vendor: 3,356 bytes, line 8
8function Jc(e){if(!e[mr]){e[mr]=!0,id.forEach(function(a){a!=="selectionchange"&&(u0.has(a)||Kc(a,!1,e),Kc(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mr]||(t[mr]=!0,Kc("selectionchange",!1,t))}}function hh(e,t,a,n){switch(Gh(t)){case 2:var i=U0;break;case 8:i=H0;break;default:i=uu}a=i.bind(null,t,a,e),i=void 0,!po||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,a,{capture:!0,passive:i}):e.addEventListener(t,a,!0):i!==void 0?e.addEventListener(t,a,{passive:i}):e.addEventListener(t,a,!1)}function Wc(e,t,a,n,i){var u=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var m=n.tag;if(m===3||m===4){var b=n.stateNode.containerInfo;if(b===i)break;if(m===4)for(m=n.return;m!==null;){var S=m.tag;if((S===3||S===4)&&m.stateNode.containerInfo===i)return;m=m.return}for(;b!==null;){if(m=fl(b),m===null)return;if(S=m.tag,S===5||S===6||S===26||S===27){n=u=m;continue e}b=b.parentNode}}n=n.return}bd(function(){var z=u,B=mo(a),V=[];e:{var M=Qd.get(e);if(M!==void 0){var O=ji,le=e;switch(e){case"keypress":if(Ai(a)===0)break e;case"keydown":case"keyup":O=nb;break;case"focusin":le="focus",O=yo;break;case"focusout":le="blur",O=yo;break;case"beforeblur":case"afterblur":O=yo;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=wd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=Xg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=ib;break;case qd:case Gd:case Yd:O=Kg;break;case Xd:O=ob;break;case"scroll":case"scrollend":O=Gg;break;case"wheel":O=ub;break;case"copy":case"cut":case"paste":O=Wg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Ed;break;case"toggle":case"beforetoggle":O=fb}var de=(t&4)!==0,Ue=!de&&(e==="scroll"||e==="scrollend"),R=de?M!==null?M+"Capture":null:M;de=[];for(var k=z,D;k!==null;){var F=k;if(D=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||D===null||R===null||(F=xs(k,R),F!=null&&de.push(Js(k,F,D))),Ue)break;k=k.return}0<de.length&&(M=new O(M,le,null,a,B),V.push({event:M,listeners:de}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",M&&a!==fo&&(le=a.relatedTarget||a.fromElement)&&(fl(le)||le[dl]))break e;if((O||M)&&(M=B.window===B?B:(M=B.ownerDocument)?M.defaultView||M.parentWindow:window,O?(le=a.relatedTarget||a.toElement,O=z,le=le?fl(le):null,le!==null&&(Ue=f(le),de=le.tag,le!==Ue||de!==5&&de!==27&&de!==6)&&(le=null)):(O=null,le=z),O!==le)){if(de=wd,F="onMouseLeave",R="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(de=Ed,F="onPointerLeave",R="onPointerEnter",k="pointer"),Ue=O==null?M:ps(O),D=le==null?M:ps(le),M=new de(F,k+"leave",O,a,B),M.target=Ue,M.relatedTarget=D,F=null,fl(B)===z&&(de=new de(R,k+"enter",le,a,B),de.target=D,de.relatedTarget=Ue,F=de),Ue=F,O&&le)t:{for(de=d0,R=O,k=le,D=0,F=R;F;F=de(F))D++;F=0;for(var oe=k;oe;oe=de(oe))F++;for(;0<D-F;)R=de(R),D--;for(;0<F-D;)k=de(k),F--;for(;D--;){if(R===k||k!==null&&R===k.alternate){de=R;break t}R=de(R),k=de(k)}de=null}else de=null;O!==null&&ph(V,M,O,de,!1),le!==null&&Ue!==null&&ph(V,Ue,le,de,!0)}}
vendor: 5,189 bytes, lines 8-9
8e:{if(M=z?ps(z):window,O=M.nodeName&&M.nodeName.toLowerCase(),O==="select"||O==="input"&&M.type==="file")var _e=Td;else if(_d(M))if(Dd)_e=Ab;else{_e=vb;var ie=yb}else O=M.nodeName,!O||O.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?z&&uo(z.elementType)&&(_e=Td):_e=wb;if(_e&&(_e=_e(e,z))){Rd(V,_e,a,B);break e}ie&&ie(e,M,z),e==="focusout"&&z&&M.type==="number"&&z.memoizedProps.value!=null&&co(M,"number",M.value)}switch(ie=z?ps(z):window,e){case"focusin":(_d(ie)||ie.contentEditable==="true")&&(wl=ie,No=z,js=null);break;case"focusout":js=No=wl=null;break;case"mousedown":So=!0;break;case"contextmenu":case"mouseup":case"dragend":So=!1,Fd(V,a,B);break;case"selectionchange":if(jb)break;case"keydown":case"keyup":Fd(V,a,B)}var ye;if(wo)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else vl?Cd(e,a)&&(Se="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Se="onCompositionStart");Se&&(jd&&a.locale!=="ko"&&(vl||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&vl&&(ye=yd()):(Pa=B,xo="value"in Pa?Pa.value:Pa.textContent,vl=!0)),ie=hr(z,Se),0<ie.length&&(Se=new Ad(Se,e,null,a,B),V.push({event:Se,listeners:ie}),ye?Se.data=ye:(ye=kd(a),ye!==null&&(Se.data=ye)))),(ye=hb?pb(e,a):xb(e,a))&&(Se=hr(z,"onBeforeInput"),0<Se.length&&(ie=new Ad("onBeforeInput","beforeinput",null,a,B),V.push({event:ie,listeners:Se}),ie.data=ye)),r0(V,e,z,a,B)}mh(V,t)})}function Js(e,t,a){return{instance:e,listener:t,currentTarget:a}}function hr(e,t){for(var a=t+"Capture",n=[];e!==null;){var i=e,u=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||u===null||(i=xs(e,a),i!=null&&n.unshift(Js(e,i,u)),i=xs(e,t),i!=null&&n.push(Js(e,i,u))),e.tag===3)return n;e=e.return}return[]}function d0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ph(e,t,a,n,i){for(var u=t._reactName,m=[];a!==null&&a!==n;){var b=a,S=b.alternate,z=b.stateNode;if(b=b.tag,S!==null&&S===n)break;b!==5&&b!==26&&b!==27||z===null||(S=z,i?(z=xs(a,u),z!=null&&m.unshift(Js(a,z,S))):i||(z=xs(a,u),z!=null&&m.push(Js(a,z,S)))),a=a.return}m.length!==0&&e.push({event:t,listeners:m})}var f0=/\r\n?/g,m0=/\u0000|\uFFFD/g;function xh(e){return(typeof e=="string"?e:""+e).replace(f0,`
9`).replace(m0,"")}function gh(e,t){return t=xh(t),xh(e)===t}function Be(e,t,a,n,i,u){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||gl(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&gl(e,""+n);break;case"className":bi(e,"class",n);break;case"tabIndex":bi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":bi(e,a,n);break;case"style":xd(e,n,u);break;case"data":if(t!=="object"){bi(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(a==="formAction"?(t!=="input"&&Be(e,t,"name",i.name,i,null),Be(e,t,"formEncType",i.formEncType,i,null),Be(e,t,"formMethod",i.formMethod,i,null),Be(e,t,"formTarget",i.formTarget,i,null)):(Be(e,t,"encType",i.encType,i,null),Be(e,t,"method",i.method,i,null),Be(e,t,"target",i.target,i,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=Ca);break;case"onScroll":n!=null&&je("scroll",e);break;case"onScrollEnd":n!=null&&je("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(a=n.__html,a!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=vi(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":je("beforetoggle",e),je("toggle",e),gi(e,"popover",n);break;case"xlinkActuate":Sa(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Sa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Sa(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Sa(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Sa(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Sa(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Sa(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Sa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Sa(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":gi(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Vg.get(a)||a,gi(e,a,n))}}function $c(e,t,a,n,i,u){switch(a){case"style":xd(e,n,u);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(c(61));if(a=n.__html,a!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"children":typeof n=="string"?gl(e,n):(typeof n=="number"||typeof n=="bigint")&&gl(e,""+n);break;case"onScroll":n!=null&&je("scroll",e);break;case"onScrollEnd":n!=null&&je("scrollend",e);break;case"onClick":n!=null&&(e.onclick=Ca);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!rd.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(i=a.endsWith("Capture"),t=a.slice(2,i?a.length-7:void 0),u=e[Ot]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,i),typeof n=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,i);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):gi(e,a,n)}}}function bt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",e),je("load",e);var n=!1,i=!1,u;for(u in a)if(a.hasOwnProperty(u)){var m=a[u];if(m!=null)switch(u){case"src":n=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Be(e,t,u,m,a,null)}}i&&Be(e,t,"srcSet",a.srcSet,a,null),n&&Be(e,t,"src",a.src,a,null);return;case"input":je("invalid",e);var b=u=m=i=null,S=null,z=null;for(n in a)if(a.hasOwnProperty(n)){var B=a[n];if(B!=null)switch(n){case"name":i=B;break;case"type":m=B;break;case"checked":S=B;break;case"defaultChecked":z=B;break;case"value":u=B;break;case"defaultValue":b=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(c(137,t));break;default:Be(e,t,n,B,a,null)}}fd(e,u,b,S,z,m,i,!1);return;case"select":je("invalid",e),n=m=u=null;for(i in a)if(a.hasOwnProperty(i)&&(b=a[i],b!=null))switch(i){case"value":u=b;break;case"defaultValue":m=b;break;case"multiple":n=b;default:Be(e,t,i,b,a,null)}t=u,a=m,e.multiple=!!n,t!=null?xl(e,!!n,t,!1):a!=null&&xl(e,!!n,a,!0);return;case"textarea":je("invalid",e),u=i=n=null;for(m in a)if(a.hasOwnProperty(m)&&(b=a[m],b!=null))switch(m){case"value":n=b;break;case"defaultValue":i=b;break;case"children":u=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(c(91));break;default:Be(e,t,m,b,a,null)}hd(e,n,i,u);return;case"option":for(S in a)a.hasOwnProperty(S)&&(n=a[S],n!=null)&&(S==="selected"?e.selected=n&&typeof n!="function"&&typeof n!="symbol":Be(e,t,S,n,a,null));return;
vendor: 4,294 bytes, line 9
9case"dialog":je("beforetoggle",e),je("toggle",e),je("cancel",e),je("close",e);break;case"iframe":case"object":je("load",e);break;case"video":case"audio":for(n=0;n<Ks.length;n++)je(Ks[n],e);break;case"image":je("error",e),je("load",e);break;case"details":je("toggle",e);break;case"embed":case"source":case"link":je("error",e),je("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in a)if(a.hasOwnProperty(z)&&(n=a[z],n!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Be(e,t,z,n,a,null)}return;default:if(uo(t)){for(B in a)a.hasOwnProperty(B)&&(n=a[B],n!==void 0&&$c(e,t,B,n,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(n=a[b],n!=null&&Be(e,t,b,n,a,null))}function h0(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,u=null,m=null,b=null,S=null,z=null,B=null;for(O in a){var V=a[O];if(a.hasOwnProperty(O)&&V!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":S=V;default:n.hasOwnProperty(O)||Be(e,t,O,null,n,V)}}for(var M in n){var O=n[M];if(V=a[M],n.hasOwnProperty(M)&&(O!=null||V!=null))switch(M){case"type":u=O;break;case"name":i=O;break;case"checked":z=O;break;case"defaultChecked":B=O;break;case"value":m=O;break;case"defaultValue":b=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(c(137,t));break;default:O!==V&&Be(e,t,M,O,n,V)}}oo(e,m,b,S,z,B,u,i);return;case"select":O=m=b=M=null;for(u in a)if(S=a[u],a.hasOwnProperty(u)&&S!=null)switch(u){case"value":break;case"multiple":O=S;default:n.hasOwnProperty(u)||Be(e,t,u,null,n,S)}for(i in n)if(u=n[i],S=a[i],n.hasOwnProperty(i)&&(u!=null||S!=null))switch(i){case"value":M=u;break;case"defaultValue":b=u;break;case"multiple":m=u;default:u!==S&&Be(e,t,i,u,n,S)}t=b,a=m,n=O,M!=null?xl(e,!!a,M,!1):!!n!=!!a&&(t!=null?xl(e,!!a,t,!0):xl(e,!!a,a?[]:"",!1));return;case"textarea":O=M=null;for(b in a)if(i=a[b],a.hasOwnProperty(b)&&i!=null&&!n.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Be(e,t,b,null,n,i)}for(m in n)if(i=n[m],u=a[m],n.hasOwnProperty(m)&&(i!=null||u!=null))switch(m){case"value":M=i;break;case"defaultValue":O=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==u&&Be(e,t,m,i,n,u)}md(e,M,O);return;case"option":for(var le in a)M=a[le],a.hasOwnProperty(le)&&M!=null&&!n.hasOwnProperty(le)&&(le==="selected"?e.selected=!1:Be(e,t,le,null,n,M));for(S in n)M=n[S],O=a[S],n.hasOwnProperty(S)&&M!==O&&(M!=null||O!=null)&&(S==="selected"?e.selected=M&&typeof M!="function"&&typeof M!="symbol":Be(e,t,S,M,n,O));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var de in a)M=a[de],a.hasOwnProperty(de)&&M!=null&&!n.hasOwnProperty(de)&&Be(e,t,de,null,n,M);for(z in n)if(M=n[z],O=a[z],n.hasOwnProperty(z)&&M!==O&&(M!=null||O!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,t));break;default:Be(e,t,z,M,n,O)}return;default:if(uo(t)){for(var Ue in a)M=a[Ue],a.hasOwnProperty(Ue)&&M!==void 0&&!n.hasOwnProperty(Ue)&&$c(e,t,Ue,void 0,n,M);for(B in n)M=n[B],O=a[B],!n.hasOwnProperty(B)||M===O||M===void 0&&O===void 0||$c(e,t,B,M,n,O);return}}for(var R in a)M=a[R],a.hasOwnProperty(R)&&M!=null&&!n.hasOwnProperty(R)&&Be(e,t,R,null,n,M);for(V in n)M=n[V],O=a[V],!n.hasOwnProperty(V)||M===O||M==null&&O==null||Be(e,t,V,M,n,O)}function bh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function p0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var i=a[n],u=i.transferSize,m=i.initiatorType,b=i.duration;if(u&&b&&bh(m)){for(m=0,b=i.responseEnd,n+=1;n<a.length;n++){var S=a[n],z=S.startTime;if(z>b)break;var B=S.transferSize,V=S.initiatorType;B&&bh(V)&&(S=S.responseEnd,m+=B*(S<b?1:(b-z)/(S-z)))}if(--n,t+=8*(u+m)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Pc=null,Ic=null;
vendor: 8,933 bytes, line 9
9function pr(e){return e.nodeType===9?e:e.ownerDocument}function yh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function eu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var tu=null;function x0(){var e=window.event;return e&&e.type==="popstate"?e===tu?!1:(tu=e,!0):(tu=null,!1)}var wh=typeof setTimeout=="function"?setTimeout:void 0,g0=typeof clearTimeout=="function"?clearTimeout:void 0,Ah=typeof Promise=="function"?Promise:void 0,b0=typeof queueMicrotask=="function"?queueMicrotask:typeof Ah<"u"?function(e){return Ah.resolve(null).then(e).catch(y0)}:wh;function y0(e){setTimeout(function(){throw e})}function xn(e){return e==="head"}function Eh(e,t){var a=t,n=0;do{var i=a.nextSibling;if(e.removeChild(a),i&&i.nodeType===8)if(a=i.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(i),Kl(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Ws(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Ws(a);for(var u=a.firstChild;u;){var m=u.nextSibling,b=u.nodeName;u[hs]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=m}}else a==="body"&&Ws(e.ownerDocument.body);a=i}while(a);Kl(t)}function jh(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function au(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":au(a),io(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function v0(e,t,a,n){for(;e.nodeType===1;){var i=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[hs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=ra(e.nextSibling),e===null)break}return null}function w0(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=ra(e.nextSibling),e===null))return null;return e}function Nh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=ra(e.nextSibling),e===null))return null;return e}function nu(e){return e.data==="$?"||e.data==="$~"}function lu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function A0(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function ra(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var su=null;function Sh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return ra(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Ch(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function kh(e,t,a){switch(t=pr(a),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Ws(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);io(e)}var oa=new Map,_h=new Set;function xr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ga=G.d;G.d={f:E0,r:j0,D:N0,C:S0,L:C0,m:k0,X:R0,S:_0,M:T0};function E0(){var e=Ga.f(),t=rr();return e||t}function j0(e){var t=ml(e);t!==null&&t.tag===5&&t.type==="form"?Qf(t):Ga.r(e)}var Xl=typeof document>"u"?null:document;function Rh(e,t,a){var n=Xl;if(n&&typeof t=="string"&&t){var i=ea(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof a=="string"&&(i+='[crossorigin="'+a+'"]'),_h.has(i)||(_h.add(i),e={rel:e,crossOrigin:a,href:t},n.querySelector(i)===null&&(t=n.createElement("link"),bt(t,"link",e),ft(t),n.head.appendChild(t)))}}function N0(e){Ga.D(e),Rh("dns-prefetch",e,null)}function S0(e,t){Ga.C(e,t),Rh("preconnect",e,t)}function C0(e,t,a){Ga.L(e,t,a);var n=Xl;if(n&&e&&t){var i='link[rel="preload"][as="'+ea(t)+'"]';t==="image"&&a&&a.imageSrcSet?(i+='[imagesrcset="'+ea(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(i+='[imagesizes="'+ea(a.imageSizes)+'"]')):i+='[href="'+ea(e)+'"]';var u=i;switch(t){case"style":u=Ql(e);break;case"script":u=Zl(e)}oa.has(u)||(e=p({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),oa.set(u,e),n.querySelector(i)!==null||t==="style"&&n.querySelector($s(u))||t==="script"&&n.querySelector(Ps(u))||(t=n.createElement("link"),bt(t,"link",e),ft(t),n.head.appendChild(t)))}}function k0(e,t){Ga.m(e,t);var a=Xl;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+ea(n)+'"][href="'+ea(e)+'"]',u=i;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Zl(e)}if(!oa.has(u)&&(e=p({rel:"modulepreload",href:e},t),oa.set(u,e),a.querySelector(i)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ps(u)))return}n=a.createElement("link"),bt(n,"link",e),ft(n),a.head.appendChild(n)}}}function _0(e,t,a){Ga.S(e,t,a);var n=Xl;if(n&&e){var i=hl(n).hoistableStyles,u=Ql(e);t=t||"default";var m=i.get(u);if(!m){var b={loading:0,preload:null};if(m=n.querySelector($s(u)))b.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},a),(a=oa.get(u))&&iu(e,a);var S=m=n.createElement("link");ft(S),bt(S,"link",e),S._p=new Promise(function(z,B){S.onload=z,S.onerror=B}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,gr(m,t,n)}m={type:"stylesheet",instance:m,count:1,state:b},i.set(u,m)}}}function R0(e,t){Ga.X(e,t);var a=Xl;if(a&&e){var n=hl(a).hoistableScripts,i=Zl(e),u=n.get(i);u||(u=a.querySelector(Ps(i)),u||(e=p({src:e,async:!0},t),(t=oa.get(i))&&ru(e,t),u=a.createElement("script"),ft(u),bt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(i,u))}}function T0(e,t){Ga.M(e,t);var a=Xl;if(a&&e){var n=hl(a).hoistableScripts,i=Zl(e),u=n.get(i);u||(u=a.querySelector(Ps(i)),u||(e=p({src:e,async:!0,type:"module"},t),(t=oa.get(i))&&ru(e,t),u=a.createElement("script"),ft(u),bt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(i,u))}}function Th(e,t,a,n){var i=(i=ee.current)?xr(i):null;if(!i)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ql(a.href),a=hl(i).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ql(a.href);var u=hl(i).hoistableStyles,m=u.get(e);if(m||(i=i.ownerDocument||i,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}}
vendor: 4,212 bytes, line 9
9,u.set(e,m),(u=i.querySelector($s(e)))&&!u._p&&(m.instance=u,m.state.loading=5),oa.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},oa.set(e,a),u||D0(i,e,a,m.state))),t&&n===null)throw Error(c(528,""));return m}if(t&&n!==null)throw Error(c(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Zl(a),a=hl(i).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function Ql(e){return'href="'+ea(e)+'"'}function $s(e){return'link[rel="stylesheet"]['+e+"]"}function Dh(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function D0(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),bt(t,"link",a),ft(t),e.head.appendChild(t))}function Zl(e){return'[src="'+ea(e)+'"]'}function Ps(e){return"script[async]"+e}function zh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+ea(a.href)+'"]');if(n)return t.instance=n,ft(n),n;var i=p({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),ft(n),bt(n,"style",i),gr(n,a.precedence,e),t.instance=n;case"stylesheet":i=Ql(a.href);var u=e.querySelector($s(i));if(u)return t.state.loading|=4,t.instance=u,ft(u),u;n=Dh(a),(i=oa.get(i))&&iu(n,i),u=(e.ownerDocument||e).createElement("link"),ft(u);var m=u;return m._p=new Promise(function(b,S){m.onload=b,m.onerror=S}),bt(u,"link",n),t.state.loading|=4,gr(u,a.precedence,e),t.instance=u;case"script":return u=Zl(a.src),(i=e.querySelector(Ps(u)))?(t.instance=i,ft(i),i):(n=a,(i=oa.get(u))&&(n=p({},a),ru(n,i)),e=e.ownerDocument||e,i=e.createElement("script"),ft(i),bt(i,"link",n),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,gr(n,a.precedence,e));return t.instance}function gr(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=n.length?n[n.length-1]:null,u=i,m=0;m<n.length;m++){var b=n[m];if(b.dataset.precedence===t)u=b;else if(u!==i)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function iu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ru(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var br=null;function Mh(e,t,a){if(br===null){var n=new Map,i=br=new Map;i.set(a,n)}else i=br,n=i.get(a),n||(n=new Map,i.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),i=0;i<a.length;i++){var u=a[i];if(!(u[hs]||u[ht]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var m=u.getAttribute(t)||"";m=e+m;var b=n.get(m);b?b.push(u):n.set(m,[u])}}return n}function Oh(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function z0(e,t,a){if(a===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;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Lh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function M0(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="str
9ing"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var i=Ql(n.href),u=t.querySelector($s(i));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=yr.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,ft(u);return}u=t.ownerDocument||t,n=Dh(n),(i=oa.get(i))&&iu(n,i),u=u.createElement("link"),ft(u);var m=u;m._p=new Promise(function(b,S){m.onload=b,m.onerror=S}),bt(u,"link",n),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=yr.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var ou=0;function O0(e,t){return e.stylesheets&&e.count===0&&wr(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&wr(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&ou===0&&(ou=62500*p0());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&wr(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>ou?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(i)}}:null}function yr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)wr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var vr=null;function wr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vr=new Map,t.forEach(L0,e),vr=null,yr.call(e))}function L0(e,t){if(!(t.state.loading&4)){var a=vr.get(e);if(a)var n=a.get(null);else{a=new Map,vr.set(e,a);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<i.length;u++){var m=i[u];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(a.set(m.dataset.precedence,m),n=m)}n&&a.set(null,n)}i=t.instance,m=i.getAttribute("data-precedence"),u=a.get(m)||n,u===n&&a.set(null,i),a.set(m,i),this.count++,n=yr.bind(this),i.addEventListener("load",n),i.addEventListener("error",n),u?u.parentNode.insertBefore(i,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Is={$$typeof:ne,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function B0(e,t,a,n,i,u,m,b,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wa(0),this.hiddenUpdates=Wa(null),this.identifierPrefix=n,this.onUncaughtError=i,this.onCaughtError=u,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Bh(e,t,a,n,i,u,m,b,S,z,B,V){return e=new B0(e,t,a,m,S,z,B,V,b),t=1,u===!0&&(t|=24),u=Zt(3,null,null,t),e.current=u,u.stateNode=e,t=Vo(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:n,isDehydrated:a,cache:t},Xo(u),e}function Uh(e){return e?(e=jl,e):jl}function Hh(e,t,a,n,i,u){i=Uh(i),n.context===null?n.context=i:n.pendingContext=i,n=ln(t),n.payload={element:a},u=u===void 0?null:u,u!==null&&(n.callback=u),a=sn(e,n,t),a!==null&&(Vt(a,e,t),Ts(a,e,t))}function Fh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function cu(e,t){Fh(e,t),(e=e.alternate)&&Fh(e,t)}function Vh(e){if(e.tag===13||e.tag===31){var t=Hn(e,67108864);t!==null&&Vt(t,e,67108864),cu(e,67108864)}}function qh(e){if(e.tag===13||e.tag===31){var t=Pt();t=ul(t);var a=Hn(e,t);a!==null&&Vt(a,e,t),cu(e,t)}}var Ar=!0;function U0(e,t,a,n){var i=T.T;T.T=null;var u=G.p;try{G.p=2,uu(e,t,a,n)}finally{G.p=u,T.T=i}}function H0(e,t,a,n){var i=T.T;T.T=null;var u=G.p;try{G.p=8,uu(e,t,a,n)}finally{G.p=u,T.T=i}}function uu(e,t,a,n){if(Ar){var i=du(n);if(i===null)Wc(e,t,n,Er,a),Yh(e,n);else if(V0(i,e,t,a,n))n.stopPropagation();else if(Yh(e,n),t&4&&-1<F0.indexOf(e)){for(;i!==null;){var u=ml(i);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var m=xa(u.pendingLanes);if(m!==0){var b=u;for(b.pendingLanes|=2,b.entangledLanes|=2;m;){var S=1<<31-vt(m);b.entanglements[1]|=S,m&=~S}va(u),(Te&6)===0&&(sr=Nt()+500,Zs(0))}}break;case 31:case 13:b=Hn(u,2),b!==null&&Vt(b,u,2),rr(),cu(u,2)}if(u=du(n),u===null&&Wc(e,t,n,Er,a),u===i)break;i=u}i!==null&&n.stopPropagation()}else Wc(e,t,n,null,a)}}function du(e){return e=mo(e),fu(e)}var Er=null;function fu(e){if(Er=null,e=fl(e),e!==null){var t=f(e);
vendor: 4,261 bytes, line 9
9if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=x(t),e!==null)return e;e=null}else if(a===31){if(e=g(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Er=e,null}function Gh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ao()){case Rn:return 2;case pi:return 8;case Tn:case fs:return 32;case Na:return 268435456;default:return 32}default:return 32}}var mu=!1,gn=null,bn=null,yn=null,ei=new Map,ti=new Map,vn=[],F0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Yh(e,t){switch(e){case"focusin":case"focusout":gn=null;break;case"dragenter":case"dragleave":bn=null;break;case"mouseover":case"mouseout":yn=null;break;case"pointerover":case"pointerout":ei.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ti.delete(t.pointerId)}}function ai(e,t,a,n,i,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]},t!==null&&(t=ml(t),t!==null&&Vh(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function V0(e,t,a,n,i){switch(t){case"focusin":return gn=ai(gn,e,t,a,n,i),!0;case"dragenter":return bn=ai(bn,e,t,a,n,i),!0;case"mouseover":return yn=ai(yn,e,t,a,n,i),!0;case"pointerover":var u=i.pointerId;return ei.set(u,ai(ei.get(u)||null,e,t,a,n,i)),!0;case"gotpointercapture":return u=i.pointerId,ti.set(u,ai(ti.get(u)||null,e,t,a,n,i)),!0}return!1}function Xh(e){var t=fl(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=x(a),t!==null){e.blockedOn=t,ld(e.priority,function(){qh(a)});return}}else if(t===31){if(t=g(a),t!==null){e.blockedOn=t,ld(e.priority,function(){qh(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function jr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=du(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);fo=n,a.target.dispatchEvent(n),fo=null}else return t=ml(a),t!==null&&Vh(t),e.blockedOn=a,!1;t.shift()}return!0}function Qh(e,t,a){jr(e)&&a.delete(t)}function q0(){mu=!1,gn!==null&&jr(gn)&&(gn=null),bn!==null&&jr(bn)&&(bn=null),yn!==null&&jr(yn)&&(yn=null),ei.forEach(Qh),ti.forEach(Qh)}function Nr(e,t){e.blockedOn===t&&(e.blockedOn=null,mu||(mu=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,q0)))}var Sr=null;function Zh(e){Sr!==e&&(Sr=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){Sr===e&&(Sr=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],i=e[t+2];if(typeof n!="function"){if(fu(n||a)===null)continue;break}var u=ml(a);u!==null&&(e.splice(t,3),t-=3,dc(u,{pending:!0,data:i,method:a.method,action:n},n,i))}}))}function Kl(e){function t(S){return Nr(S,e)}gn!==null&&Nr(gn,e),bn!==null&&Nr(bn,e),yn!==null&&Nr(yn,e),ei.forEac
9h(t),ti.forEach(t);for(var a=0;a<vn.length;a++){var n=vn[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<vn.length&&(a=vn[0],a.blockedOn===null);)Xh(a),a.blockedOn===null&&vn.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var i=a[n],u=a[n+1],m=i[Ot]||null;if(typeof u=="function")m||Zh(a);else if(m){var b=null;if(u&&u.hasAttribute("formAction")){if(i=u,m=u[Ot]||null)b=m.formAction;else if(fu(i)!==null)continue}else b=m.action;typeof b=="function"?a[n+1]=b:(a.splice(n,3),n-=3),Zh(a)}}}function Kh(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(m){return i=m})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function hu(e){this._internalRoot=e}Cr.prototype.render=hu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var a=t.current,n=Pt();Hh(a,n,e,t,null,null)},Cr.prototype.unmount=hu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Hh(e.current,2,null,e,null,null),rr(),t[dl]=null}};function Cr(e){this._internalRoot=e}Cr.prototype.unstable_scheduleHydration=function(e){if(e){var t=lo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<vn.length&&t!==0&&t<vn[a].priority;a++);vn.splice(a,0,e),a===0&&Xh(e)}};var Jh=r.version;if(Jh!=="19.2.7")throw Error(c(527,Jh,"19.2.7"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=h(t),e=e!==null?A(e):null,e=e===null?null:e.stateNode,e};var G0={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kr.isDisabled&&kr.supportsFiber)try{Dn=kr.inject(G0),St=kr}catch{}}return li.createRoot=function(e,t){if(!d(e))throw Error(c(299));var a=!1,n="",i=am,u=nm,m=lm;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=Bh(e,1,!1,null,null,a,n,null,i,u,m,Kh),e[dl]=t.current,Jc(e),new hu(t)},li.hydrateRoot=function(e,t,a){if(!d(e))throw Error(c(299));var n=!1,i="",u=am,m=nm,b=lm,S=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(i=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(m=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(S=a.formState)),t=Bh(e,1,!0,t,a??null,n,i,S,u,m,b,Kh),t.context=Uh(null),a=t.current,n=Pt(),n=ul(n),i=ln(n),i.callback=null,sn(a,i,n),a=n,t.current.lanes=a,Ze(t,a),va(t),e[dl]=t.current,Jc(e),new Cr(t)},li.version="19.2.7",li}var sp;function I0(){if(sp)return xu.exports;sp=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(r){console.error(r)}}return l(),xu.exports=P0(),xu.exports}var e1=I0();function t1(l,r){if(l instanceof RegExp)return{keys:!1,pattern:l};var o,c,d,f,x=[],g="",v=l.split("/");for(v[0]||v.shift();d=v.shift();)o=d[0],o==="*"?(x.push(o),g+=d[1]==="?"?"(?:/(.*))?":"/(.*)"):o===":"?(c=d.indexOf("?",1),f=d.indexOf(".",1),x.push(d.substring(1,~c?c:~f?f:d.length)),g+=~c&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(g+=(~c?"?":"")+"\\"+d.substring(f))):g+="/"+d;return{keys:x,pattern:new RegExp("^"+g+(r?"(?=$|/)":"/?$"),"i")}}var w=Qr();const J=Ip(w),Zr=X0({__proto__:null,default:J},[w]);var wu={exports:{}},Au={};var ip;function a1(){if(ip)return Au;ip=1;var l=Qr();function r(p,j){return p===j&&(p!==0||1/p===1/j)||p!==p&&j!==j}var o=typeof Object.is=="function"?Object.is:r,c=l.useState,d=l.useEffect,f=l.useLayoutEffect,x=l.useDebugValue;function g(p,j){var E=j(),N=c({inst:{value:E,getSnapshot:j}}),_=N[0].inst,U=N[1];return f(function(){_.value=E,_.getSnapshot=j,v(_)&&U({inst:_})},[p,E,j]),d(function(){return v(_)&&U({inst:_}),p(function(){v(_)&&U({inst:_})})},[p]),x(E),E}function v(p){var j=p.getSnapshot;p=p.value;try{var E=j();return!o(p,E)}catch{return!0}}function h(p,j){return j()}var A=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:g;return Au.useSyncExternalStore=l.useSyncExternalStore!==void 0?l.useSyncExternalStore:A,Au}var rp;function n1(){return rp||(rp=1,wu.exports=a1()),wu.exports}var l1=n1();const s1=Zr.useInsertionEffect,i1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",r1=i1?w.useLayoutEffect:w.useEffect,o1=s1||r1,tx=l=>{const r=w.useRef([l,(...o)=>r[0](...o)]).current;return o1(()=>{r[0]=l}),r[1]},c1="popstate",Qu="pushState",Zu="replaceState",u1="hashchange",op=[c1,Qu,Zu,u1],d1=l=>{for(const r of op)addEventListener(r,l);return()=>{for(const r of op)removeEventListener(r,l)}},ax=(l,r)=>
9l1.useSyncExternalStore(d1,l,r),cp=()=>location.search,f1=({ssrSearch:l}={})=>ax(cp,l!=null?()=>l:cp),up=()=>location.pathname,m1=({ssrPath:l}={})=>ax(up,l!=null?()=>l:up),h1=(l,{replace:r=!1,state:o=null}={})=>history[r?Zu:Qu](o,"",l),p1=(l={})=>[m1(l),h1],dp=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[dp]>"u"){for(const l of[Qu,Zu]){const r=history[l];history[l]=function(){const o=r.apply(this,arguments),c=new Event(l);return c.arguments=arguments,dispatchEvent(c),o}}Object.defineProperty(window,dp,{value:!0})}const x1=(l,r)=>r.toLowerCase().indexOf(l.toLowerCase())?"~"+r:r.slice(l.length)||"/",nx=(l="")=>l==="/"?"":l,g1=(l,r)=>l[0]==="~"?l.slice(1):nx(r)+l,b1=(l="",r)=>x1(Uu(nx(l)),Uu(r)),y1=l=>l[0]==="?"?l.slice(1):l,Uu=l=>{try{return decodeURI(l)}catch{return l}},v1=l=>Uu(y1(l)),lx={hook:p1,searchHook:f1,parser:t1,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:l=>l,aroundNav:(l,r,o)=>l(r,o)},sx=w.createContext(lx),ls=()=>w.useContext(sx),ix={},rx=w.createContext(ix),w1=()=>w.useContext(rx),Kr=l=>{const[r,o]=l.hook(l);return[b1(l.base,r),tx((c,d)=>l.aroundNav(o,g1(c,l.base),d))]},Jr=()=>Kr(ls()),A1=()=>{const l=ls();return v1(l.searchHook(l))},ox=(l,r,o,c)=>{const{pattern:d,keys:f}=r instanceof RegExp?{keys:!1,pattern:r}:l(r||"*",c),x=d.exec(o)||[],[g,...v]=x;return g!==void 0?[!0,(()=>{const h=f!==!1?Object.fromEntries(f.map((p,j)=>[p,v[j]])):x.groups;let A={...v};return h&&Object.assign(A,h),A})(),...c?[g]:[]]:[!1,null]},E1=({children:l,...r})=>{const o=ls(),c=r.hook?lx:o;let d=c;const[f,x=r.ssrSearch??""]=r.ssrPath?.split("?")??[];f&&(r.ssrSearch=x,r.ssrPath=f),r.hrefs=r.hrefs??r.hook?.hrefs,r.searchHook=r.searchHook??r.hook?.searchHook;let g=w.useRef({}),v=g.current,h=v;for(let A in c){const p=A==="base"?c[A]+(r[A]??""):r[A]??c[A];v===h&&p!==h[A]&&(g.current=h={...h}),h[A]=p,(p!==c[A]||p!==d[A])&&(d=h)}return w.createElement(sx.Provider,{value:d,children:l})},fp=({children:l,component:r},o)=>r?w.createElement(r,{params:o}):typeof l=="function"?l(o):l,j1=l=>{let r=w.useRef(ix);const o=r.current;return r.current=Object.keys(l).length!==Object.keys(o).length||Object.entries(l).some(([c,d])=>d!==o[c])?l:o},tt=({path:l,nest:r,match:o,...c})=>{const d=ls(),[f]=Kr(d),[x,g,v]=o??ox(d.parser,l,f,r),h=j1({...w1(),...g});if(!x)return null;const A=v?w.createElement(E1,{base:v},fp(c,h)):fp(c,h);return w.createElement(rx.Provider,{value:h,children:A})},Ae=w.forwardRef((l,r)=>{const o=ls(),[c,d]=Kr(o),{to:f="",href:x=f,onClick:g,asChild:v,children:h,className:A,replace:p,state:j,transition:E,...N}=l,_=tx(L=>{L.ctrlKey||L.metaKey||L.altKey||L.shiftKey||L.button!==0||(g?.(L),L.defaultPrevented||(L.preventDefault(),d(x,l)))}),U=o.hrefs(x[0]==="~"?x.slice(1):o.base+x,o);return v&&w.isValidElement(h)?w.cloneElement(h,{onClick:_,href:U}):w.createElement("a",{...N,onClick:_,href:U,className:A?.call?A(c===x):A,children:h,ref:r})}),cx=l=>Array.isArray(l)?l.flatMap(r=>cx(r&&r.type===w.Fragment?r.props.children:r)):[l],N1=({children:l,location:r})=>{const o=ls(),[c]=Kr(o);for(const d of cx(l)){let f=0;if(w.isValidElement(d)&&(f=ox(o.parser,d.props.path,r||c,d.props.nest))[0])return w.cloneElement(d,{match:f})}return null};var ux=ex();const dx=Ip(ux);function S1(l){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",r.appendChild(o),o.styleSheet?o.styleSheet.cssText=l:o.appendChild(document.createTextNode(l))}const C1=l=>{switch(l){case"success":return R1;case"info":return D1;case"warning":return T1;case"error":return z1;default:return null}},k1=Array(12).fill(0),_1=({visible:l,className:r})=>J.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":l},J.createElement("div",{className:"sonner-spinner"},k1.map((o,c)=>J.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),R1=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),T1=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
9currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),D1=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),z1=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),M1=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},J.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),J.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),O1=()=>{const[l,r]=J.useState(document.hidden);return J.useEffect(()=>{const o=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),l};let Hu=1;class L1{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const o=this.subscribers.indexOf(r);this.subscribers.splice(o,1)}),this.publish=r=>{this.subscribers.forEach(o=>o(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var o;const{message:c,...d}=r,f=typeof r?.id=="number"||((o=r.id)==null?void 0:o.length)>0?r.id:Hu++,x=this.toasts.find(v=>v.id===f),g=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),x?this.toasts=this.toasts.map(v=>v.id===f?(this.publish({...v,...r,id:f,title:c}),{...v,...r,id:f,dismissible:g,title:c}):v):this.addToast({title:c,...d,dismissible:g,id:f}),f},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:r,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(c=>c({id:o.id,dismiss:!0}))}),r),this.message=(r,o)=>this.create({...o,message:r}),this.error=(r,o)=>this.create({...o,message:r,type:"error"}),this.success=(r,o)=>this.create({...o,type:"success",message:r}),this.info=(r,o)=>this.create({...o,type:"info",message:r}),this.warning=(r,o)=>this.create({...o,type:"warning",message:r}),this.loading=(r,o)=>this.create({...o,type:"loading",message:r}),this.promise=(r,o)=>{if(!o)return;let c;o.loading!==void 0&&(c=this.create({...o,promise:r,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const d=Promise.resolve(r instanceof Function?r():r);let f=c!==void 0,x;const g=d.then(async h=>{if(x=["resolve",h],J.isValidElement(h))f=!1,this.create({id:c,type:"default",message:h});else if(U1(h)&&!h.ok){f=!1;const p=typeof o.error=="function"?await o.error(`HTTP error! status: ${h.status}`):o.error,j=typeof o.description=="function"?await o.description(`HTTP error! status: ${h.status}`):o.description,N=typeof p=="object"&&!J.isValidElement(p)?p:{message:p};this.create({id:c,type:"error",description:j,...N})}else if(h instanceof Error){f=!1;const p=typeof o.error=="function"?await o.error(h):o.error,j=typeof o.description=="function"?await o.description(h):o.description,N=typeof p=="object"&&!J.isValidElement(p)?p:{message:p};this.create({id:c,type:"error",description:j,...N})}else if(o.success!==void 0){f=!1;const p=typeof o.success=="function"?await o.success(h):o.success,j=typeof o.description=="function"?await o.description(h):o.description,N=typeof p=="object"&&!J.isValidElement(p)?p:{message:p};this.create({id:c,type:"success",description:j,...N})}}).catch(async h=>{if(x=["reject",h],o.error!==void 0){f=!1;const A=typeof o.error=="function"?await o.error(h):o.error,p=typeof o.description=="function"?await o.description(h):o.description,E=typeof A=="object"&&!J.isValidElement(A)?A:{message:A};this.create({id:c,type:"error",description:p,...E})}}).finally(()=>{f&&(this.dismiss(c),c=void 0),o.finally==null||o.finally.call(o)}),v=()=>new Promise((h,A)=>g.then(()=>x[0]==="reject"?A(x[1]):h(x[1])).catch(A));return typeof c!="string"&&typeof c!="number"?{unwrap:v}:Object.assign(c,{unwrap:v})},this.custom=(r,o)=>{const c=o?.id||Hu++;return this.create({jsx:r(c),id:c,...o}),c},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Gt=new L1,B1=(l,r)=>{const o=r?.id||Hu++;return Gt.addToast({title:l,...r,id:o}),o}
9,U1=l=>l&&typeof l=="object"&&"ok"in l&&typeof l.ok=="boolean"&&"status"in l&&typeof l.status=="number",H1=B1,F1=()=>Gt.toasts,V1=()=>Gt.getActiveToasts(),Eu=Object.assign(H1,{success:Gt.success,info:Gt.info,warning:Gt.warning,error:Gt.error,custom:Gt.custom,message:Gt.message,promise:Gt.promise,dismiss:Gt.dismiss,loading:Gt.loading},{getHistory:F1,getToasts:V1});S1
vendor: 14,873 bytes, line 9
9("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 2,437 bytes, line 9
9_r(l){return l.label!==void 0}const q1=3,G1="24px",Y1="16px",mp=4e3,X1=356,Q1=14,Z1=45,K1=200;function wa(...l){return l.filter(Boolean).join(" ")}function J1(l){const[r,o]=l.split("-"),c=[];return r&&c.push(r),o&&c.push(o),c}const W1=l=>{var r,o,c,d,f,x,g,v,h;const{invert:A,toast:p,unstyled:j,interacting:E,setHeights:N,visibleToasts:_,heights:U,index:L,toasts:P,expanded:ne,removeToast:X,defaultRichColors:re,closeButton:ue,style:Z,cancelButtonStyle:Y,actionButtonStyle:Ce,className:at="",descriptionClassName:Je="",duration:Oe,position:Pe,gap:ut,expandByDefault:Ye,classNames:T,icons:G,closeButtonAriaLabel:se="Close toast"}=l,[ve,Q]=J.useState(null),[C,H]=J.useState(null),[q,K]=J.useState(!1),[W,ee]=J.useState(!1),[ge,xe]=J.useState(!1),[me,Yt]=J.useState(!1),[Tt,Et]=J.useState(!1),[Za,yt]=J.useState(0),[os,rl]=J.useState(0),_n=J.useRef(p.duration||Oe||mp),cs=J.useRef(null),Xt=J.useRef(null),us=L===0,ds=L+1<=_,jt=p.type,Ka=p.dismissible!==!1,Nt=p.className||"",ao=p.descriptionClassName||"",Rn=J.useMemo(()=>U.findIndex(he=>he.toastId===p.id)||0,[U,p.id]),pi=J.useMemo(()=>{var he;return(he=p.closeButton)!=null?he:ue},[p.closeButton,ue]),Tn=J.useMemo(()=>p.duration||Oe||mp,[p.duration,Oe]),fs=J.useRef(0),Na=J.useRef(0),xi=J.useRef(0),Ja=J.useRef(null),[Dn,St]=Pe.split("-"),ca=J.useMemo(()=>U.reduce((he,Xe,dt)=>dt>=Rn?he:he+Xe.height,0),[U,Rn]),vt=O1(),no=p.invert||A,ms=jt==="loading";Na.current=J.useMemo(()=>Rn*ut+ca,[Rn,ca]),J.useEffect(()=>{_n.current=Tn},[Tn]),J.useEffect(()=>{K(!0)},[]),J.useEffect(()=>{const he=Xt.current;if(he){const Xe=he.getBoundingClientRect().height;return rl(Xe),N(dt=>[{toastId:p.id,height:Xe,position:p.position},...dt]),()=>N(dt=>dt.filter(wt=>wt.toastId!==p.id))}},[N,p.id]),J.useLayoutEffect(()=>{if(!q)return;const he=Xt.current,Xe=he.style.height;he.style.height="auto";const dt=he.getBoundingClientRect().height;he.style.height=Xe,rl(dt),N(wt=>wt.find(Ze=>Ze.toastId===p.id)?wt.map(Ze=>Ze.toastId===p.id?{...Ze,height:dt}:Ze):[{toastId:p.id,height:dt,position:p.position},...wt])},[q,p.title,p.description,N,p.id,p.jsx,p.action,p.cancel]);const pa=J.useCallback(()=>{ee(!0),yt(Na.current),N(he=>he.filter(Xe=>Xe.toastId!==p.id)),setTimeout(()=>{X(p)},K1)},[p,X,N,Na]);J.useEffect(()=>{if(p.promise&&jt==="loading"||p.duration===1/0||p.type==="loading")return;let he;return ne||E||vt?(()=>{if(xi.current<fs.current){const wt=new Date().getTime()-fs.current;_n.current=_n.current-wt}
vendor: 6,520 bytes, line 9
9xi.current=new Date().getTime()})():_n.current!==1/0&&(fs.current=new Date().getTime(),he=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),pa()},_n.current)),()=>clearTimeout(he)},[ne,E,p,jt,vt,pa]),J.useEffect(()=>{p.delete&&(pa(),p.onDismiss==null||p.onDismiss.call(p,p))},[pa,p.delete]);function ol(){var he;if(G?.loading){var Xe;return J.createElement("div",{className:wa(T?.loader,p==null||(Xe=p.classNames)==null?void 0:Xe.loader,"sonner-loader"),"data-visible":jt==="loading"},G.loading)}return J.createElement(_1,{className:wa(T?.loader,p==null||(he=p.classNames)==null?void 0:he.loader),visible:jt==="loading"})}const cl=p.icon||G?.[jt]||C1(jt);var zn,xa;return J.createElement("li",{tabIndex:0,ref:Xt,className:wa(at,Nt,T?.toast,p==null||(r=p.classNames)==null?void 0:r.toast,T?.default,T?.[jt],p==null||(o=p.classNames)==null?void 0:o[jt]),"data-sonner-toast":"","data-rich-colors":(zn=p.richColors)!=null?zn:re,"data-styled":!(p.jsx||p.unstyled||j),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":Tt,"data-removed":W,"data-visible":ds,"data-y-position":Dn,"data-x-position":St,"data-index":L,"data-front":us,"data-swiping":ge,"data-dismissible":Ka,"data-type":jt,"data-invert":no,"data-swipe-out":me,"data-swipe-direction":C,"data-expanded":!!(ne||Ye&&q),"data-testid":p.testId,style:{"--index":L,"--toasts-before":L,"--z-index":P.length-L,"--offset":`${W?Za:Na.current}px`,"--initial-height":Ye?"auto":`${os}px`,...Z,...p.style},onDragEnd:()=>{xe(!1),Q(null),Ja.current=null},onPointerDown:he=>{he.button!==2&&(ms||!Ka||(cs.current=new Date,yt(Na.current),he.target.setPointerCapture(he.pointerId),he.target.tagName!=="BUTTON"&&(xe(!0),Ja.current={x:he.clientX,y:he.clientY})))},onPointerUp:()=>{var he,Xe,dt;if(me||!Ka)return;Ja.current=null;const wt=Number(((he=Xt.current)==null?void 0:he.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Wa=Number(((Xe=Xt.current)==null?void 0:Xe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ze=new Date().getTime()-((dt=cs.current)==null?void 0:dt.getTime()),Dt=ve==="x"?wt:Wa,Mn=Math.abs(Dt)/Ze;if(Math.abs(Dt)>=Z1||Mn>.11){yt(Na.current),p.onDismiss==null||p.onDismiss.call(p,p),H(ve==="x"?wt>0?"right":"left":Wa>0?"down":"up"),pa(),Yt(!0);return}else{var zt,Mt;(zt=Xt.current)==null||zt.style.setProperty("--swipe-amount-x","0px"),(Mt=Xt.current)==null||Mt.style.setProperty("--swipe-amount-y","0px")}Et(!1),xe(!1),Q(null)},onPointerMove:he=>{var Xe,dt,wt;if(!Ja.current||!Ka||((Xe=window.getSelection())==null?void 0:Xe.toString().length)>0)return;const Ze=he.clientY-Ja.current.y,Dt=he.clientX-Ja.current.x;var Mn;const zt=(Mn=l.swipeDirections)!=null?Mn:J1(Pe);!ve&&(Math.abs(Dt)>1||Math.abs(Ze)>1)&&Q(Math.abs(Dt)>Math.abs(Ze)?"x":"y");let Mt={x:0,y:0};const ul=ua=>1/(1.5+Math.abs(ua)/20);if(ve==="y"){if(zt.includes("top")||zt.includes("bottom"))if(zt.includes("top")&&Ze<0||zt.includes("bottom")&&Ze>0)Mt.y=Ze;else{const ua=Ze*ul(Ze);Mt.y=Math.abs(ua)<Math.abs(Ze)?ua:Ze}}else if(ve==="x"&&(zt.includes("left")||zt.includes("right")))if(zt.includes("left")&&Dt<0||zt.includes("right")&&Dt>0)Mt.x=Dt;else{const ua=Dt*ul(Dt);Mt.x=Math.abs(ua)<Math.abs(Dt)?ua:Dt}(Math.abs(Mt.x)>0||Math.abs(Mt.y)>0)&&Et(!0),(dt=Xt.current)==null||dt.style.setProperty("--swipe-amount-x",`${Mt.x}px`),(wt=Xt.current)==null||wt.style.setProperty("--swipe-amount-y",`${Mt.y}px`)}},pi&&!p.jsx&&jt!=="loading"?J.createElement("button",{"aria-label":se,"data-disabled":ms,"data-close-button":!0,onClick:ms||!Ka?()=>{}:()=>{pa(),p.onDismiss==null||p.onDismiss.call(p,p)},className:wa(T?.closeButton,p==null||(c=p.classNames)==null?void 0:c.closeButton)},(xa=G?.close)!=null?xa:M1):null,(jt||p.icon||p.promise)&&p.icon!==null&&(G?.[jt]!==null||p.icon)?J.createElement("div",{"data-icon":"",className:wa(T?.icon,p==null||(d=p.classNames)==null?void 0:d.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||ol():null,p.type!=="loading"?cl:null):null,J.createElement("div",{"data-content":"",className:wa(T?.content,p==null||(f=p.classNames)==null?void 0:f.content)},J.createElement("div",{"data-title":"",className:wa(T?.title,p==null||(x=p.classNames)==null?void 0:x.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?J.createElement("div",{"data-description":"",className:wa(Je,ao,T?.description,p==null||(g=p.classNames)==null?void 0:g.description)},typeof p.description=="function"?p.description():p.description):null),J.isValidElement(p.cancel)?p.cancel:p.cancel&&_r(p.cancel)?J.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||Y,onClick:he=>{_r(p.cancel)&&Ka&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,he),pa())},className:wa(T?.cancelButton,p==null||(v=p.classNames)==null?void 0:v.cancelButton)},p.cancel.label):null,J.isValidElement(p.action)?p.action:p.action&&_r(p.action)?J.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||Ce,onClick:he=>{_r(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,he),!he.defaultPrevented&&pa())},className:wa(T?.actionButton,p==null||(h=p.classNames)==null?void 0:h.actionButton)},p.action.label):null)};function hp(){if(typeof window>"u"||typeof document>"u")return"ltr";const l=document.documentElement.getAttribute("dir");return l==="auto"||!l?window.getComputedStyle(document.documentElement).direction:l}function $1(l,r){const o={};return[l,r].forEach((c,d)=>{const f=d===1,x=f?"--mobile-offset":"--offset",g=f?Y1:G1;function v(h){["top","right","bottom","left"].forEach(A=>{o[`${x}-${A}`]=typeof h=="number"?`${h}px`:h})}typeof c=="number"||typeof c=="string"?v(c):typeof c=="object"?["top","right","bottom","left"].forEach(h=>{c[h]===void 0?o[`${x}-${h}`]=g:o[`${x}-${h}`]=typeof c[h]=="number"?`${c[h]}px`:c[h]}):v(g)}),o}const P1=J.forwardRef(function(r,o){const{id:c,invert:d,position:f="bottom-right",hotkey:x=["altKey","KeyT"],expand:g,closeButton:v,className:h,offset:A,mobileOffset:p,theme:j="light",richColors:E,duration:N,style:_,visibleToasts:U=q1,toastOptions:L,dir:P=hp(),gap:ne=Q1,icons:X,containerAriaLabel:re="Notifications"}=r,[ue,Z]=J.useState([]),Y=J.useMemo(()=>c?ue.filter(q=>q.toasterId===c):ue.filter(q=>!q.toasterId),[ue,c]),Ce=J.useMemo(()=>Array.from(new Set([f].concat(Y.filter(q=>q.position).map(q=>q.position)))),[Y,f]),[at,Je]=J.useState([]),[Oe,Pe]=J.useState(!1),[ut,Ye]=J.useState(!1),[T,G]=J.useState(j!=="system"?j:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
9k":"light"),se=J.useRef(null),ve=x.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=J.useRef(null),C=J.useRef(!1),H=J.useCallback(q=>{Z(K=>{var W;return(W=K.find(ee=>ee.id===q.id))!=null&&W.delete||Gt.dismiss(q.id),K.filter(({id:ee})=>ee!==q.id)})},[]);return J.useEffect(()=>Gt.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{Z(K=>K.map(W=>W.id===q.id?{...W,delete:!0}:W))});return}setTimeout(()=>{dx.flushSync(()=>{Z(K=>{const W=K.findIndex(ee=>ee.id===q.id);return W!==-1?[...K.slice(0,W),{...K[W],...q},...K.slice(W+1)]:[q,...K]})})})}),[ue]),J.useEffect(()=>{if(j!=="system"){G(j);return}if(j==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?G("dark"):G("light")),typeof window>"u")return;const q=window.matchMedia("(prefers-color-scheme: dark)");try{q.addEventListener("change",({matches:K})=>{G(K?"dark":"light")})}catch{q.addListener(({matches:W})=>{try{G(W?"dark":"light")}catch(ee){console.error(ee)}})}},[j]),J.useEffect(()=>{ue.length<=1&&Pe(!1)},[ue]),J.useEffect(()=>{const q=K=>{var W;if(x.every(xe=>K[xe]||K.code===xe)){var ge;Pe(!0),(ge=se.current)==null||ge.focus()}K.code==="Escape"&&(document.activeElement===se.current||(W=se.current)!=null&&W.contains(document.activeElement))&&Pe(!1)};return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[x]),J.useEffect(()=>{if(se.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,C.current=!1)}},[se.current]),J.createElement("section",{ref:o,"aria-label":`${re} ${ve}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},Ce.map((q,K)=>{var W;const[ee,ge]=q.split("-");return Y.length?J.createElement("ol",{key:q,dir:P==="auto"?hp():P,tabIndex:-1,ref:se,className:h,"data-sonner-toaster":!0,"data-sonner-theme":T,"data-y-position":ee,"data-x-position":ge,style:{"--front-toast-height":`${((W=at[0])==null?void 0:W.height)||0}px`,"--width":`${X1}px`,"--gap":`${ne}px`,..._,...$1(A,p)},onBlur:xe=>{C.current&&!xe.currentTarget.contains(xe.relatedTarget)&&(C.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||C.current||(C.current=!0,Q.current=xe.relatedTarget)},onMouseEnter:()=>Pe(!0),onMouseMove:()=>Pe(!0),onMouseLeave:()=>{ut||Pe(!1)},onDragEnd:()=>Pe(!1),onPointerDown:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||Ye(!0)},onPointerUp:()=>Ye(!1)},Y.filter(xe=>!xe.position&&K===0||xe.position===q).map((xe,me)=>{var Yt,Tt;return J.createElement(W1,{key:xe.id,icons:X,index:me,toast:xe,defaultRichColors:E,duration:(Yt=L?.duration)!=null?Yt:N,className:L?.className,descriptionClassName:L?.descriptionClassName,invert:d,visibleToasts:U,closeButton:(Tt=L?.closeButton)!=null?Tt:v,interacting:ut,position:q,style:L?.style,unstyled:L?.unstyled,classNames:L?.classNames,cancelButtonStyle:L?.cancelButtonStyle,actionButtonStyle:L?.actionButtonStyle,closeButtonAriaLabel:L?.closeButtonAriaLabel,removeToast:H,toasts:Y.filter(Et=>Et.position==xe.position),heights:at.filter(Et=>Et.position==xe.position),setHeights:Je,expandByDefault:g,gap:ne,expanded:Oe,swipeDirections:r.swipeDirections})})):null}))}),I1=({...l})=>s.jsx(P1,{theme:"light",className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...l}),fx=w.createContext({lang:"RU",setLang:()=>{},toggle:()=>{}}),pp="av-lang";function ey({children:l}){const[r,o]=w.useState(()=>{if(typeof window>"u")return"RU";const d=localStorage.getItem(pp);return d==="EN"||d==="RU"?d:"RU"});w.useEffect(()=>{localStorage.setItem(pp,r),document.documentElement.lang=r.toLowerCase()},[r]);const c=()=>o(r==="RU"?"EN":"RU");return s.jsx(fx.Provider,{value:{lang:r,setLang:o,toggle:c},children:l})}const Fe=()=>w.useContext(fx);function y(l,r,o){return l==="RU"?r:o}function mx(l){var r,o,c="";if(typeof l=="string"||typeof l=="number")c+=l;else if(typeof l=="object")if(Array.isArray(l)){var d=l.length;for(r=0;r<d;r++)l[r]&&(o=mx(l[r]))&&(c&&(c+=" "),c+=o)}else for(o in l)l[o]&&(c&&(c+=" "),c+=o);return c}function hx(){for(var l,r,o=0,c="",d=arguments.length;o<d;o++)(l=arguments[o])&&(r=mx(l))&&(c&&(c+=" "),c+=r);return c}const ty=(l,r)=>{const o=new Array(l.length+r.length);for(let c=0;c<l.length;c++)o[c]=l[c];for(let c=0;c<r.length;c++)o[l.length+c]=r[c];return o},ay=(l,r)=>({classGroupId:l,validator:r}),px=(l=new Map,r=null,o)=>({nextPart:l,validators:r,classGroupId:o}),Fr="-",xp=[],ny="arbitrary..",ly=l=>{const r=iy(l),{conflictingClassGroups:o,conflictingClassGroupModifiers:c}=l;return{getClassGroupId:x=>{if(x.startsWith("[")&&x.endsWith("]"))return sy(x);const g=x.split(Fr),v=g[0]===""&&g.length>1?1:0;return xx(g,v,r)},getConflictingClassGroupIds:(x,g)=>{if(g){const v=c[x],h=o[x];return v?h?ty(h,v):v:h||xp}return o[x]||xp}}},xx=(l,r,o)=>{if(l.length-r===0)return o.classGroupId;const d=l[r],f=o.nextPart.get(d);if(f){const h=xx(l,r+1,f);
vendor: 6,834 bytes, line 9
9if(h)return h}const x=o.validators;if(x===null)return;const g=r===0?l.join(Fr):l.slice(r).join(Fr),v=x.length;for(let h=0;h<v;h++){const A=x[h];if(A.validator(g))return A.classGroupId}},sy=l=>l.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=l.slice(1,-1),o=r.indexOf(":"),c=r.slice(0,o);return c?ny+c:void 0})(),iy=l=>{const{theme:r,classGroups:o}=l;return ry(o,r)},ry=(l,r)=>{const o=px();for(const c in l){const d=l[c];Ku(d,o,c,r)}return o},Ku=(l,r,o,c)=>{const d=l.length;for(let f=0;f<d;f++){const x=l[f];oy(x,r,o,c)}},oy=(l,r,o,c)=>{if(typeof l=="string"){cy(l,r,o);return}if(typeof l=="function"){uy(l,r,o,c);return}dy(l,r,o,c)},cy=(l,r,o)=>{const c=l===""?r:gx(r,l);c.classGroupId=o},uy=(l,r,o,c)=>{if(fy(l)){Ku(l(c),r,o,c);return}r.validators===null&&(r.validators=[]),r.validators.push(ay(o,l))},dy=(l,r,o,c)=>{const d=Object.entries(l),f=d.length;for(let x=0;x<f;x++){const[g,v]=d[x];Ku(v,gx(r,g),o,c)}},gx=(l,r)=>{let o=l;const c=r.split(Fr),d=c.length;for(let f=0;f<d;f++){const x=c[f];let g=o.nextPart.get(x);g||(g=px(),o.nextPart.set(x,g)),o=g}return o},fy=l=>"isThemeGetter"in l&&l.isThemeGetter===!0,my=l=>{if(l<1)return{get:()=>{},set:()=>{}};let r=0,o=Object.create(null),c=Object.create(null);const d=(f,x)=>{o[f]=x,r++,r>l&&(r=0,c=o,o=Object.create(null))};return{get(f){let x=o[f];if(x!==void 0)return x;if((x=c[f])!==void 0)return d(f,x),x},set(f,x){f in o?o[f]=x:d(f,x)}}},Fu="!",gp=":",hy=[],bp=(l,r,o,c,d)=>({modifiers:l,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:c,isExternal:d}),py=l=>{const{prefix:r,experimentalParseClassName:o}=l;let c=d=>{const f=[];let x=0,g=0,v=0,h;const A=d.length;for(let _=0;_<A;_++){const U=d[_];if(x===0&&g===0){if(U===gp){f.push(d.slice(v,_)),v=_+1;continue}if(U==="/"){h=_;continue}}U==="["?x++:U==="]"?x--:U==="("?g++:U===")"&&g--}const p=f.length===0?d:d.slice(v);let j=p,E=!1;p.endsWith(Fu)?(j=p.slice(0,-1),E=!0):p.startsWith(Fu)&&(j=p.slice(1),E=!0);const N=h&&h>v?h-v:void 0;return bp(f,E,j,N)};if(r){const d=r+gp,f=c;c=x=>x.startsWith(d)?f(x.slice(d.length)):bp(hy,!1,x,void 0,!0)}if(o){const d=c;c=f=>o({className:f,parseClassName:d})}return c},xy=l=>{const r=new Map;return l.orderSensitiveModifiers.forEach((o,c)=>{r.set(o,1e6+c)}),o=>{const c=[];let d=[];for(let f=0;f<o.length;f++){const x=o[f],g=x[0]==="[",v=r.has(x);g||v?(d.length>0&&(d.sort(),c.push(...d),d=[]),c.push(x)):d.push(x)}return d.length>0&&(d.sort(),c.push(...d)),c}},gy=l=>({cache:my(l.cacheSize),parseClassName:py(l),sortModifiers:xy(l),postfixLookupClassGroupIds:by(l),...ly(l)}),by=l=>{const r=Object.create(null),o=l.postfixLookupClassGroups;if(o)for(let c=0;c<o.length;c++)r[o[c]]=!0;return r},yy=/\s+/,vy=(l,r)=>{const{parseClassName:o,getClassGroupId:c,getConflictingClassGroupIds:d,sortModifiers:f,postfixLookupClassGroupIds:x}=r,g=[],v=l.trim().split(yy);let h="";for(let A=v.length-1;A>=0;A-=1){const p=v[A],{isExternal:j,modifiers:E,hasImportantModifier:N,baseClassName:_,maybePostfixModifierPosition:U}=o(p);if(j){h=p+(h.length>0?" "+h:h);continue}let L=!!U,P;if(L){const Z=_.substring(0,U);P=c(Z);const Y=P&&x[P]?c(_):void 0;Y&&Y!==P&&(P=Y,L=!1)}else P=c(_);if(!P){if(!L){h=p+(h.length>0?" "+h:h);continue}if(P=c(_),!P){h=p+(h.length>0?" "+h:h);continue}L=!1}const ne=E.length===0?"":E.length===1?E[0]:f(E).join(":"),X=N?ne+Fu:ne,re=X+P;if(g.indexOf(re)>-1)continue;g.push(re);const ue=d(P,L);for(let Z=0;Z<ue.length;++Z){const Y=ue[Z];g.push(X+Y)}h=p+(h.length>0?" "+h:h)}return h},wy=(...l)=>{let r=0,o,c,d="";for(;r<l.length;)(o=l[r++])&&(c=bx(o))&&(d&&(d+=" "),d+=c);return d},bx=l=>{if(typeof l=="string")return l;let r,o="";for(let c=0;c<l.length;c++)l[c]&&(r=bx(l[c]))&&(o&&(o+=" "),o+=r);return o},Ay=(l,...r)=>{let o,c,d,f;const x=v=>{const h=r.reduce((A,p)=>p(A),l());return o=gy(h),c=o.cache.get,d=o.cache.set,f=g,g(v)},g=v=>{const h=c(v);if(h)return h;const A=vy(v,o);return d(v,A),A};return f=x,(...v)=>f(wy(...v))},Ey=[],ct=l=>{const r=o=>o[l]||Ey;return r.isThemeGetter=!0,r},yx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jy=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ny=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Cy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ky=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_y=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,An=l=>jy.test(l),we=l=>!!l&&!Number.isNaN(Number(l)),Aa=l=>!!l&&Number.isInteger(Number(l)),ju=l=>l.endsWith("%")&&we(l.slice(0,-1)),Ya=l=>Ny.test(l),wx=()=>!0,Ry=l=>Sy.test(l)&&!Cy.test(l),Ju=()=>!1,Ty=l=>ky.test(l),Dy=l=>_y.test(l),zy=l=>!I(l)&&!te(l),My=l=>l.startsWith("@container")&&(l[10]==="/"&&l[11]!==void 0||l[11]==="s"&&l[16]!==void 0&&l.startsWith("-size/",10)||l[11]==="n"&&l[18]!==void 0&&l.startsWith("-normal/",10)),Oy=l=>Cn(l,jx,Ju),I=l=>yx.test(l),Pn=l=>Cn(l,Nx,Ry),yp=l=>Cn(l,Gy,we),Ly=l=>Cn(l,Cx,wx),By=l=>Cn(l,Sx,Ju),vp=l=>Cn(l,Ax,Ju),Uy=l=>Cn(l,Ex,Dy),Rr=l=>Cn(l,kx,Ty),te=l=>vx.test(l),si=l=>nl(l,Nx),Hy=l=>nl(l,Sx),wp=l=>nl(l,Ax),Fy=l=>nl(l,jx),Vy=l=>nl(l,Ex),Tr=l=>nl(l,kx,!0),qy=l=>nl(l,Cx,!0),Cn=(l,r,o)=>{const c=yx.exec(l);return c?c[1]?r(c[1]):o(c[2]):!1},nl=(l,r,o=!1)=>{const c=vx.exec(l);return c?c[1]?r(c[1]):o:!1},Ax=l=>l==="position"||l==="percentage",Ex=l=>l==="image"||l==="url",jx=l=>l==="length"||l==="size"||l==="bg-size",Nx=l=>l==="length",Gy=l=>l==="number",Sx=l=>l==="family-name",Cx=l=>l==="number"||l==="weight",kx=l=>l==="shadow",Yy=()=>{const l=ct("color"),r=ct("font"),o=ct("text"),c=ct("font-weight"),d=ct("tracking"),f=ct("leading"),x=ct("breakpoint"),g=ct("container"),v=ct("spacing"),h=ct("radius"),A=ct("shadow"),p=ct("inset-shadow"),j=ct("text-shadow"),E=ct("drop-shadow"),N=ct("blur"),_=ct("perspective"),U=ct("aspect"),L=ct("ease"),P=ct("animate"),ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],re=()=>[...X(),te,I],ue=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],Y=()=>[te,I,v],Ce=()=>[An,"full","auto",...Y()],at=()=>[Aa,"none","subgrid",te,I],Je=()=>["auto",{span:["full",Aa,te,I]},Aa,te,I],Oe=()=>[Aa,"auto",te,I],Pe=()=>["auto","min","max","fr",te,I],ut=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ye=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...Y()],G=()=>[An,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],se=()=>[An,"screen","full","dvw","lvw","svw","min","max","fit",...Y()],ve=()=>[An,"screen","full","lh","dvh","lvh","svh","min","max","fit",...Y()],Q=()=>[l,te,I],C=()=>
vendor: 7,444 bytes, line 9
9[...X(),wp,vp,{position:[te,I]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",Fy,Oy,{size:[te,I]}],K=()=>[ju,si,Pn],W=()=>["","none","full",h,te,I],ee=()=>["",we,si,Pn],ge=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[we,ju,wp,vp],Yt=()=>["","none",N,te,I],Tt=()=>["none",we,te,I],Et=()=>["none",we,te,I],Za=()=>[we,te,I],yt=()=>[An,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ya],breakpoint:[Ya],color:[wx],container:[Ya],"drop-shadow":[Ya],ease:["in","out","in-out"],font:[zy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ya],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ya],shadow:[Ya],spacing:["px",we],text:[Ya],"text-shadow":[Ya],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",An,I,te,U]}],container:["container"],"container-type":[{"@container":["","normal","size",te,I]}],"container-named":[My],columns:[{columns:[we,I,te,g]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:re()}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Ce()}],"inset-x":[{"inset-x":Ce()}],"inset-y":[{"inset-y":Ce()}],start:[{"inset-s":Ce(),start:Ce()}],end:[{"inset-e":Ce(),end:Ce()}],"inset-bs":[{"inset-bs":Ce()}],"inset-be":[{"inset-be":Ce()}],top:[{top:Ce()}],right:[{right:Ce()}],bottom:[{bottom:Ce()}],left:[{left:Ce()}],visibility:["visible","invisible","collapse"],z:[{z:[Aa,"auto",te,I]}],basis:[{basis:[An,"full","auto",g,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[we,An,"auto","initial","none",I]}],grow:[{grow:["",we,te,I]}],shrink:[{shrink:["",we,te,I]}],order:[{order:[Aa,"first","last","none",te,I]}],"grid-cols":[{"grid-cols":at()}],"col-start-end":[{col:Je()}],"col-start":[{"col-start":Oe()}],"col-end":[{"col-end":Oe()}],"grid-rows":[{"grid-rows":at()}],"row-start-end":[{row:Je()}],"row-start":[{"row-start":Oe()}],"row-end":[{"row-end":Oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Pe()}],"auto-rows":[{"auto-rows":Pe()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...ut(),"normal"]}],"justify-items":[{"justify-items":[...Ye(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ye()]}],"align-content":[{content:["normal",...ut()]}],"align-items":[{items:[...Ye(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ye(),{baseline:["","last"]}]}],"place-content":[{"place-content":ut()}],"place-items":[{"place-items":[...Ye(),"baseline"]}],"place-self":[{"place-self":["auto",...Ye()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pbs:[{pbs:Y()}],pbe:[{pbe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],"inline-size":[{inline:["auto",...se()]}],"min-inline-size":[{"min-inline":["auto",...se()]}],"max-inline-size":[{"max-inline":["none",...se()]}],"block-size":[{block:["auto",...ve()]}],"min-block-size":[{"min-block":["auto",...ve()]}],"max-block-size":[{"max-block":["none",...ve()]}],w:[{w:[g,"screen",...G()]}],"min-w":[{"min-w":[g,"screen","none",...G()]}],"max-w":[{"max-w":[g,"screen","none","prose",{screen:[x]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",o,si,Pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,qy,Ly]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ju,I]}],"font-family":[{font:[Hy,By,r]}],"font-features":[{"font-features":[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,te,I]}],"line-clamp":[{"line-clamp":[we,"none",te,yp]}],leading:[{leading:[f,...Y()]}],"list-image":[{"list-image":["none",te,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[we,"from-font","auto",te,Pn]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[we,"auto",te,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"tab-size":[{tab:[Aa,te,I]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:C()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Aa,te,I],radial:["",te,I],conic:[Aa,te,I]},Vy,Uy]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:K()}
vendor: 6,401 bytes, line 9
9],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-bs":[{"border-bs":ee()}],"border-w-be":[{"border-be":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[we,te,I]}],"outline-w":[{outline:["",we,si,Pn]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",A,Tr,Rr]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",p,Tr,Rr]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[we,Pn]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",j,Tr,Rr]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[we,te,I]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[we]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[te,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":X()}],"mask-image-conic-pos":[{"mask-conic":[we]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:C()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,I]}],filter:[{filter:["","none",te,I]}],blur:[{blur:Yt()}],brightness:[{brightness:[we,te,I]}],contrast:[{contrast:[we,te,I]}],"drop-shadow":[{"drop-shadow":["","none",E,Tr,Rr]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",we,te,I]}],"hue-rotate":[{"hue-rotate":[we,te,I]}],invert:[{invert:["",we,te,I]}],saturate:[{saturate:[we,te,I]}],sepia:[{sepia:["",we,te,I]}],"backdrop-filter":[{"backdrop-filter":["","none",te,I]}],"backdrop-blur":[{"backdrop-blur":Yt()}],"backdrop-brightness":[{"backdrop-brightness":[we,te,I]}],"backdrop-contrast":[{"backdrop-contrast":[we,te,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",we,te,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[we,te,I]}],"backdrop-invert":[{"backdrop-invert":["",we,te,I]}],"backdrop-opacity":[{"backdrop-opacity":[we,te,I]}],"backdrop-saturate":[{"backdrop-saturate":[we,te,I]}],"backdrop-sepia":[{"backdrop-sepia":["",we,te,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[we,"initial",te,I]}
vendor: 15,717 bytes, line 9
9],ease:[{ease:["linear","initial",L,te,I]}],delay:[{delay:[we,te,I]}],animate:[{animate:["none",P,te,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,te,I]}],"perspective-origin":[{"perspective-origin":re()}],rotate:[{rotate:Tt()}],"rotate-x":[{"rotate-x":Tt()}],"rotate-y":[{"rotate-y":Tt()}],"rotate-z":[{"rotate-z":Tt()}],scale:[{scale:Et()}],"scale-x":[{"scale-x":Et()}],"scale-y":[{"scale-y":Et()}],"scale-z":[{"scale-z":Et()}],"scale-3d":["scale-3d"],skew:[{skew:Za()}],"skew-x":[{"skew-x":Za()}],"skew-y":[{"skew-y":Za()}],transform:[{transform:[te,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:re()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yt()}],"translate-x":[{"translate-x":yt()}],"translate-y":[{"translate-y":yt()}],"translate-z":[{"translate-z":yt()}],"translate-none":["translate-none"],zoom:[{zoom:[Aa,te,I]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mbs":[{"scroll-mbs":Y()}],"scroll-mbe":[{"scroll-mbe":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pbs":[{"scroll-pbs":Y()}],"scroll-pbe":[{"scroll-pbe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te,I]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[we,si,Pn,yp]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Xy=Ay(Yy);function ll(...l){return Xy(hx(l))}function Sn(l,r,{checkForDefaultPrevented:o=!0}={}){return function(d){if(l?.(d),o===!1||!d.defaultPrevented)return r?.(d)}}function Ap(l,r){if(typeof l=="function")return l(r);l!=null&&(l.current=r)}function Wr(...l){return r=>{let o=!1;const c=l.map(d=>{const f=Ap(d,r);return!o&&typeof f=="function"&&(o=!0),f});if(o)return()=>{for(let d=0;d<c.length;d++){const f=c[d];typeof f=="function"?f():Ap(l[d],null)}}}}function sl(...l){return w.useCallback(Wr(...l),l)}function Qy(l,r){const o=w.createContext(r),c=f=>{const{children:x,...g}=f,v=w.useMemo(()=>g,Object.values(g));return s.jsx(o.Provider,{value:v,children:x})};c.displayName=l+"Provider";function d(f){const x=w.useContext(o);if(x)return x;if(r!==void 0)return r;throw new Error(`\`${f}\` must be used within \`${l}\``)}return[c,d]}function Zy(l,r=[]){let o=[];function c(f,x){const g=w.createContext(x),v=o.length;o=[...o,x];const h=p=>{const{scope:j,children:E,...N}=p,_=j?.[l]?.[v]||g,U=w.useMemo(()=>N,Object.values(N));return s.jsx(_.Provider,{value:U,children:E})};h.displayName=f+"Provider";function A(p,j){const E=j?.[l]?.[v]||g,N=w.useContext(E);if(N)return N;if(x!==void 0)return x;throw new Error(`\`${p}\` must be used within \`${f}\``)}return[h,A]}const d=()=>{const f=o.map(x=>w.createContext(x));return function(g){const v=g?.[l]||f;return w.useMemo(()=>({[`__scope${l}`]:{...g,[l]:v}}),[g,v])}};return d.scopeName=l,[c,Ky(d,...r)]}function Ky(...l){const r=l[0];if(l.length===1)return r;const o=()=>{const c=l.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(f){const x=c.reduce((g,{useScope:v,scopeName:h})=>{const p=v(f)[`__scope${h}`];return{...g,...p}},{});return w.useMemo(()=>({[`__scope${r.scopeName}`]:x}),[x])}};return o.scopeName=r.scopeName,o}var di=globalThis?.document?w.useLayoutEffect:()=>{},Jy=Zr[" useId ".trim().toString()]||(()=>{}),Wy=0;function Nu(l){const[r,o]=w.useState(Jy());return di(()=>{o(c=>c??String(Wy++))},[l]),l||(r?`radix-${r}`:"")}var $y=Zr[" useInsertionEffect ".trim().toString()]||di;function Py({prop:l,defaultProp:r,onChange:o=()=>{},caller:c}){const[d,f,x]=Iy({defaultProp:r,onChange:o}),g=l!==void 0,v=g?l:d;{const A=w.useRef(l!==void 0);w.useEffect(()=>{const p=A.current;p!==g&&console.warn(`${c} is changing from ${p?"controlled":"uncontrolled"} to ${g?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),A.current=g},[g,c])}const h=w.useCallback(A=>{if(g){const p=ev(A)?A(l):A;p!==l&&x.current?.(p)}else f(A)},[g,l,f,x]);return[v,h]}function Iy({defaultProp:l,onChange:r}){const[o,c]=w.useState(l),d=w.useRef(o),f=w.useRef(r);return $y(()=>{f.current=r},[r]),w.useEffect(()=>{d.current!==o&&(f.current?.(o),d.current=o)},[o,d]),[o,c,f]}function ev(l){return typeof l=="function"}function tv(l){const r=av(l),o=w.forwardRef((c,d)=>{const{children:f,...x}=c,g=w.Children.toArray(f),v=g.find(lv);if(v){const h=v.props.children,A=g.map(p=>p===v?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:p);return s.jsx(r,{...x,ref:d,children:w.isValidElement(h)?w.cloneElement(h,void 0,A):null})}return s.jsx(r,{...x,ref:d,children:f})});return o.displayName=`${l}.Slot`,o}function av(l){const r=w.forwardRef((o,c)=>{const{children:d,...f}=o;if(w.isValidElement(d)){const x=iv(d),g=sv(f,d.props);return d.type!==w.Fragment&&(g.ref=c?Wr(c,x):x),w.cloneElement(d,g)}return w.Children.count(d)>1?w.Children.only(null):null});return r.displayName=`${l}.SlotClone`,r}var nv=Symbol("radix.slottable");function lv(l){return w.isValidElement(l)&&typeof l.type=="function"&&"__radixId"in l.type&&l.type.__radixId===nv}function sv(l,r){const o={...r};for(const c in r){const d=l[c],f=r[c];/^on[A-Z]/.test(c)?d&&f?o[c]=(...g)=>{const v=f(...g);return d(...g),v}:d&&(o[c]=d):c==="style"?o[c]={...d,...f}:c==="className"&&(o[c]=[d,f].filter(Boolean).join(" "))}return{...l,...o}}function iv(l){let r=Object.getOwnPropertyDescriptor(l.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?l.ref:(r=Object.getOwnPropertyDescriptor(l,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?l.props.ref:l.props.ref||l.ref)}var rv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Qa=rv.reduce((l,r)=>{const o=tv(`Primitive.${r}`),c=w.forwardRef((d,f)=>{const{asChild:x,...g}=d,v=x?o:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(v,{...g,ref:f})});return c.displayName=`Primitive.${r}`,{...l,[r]:c}},{});function ov(l,r){l&&ux.flushSync(()=>l.dispatchEvent(r))}function fi(l){const r=w.useRef(l);return w.useEffect(()=>{r.current=l}),w.useMemo(()=>(...o)=>r.current?.(...o),[])}function cv(l,r=globalThis?.document){const o=fi(l);w.useEffect(()=>{const c=d=>{d.key==="Escape"&&o(d)};return r.addEventListener("keydown",c,{capture:!0}),()=>r.removeEventListener("keydown",c,{capture:!0})},[o,r])}var uv="DismissableLayer",Vu="dismissableLayer.update",dv="dismissableLayer.pointerDownOutside",fv="dismissableLayer.focusOutside",Ep,_x=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rx=w.forwardRef((l,r)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:x,onDismiss:g,...v}=l,h=w.useContext(_x),[A,p]=w.useState(null),j=A?.ownerDocument??globalThis?.document,[,E]=w.useState({}),N=sl(r,Z=>p(Z)),_=Array.from(h.layers),[U]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),L=_.indexOf(U),P=A?_.indexOf(A):-1,ne=h.layersWithOutsidePointerEventsDisabled.size>0,X=P>=L,re=pv(Z=>{const Y=Z.target,Ce=[...h.branches].some(at=>at.contains(Y));!X||Ce||(d?.(Z),x?.(Z),Z.defaultPrevented||g?.())},j),ue=xv(Z=>{const Y=Z.target;[...h.branches].some(at=>at.contains(Y))||(f?.(Z),x?.(Z),Z.defaultPrevented||g?.())},j);return cv(Z=>{P===h.layers.size-1&&(c?.(Z),!Z.defaultPrevented&&g&&(Z.preventDefault(),g()))},j),w.useEffect(()=>{if(A)return o&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Ep=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(A)),h.layers.add(A),jp(),()=>{o&&h.layersWithOutsidePointerEventsDisabled.size===1&&(j.body.style.pointerEvents=Ep)}},[A,j,o,h]),w.useEffect(()=>()=>{A&&(h.layers.delete(A),h.layersWithOutsidePointerEventsDisabled.delete(A),jp())},[A,h]),w.useEffect(()=>{const Z=()=>E({});return document.addEventListener(Vu,Z),()=>document.removeEventListener(Vu,Z)},[]),s.jsx(Qa.div,{...v,ref:N,style:{pointerEvents:ne?X?"auto":"none":void 0,...l.style},onFocusCapture:Sn(l.onFocusCapture,ue.onFocusCapture),onBlurCapture:Sn(l.onBlurCapture,ue.onBlurCapture),onPointerDownCapture:Sn(l.onPointerDownCapture,re.onPointerDownCapture)})});Rx.displayName=uv;var mv="DismissableLayerBranch",hv=w.forwardRef((l,r)=>{const o=w.useContext(_x),c=w.useRef(null),d=sl(r,c);return w.useEffect(()=>{const f=c.current;if(f)return o.branches.add(f),()=>{o.branches.delete(f)}},[o.branches]),s.jsx(Qa.div,{...l,ref:d})});hv.displayName=mv;function pv(l,r=globalThis?.document){const o=fi(l),c=w.useRef(!1),d=w.useRef(()=>{});return w.useEffect(()=>{const f=g=>{if(g.target&&!c.current){let v=function(){Tx(dv,o,h,{discrete:!0})};const h={originalEvent:g};g.pointerType==="touch"?(r.removeEventListener("click",d.current),d.current=v,r.addEventListener("click",d.current,{once:!0})):v()}else r.removeEventListener("click",d.current);c.current=!1},x=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(x),r.removeEventListener("pointerdown",f),r.removeEventListener("click",d.current)}},[r,o]),{onPointerDownCapture:()=>c.current=!0}}function xv(l,r=globalThis?.document){const o=fi(l),c=w.useRef(!1);return w.useEffect(()=>{const d=f=>{f.target&&!c.current&&Tx(fv,o,{originalEvent:f},{discrete:!1})};return r.addEventListener("focusin",d),()=>r.removeEventListener("focusin",d)},[r,o]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function jp(){const l=new CustomEvent(Vu);document.dispatchEvent(l)}function Tx(l,r,o,{discrete:c}){const d=o.originalEvent.target,f=new CustomEvent(l,{bubbles:!1,cancelable:!0,detail:o});r&&d.addEventListener(l,r,{once:!0}),c?ov(d,f):d.dispatchEvent(f)}var Su="focusScope.autoFocusOnMount",Cu="focusScope.autoFocusOnUnmount",Np={bubbles:!1,cancelable:!0},gv="FocusScope",Dx=w.forwardRef((l,r)=>{const{loop:o=!1,trapped:c=!1,onMountAutoFocus:d,onUnmountAutoFocus:f,...x}=l,[g,v]=w.useState(null),h=fi(d),A=fi(f),p=w.useRef(null),j=sl(r,_=>v(_)),E=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(c){let _=function(ne){if(E.paused||!g)return;const X=ne.target;g.contains(X)?p.current=X:jn(p.current,{select:!0})},U=function(ne){if(E.paused||!g)return;const X=ne.relatedTarget;X!==null&&(g.contains(X)||jn(p.current,{select:!0}))},L=function(ne){if(document.activeElement===document.body)for(const re of ne)re.removedNodes.length>0&&jn(g)};document.addEventListener("focusin",_),document.addEventListener("focusout",U);const P=new MutationObserver(L);return g&&P.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",U),P.disconnect()}}},[c,g,E.paused]),w.useEffect(()=>{if(g){Cp.add(E);const _=document.activeElement;if(!g.contains(_)){const L=new CustomEvent(Su,Np);g.addEventListener(Su,h),g.dispatchEvent(L),L.defaultPrevented||(bv(Ev(zx(g)),{select:!0}),document.activeElement===_&&jn(g))}return()=>{g.removeEventListener(Su,h),setTimeout(()=>{const L=new CustomEvent(Cu,Np);
vendor: 5,033 bytes, line 9
9g.addEventListener(Cu,A),g.dispatchEvent(L),L.defaultPrevented||jn(_??document.body,{select:!0}),g.removeEventListener(Cu,A),Cp.remove(E)},0)}}},[g,h,A,E]);const N=w.useCallback(_=>{if(!o&&!c||E.paused)return;const U=_.key==="Tab"&&!_.altKey&&!_.ctrlKey&&!_.metaKey,L=document.activeElement;if(U&&L){const P=_.currentTarget,[ne,X]=yv(P);ne&&X?!_.shiftKey&&L===X?(_.preventDefault(),o&&jn(ne,{select:!0})):_.shiftKey&&L===ne&&(_.preventDefault(),o&&jn(X,{select:!0})):L===P&&_.preventDefault()}},[o,c,E.paused]);return s.jsx(Qa.div,{tabIndex:-1,...x,ref:j,onKeyDown:N})});Dx.displayName=gv;function bv(l,{select:r=!1}={}){const o=document.activeElement;for(const c of l)if(jn(c,{select:r}),document.activeElement!==o)return}function yv(l){const r=zx(l),o=Sp(r,l),c=Sp(r.reverse(),l);return[o,c]}function zx(l){const r=[],o=document.createTreeWalker(l,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const d=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||d?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)r.push(o.currentNode);return r}function Sp(l,r){for(const o of l)if(!vv(o,{upTo:r}))return o}function vv(l,{upTo:r}){if(getComputedStyle(l).visibility==="hidden")return!0;for(;l;){if(r!==void 0&&l===r)return!1;if(getComputedStyle(l).display==="none")return!0;l=l.parentElement}return!1}function wv(l){return l instanceof HTMLInputElement&&"select"in l}function jn(l,{select:r=!1}={}){if(l&&l.focus){const o=document.activeElement;l.focus({preventScroll:!0}),l!==o&&wv(l)&&r&&l.select()}}var Cp=Av();function Av(){let l=[];return{add(r){const o=l[0];r!==o&&o?.pause(),l=kp(l,r),l.unshift(r)},remove(r){l=kp(l,r),l[0]?.resume()}}}function kp(l,r){const o=[...l],c=o.indexOf(r);return c!==-1&&o.splice(c,1),o}function Ev(l){return l.filter(r=>r.tagName!=="A")}var jv="Portal",Mx=w.forwardRef((l,r)=>{const{container:o,...c}=l,[d,f]=w.useState(!1);di(()=>f(!0),[]);const x=o||d&&globalThis?.document?.body;return x?dx.createPortal(s.jsx(Qa.div,{...c,ref:r}),x):null});Mx.displayName=jv;function Nv(l,r){return w.useReducer((o,c)=>r[o][c]??o,l)}var $r=l=>{const{present:r,children:o}=l,c=Sv(r),d=typeof o=="function"?o({present:c.isPresent}):w.Children.only(o),f=sl(c.ref,Cv(d));return typeof o=="function"||c.isPresent?w.cloneElement(d,{ref:f}):null};$r.displayName="Presence";function Sv(l){const[r,o]=w.useState(),c=w.useRef(null),d=w.useRef(l),f=w.useRef("none"),x=l?"mounted":"unmounted",[g,v]=Nv(x,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const h=Dr(c.current);f.current=g==="mounted"?h:"none"},[g]),di(()=>{const h=c.current,A=d.current;if(A!==l){const j=f.current,E=Dr(h);l?v("MOUNT"):E==="none"||h?.display==="none"?v("UNMOUNT"):v(A&&j!==E?"ANIMATION_OUT":"UNMOUNT"),d.current=l}},[l,v]),di(()=>{if(r){let h;const A=r.ownerDocument.defaultView??window,p=E=>{const _=Dr(c.current).includes(CSS.escape(E.animationName));if(E.target===r&&_&&(v("ANIMATION_END"),!d.current)){const U=r.style.animationFillMode;r.style.animationFillMode="forwards",h=A.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=U)})}},j=E=>{E.target===r&&(f.current=Dr(c.current))};return r.addEventListener("animationstart",j),r.addEventListener("animationcancel",p),r.addEventListener("animationend",p),()=>{A.clearTimeout(h),r.removeEventListener("animationstart",j),r.removeEventListener("animationcancel",p),r.removeEventListener("animationend",p)}}else v("ANIMATION_END")},[r,v]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:w.useCallback(h=>{c.current=h?getComputedStyle(h):null,o(h)},[])}}function Dr(l){return l?.animationName||"none"}function Cv(l){let r=Object.getOwnPropertyDescriptor(l.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?l.ref:(r=Object.getOwnPropertyDescriptor(l,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?l.props.ref:l.props.ref||l.ref)}var ku=0;function kv(){w.useEffect(()=>{const l=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",l[0]??_p()),document.body.insertAdjacentElement("beforeend",l[1]??_p()),ku++,()=>{ku===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ku--}},[])}function _p(){const l=document.createElement("span");return l.setAttribute("data-radix-focus-guard",""),l.tabIndex=0,l.style.outline="none",l.style.opacity="0",l.style.position="fixed",l.style.pointerEvents="none",l}var ja=function(){return ja=Object.assign||function(r){for(var o,c=1,d=arguments.length;c<d;c++){o=arguments[c];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(r[f]=o[f])}return r},ja.apply(this,arguments)};function Ox(l,r){var o={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&r.indexOf(c)<0&&(o[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(l);d<c.length;
vendor: 17,650 bytes, lines 9-49
9d++)r.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(l,c[d])&&(o[c[d]]=l[c[d]]);return o}function _v(l,r,o){if(o||arguments.length===2)for(var c=0,d=r.length,f;c<d;c++)(f||!(c in r))&&(f||(f=Array.prototype.slice.call(r,0,c)),f[c]=r[c]);return l.concat(f||Array.prototype.slice.call(r))}var Br="right-scroll-bar-position",Ur="width-before-scroll-bar",Rv="with-scroll-bars-hidden",Tv="--removed-body-scroll-bar-size";function _u(l,r){return typeof l=="function"?l(r):l&&(l.current=r),l}function Dv(l,r){var o=w.useState(function(){return{value:l,callback:r,facade:{get current(){return o.value},set current(c){var d=o.value;d!==c&&(o.value=c,o.callback(c,d))}}}})[0];return o.callback=r,o.facade}var zv=typeof window<"u"?w.useLayoutEffect:w.useEffect,Rp=new WeakMap;function Mv(l,r){var o=Dv(null,function(c){return l.forEach(function(d){return _u(d,c)})});return zv(function(){var c=Rp.get(o);if(c){var d=new Set(c),f=new Set(l),x=o.current;d.forEach(function(g){f.has(g)||_u(g,null)}),f.forEach(function(g){d.has(g)||_u(g,x)})}Rp.set(o,l)},[l]),o}function Ov(l){return l}function Lv(l,r){r===void 0&&(r=Ov);var o=[],c=!1,d={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:l},useMedium:function(f){var x=r(f,c);return o.push(x),function(){o=o.filter(function(g){return g!==x})}},assignSyncMedium:function(f){for(c=!0;o.length;){var x=o;o=[],x.forEach(f)}o={push:function(g){return f(g)},filter:function(){return o}}},assignMedium:function(f){c=!0;var x=[];if(o.length){var g=o;o=[],g.forEach(f),x=o}var v=function(){var A=x;x=[],A.forEach(f)},h=function(){return Promise.resolve().then(v)};h(),o={push:function(A){x.push(A),h()},filter:function(A){return x=x.filter(A),o}}}};return d}function Bv(l){l===void 0&&(l={});var r=Lv(null);return r.options=ja({async:!0,ssr:!1},l),r}var Lx=function(l){var r=l.sideCar,o=Ox(l,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=r.read();if(!c)throw new Error("Sidecar medium not found");return w.createElement(c,ja({},o))};Lx.isSideCarExport=!0;function Uv(l,r){return l.useMedium(r),Lx}var Bx=Bv(),Ru=function(){},Pr=w.forwardRef(function(l,r){var o=w.useRef(null),c=w.useState({onScrollCapture:Ru,onWheelCapture:Ru,onTouchMoveCapture:Ru}),d=c[0],f=c[1],x=l.forwardProps,g=l.children,v=l.className,h=l.removeScrollBar,A=l.enabled,p=l.shards,j=l.sideCar,E=l.noRelative,N=l.noIsolation,_=l.inert,U=l.allowPinchZoom,L=l.as,P=L===void 0?"div":L,ne=l.gapMode,X=Ox(l,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),re=j,ue=Mv([o,r]),Z=ja(ja({},X),d);return w.createElement(w.Fragment,null,A&&w.createElement(re,{sideCar:Bx,removeScrollBar:h,shards:p,noRelative:E,noIsolation:N,inert:_,setCallbacks:f,allowPinchZoom:!!U,lockRef:o,gapMode:ne}),x?w.cloneElement(w.Children.only(g),ja(ja({},Z),{ref:ue})):w.createElement(P,ja({},Z,{className:v,ref:ue}),g))});Pr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Pr.classNames={fullWidth:Ur,zeroRight:Br};var Hv=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Fv(){if(!document)return null;var l=document.createElement("style");l.type="text/css";var r=Hv();return r&&l.setAttribute("nonce",r),l}function Vv(l,r){l.styleSheet?l.styleSheet.cssText=r:l.appendChild(document.createTextNode(r))}function qv(l){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(l)}var Gv=function(){var l=0,r=null;return{add:function(o){l==0&&(r=Fv())&&(Vv(r,o),qv(r)),l++},remove:function(){l--,!l&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},Yv=function(){var l=Gv();return function(r,o){w.useEffect(function(){return l.add(r),function(){l.remove()}},[r&&o])}},Ux=function(){var l=Yv(),r=function(o){var c=o.styles,d=o.dynamic;return l(c,d),null};return r},Xv={left:0,top:0,right:0,gap:0},Tu=function(l){return parseInt(l||"",10)||0},Qv=function(l){var r=window.getComputedStyle(document.body),o=r[l==="padding"?"paddingLeft":"marginLeft"],c=r[l==="padding"?"paddingTop":"marginTop"],d=r[l==="padding"?"paddingRight":"marginRight"];return[Tu(o),Tu(c),Tu(d)]},Zv=function(l){if(l===void 0&&(l="margin"),typeof window>"u")return Xv;var r=Qv(l),o=document.documentElement.clientWidth,c=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,c-o+r[2]-r[0])}},Kv=Ux(),as="data-scroll-locked",Jv=function(l,r,o,c){var d=l.left,f=l.top,x=l.right,g=l.gap;return o===void 0&&(o="margin"),`
10  .`.concat(Rv,` {
11   overflow: hidden `).concat(c,`;
12   padding-right: `).concat(g,"px ").concat(c,`;
13  }
14  body[`).concat(as,`] {
15    overflow: hidden `).concat(c,`;
16    overscroll-behavior: contain;
17    `).concat([r&&"position: relative ".concat(c,";"),o==="margin"&&`
18    padding-left: `.concat(d,`px;
19    padding-top: `).concat(f,`px;
20    padding-right: `).concat(x,`px;
21    margin-left:0;
22    margin-top:0;
23    margin-right: `).concat(g,"px ").concat(c,`;
24    `),o==="padding"&&"padding-right: ".concat(g,"px ").concat(c,";")].filter(Boolean).join(""),`
25  }
26  
27  .`).concat(Br,` {
28    right: `).concat(g,"px ").concat(c,`;
29  }
30  
31  .`).concat(Ur,` {
32    margin-right: `).concat(g,"px ").concat(c,`;
33  }
34  
35  .`).concat(Br," .").concat(Br,` {
36    right: 0 `).concat(c,`;
37  }
38  
39  .`).concat(Ur," .").concat(Ur,` {
40    margin-right: 0 `).concat(c,`;
41  }
42  
43  body[`).concat(as,`] {
44    `).concat(Tv,": ").concat(g,`px;
45  }
46`)},Tp=function(){var l=parseInt(document.body.getAttribute(as)||"0",10);return isFinite(l)?l:0},Wv=function(){w.useEffect(function(){return document.body.setAttribute(as,(Tp()+1).toString()),function(){var l=Tp()-1;l<=0?document.body.removeAttribute(as):document.body.setAttribute(as,l.toString())}},[])},$v=function(l){var r=l.noRelative,o=l.noImportant,c=l.gapMode,d=c===void 0?"margin":c;Wv();var f=w.useMemo(function(){return Zv(d)},[d]);return w.createElement(Kv,{styles:Jv(f,!r,d,o?"":"!important")})},qu=!1;if(typeof window<"u")try{var zr=Object.defineProperty({},"passive",{get:function(){return qu=!0,!0}});window.addEventListener("test",zr,zr),window.removeEventListener("test",zr,zr)}catch{qu=!1}var Jl=qu?{passive:!1}:!1,Pv=function(l){return l.tagName==="TEXTAREA"},Hx=function(l,r){if(!(l instanceof Element))return!1;var o=window.getComputedStyle(l);return o[r]!=="hidden"&&!(o.overflowY===o.overflowX&&!Pv(l)&&o[r]==="visible")},Iv=function(l){return Hx(l,"overflowY")},e2=function(l){return Hx(l,"overflowX")},Dp=function(l,r){var o=r.ownerDocument,c=r;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var d=Fx(l,c);if(d){var f=Vx(l,c),x=f[1],g=f[2];if(x>g)return!0}c=c.parentNode}while(c&&c!==o.body);return!1},t2=function(l){var r=l.scrollTop,o=l.scrollHeight,c=l.clientHeight;return[r,o,c]},a2=function(l){var r=l.scrollLeft,o=l.scrollWidth,c=l.clientWidth;return[r,o,c]},Fx=function(l,r){return l==="v"?Iv(r):e2(r)},Vx=function(l,r){return l==="v"?t2(r):a2(r)},n2=function(l,r){return l==="h"&&r==="rtl"?-1:1},l2=function(l,r,o,c,d){var f=n2(l,window.getComputedStyle(r).direction),x=f*c,g=o.target,v=r.contains(g),h=!1,A=x>0,p=0,j=0;do{if(!g)break;var E=Vx(l,g),N=E[0],_=E[1],U=E[2],L=_-U-f*N;(N||L)&&Fx(l,g)&&(p+=L,j+=N);var P=g.parentNode;g=P&&P.nodeType===Node.DOCUMENT_FRAGMENT_NODE?P.host:P}while(!v&&g!==document.body||v&&(r.contains(g)||r===g));return(A&&Math.abs(p)<1||!A&&Math.abs(j)<1)&&(h=!0),h},Mr=function(l){return"changedTouches"in l?[l.changedTouches[0].clientX,l.changedTouches[0].clientY]:[0,0]},zp=function(l){return[l.deltaX,l.deltaY]},Mp=function(l){return l&&"current"in l?l.current:l},s2=function(l,r){return l[0]===r[0]&&l[1]===r[1]},i2=function(l){return`
47  .block-interactivity-`.concat(l,` {pointer-events: none;}
48  .allow-interactivity-`).concat(l,` {pointer-events: all;}
49`)},r2=0,Wl=[];function o2(l){var r=w.useRef([]),o=w.useRef([0,0]),c=w.useRef(),d=w.useState(r2++)[0],f=w.useState(Ux)[0],x=w.useRef(l);w.useEffect(function(){x.current=l},[l]),w.useEffect(function(){if(l.inert){document.body.classList.add("block-interactivity-".concat(d));var _=_v([l.lockRef.current],(l.shards||[]).map(Mp),!0).filter(Boolean);return _.forEach(function(U){return U.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),_.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(d))})}}},[l.inert,l.lockRef.current,l.shards]);var g=w.useCallback(function(_,U){if("touches"in _&&_.touches.length===2||_.type==="wheel"&&_.ctrlKey)return!x.current.allowPinchZoom;var L=Mr(_),P=o.current,ne="deltaX"in _?_.deltaX:P[0]-L[0],X="deltaY"in _?_.deltaY:P[1]-L[1],re,ue=_.target,Z=Math.abs(ne)>Math.abs(X)?"h":"v";if("touches"in _&&Z==="h"&&ue.type==="range")return!1;var Y=window.getSelection(),Ce=Y&&Y.anchorNode,at=Ce?Ce===ue||Ce.contains(ue):!1;if(at)return!1;var Je=Dp(Z,ue);if(!Je)return!0;if(Je?re=Z:(re=Z==="v"?"h":"v",Je=Dp(Z,ue)),!Je)return!1;if(!c.current&&"changedTouches"in _&&(ne||X)&&(c.current=re),!re)return!0;var Oe=c.current||re;return l2(Oe,U,_,Oe==="h"?ne:X)},[]),v=w.useCallback(function(_){var U=_;if(!(!Wl.length||Wl[Wl.length-1]!==f)){var L="deltaY"in U?zp(U):Mr(U),P=r.current.filter(function(re){return re.name===U.type&&(re.target===U.target||U.target===re.shadowParent)&&s2(re.delta,L)})[0];if(P&&P.should){U.cancelable&&U.preventDefault();return}if(!P){var ne=(x.current.shards||[]).map(Mp).filter(Boolean).filter(function(re){return re.contains(U.target)}),X=ne.length>0?g(U,ne[0]):!x.current.noIsolation;X&&U.cancelable&&U.preventDefault()}}},[]),h=w.useCallback(function(_,U,L,P){var ne={name:_,delta:U,target:L,should:P,shadowParent:c2(L)};r.current.push(ne),setTimeout(function(){r.current=r.current.filter(function(X){return X!==ne})},1)},[]),A=w.useCallback(function(_){o.current=Mr(_),c.current=void 0},[]),p=w.useCallback(function(_){h(_.type,zp(_),_.target,g(_,l.lockRef.current))},[]),j=w.useCallback(function(_){h(_.type,Mr(_),_.target,g(_,l.lockRef.current))},[]);w.useEffect(function(){return Wl.push(f),l.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:j}),document.addEventListener("wheel",v,Jl),document.addEventListener("touchmove",v,Jl),document.addEventListener("touchstart",A,Jl),function(){Wl=Wl.filter(function(_){return _!==f}),document.removeEventListener("wheel",v,Jl),document.removeEventListener("touchmove",v,Jl),document.removeEventListener("touchstart",A,Jl)}},[]);var E=l.removeScrollBar,N=l.inert;return w.createElement(w.Fragment,null,N?w.createElement(f,{styles:i2(d)}):null,E?w.createElement($v,{noRelative:l.noRelative,gapMode:l.gapMode}):null)}function c2(l){for(var r=null;l!==null;)l instanceof ShadowRoot&&(r=l.host,l=l.host),l=l.parentNode;return r}const u2=Uv(Bx,o2);var qx=w.forwardRef(function(l,r){return w.createElement(Pr,ja({},l,{ref:r,sideCar:u2}))});qx.classNames=Pr.classNames;var d2=function(l){if(typeof document>"u")return null;var r=Array.isArray(l)?l[0]:l;return r.ownerDocument.body},$l=new WeakMap,Or=new WeakMap,Lr={},Du=0,Gx=function(l){return l&&(l.host||Gx(l.parentNode))},f2=function(l,r){return r.map(function(o){if(l.contains(o))return o;var c=Gx(o);return c&&l.contains(c)?c:(console.error("aria-hidden",o,"in not contained inside",l,". Doing nothing"),null)}).filter(function(o){return!!o})},m2=function(l,r,o,c){var d=f2(r,Array.isArray(l)?l:[l]);Lr[o]||(Lr[o]=new WeakMap);var f=Lr[o],x=[],g=new Set,v=new Set(d),h=function(p){!p||g.has(p)||(g.add(p),h(p.parentNode))};d.forEach(h);var A=function(p){!p||v.has(p)||Array.prototype.forEach.call(p.children,function(j){if(g.has(j))A(j);else try{var E=j.getAttribute(c),N=E!==null&&E!=="false",_=($l.get(j)||0)+1,U=(f.get(j)||0)+1;$l.set(j,_),f.set(j,U),x.push(j),_===1&&N&&Or.set(j,!0),U===1&&j.setAttribute(o,"true"),N||j.setAttribute(c,"true")}catch(L){console.error("aria-hidden: cannot operate on ",j,L)}})};return A(r),g.clear(),Du++,function(){x.forEach(function(p){var j=$l.get(p)-1,E=f.get(p)-1;$l.set(p,j),f.set(p,E),j||(Or.has(p)||p.removeAttribute(c),Or.delete(p)),E||p.removeAttribute(o)}),Du--,Du||($l=new WeakMap,$l=new WeakMap,Or=new WeakMap,Lr={})}},h2=function(l,r,o){o===void 0&&(o="data-aria-hidden");var c=Array.from(Array.isArray(l)?l:[l]),d=d2(l);return d?(c.push.apply(c,Array.from(d.querySelectorAll("[aria-live], script"))),m2(c,d,o,"aria-hidden")):function(){return null}};function p2(l){const r=x2(l),o=w.forwardRef((c,d)=>{const{children:f,...x}=c,g=w.Children.toArray(f),v=g.find(b2);if(v){const h=v.props.children,A=g.map(p=>p===v?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:p);return s.jsx(r,{...x,ref:d,children:w.isValidElement(h)?w.cloneElement(h,void 0,A):null})}return s.jsx(r,{...x,ref:d,children:f})});return o.displayName=`${l}.Slot`,o}function x2(l){const r=w.forwardRef((o,c)=>{const{children:d,...f}=o;if(w.isValidElement(d)){const x=v2(d),g=y2(f,d.props);return d.type!==w.Fragment&&(g.ref=c?Wr(c,x):x),w.cloneElement(d,g)}return w.Children.count(d)>1?w.Children.only(null):null});return r.displayName=`${l}.SlotClone`,r}var g2=Symbol("radix.slottable");function b2(l){return w.isValidElement(l)&&typeof l.type=="function"&&"__radixId"in l.type&&l.type.__radixId===g2}function y2(l,r){const o={...r};for(const c in r){const d=l[c],f=r[c];/^on[A-Z]/.test(c)?d&&f?o[c]=(...g)=>{const v=f(...g);return d(...g),v}:d&&(o[c]=d):c==="style"?o[c]={...d,...f}:c==="className"&&(o[c]=[d,f].filter(Boolean).join(" "))}return{...l,...o}}function v2(l){let r=Object.getOwnPropertyDescriptor(l.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?l.ref:(r=Object.getOwnPropertyDescriptor(l,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?l.props.ref:l.props.ref||l.ref)}var Ir="Dialog",[Yx]=Zy(Ir),[w2,ha]=Yx(Ir),Xx=l=>{const{__scopeDialog:r,children:o,open:c,defaultOpen:d,onOpenChange:f,modal:x=!0}=l,g=w.useRef(null),v=w.useRef(null),[h,A]=Py({prop:c,defaultProp:d??!1,onChange:f,caller:Ir});return s.jsx(w2,{scope:r,triggerRef:g,contentRef:v,contentId:Nu(),titleId:Nu(),descriptionId:Nu(),open:h,onOpenChange:A,onOpenToggle:w.useCallback(()=>A(p=>!p),[A]),modal:x,children:o})};Xx.displayName=Ir;var Qx="DialogTrigger",A2=w.forwardRef((l,r)=>{const{__scopeDialog:o,...c}=l,d=ha(Qx,o),f=sl(r,d.triggerRef);return s.jsx(Qa.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":Pu(d.open),...c,ref:f,onClick:Sn(l.onClick,d.onOpenToggle)})});A2.displayName=Qx;var Wu="DialogPortal",[E2,Zx]=Yx(Wu,{forceMount:void 0}),Kx=l=>{const{__scopeDialog:r,forceMount:o,children:c,container:d}=l,f=ha(Wu,r);return s.jsx(E2,{scope:r,forceMount:o,children:w.Children.map(c,x=>s.jsx($r,{present:o||f.open,children:s.jsx(Mx,{asChild:!0,container:d,children:x})}))})};Kx.displayName=Wu;var Vr="DialogOverlay",Jx=w.forwardRef((l,r)=>{const o=Zx(Vr,l.__scopeDialog),{forceMount:c=o.forceMount,...d}=l,f=ha(Vr,l.__scopeDialog);return f.modal?s.jsx($r,{present:c||f.open,children:s.jsx(N2,{...d,ref:r})}):null});Jx.displayName=Vr;var j2=p2("DialogOverlay.RemoveScroll"),N2=w.forwardRef((l,r)=>{const{__scopeDialog:o,...c}=l,d=ha(Vr,o);return s.jsx(qx,{as:j2,allowPinchZoom:!0,shards:[d.contentRef],children:s.jsx(Qa.div,{"data-state":Pu(d.open),...c,ref:r,style:{pointerEvents:"auto",...c.style}})})}),el="DialogContent",Wx=w.forwardRef((l,r)=>{const o=Zx(el,l.__scopeDialog),{forceMount:c=o.forceMount,...d}=l,f=ha(el,l.__scopeDialog);return s.jsx($r,{present:c||f.open,children:f.modal?s.jsx(S2,{...d,ref:r}):s.jsx(C2,{...d,ref:r})})});Wx.displayName=el;var S2=w.forwardRef((l,r)=>{const o=ha(el,l.__scopeDialog),c=w.useRef(null),d=sl(r,o.contentRef,c);return w.useEffect(()=>{const f=c.current;if(f)return h2(f)},[]),s.jsx($x,{...l,ref:d,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Sn(l.onCloseAutoFocus,f=>{f.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:Sn(l.onPointerDownOutside,f=>{const x=f.detail.originalEvent,g=x.button===0&&x.ctrlKey===!0;(x.button===2||g)&&f.preventDefault()}),onFocusOutside:Sn(l.onFocusOutside,f=>f.preventDefault())})}),C2=w.forwardRef((l,r)=>{const o=ha(el,l.__scopeDialog),c=w.useRef(!1),d=w.useRef(!1);return s.jsx($x,{...l,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:f=>{l.onCloseAutoFocus?.(f),f.defaultPrevented||(c.current||o.triggerRef.current?.focus(),f.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:f=>{l.onInteractOutside?.(f),f.defaultPrevented||(c.current=!0,f.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const x=f.target;o.triggerRef.current?.contains(x)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&d.current&&f.preventDefault()}})}),$x=w.forwardRef((l,r)=>{const{__scopeDialog:o,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:f,...x}=l,g=ha(el,o),v=w.useRef(null),h=sl(r,v);return kv(),s.jsxs(s.Fragment,{children:[s.jsx(Dx,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:f,children:s.jsx(Rx,{role:"dialog",id:g.contentId,"aria-describedby":g.descriptionId,"aria-labelledby":g.titleId,"data-state":Pu(g.open),...x,ref:h,onDismiss:()=>g.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(k2,{titleId:g.titleId}),s.jsx(R2,{contentRef:v,descriptionId:g.descriptionId})]})]})}),$u="DialogTitle",Px=w.forwardRef((l,r)=>{const{__scopeDialog:o,...c}=l,d=ha($u,o);return s.jsx(Qa.h2,{id:d.titleId,...c,ref:r})});Px.displayName=$u;var Ix="DialogDescription",eg=w.forwardRef((l,r)=>{const{__scopeDialog:o,...c}=l,d=ha(Ix,o);return s.jsx(Qa.p,{id:d.descriptionId,...c,ref:r})});
49eg.displayName=Ix;var tg="DialogClose",ag=w.forwardRef((l,r)=>{const{__scopeDialog:o,...c}=l,d=ha(tg,o);return s.jsx(Qa.button,{type:"button",...c,ref:r,onClick:Sn(l.onClick,()=>d.onOpenChange(!1))})});ag.displayName=tg;function Pu(l){return l?"open":"closed"}var ng="DialogTitleWarning",[FE,lg]=Qy(ng,{contentName:el,titleName:$u,docsSlug:"dialog"}),k2=({titleId:l})=>{const r=lg(ng),o=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
50
51If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
52
53For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return w.useEffect(()=>{l&&(document.getElementById(l)||console.error(o))},[o,l]),null},_2="DialogDescriptionWarning",R2=({contentRef:l,descriptionId:r})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${lg(_2).contentName}}.`;return w.useEffect(()=>{const d=l.current?.getAttribute("aria-describedby");r&&d&&(document.getElementById(r)||console.warn(c))},[c,l,r]),null},T2=Xx,D2=Kx,z2=Jx,M2=Wx,O2=Px,L2=eg,B2=ag;const U2=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),sg=(...l)=>l.filter((r,o,c)=>!!r&&c.indexOf(r)===o).join(" ");var H2={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"};const F2=w.forwardRef(({color:l="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:d="",children:f,iconNode:x,...g},v)=>w.createElement("svg",{ref:v,...H2,width:r,height:r,stroke:l,strokeWidth:c?Number(o)*24/Number(r):o,className:sg("lucide",d),...g},[...x.map(([h,A])=>w.createElement(h,A)),...Array.isArray(f)?f:[f]]));const Me=(l,r)=>{const o=w.forwardRef(({className:c,...d},f)=>w.createElement(F2,{ref:f,iconNode:r,className:sg(`lucide-${U2(l)}`,c),...d}));return o.displayName=`${l}`,o};const zu=Me("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);const V2=Me("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const q2=Me("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);const ig=Me("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const G2=Me("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const mi=Me("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const Ke=Me("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const eo=Me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const rg=Me("CloudRain",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]]);const og=Me("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);const Op=Me("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const Y2=Me("Dumbbell",[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]]);const X2=Me("ExternalLink",[["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"}]]);const Gu=Me("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const Q2=Me("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);const Z2=Me("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);const Lp=Me("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const qr=Me("MapPin",[["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"}]]);const K2=Me("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);const J2=Me("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const cg=Me("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const to=Me("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);const W2=Me("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const Bp=Me("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);const ug=Me("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const $2=Me("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);const dg=Me("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const P2=Me("Waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]);const kn=Me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
53],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),fg=w.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),I2=()=>w.useContext(fg);function mg({...l}){const r=w.useRef(!1),o=w.useRef(!1),c=w.useRef(null),d=w.useMemo(()=>({isComposing:()=>r.current,setComposing:f=>{r.current=f},justEndedComposing:()=>o.current,markCompositionEnd:()=>{o.current=!0,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{o.current=!1},150)}}),[]);return s.jsx(fg.Provider,{value:d,children:s.jsx(T2,{"data-slot":"dialog",...l})})}function ew({...l}){return s.jsx(D2,{"data-slot":"dialog-portal",...l})}function hg({className:l,...r}){return s.jsx(z2,{"data-slot":"dialog-overlay",className:ll("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",l),...r})}hg.displayName="DialogOverlay";function pg({className:l,children:r,showCloseButton:o=!0,onEscapeKeyDown:c,...d}){const{isComposing:f}=I2(),x=w.useCallback(g=>{if(g.isComposing||f()){g.preventDefault();return}c?.(g)},[f,c]);return s.jsxs(ew,{"data-slot":"dialog-portal",children:[s.jsx(hg,{}),s.jsxs(M2,{"data-slot":"dialog-content",className:ll("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",l),onEscapeKeyDown:x,...d,children:[r,o&&s.jsxs(B2,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[s.jsx(kn,{}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function xg({className:l,...r}){return s.jsx("div",{"data-slot":"dialog-header",className:ll("flex flex-col gap-2 text-center sm:text-left",l),...r})}function gg({className:l,...r}){return s.jsx(O2,{"data-slot":"dialog-title",className:ll("text-lg leading-none font-semibold",l),...r})}function bg({className:l,...r}){return s.jsx(L2,{"data-slot":"dialog-description",className:ll("text-muted-foreground text-sm",l),...r})}var tw=Symbol.for("react.lazy"),Gr=Zr[" use ".trim().toString()];function aw(l){return typeof l=="object"&&l!==null&&"then"in l}function yg(l){return l!=null&&typeof l=="object"&&"$$typeof"in l&&l.$$typeof===tw&&"_payload"in l&&aw(l._payload)}function nw(l){const r=lw(l),o=w.forwardRef((c,d)=>{let{children:f,...x}=c;yg(f)&&typeof Gr=="function"&&(f=Gr(f._payload));const g=w.Children.toArray(f),v=g.find(iw);if(v){const h=v.props.children,A=g.map(p=>p===v?w.Children.count(h)>1?w.Children.only(null):w.isValidElement(h)?h.props.children:null:p);return s.jsx(r,{...x,ref:d,children:w.isValidElement(h)?w.cloneElement(h,void 0,A):null})}return s.jsx(r,{...x,ref:d,children:f})});return o.displayName=`${l}.Slot`,o}var vg=nw("Slot");function lw(l){const r=w.forwardRef((o,c)=>{let{children:d,...f}=o;if(yg(d)&&typeof Gr=="function"&&(d=Gr(d._payload)),w.isValidElement(d)){const x=ow(d),g=rw(f,d.props);return d.type!==w.Fragment&&(g.ref=c?Wr(c,x):x),w.cloneElement(d,g)}return w.Children.count(d)>1?w.Children.only(null):null});return r.displayName=`${l}.SlotClone`,r}var sw=Symbol("radix.slottable");function iw(l){return w.isValidElement(l)&&typeof l.type=="function"&&"__radixId"in l.type&&l.type.__radixId===sw}function rw(l,r){const o={...r};for(const c in r){const d=l[c],f=r[c];/^on[A-Z]/.test(c)?d&&f?o[c]=(...g)=>{const v=f(...g);return d(...g),v}:d&&(o[c]=d):c==="style"?o[c]={...d,...f}:c==="className"&&(o[c]=[d,f].filter(Boolean).join(" "))}return{...l,...o}}function ow(l){let r=Object.getOwnPropertyDescriptor(l.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?l.ref:(r=Object.getOwnPropertyDescriptor(l,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?l.props.ref:l.props.ref||l.ref)}const Up=l=>typeof l=="boolean"?`${l}`:l===0?"0":l,Hp=hx,wg=(l,r)=>o=>{var c;if(r?.variants==null)return Hp(l,o?.class,o?.className);const{variants:d,defaultVariants:f}=r,x=Object.keys(d).map(h=>{const A=o?.[h],p=f?.[h];if(A===null)return null;const j=Up(A)||Up(p);return d[h][j]}),g=o&&Object.entries(o).reduce((h,A)=>{let[p,j]=A;return j===void 0||(h[p]=j),h},{}),v=r==null||(c=r.compoundVariants)===null||c===void 0?void 0:c.reduce((h,A)=>{let{class:p,className:j,...E}=A;return Object.entries(E).every(N=>{let[_,U]=N;return Array.isArray(U)?U.includes({...f,...g}[_]):{...f,...g}[_]===U})?[...h,p,j]:h},[]);return Hp(l,x,v,o?.class,o?.className)},cw=wg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function Iu({className:l,variant:r,size:o,asChild:c=!1,...d}){const f=c?vg:"button";return s.jsx(f,{"data-slot":"button",className:ll(cw({variant:r,size:o,className:l})),...d})}const Ag="".replace(/\/$/,"");async function tl(l){const r=await fetch(`${Ag}/api${l}`);if(!r.ok)throw new Error(`API ${r.status}`);return r.json()}const Hr=new Map;function ns(l){if(Hr.has(l))return Hr.get(l);try{const r=typeof localStorage<"u"&&localStorage.getItem("avc:"+l);
53if(r){const o=JSON.parse(r);return Hr.set(l,o),o}}catch{}}function al(l,r){Hr.set(l,r);try{typeof localStorage<"u"&&localStorage.setItem("avc:"+l,JSON.stringify(r))}catch{}}function ss(l,r,o){const c="api:"+l,[d,f]=w.useState(()=>ns(c)??r);return w.useEffect(()=>{let x=!0;return tl(l).then(g=>{const v=g?.data;if(x&&Array.isArray(v)&&v.length){const h=o(v);f(h),al(c,h)}}).catch(()=>{}),()=>{x=!1}},[l]),d}const il="pagination[pageSize]=100",fe=l=>l?.image?.url||l?.url||"";function uw(){return fe(ns("page:home-page")?.heroVideo)}function is(l){const r="site-setting",[o,c]=w.useState(()=>({...l,...ns(r)||{}}));return w.useEffect(()=>{let d=!0;return tl("/site-setting?populate[logo]=true").then(f=>{if(d&&f?.data){const x={};for(const[v,h]of Object.entries(f.data))h!=null&&h!==""&&(x[v]=h);const g={...l,...x};c(g),al(r,x)}}).catch(()=>{}),()=>{d=!1}},[]),o}function dw(l){return ss(`/rooms?populate[building]=true&populate[gallery][populate]=*&populate[cover]=true&sort=order:asc&${il}`,l,r=>{const o=new Map;for(const c of r){const d=c.building;if(!d)continue;o.has(d.slug)||o.set(d.slug,{_order:d.order??0,title:{ru:d.title,en:d.title},sub:{ru:d.subRu||"",en:d.subEn||""},items:[]});const f=(c.gallery||[]).map(fe).filter(Boolean),x=fe(c.cover)||c.coverUrl||f[0]||"";o.get(d.slug).items.push({name:c.name,slug:c.slug,area:c.areaSqm||"",cap:c.capacity||"",feat:{ru:c.descRu||"",en:c.descEn||""},img:x,gallery:f.length?f:[x].filter(Boolean)})}return[...o.values()].sort((c,d)=>c._order-d._order)})}function fw(l){return ss(`/restaurants?populate[gallery][populate]=*&populate[menuPdf]=true&populate[barMenuPdf]=true&populate[cover]=true&sort=order:asc&${il}`,l,r=>r.map(o=>{const c=(o.gallery||[]).map(fe).filter(Boolean),d=fe(o.cover)||o.coverUrl||c[0]||"";return{name:o.name,slug:o.slug,tag:{ru:o.tagRu||"",en:o.tagEn||""},hours:o.hoursRu||o.hoursEn?{ru:o.hoursRu||"",en:o.hoursEn||""}:void 0,desc:{ru:o.descRu||"",en:o.descEn||""},img:d,gallery:c.length?c:[d].filter(Boolean),cta:o.cta||"book",more:o.moreUrl||void 0,menu:o.menuUrl||fe(o.menuPdf)||void 0,barMenu:o.barMenuUrl||fe(o.barMenuPdf)||void 0}}))}function Eg(l,r){const[o,c]=w.useState(()=>ns("spa:zones")??l),[d,f]=w.useState(()=>ns("spa:price")??r);return w.useEffect(()=>{let x=!0;return tl(`/spa-zones?populate[image]=true&sort=order:asc&${il}`).then(g=>{if(x&&g?.data?.length){const v=g.data.map(h=>({img:fe(h.image)||h.imageUrl,ru:h.nameRu,en:h.nameEn||h.nameRu,desc:h.descRu?{ru:h.descRu,en:h.descEn||h.descRu}:void 0}));c(v),al("spa:zones",v)}}).catch(()=>{}),tl("/spa-services?sort=categoryOrder:asc,order:asc&pagination[pageSize]=200").then(g=>{if(x&&g?.data?.length){const v=new Map;for(const A of g.data){const p=A.category||"";v.has(p)||v.set(p,{_o:A.categoryOrder??0,cat:{ru:A.category||"",en:A.categoryEn||A.category||""},items:[]}),v.get(p).items.push({name:{ru:A.nameRu,en:A.nameEn||A.nameRu},dur:A.duration||"",price:A.price||"",desc:A.descRu?{ru:A.descRu,en:A.descEn||A.descRu}:void 0})}const h=[...v.values()].sort((A,p)=>A._o-p._o);f(h),al("spa:price",h)}}).catch(()=>{}),()=>{x=!1}},[]),{zones:o,price:d}}function mw(l){return ss(`/offers?populate[image]=true&sort=order:asc&${il}`,l,r=>r.filter(o=>o.active!==!1).map(o=>({tag:{ru:o.tagRu||"",en:o.tagEn||""},title:{ru:o.titleRu||"",en:o.titleEn||""},desc:{ru:o.descRu||"",en:o.descEn||""},img:o.imageUrl||fe(o.image),href:o.href||void 0})))}function hw(l){return ss(`/reviews?sort=order:asc&${il}`,l,r=>r.map(o=>({text:{ru:o.textRu||"",en:o.textEn||""},author:{ru:o.authorRu||"",en:o.authorEn||""},date:{ru:o.dateRu||"",en:o.dateEn||""}})))}function pw(l){return ss(`/pottery-formats?populate=bullets&sort=order:asc&${il}`,l,r=>r.map(o=>({title:{ru:o.titleRu||"",en:o.titleEn||""},when:{ru:o.whenRu||"",en:o.whenEn||""},price:{ru:o.priceRu||"",en:o.priceEn||""},desc:{ru:o.descRu||"",en:o.descEn||""},bullets:(o.bullets||[]).map(c=>({ru:c.textRu||"",en:c.textEn||""}))})))}const xw=new Set(["hero","ecosystemCards","wellnessCards","territoryCards","seasons","activities"]),gw=new Set(["heroVideo","heroPhoto","philosophyPhoto","introPhoto"]);function jg(l){const r=[];for(const o of l){const[c,d]=o.split(">");d?r.push(`populate[${c}][populate][${d}][populate]=*`):c==="scenarios"?(r.push("populate[scenarios][populate][photo][populate]=*"),r.push("populate[scenarios][populate][badges][populate]=*")):gw.has(c)?r.pu
53sh(`populate[${c}]=true`):xw.has(c)?r.push(`populate[${c}][populate][photo][populate]=*`):r.push(`populate[${c}][populate]=*`)}return r.join("&")}function _t(l,r,o){const c="page:"+l,[d,f]=w.useState(()=>({...o,...ns(c)||{},__ready:!1}));return w.useEffect(()=>{let x=!0;return tl(`/${l}?${jg(r)}`).then(g=>{if(x)if(g?.data){const v={};for(const[h,A]of Object.entries(g.data))A!=null&&A!==""&&(v[h]=A);f({...o,...v,__ready:!0}),al(c,v)}else f(v=>({...v,__ready:!0}))}).catch(()=>{x&&f(g=>({...g,__ready:!0}))}),()=>{x=!1}},[]),d}const Ve={home:["hero","heroVideo","ecosystemSection","ecosystemCards","wellnessSection","wellnessCards","facts","trustBadges","reviewsSection","eventsSection","eventsPhoto","offersSection","visitCta","gettingHereSection","seo"],about:["hero","conceptSection","stats","territorySection","territoryCards","values","cta","seo"],wellness:["heroBadges","scenarios","dayRetreatSection","dayRetreatItems","spaSection","banyaSection","banyaItems","banyaPhoto","movementSection","movementItems","philosophySection","values","connectionSection","rulesSection","ui","seo"],gift:["hero","introSection","steps","corporateSection","seo"],pottery:["hero","philosophySection","philosophyPhotos","gallerySection","gallery","formatsSection","cta","seo"],seasonal:["hero","seasons","seo"],dining:["hero","cta","seo"],stay:["hero","cta","seo"],activities:["hero","activitiesSection","activities","cta","seo"],loyalty:["hero","introSection","tiers","termsSection","cta","seo"],rules:["hero","documents","seo"],banya:["heroPhoto","philosophyPhoto","formats>photo","ritual","values","gallery","seo"],spa:["heroPhoto","gallery","seo"],newYear:["heroPhoto","introPhoto","formats","night","included","warmth","holidays","gallery","facts","seo"],cakes:["heroPhoto","categories","seo"]};function bw(l){return _t("home-page",Ve.home,l)}function yw(l){return _t("about-page",Ve.about,l)}function Ng(l){return _t("wellness-page",Ve.wellness,l)}function vw(l){return _t("gift-page",Ve.gift,l)}function ww(l){return _t("pottery-page",Ve.pottery,l)}function Aw(l){return _t("seasonal-page",Ve.seasonal,l)}function Ew(l){return _t("dining-page",Ve.dining,l)}function jw(l){return _t("stay-page",Ve.stay,l)}function Nw(l){return _t("banya-page",Ve.banya,l)}function Sw(l){return _t("spa-page",Ve.spa,l)}function Cw(l){return _t("new-year-page",Ve.newYear,l)}function kw(l){return _t("cakes-page",Ve.cakes,l)}function _w(l){return ss(`/cakes?populate[image]=true&sort=order:asc&${il}`,l,r=>r.filter(o=>o.available!==!1).map(o=>({name:o.nameRu||o.nameEn||"",nameEn:o.nameEn||o.nameRu||"",price:o.price||"",desc:o.descRu||"",descEn:o.descEn||o.descRu||"",cat:o.category||"",img:fe(o.image)||o.imageUrl||""})))}function Rw(l){return _t("activities-page",Ve.activities,l)}function Tw(l){return _t("loyalty-page",Ve.loyalty,l)}function Dw(l){return _t("rules-page",Ve.rules,l)}const zw={"home-page":Ve.home,"about-page":Ve.about,"wellness-page":Ve.wellness,"gift-page":Ve.gift,"pottery-page":Ve.pottery,"seasonal-page":Ve.seasonal,"dining-page":Ve.dining,"stay-page":Ve.stay,"activities-page":Ve.activities,"loyalty-page":Ve.loyalty,"rules-page":Ve.rules},Fp=l=>{const r={};for(const[o,c]of Object.entries(l||{}))c!=null&&c!==""&&(r[o]=c);return r};async function Mw(){const l=[];l.push(tl("/site-setting?populate[logo]=true").then(r=>r?.data&&al("site-setting",Fp(r.data))).catch(()=>{}));for(const[r,o]of Object.entries(zw))l.push(tl(`/${r}?${jg(o)}`).then(c=>c?.data&&al("page:"+r,Fp(c.data))).catch(()=>{}));await Promise.allSettled(l)}function Ow(){try{const l=new URLSearchParams(window.location.search),r={},o={utm_source:"utmSource",utm_medium:"utmMedium",utm_campaign:"utmCampaign",utm_content:"utmContent",utm_term:"utmTerm",gclid:"gclid",yclid:"yclid"};for(const[c,d]of Object.entries(o)){const f=l.get(c);f&&(r[d]=f)}return r}catch{return{}}}async function Lw(l){try{const r={data:{requestType:"visit",...l,...Ow(),landingPath:typeof location<"u"?location.pathname:"",referrer:typeof document<"u"?document.referrer:""}},o=await fetch(`${Ag}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),c=await o.json().catch(()=>({}));return o.ok?{ok:!0,id:c?.id}:{ok:!1,error:c?.error?.message||c?.error||`HTTP ${o.status}`}}catch(r){return{ok:!1,error:r.message}}}const Bw="https://artvillage.club",Sg={origin:Bw},ce={brand:"ART VILLAGE",sub:"Resort",lat:55.923959,lon:37.310366,timeZone:"Europe/Moscow",phone:"+7 495 118-36-35",phoneHref:"tel:+74951183635",email:"[email protected]",address:"МО, г. Химки, д. Голиково, ул. Рябиновая, 1Г/3",addressShort:"Московская область, д. Голиково",distance:"12 км от МКАД"},ed="6:e397961a0aa9ade04eb98a3c9d8e9d24",td="195:97dc22b4f8b2ea17f8edea958a06c5d9",Yr=`/booking?hotel=${encodeURIComponent(ed)}`,Yu=`/booking?hotel=${encodeURIComponent(td)}`,Cg=`${Sg.origin.replace(/\/$/,"")}/uhotels-theme.css?v=2`,Uw="https://api.uhotels.app/chat/6",rs="https://event.artvillage.club",kg=[{href:"/about",ru:"О КУРОРТЕ",en:"ABOUT"},{href:"/stay",ru:"ПРОЖИВАНИЕ",en:"STAY"},{href:"/wellness",ru:"WELLNESS",en:"WELLNESS"},{href:"/dining",ru:"РЕСТОРАНЫ",en:"DINING"},{href:"/pottery",ru:"ГОНЧАРНАЯ",en:"POTTERY"},{href:rs,ru:"МЕРОПРИЯТИЯ",en:"EVENTS",external:!0},{href:"/gifts",ru:"ПОДАРКИ",en:"GIFTS"}];function _g(l,r){const o=window.__ymGoal;
53typeof o=="function"&&o(l,r)}const Rg=w.createContext({open:()=>{}}),hi=()=>w.useContext(Rg);function Hw(l){const r=(l||"").toLowerCase();return/гончар|pottery/.test(r)?"pottery":/стол|table|торт|cake|ресторан|restaurant|ужин|dinner/.test(r)?"dining":/подарок|сертификат|gift/.test(r)?"gift":/мечт|dream|wellness|spa|спа|retreat|ретрит|вечер|evening|утрен|morning|термальн|thermal|баня|banya|ритуал|ritual/.test(r)?"wellness":"visit"}function Fw({children:l}){const{lang:r}=Fe(),[o,c]=w.useState(!1),[d,f]=w.useState(null),[x,g]=w.useState({name:"",phone:"",guests:1,date:""}),[v,h]=w.useState(""),[A,p]=w.useState(!1),j=U=>{f(U??null),c(!0)},E=async U=>{if(U.preventDefault(),!x.name||!x.phone){Eu.error(y(r,"Укажите имя и телефон","Please enter name and phone"));return}p(!0);const L=Hw(d),P=await Lw({name:x.name,phone:x.phone,guests:String(x.guests),date:x.date||void 0,scenario:d||void 0,requestType:L,source:"booking-modal",_gotcha:v});p(!1),P.ok?(_g("lead_submit",{form_type:L}),c(!1),Eu.success(y(r,"Заявка отправлена! Консьерж свяжется с вами для подтверждения.","Request sent! Our concierge will contact you to confirm.")),g({name:"",phone:"",guests:1,date:""})):Eu.error(y(r,`Не удалось отправить заявку. Позвоните нам: ${ce.phone}`,`Could not send the request. Please call us: ${ce.phone}`))},N="text-[10px] tracking-widest uppercase text-[#2C2A29]/60 font-semibold block mb-1",_="w-full bg-white border border-[#E6E2DA] rounded-none px-4 py-3 text-xs focus:outline-none focus:border-[#1C1A19] transition-colors";return s.jsxs(Rg.Provider,{value:{open:j},children:[l,s.jsx(mg,{open:o,onOpenChange:c,children:s.jsxs(pg,{className:"bg-[#FAF9F5] border border-[#E6E2DA] rounded-none max-w-md p-8 text-[#2C2A29]",children:[s.jsxs(xg,{className:"mb-6",children:[s.jsx(gg,{className:"font-serif text-2xl text-[#1C1A19] tracking-tight uppercase",children:y(r,"Забронировать визит","Book a visit")}),s.jsx(bg,{className:"text-xs font-light text-[#2C2A29]/70",children:y(r,"Доступ по предварительной брони. Консьерж свяжется с вами для подтверждения.","Access by prior booking. Our concierge will contact you to confirm.")})]}),s.jsxs("form",{onSubmit:E,className:"space-y-5",children:[s.jsx("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off","aria-hidden":"true",value:v,onChange:U=>h(U.target.value),style:{position:"absolute",left:"-9999px",width:1,height:1,opacity:0}}),d&&s.jsxs("div",{className:"bg-[#E6E2DA]/30 border border-[#E6E2DA] p-3 text-xs flex items-center justify-between",children:[s.jsx("span",{children:y(r,"Формат:","Format:")}),s.jsx("span",{className:"font-semibold uppercase tracking-wider text-[#1C1A19]",children:d})]}),s.jsxs("div",{children:[s.jsxs("label",{className:N,children:[y(r,"Ваше имя","Your name")," *"]}),s.jsx("input",{className:_,value:x.name,onChange:U=>g({...x,name:U.target.value}),placeholder:y(r,"Александр","John Doe")})]}),s.jsxs("div",{children:[s.jsxs("label",{className:N,children:[y(r,"Телефон","Phone")," *"]}),s.jsx("input",{className:_,type:"tel",value:x.phone,onChange:U=>g({...x,phone:U.target.value}),placeholder:"+7 (999) 000-00-00"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:N,children:y(r,"Гостей","Guests")}),s.jsx("select",{className:_,value:x.guests,onChange:U=>g({...x,guests:parseInt(U.target.value)}),children:[1,2,3,4,5].map(U=>s.jsxs("option",{value:U,children:[U,U===5?"+":""]},U))})]}),s.jsxs("div",{children:[s.jsx("label",{className:N,children:y(r,"Дата","Date")}),s.jsx("input",{className:_,type:"date",value:x.date,onChange:U=>g({...x,date:U.target.value})})]})]}),s.jsx(Iu,{type:"submit",disabled:A,className:"w-full text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] rounded-none py-6",children:A?y(r,"Отправка…","Sending…"):y(r,"Отправить заявку","Send request")}),s.jsx("p",{className:"text-[10px] text-center text-[#2C2A29]/60 font-light",children:y(r,"Количество мест ограничено — сохраняем камерную атмосферу.","Spots are limited — we keep a boutique atmosphere.")})]})]})})]})}const Mu={brand:ce.brand,brandSub:ce.sub,navItems:kg.map(l=>({labelRu:l.ru,labelEn:l.en,href:l.href,external:l.external})),bookMenu:[{kind:"route",target:Yr,labelRu:"Проживание",labelEn:"Stay"},{kind:"route",target:Yu,labelRu:"День мечты",labelEn:"Day dream"},{kind:"route",target:"/gifts",labelRu:"Сертификаты",labelEn:"Gift cards"},{kind:"ext",target:rs,labelRu:"Мероприятия",labelEn:"Events"}]};function Vw(){const[l,r]=Jr(),{lang:o,toggle:c}=Fe(),[d,f]=w.useState(!1),[x,g]=w.useState(!1),v=w.useRef(null),h=is(Mu),A=h.navItems?.length?h.navItems:Mu.navItems,p=h.bookMenu?.length?h.bookMenu:Mu.bookMenu,j=fe(h.logo);w.useEffect(()=>{function N(_){v.current&&!v.current.contains(_.target)&&g(!1)}return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);function E(N,_,U){const L=U?"block w-full text-left px-5 py-3 text-xs tracking-[0.15em] uppercase text-[#FAF9F5]/85 hover:text-white hover:bg-white/5 transition-colors cursor-pointer":"block w-full text-left py-1.5 text-xs tracking-[0.15em] uppercase text-[#1C1A19]/80 hover:text-[#1C1A19] cursor-pointer",P=y(o,N.labelRu,N.labelEn)+(N.kind==="ext"?" ↗":"");return N.kind==="ext"?s.jsx("a",{href:N.target,target:"_blank",rel:"noreferrer",onClick:_,className:L,children:P},N.target):N.kind==="hash"?s.jsx("a",{href:N.target,onClick:_,className:L,children:P},N.target):s.jsx("button",{onClick:()=>{_(),r(N.target)},className:L,children:P},N.target)}return s.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 bg-[#FAF9F5]/90 backdrop-blur-md border-b border-[#
53E6E2DA]/40",children:[s.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-20 flex items-center justify-between gap-4",children:[s.jsx(Ae,{href:"/",className:"flex flex-col items-start shrink-0",children:j?s.jsx("img",{src:j,alt:h.brand,className:"h-10 md:h-12 w-auto object-contain brightness-0"}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"font-serif text-lg tracking-[0.22em] font-semibold text-[#1C1A19] leading-none",children:h.brand}),s.jsx("span",{className:"text-[9px] tracking-[0.2em] uppercase text-[#2C2A29]/60 mt-1.5",children:h.brandSub})]})}),s.jsx("nav",{className:"hidden xl:flex items-center gap-x-4 2xl:gap-x-5 text-[9px] 2xl:text-[10px] tracking-[0.12em] uppercase text-[#2C2A29]/80 font-medium whitespace-nowrap",children:A.map(N=>N.external?s.jsx("a",{href:N.href,target:"_blank",rel:"noreferrer",className:"hover:text-[#1C1A19] transition-colors",children:y(o,N.labelRu,N.labelEn)},N.href):s.jsx(Ae,{href:N.href,className:l===N.href?"text-[#1C1A19] font-bold border-b border-[#1C1A19] pb-1":"hover:text-[#1C1A19] transition-colors",children:y(o,N.labelRu,N.labelEn)},N.href))}),s.jsxs("div",{className:"flex items-center gap-2.5 shrink-0",children:[s.jsx("button",{onClick:c,className:"text-xs tracking-widest font-semibold hover:opacity-70 transition-opacity border border-[#E6E2DA] rounded-full px-3 py-1 bg-white/50",children:o==="RU"?"EN":"RU"}),s.jsxs("div",{ref:v,className:"relative hidden sm:block",children:[s.jsxs("button",{onClick:()=>g(N=>!N),className:"inline-flex items-center gap-2 text-[11px] tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-5 py-4 transition-colors cursor-pointer whitespace-nowrap",children:[y(o,"Забронировать","Book"),s.jsx(G2,{className:`w-3.5 h-3.5 transition-transform duration-300 ${x?"rotate-180":""}`})]}),x&&s.jsx("div",{className:"absolute right-0 top-full mt-2 w-60 bg-[#1C1A19] shadow-2xl shadow-black/30 py-2",children:p.map(N=>E(N,()=>g(!1),!0))})]}),s.jsx("a",{href:ce.phoneHref,"aria-label":y(o,"Позвонить на ресепшн","Call reception"),className:"xl:hidden p-2 text-[#1C1A19] hover:opacity-70 transition-opacity",children:s.jsx(to,{className:"w-5 h-5"})}),s.jsx("button",{className:"xl:hidden p-2 text-[#1C1A19]",onClick:()=>f(!d),"aria-label":"menu",children:d?s.jsx(kn,{className:"w-5 h-5"}):s.jsx(J2,{className:"w-5 h-5"})})]})]}),d&&s.jsxs("nav",{className:"xl:hidden border-t border-[#E6E2DA]/40 bg-[#FAF9F5] px-6 py-4 flex flex-col gap-3 text-xs tracking-[0.15em] uppercase",children:[A.map(N=>N.external?s.jsxs("a",{href:N.href,target:"_blank",rel:"noreferrer",onClick:()=>f(!1),className:"py-1",children:[y(o,N.labelRu,N.labelEn)," ↗"]},N.href):s.jsx(Ae,{href:N.href,onClick:()=>f(!1),className:l===N.href?"py-1 text-[#1C1A19] font-bold":"py-1",children:y(o,N.labelRu,N.labelEn)},N.href)),s.jsxs("div",{className:"border-t border-[#E6E2DA] mt-2 pt-3",children:[s.jsx("span",{className:"block text-[10px] text-[#2C2A29]/50 mb-2",children:y(o,"Забронировать","Book")}),s.jsx("div",{className:"flex flex-col gap-1",children:p.map(N=>E(N,()=>f(!1),!1))})]})]})]})}const Vp={brand:ce.brand,footerTagline:"Дизайнерский загородный курорт в 12 км от МКАД. Проживание, wellness, рестораны и сезонные сценарии отдыха.",phone:ce.phone,phoneHref:ce.phoneHref,email:ce.email,address:ce.address,addressShort:ce.addressShort,distance:ce.distance,footerCopyright:"© {year} Art Village Resort",navItems:kg.map(l=>({labelRu:l.ru,labelEn:l.en,href:l.href,external:l.external}))};function qw(){const{lang:l}=Fe(),r=is(Vp),o=r.navItems?.length?r.navItems:Vp.navItems,c=new Date().getFullYear(),d=r.footerCopyright.replace("{year}",String(c)),f=fe(r.logo);return s.jsx("footer",{className:"bg-[#1C1A19] text-[#FAF9F5]/80 py-20",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 pb-16 border-b border-[#FAF9F5]/10",children:[s.jsxs("div",{className:"md:col-span-4",children:[f?s.jsx("img",{src:f,alt:r.brand,className:"h-11 w-auto object-contain mb-5 brightness-0 invert opacity-90"}):s.jsx("span",{className:"font-serif text-2xl tracking-widest font-semibold text-white block mb-4",children:r.brand}),s.jsx("p",{className:"text-xs text-[#FAF9F5]/60 font-light leading-relaxed max-w-sm mb-6 whitespace-pre-line",children:r.footerTagline}),s.jsxs("div",{className:"text-xs text-white font-light space-y-1",children:[s.jsxs("span",{className:"block",children:["📍 ",r.addressShort]}),s.jsxs("a",{className:"block hover:text-white transition-colors",href:r.phoneHref,children:["📞 ",r.phone]}),s.jsxs("a",{className:"block hover:text-white transition-colors",href:`mailto:${r.email}`,children:["✉️ ",r.email]})]})]}),s.jsxs("div",{className:"md:col-span-3",children:[s.jsx("h4",{className:"text-xs tracking-widest uppercase text-white font-semibold mb-4",children:y(l,"Разделы","Sections")}),s.jsx("ul",{className:"space-y-3 text-xs font-light text-[#FAF9F5]/60",children:o.map(x=>s.jsx("li",{children:x.external?s.jsxs("a",{href:x.href,target:"_blank",rel:"noreferrer",className:"hover:text-white transition-colors",children:[y(l,x.labelRu,x.labelEn)," ↗"]}):s.jsx(Ae,{href:x.href,className:"hover:text-white transition-colors",children:y(l,x.labelRu,x.labelEn)})},x.href))})]}),s.jsxs("div",{className:"md:col-span-2",children:[s.jsx("h4",{className:"text-xs tracking-widest uppercase text-white font-semibold mb-4",children:y(l,"Гостям","For guests")}),s.jsxs("ul",{className:"space-y-3 text-xs font-light text-[#FAF9F5]/60",children:[s.jsx("li",{children:s.jsx(Ae,{href:"/banya",className:"hover:text-white transition-colors",children:y(l,"Баня","Banya")})}),s.jsx("li",{children:s.jsx(Ae,{href:"/spa",className:"hover:text-white transition-colors",children:y(l,"Nature SPA","Nature SPA")})}),s.jsx("li",{children:s.jsx(Ae,{href:"/activities",className:"hover:text-white transition-colors",children:y(l,"Развлечения","Activities")})}),s.jsx("li",{children:s.jsx(Ae,{href:"/loyalty",className:"hover:text-white transition-colors",children:y(l,"Лояльность","
53Loyalty")})}),s.jsx("li",{children:s.jsx(Ae,{href:"/pravila",className:"hover:text-white transition-colors",children:y(l,"Правила","Rules")})})]})]}),s.jsxs("div",{className:"md:col-span-3",children:[s.jsx("h4",{className:"text-xs tracking-widest uppercase text-white font-semibold mb-4",children:y(l,"Контакты","Contacts")}),s.jsx("p",{className:"text-xs text-[#FAF9F5]/60 font-light leading-relaxed mb-4",children:r.address}),s.jsx("span",{className:"text-[10px] tracking-widest uppercase bg-white/10 text-white px-2 py-1 inline-block",children:r.distance})]})]}),s.jsxs("div",{className:"pt-8 relative flex flex-col sm:flex-row items-center justify-center gap-x-5 gap-y-2 text-[10px] tracking-widest uppercase text-[#FAF9F5]/40",children:[s.jsx("span",{className:"sm:absolute sm:left-0",children:d}),s.jsx(Ae,{href:"/faq",className:"hover:text-white transition-colors",children:"FAQ"}),s.jsx("a",{href:"https://u-hotels.ru/webdev",target:"_blank",rel:"noreferrer",className:"sm:absolute sm:right-0 hover:text-white transition-colors",children:"powered by Uhotels"})]})]})})}const Gw=1100,Yw=6500,Xw=3500;function Qw(){return new Promise(l=>{const r=uw();if(!r)return l();const o=document.createElement("video");o.muted=!0,o.playsInline=!0,o.preload="auto";let c=!1;const d=()=>{c||(c=!0,l())};o.addEventListener("canplay",d,{once:!0}),o.addEventListener("loadeddata",d,{once:!0}),o.addEventListener("error",d,{once:!0}),window.setTimeout(d,Xw),o.src=r;try{o.load()}catch{d()}})}function Zw(){const[l,r]=w.useState(!1),[o,c]=w.useState(!1),d=is({brand:"ART VILLAGE",brandSub:"Resort"}),f=fe(d.logo);return w.useEffect(()=>{const x=Date.now();let g=!1;const v=()=>{if(g)return;g=!0;const A=Math.max(0,Gw-(Date.now()-x));window.setTimeout(()=>r(!0),A),window.setTimeout(()=>c(!0),A+600)};Mw().then(Qw).finally(v);const h=window.setTimeout(v,Yw);return()=>window.clearTimeout(h)},[]),o?null:s.jsxs("div",{className:`fixed inset-0 z-[100] flex flex-col items-center justify-center bg-[#FAF9F5] transition-opacity duration-500 ${l?"opacity-0 pointer-events-none":"opacity-100"}`,"aria-hidden":"true",children:[f?s.jsx("img",{src:f,alt:d.brand,className:"h-16 md:h-20 w-auto object-contain brightness-0"}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"font-serif text-3xl md:text-4xl tracking-[0.22em] font-light text-[#1C1A19]",children:"ART VILLAGE"}),s.jsx("span",{className:"text-[10px] tracking-[0.35em] uppercase text-[#2C2A29]/55 mt-3",children:"Resort"})]}),s.jsx("span",{className:"mt-8 block h-px w-28 overflow-hidden bg-[#E6E2DA]",children:s.jsx("span",{className:"block h-full w-1/3 bg-[#1C1A19] av-load"})})]})}function Kw({children:l}){const[r]=Jr();return w.useEffect(()=>{const o=decodeURIComponent(window.location.hash.replace(/^#/,""));if(!o||o.includes("=")){window.scrollTo(0,0);return}let c=!1;const d=()=>{if(c)return;const A=document.getElementById(o);if(!A)return;const p=Math.max(0,A.getBoundingClientRect().top+window.scrollY-80);Math.abs(window.scrollY-p)>1&&window.scrollTo({top:p,behavior:"auto"})},f=()=>{c=!0,g.disconnect(),clearInterval(v),clearTimeout(h),document.removeEventListener("load",d,!0);for(const A of x)window.removeEventListener(A,f)},x=["wheel","touchstart","keydown"];for(const A of x)window.addEventListener(A,f,{passive:!0});const g=new ResizeObserver(d);g.observe(document.body),document.addEventListener("load",d,!0);const v=setInterval(d,100),h=setTimeout(f,8e3);return d(),f},[r]),s.jsxs("div",{className:"min-h-screen bg-[#FAF9F5] text-[#2C2A29] font-sans selection:bg-[#E6E2DA] selection:text-[#2C2A29] overflow-x-hidden antialiased",children:[s.jsx(Zw,{}),s.jsx(Vw,{}),s.jsx("main",{children:l}),s.jsx(qw,{})]})}const Jw={analyticsHead:"",analyticsBodyStart:"",chatWidget:"",metrikaCounterId:""};function Ww(l){const r=document.createElement("script");for(const{name:o,value:c}of Array.from(l.attributes))r.setAttribute(o,c);return r.text=l.text,r.src&&(r.async=!1),r}function Ou(l,r){const o=document.createElement("template");o.innerHTML=l;const c=Array.from(o.content.childNodes).map(x=>x instanceof HTMLScriptElement?Ww(x):x),d=c.filter(x=>x instanceof HTMLScriptElement&&!!x.src).map(x=>new Promise(g=>{x.addEventListener("load",()=>g(),{once:!0}),x.addEventListener("error",()=>g(),{once:!0})})),f=r==="head"?document.head:document.body;if(r==="body-start")for(const x of c.reverse())f.insertBefore(x,f.firstChild);else for(const x of c)f.appendChild(x);return Promise.all(d).then(()=>{})}function $w(){document.readyState!=="loading"&&document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!1}))}function Pw(l){window.ym=window.ym||function(...o){(window.ym.a=window.ym.a||[]).push(o)},window.ym.l=Number(new Date);const r=document.createElement("script");r.src="https://mc.yandex.ru/metrika/tag.js",r.async=!0,document.head.appendChild(r),window.ym(l,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce
53:!0,webvisor:!0}),window.__ymGoal=(o,c)=>window.ym?.(l,"reachGoal",o,c)}function Iw(l){const r=l instanceof Element?l.closest("a, button"):null;if(!r||r.closest("#booking-widget-container, #adg-booking-widget, #adg-certificate-widget, #TSChat"))return null;const o=r.getAttribute("data-ym-goal");if(o)return o;const c=r.getAttribute("href")||"";return c.startsWith("tel:")?"phone_click":c.startsWith("mailto:")?"email_click":/\/\/event\.artvillage\.club/.test(c)?"events_click":/yandex\.[a-z.]+\/maps/.test(c)?"map_click":c.includes("/gifts")?"gift_open":c.includes("/booking")?decodeURIComponent(c).includes(td)?"guest_visit_open":"booking_open":null}function eA(){const l=is(Jw),[r]=Jr(),o=w.useRef({head:!1,bodyStart:!1,chat:!1,metrika:!1}),c=w.useRef(0);w.useEffect(()=>{const f=o.current;!f.head&&l.analyticsHead&&(Ou(l.analyticsHead,"head"),f.head=!0),!f.bodyStart&&l.analyticsBodyStart&&(Ou(l.analyticsBodyStart,"body-start"),f.bodyStart=!0),!f.chat&&l.chatWidget&&(f.chat=!0,Ou(l.chatWidget,"body-end").then($w));const x=Number(String(l.metrikaCounterId).trim());!f.metrika&&x&&!/mc\.yandex\.ru/.test(l.analyticsHead||"")&&(Pw(x),c.current=x,f.metrika=!0)},[l.analyticsHead,l.analyticsBodyStart,l.chatWidget,l.metrikaCounterId]);const d=w.useRef(!0);return w.useEffect(()=>{if(c.current){if(d.current){d.current=!1;return}window.ym?.(c.current,"hit",window.location.href)}},[r]),w.useEffect(()=>{const f=x=>{const g=Iw(x.target);g&&window.ym?.(c.current,"reachGoal",g)};return document.addEventListener("click",f,!0),()=>document.removeEventListener("click",f,!0)},[]),null}const Tg=w.createContext({openChat:()=>{}}),Rt=()=>w.useContext(Tg),tA="TSChat-chat-btn",aA="is-tschat-open";function nA({children:l}){const{lang:r}=Fe(),[o,c]=w.useState(!1),d=w.useCallback(()=>c(!1),[]),f=w.useCallback(()=>{_g("chat_open");const x=document.getElementById(tA);if(x){document.documentElement.classList.contains(aA)||x.click();return}c(!0)},[]);return w.useEffect(()=>{if(!o)return;const x=v=>{v.key==="Escape"&&d()};document.addEventListener("keydown",x);const g=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",x),document.body.style.overflow=g}},[o,d]),s.jsxs(Tg.Provider,{value:{openChat:f},children:[l,o&&s.jsx("div",{className:"fixed inset-0 z-[1000010] bg-black/60 flex items-end sm:items-center justify-center sm:p-6",onClick:d,children:s.jsxs("div",{className:"relative w-full sm:w-[400px] h-[85vh] sm:h-[620px] max-h-[calc(100vh-3rem)] bg-white overflow-hidden shadow-2xl rounded-t-2xl sm:rounded-2xl",onClick:x=>x.stopPropagation(),children:[s.jsx("button",{onClick:d,"aria-label":y(r,"Закрыть","Close"),className:"absolute top-3 right-3 z-10 grid place-items-center w-9 h-9 rounded-full bg-[#1C1A19]/70 hover:bg-[#1C1A19] text-white transition-colors cursor-pointer",children:s.jsx(kn,{className:"w-4 h-4"})}),s.jsx("iframe",{src:Uw,title:y(r,"Чат с Art Village","Chat with Art Village"),className:"w-full h-full border-0"})]})})]})}const lA=new Date("2027-01-03T00:00:00+03:00"),sA=5e3,iA=`/booking?hotel=${encodeURIComponent(ed)}&dateIn=2026-12-31&dateOut=2027-01-02&adults=2`,Nn=(l,r)=>({ru:l,en:r}),rA={key:"ny",image:"/promo/ny-2027.jpg",alt:Nn("Новый год 2027 в Art Village","New Year 2027 at Art Village"),title:Nn("Встречайте Новый год-2027 в Art Village Club!","Welcome New Year 2027 at Art Village Club!"),text:Nn("Праздничные заезды от 2 и более суток с 31.12.26.","Festive stays of 2+ nights from 31.12.26."),cta:Nn("Узнать цену","See prices"),href:iA},oA={key:"loyalty",image:"/promo/loyalty.jpg?v=2",alt:Nn("Программа лояльности Art Village","Art Village loyalty programme"),title:Nn("Отдыхайте выгоднее с Art Village","Relax for less with Art Village"),text:Nn("Присоединяйтесь к программе лояльности Art Village.","Join the Art Village loyalty programme."),cta:Nn("Присоединиться","Join"),href:"/loyalty"};function cA(){const{lang:l}=Fe(),[r,o]=w.useState(!1),[c,d]=w.useState(0),[f,x]=w.useState(!1),g=[];
53new Date<lA&&g.push(rA),g.push(oA);const v=g.length;if(w.useEffect(()=>{const p=setTimeout(()=>o(!0),1400);return()=>clearTimeout(p)},[]),w.useEffect(()=>{if(!r||f||v<2)return;const p=setTimeout(()=>d(j=>(j+1)%v),sA);return()=>clearTimeout(p)},[r,f,c,v]),!r||v===0)return null;const h=Math.min(c,v-1),A=g[h];return s.jsxs("div",{className:`fixed z-[70] bottom-4 left-4 right-4 sm:right-auto sm:bottom-6 sm:left-6 w-auto sm:w-[430px] max-w-[calc(100vw-2rem)]
54                 bg-white shadow-2xl shadow-black/25 ring-1 ring-black/5 rounded-xl overflow-hidden
55                 flex animate-[nypromo_.5s_ease-out]`,role:"dialog","aria-label":y(l,"Спецпредложения Art Village","Art Village offers"),onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),children:[s.jsx("img",{src:A.image,alt:y(l,A.alt.ru,A.alt.en),className:"self-stretch w-[132px] sm:w-[168px] shrink-0 object-cover select-none animate-[promofade_.45s_ease-out]",draggable:!1},A.key+"-img"),s.jsxs("div",{className:"relative flex-1 p-5 sm:p-6",children:[s.jsx("button",{onClick:()=>o(!1),"aria-label":y(l,"Закрыть","Close"),className:"absolute top-2.5 right-2.5 grid place-items-center w-7 h-7 rounded-full text-[#2C2A29]/50 hover:text-[#1C1A19] hover:bg-[#F0EDE6] transition-colors cursor-pointer z-10",children:s.jsx(kn,{className:"w-4 h-4"})}),s.jsx("div",{className:"grid h-full",children:g.map((p,j)=>s.jsxs("div",{className:`col-start-1 row-start-1 flex flex-col justify-center transition-opacity duration-500 ${j===h?"opacity-100":"opacity-0 pointer-events-none"}`,"aria-hidden":j!==h,children:[s.jsx("h3",{className:"font-serif text-lg sm:text-xl text-[#1C1A19] tracking-tight leading-snug pr-6 mb-3",children:y(l,p.title.ru,p.title.en)}),s.jsx("p",{className:"text-xs sm:text-sm text-[#2C2A29]/60 font-light leading-relaxed mb-4",children:y(l,p.text.ru,p.text.en)}),s.jsxs(Ae,{href:p.href,onClick:()=>o(!1),tabIndex:j===h?0:-1,className:"inline-flex items-center gap-1.5 text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-6 py-3 transition-colors w-fit",children:[y(l,p.cta.ru,p.cta.en),s.jsx(Ke,{className:"w-4 h-4"})]})]},p.key))}),v>1&&s.jsx("div",{className:"absolute bottom-3 right-5 flex gap-1.5",children:g.map((p,j)=>s.jsx("button",{onClick:()=>d(j),"aria-label":y(l,`Слайд ${j+1}`,`Slide ${j+1}`),className:`h-1.5 rounded-full transition-all ${j===h?"w-4 bg-[#1C1A19]":"w-1.5 bg-[#1C1A19]/25 hover:bg-[#1C1A19]/50"} cursor-pointer`},p.key))})]})]})}function En(l,r,o){if(typeof document>"u")return;let c=document.head.querySelector(`meta[${l}="${r}"]`);o&&(c||(c=document.createElement("meta"),c.setAttribute(l,r),document.head.appendChild(c)),c.setAttribute("content",o))}const qp=l=>{const r={};if(!l)return r;for(const[o,c]of Object.entries(l))c!=null&&c!==""&&(r[o]=c);return r};function rt(l,r){const o={...qp(r),...qp(l)},c=JSON.stringify(o);w.useEffect(()=>{const d=o.metaTitle||document.title;o.metaTitle&&(document.title=o.metaTitle),En("name","description",o.metaDescription),En("name","keywords",o.keywords),En("property","og:title",d),En("property","og:description",o.metaDescription),En("property","og:type","website"),o.ogImageUrl&&En("property","og:image",o.ogImageUrl),En("name","robots",o.noindex===!0?"noindex, nofollow":"index, follow");const f=window.location.pathname+window.location.search,x=Sg.origin.replace(/\/$/,"")+f;let g=document.head.querySelector('link[rel="canonical"]');g||(g=document.createElement("link"),g.rel="canonical",document.head.appendChild(g)),g.href=x,En("property","og:url",x)},[c])}const Ea="/media",ae={hero:`${Ea}/moscow_pool_day-GGnAP9gmPm2fEeEUntNRmC.webp`,garden:`${Ea}/garden_quiet-eUMjsPRXZz7Nrpb7s3AVQV.webp`,poolside:`${Ea}/poolside_social-gX6K3VmJLXjDRsVVHHs4qp.webp`,bungalow:`${Ea}/bungalow_private-6gzyZQS23c6QZu4bp7SawW.webp`,evening:`${Ea}/evening_pool-KewUjqd5UwsaCvw8tcendz.webp`,thermal:`${Ea}/thermal_rainy-SoAA4KcQ78Rh34nujUQoRz.webp`,banya:`${Ea}/russian_banya_evening-HsoF9dwa3NLxM73DbsMEJL.webp`,movement:`${Ea}/unsplash-movement.jpg`,spa:`${Ea}/unsplash-spa.jpg`,dining:`${Ea}/unsplash-dining.jpg`},uA={container:"booking-widget-container",hotel:"6:e397961a0aa9ade04eb98a3c9d8e9d24",actionUrl:"https://artvillage.club/booking/",locale:"ru",isMulti:!1,forTl:!0,customCSS:""},dA="https://api.uhotels.app/widget/booking-form/loader.js?v=15";function fA(){const l=w.useRef(null);return w.useEffect(()=>{window.bookingWidgetConfig=uA,l.current&&(l.current.innerHTML="");const r=document.querySelector("script[data-booking-loader]");r&&r.remove();const o=document.createElement("script");return o.src=dA,o.async=!0,o.setAttribute("data-booking-loader","1"),document.body.appendChild(o),()=>{o.remove()}},[]),s.jsx("div",{id:"booking-widget-container",ref:l,className:"min-h-0"})}
55const Gp="https://yandex.com/maps/org/art_village/208885713214/",mA=[{tag:{ru:"−10% · от 14 дней",en:"−10% · 14+ days"},title:{ru:"Раннее бронирование",en:"Early booking"},desc:{ru:"−10% на любую категорию номера в будни при бронировании и оплате за 14 дней до заезда.",en:"−10% off any room category on weekdays when you book and pay 14 days ahead."},img:"https://artvillage.club/upload/resize_cache/iblock/84e/upqdjcr3mzycmariabx5eu2611ul0ctz/850_1200_1/567567.jpg"},{tag:{ru:"Happy Birthday",en:"Happy Birthday"},title:{ru:"День рождения",en:"Birthday"},desc:{ru:"Комплимент-десерт, −10% в Nature SPA (±3 дня от даты) и −10% в ресторане в ваш день рождения. Для гостей с проживанием.",en:"A complimentary dessert, −10% at Nature SPA (±3 days) and −10% at the restaurant on your birthday. For staying guests."},img:"https://artvillage.club/upload/resize_cache/iblock/d37/vosq47ij8helkr0szowuts535lgev89y/850_1200_1/65646.jpg"},{tag:{ru:"до −20% · от 3 ночей",en:"up to −20% · 3+ nights"},title:{ru:"Лонг-стей",en:"Long stay"},desc:{ru:"Скидка за длительное проживание: −15% от 3 ночей и −20% от 7 ночей. Чем дольше — тем выгоднее.",en:"Save on extended stays: −15% for 3+ nights and −20% for 7+ nights. The longer, the better."},img:"https://artvillage.club/upload/resize_cache/iblock/14b/i44t0gw9wk649ph8gafd9jet508znigi/850_1200_1/4567.jpg"}],hA=[{text:{ru:"Приехали на выходные — уезжать не хотелось. Завтраки-буфеты выше всяких похвал, баня на дровах волшебная, а сервис внимательный без навязчивости.",en:"Came for the weekend and didn't want to leave. The breakfast buffets are superb, the wood-fired banya is magical, and the service is attentive without being intrusive."},author:{ru:"Екатерина",en:"Ekaterina"},date:{ru:"Май 2026",en:"May 2026"}},{text:{ru:"Тишина, сосны и идеально тёплые бассейны. Отдохнули всей семьёй — дети в восторге от зоодворика и гончарной мастерской.",en:"Silence, pines and perfectly warm pools. A great family stay — the kids loved the petting zoo and the pottery workshop."},author:{ru:"Дмитрий",en:"Dmitry"},date:{ru:"Апрель 2026",en:"April 2026"}},{text:{ru:"Лучший загородный отель в Подмосковье из тех, где мы были. Дизайн номеров, кухня, спа — всё на высоте. Обязательно вернёмся.",en:"The best countryside hotel near Moscow we've stayed at. Room design, cuisine, spa — everything is top-notch. We'll be back for sure."},author:{ru:"Анна и Сергей",en:"Anna & Sergey"},date:{ru:"Март 2026",en:"March 2026"}}],pA={hero:{eyebrowRu:"Загородный курорт · 12 км от МКАД",eyebrowEn:"Countryside resort · 12 km from MKAD",titleRu:"Время с близкими — особая ценность",titleEn:"Time with loved ones is a special value",subtitleRu:"Art Village — дизайнерский парк-отель в подмосковном лесу. Проживание, wellness, рестораны и сезонные сценарии отдыха на одной территории.",subtitleEn:"Art Village is a designer park-hotel in the forest near Moscow. Stay, wellness, dining and seasonal escapes on one estate.",photo:{url:ae.hero,alt:""}},ecosystemSection:{eyebrowRu:"Экосистема курорта",eyebrowEn:"Resort ecosystem",titleRu:"Один курорт — множество сценариев",titleEn:"One resort — many scenarios"},ecosystemCards:[{titleRu:"О курорте",titleEn:"About",descRu:"Дизайнерский парк-отель в подмосковном лесу: 48 номеров, 5 вилл, 4 гектара.",descEn:"A designer park-hotel in the forest near Moscow: 48 rooms, 5 villas, 4 hectares.",href:"/about",external:!1,photo:{url:ae.garden,alt:""}},{titleRu:"Проживание",titleEn:"Stay",descRu:"Номера, шале и виллы в стилях мировых столиц. Уединение и комфорт.",descEn:"Rooms, chalets and villas styled after world capitals. Privacy and comfort.",href:"/stay",external:!1,photo:{url:ae.bungalow,alt:""}},{titleRu:"Wellness",titleEn:"Wellness",descRu:"День мечты у воды: бассейны, баня на дровах и spa-ритуалы.",descEn:"A dream day by the water: pools, wood-fired banya and spa rituals.",href:"/wellness",external:!1,photo:{url:ae.poolside,alt:""}},{titleRu:"Рестораны",titleEn:"Dining",descRu:"Авторская кухня, завтраки-буфеты и гастрономические вечера.",descEn:"Author cuisine, breakfast buffets and gastronomic evenings.",href:"/dining",external:!1,photo:{url:ae.dining,alt:""}},{titleRu:"Мероприятия",titleEn:"Events",descRu:"Корпоративы, свадьбы и retreat — на отдельной площадке.",descEn:"Corporate events, weddings and retreats — on a dedicated platform.",href:rs,external:!0,photo:{url:ae.evening,alt:""}},{titleRu:"Подарки",titleEn:"Gifts",descRu:"Подарочные сертификаты на отдых, spa и ужины.",descEn:"Gift certificates for stays, spa and dinners.",href:"/gifts",external:!1,photo:{url:ae.spa,alt:""}}],wellnessSection:{eyebrowRu:"Wellness",eyebrowEn:"Wellness",titleRu:"Время заботы о себе",titleEn:"Time to care for yourself"},wellnessCards:[{titleRu:"День мечты",titleEn:"Day Dream",descRu:"Дневной визит у воды: бассейны, шезлонги и тёплая вода.",descEn:"A day by the water: pools, loungers and warm water.",href:"/wellness",external:!1,photo:{url:ae.poolside,alt:""}},{titleRu:"Nature SPA",titleEn:"Nature SPA",descRu:"Массаж, авторские уходы и приватные spa-ритуалы.",descEn:"Massage, signature treatments and private spa rituals.",href:"/wellness",external:!1,photo:{url:ae.spa,alt:""}},{titleRu:"Баня на дровах",titleEn:"Wood-fired banya",descRu:"Парные ритуалы, горячая купель и аромат хвои.",descEn:"Steam rituals, a hot tub and pine aroma.",href:"/wellness",external:!1,photo:{url:ae.banya,alt:""}},{titleRu:"Термальная зона",titleEn:"Thermal zone",descRu:"Тепло, пар и тишина леса круглый год.",descEn:"Warmth, steam and forest silence year-round.",href:"/wellness",external:!1,photo:{url:ae.thermal,alt:""}}],facts:[{numberRu:"48",numberEn:"48",labelRu:"номеров и 5 вилл",labelEn:"rooms and 5 villas"},{numberRu:"4",numberEn:"4",labelRu:"гектара леса у воды",labelEn:"hectares of forest by the water"},{numberRu:"12",numberEn:"12",labelRu:"км от МКАД",labelEn:"km from MKAD"},{numberRu:"8",numberEn:"8",labelRu:"банкетных залов для событий",labelEn:"banquet halls for events"}],trustBadges:[{textRu:"Принимаем гостей с 2013 года",textEn:"Welcoming guests since 2013"},{textRu:"Реестр туризма № С502024010004",textEn:"Tourism registry No. С502024010004"},{textRu:"Полупансион: завтрак-буфет и обед",textEn:"Half-board: breakfast buffet & lunch"}],reviewsSection:{eyebrowRu:"Отзывы гостей",eyebrowEn:"Guest reviews",titleRu:"Что говорят гости",titleEn:"What guests say"},reviewsCtaLabelRu:"Все отзывы на Яндекс.Картах",reviewsCtaLabelEn:"All reviews on Yandex Maps",eventsSection:{eyebrowRu:"Мероприятия",eyebrowEn:"Events",titleRu:"Корпоративы, свадьбы и банкеты",titleEn:"Corporate events, weddings and banquets"},eventsTextRu:"8 банкетных залов, выездные программы и retreat для команд — на отдельной event-площадке курорта.",eventsTextEn:"8 banquet halls, off-site programs and team retreats — on the resort's dedicated event platform.",eventsCtaLabelRu:"Перейти Ð
55º мероприятиям",eventsCtaLabelEn:"Explore events",eventsPhoto:{url:ae.evening,alt:""},offersSection:{eyebrowRu:"Спецпредложения",eyebrowEn:"Special offers",titleRu:"Поводы приехать",titleEn:"Reasons to visit"},visitCta:{titleRu:"Спланируйте свой визит",titleEn:"Plan your visit",primaryLabelRu:"Забронировать номер",primaryLabelEn:"Book a room",secondaryLabelRu:"Связаться",secondaryLabelEn:"Contact us"},gettingHereSection:{eyebrowRu:"Как добраться",eyebrowEn:"Getting here",titleRu:"В 12 км от МКАД, в лесу",titleEn:"12 km from MKAD, in the forest"},mapCtaLabelRu:"Открыть на карте",mapCtaLabelEn:"Open in maps"};function Yp({href:l,img:r,title:o,desc:c,external:d}){const f=s.jsxs("div",{className:"group relative h-72 overflow-hidden border border-[#E6E2DA]",children:[s.jsx("img",{src:r,alt:"",className:"absolute inset-0 w-full h-full object-cover brightness-[0.7] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 via-black/10 to-transparent"}),s.jsxs("div",{className:"relative z-10 h-full flex flex-col justify-end p-6 text-white",children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide mb-2",children:o}),s.jsx("p",{className:"text-xs font-light text-white/85 leading-relaxed",children:c})]})]});return d?s.jsx("a",{href:l,target:"_blank",rel:"noreferrer",children:f}):s.jsx(Ae,{href:l,children:f})}function xA(){const{openChat:l}=Rt(),{lang:r}=Fe(),{open:o}=hi(),c=bw(pA);rt(c.seo,{metaTitle:"Art Village — загородный курорт в 12 км от МКАД",metaDescription:"Дизайнерский парк-отель в подмосковном лесу: проживание, wellness, рестораны, баня на дровах и сезонные сценарии отдыха."});const d=mw(mA),f=hw(hA),x=fe(c.hero.photo)||ae.hero,g=fe(c.heroVideo),v=fe(c.eventsPhoto)||ae.evening;return s.jsxs("div",{children:[s.jsxs("div",{className:"relative",children:[s.jsxs("section",{className:"relative min-h-[100svh] pt-20 flex flex-col justify-end md:justify-center overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0 bg-[#1C1A19]",children:[g?s.jsx("video",{src:g,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:"w-full h-full object-cover brightness-[0.85] saturate-[0.95]"}):s.jsx("img",{src:x,alt:"Art Village",className:"w-full h-full object-cover brightness-[0.85] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-transparent"})]}),s.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pt-12 pb-20 md:pb-32",children:s.jsx("h1",{className:"font-serif text-[2.1rem] md:text-[3.15rem] lg:text-[4.2rem] text-white font-light leading-[0.95] tracking-tight max-w-4xl drop-shadow-md",children:y(r,c.hero.titleRu,c.hero.titleEn)})})]}),s.jsx("div",{id:"booking",className:"relative lg:absolute lg:left-0 lg:right-0 lg:bottom-0 lg:translate-y-1/2 z-30 px-6 py-8 lg:py-0 scroll-mt-28",children:s.jsxs("div",{className:"relative w-full lg:w-fit max-w-full mx-auto p-4 shadow-2xl shadow-black/20 rounded-2xl",children:[s.jsx("div",{className:"absolute inset-0 rounded-2xl bg-white/70 backdrop-blur-md"}),s.jsx("div",{className:"relative",children:s.jsx(fA,{})})]})})]}),s.jsx("section",{className:"pt-10 lg:pt-40 pb-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.ecosystemSection.eyebrowRu,c.ecosystemSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,c.ecosystemSection.titleRu,c.ecosystemSection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.ecosystemCards.map(h=>s.jsx(Yp,{href:h.href,img:fe(h.photo)||ae.garden,title:y(r,h.titleRu,h.titleEn),desc:y(r,h.descRu,h.descEn),external:h.external},h.href+h.titleRu))})]})}
55),s.jsx("section",{className:"py-20 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 mb-12",children:c.facts.map((h,A)=>s.jsxs("div",{className:"text-center",children:[s.jsx("div",{className:"font-serif text-5xl text-[#1C1A19] mb-2",children:y(r,h.numberRu,h.numberEn)}),s.jsx("div",{className:"text-xs tracking-wider uppercase text-[#2C2A29]/60 font-light leading-relaxed",children:y(r,h.labelRu,h.labelEn)})]},A))}),s.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-3 text-xs text-[#2C2A29]/70 font-light border-t border-[#E6E2DA] pt-8",children:c.trustBadges.map((h,A)=>s.jsxs("span",{className:"inline-flex items-center gap-2",children:[s.jsx(V2,{className:"w-4 h-4 text-emerald-700"})," ",y(r,h.textRu,h.textEn)]},A))})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.reviewsSection.eyebrowRu,c.reviewsSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-5",children:y(r,c.reviewsSection.titleRu,c.reviewsSection.titleEn)}),s.jsxs("a",{href:Gp,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 text-sm text-[#2C2A29]/70 hover:text-[#1C1A19] transition-colors",children:[s.jsx("span",{className:"flex gap-0.5",children:[0,1,2,3,4].map(h=>s.jsx(Bp,{className:"w-4 h-4 fill-[#1C1A19] text-[#1C1A19]"},h))}),s.jsx("span",{className:"font-semibold text-[#1C1A19]",children:"5,0"})," · ",y(r,"Яндекс Карты","Yandex Maps")," ↗"]})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:f.map((h,A)=>s.jsxs("div",{className:"bg-white border border-[#E6E2DA] p-8 flex flex-col",children:[s.jsx("div",{className:"flex gap-0.5 mb-4",children:[0,1,2,3,4].map(p=>s.jsx(Bp,{className:"w-4 h-4 fill-[#1C1A19] text-[#1C1A19]"},p))}),s.jsxs("p",{className:"text-sm text-[#2C2A29]/85 font-light leading-relaxed italic mb-6 flex-1",children:["«",y(r,h.text.ru,h.text.en),"»"]}),s.jsxs("div",{className:"flex items-center justify-between border-t border-[#E6E2DA] pt-4",children:[s.jsx("span",{className:"text-xs tracking-wider uppercase text-[#1C1A19] font-medium",children:y(r,h.author.ru,h.author.en)}),s.jsx("span",{className:"text-[10px] tracking-wider uppercase text-[#2C2A29]/40",children:y(r,h.date.ru,h.date.en)})]})]},A))}),s.jsx("div",{className:"text-center mt-10",children:s.jsxs("a",{href:Gp,target:"_blank",rel:"noreferrer",className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white transition-colors px-8 py-4",children:[y(r,c.reviewsCtaLabelRu,c.reviewsCtaLabelEn)," ",s.jsx(zu,{className:"w-4 h-4 ml-2"})]})}),s.jsx("p",{className:"text-center text-[10px] tracking-wider uppercase text-[#2C2A29]/40 mt-6",children:y(r,"отобранные отзывы","curated reviews")})]})}),s.jsxs("section",{className:"relative py-28 overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:v,alt:"",className:"w-full h-full object-cover brightness-[0.72]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1C1A19]/80 via-[#1C1A19]/40 to-transparent"})]}),s.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6",children:s.jsxs("div",{className:"max-w-2xl",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5] font-semibold block mb-4",children:y(r,c.eventsSection.eyebrowRu,c.eventsSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-white tracking-tight mb-6",children:y(r,c.eventsSection.titleRu,c.eventsSection.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-white/80 font-light leading-relaxed mb-8 max-w-xl",children:y(r,c.eventsTextRu,c.eventsTextEn)}),s.jsxs("a",{href:rs,target:"_blank",rel:"noreferrer",className:"inline-flex items-center text-xs tracking-widest uppercase bg-white hover:bg-[#
55E6E2DA] text-[#1C1A19] px-8 py-4 transition-colors",children:[y(r,c.eventsCtaLabelRu,c.eventsCtaLabelEn)," ",s.jsx(zu,{className:"w-4 h-4 ml-2"})]})]})})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(r,c.visitCta.titleRu,c.visitCta.titleEn)}),s.jsxs("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8 flex items-center justify-center gap-2",children:[s.jsx(qr,{className:"w-4 h-4"}),ce.addressShort," · ",ce.distance]}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("a",{href:"#booking",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors",children:y(r,c.visitCta.primaryLabelRu,c.visitCta.primaryLabelEn)}),s.jsx("button",{onClick:l,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors cursor-pointer",children:y(r,c.visitCta.secondaryLabelRu,c.visitCta.secondaryLabelEn)})]})]})}),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.wellnessSection.eyebrowRu,c.wellnessSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,c.wellnessSection.titleRu,c.wellnessSection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6",children:c.wellnessCards.map((h,A)=>s.jsx(Yp,{href:h.href,img:fe(h.photo)||ae.spa,title:y(r,h.titleRu,h.titleEn),desc:y(r,h.descRu,h.descEn),external:h.external},h.titleRu+A))}),s.jsx("div",{className:"text-center mt-10",children:s.jsxs(Ae,{href:"/wellness",className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white transition-colors px-8 py-4",children:[y(r,"Подробнее о Wellness","Explore Wellness")," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.offersSection.eyebrowRu,c.offersSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,c.offersSection.titleRu,c.offersSection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:d.map((h,A)=>s.jsxs("div",{className:"bg-white border border-[#E6E2DA] flex flex-col overflow-hidden hover:border-[#1C1A19] transition-colors",children:[s.jsxs("div",{className:"relative h-52 overflow-hidden",children:[s.jsx("img",{src:h.img,alt:"",className:"w-full h-full object-cover"}),s.jsx("span",{className:"absolute top-3 left-3 text-[10px] tracking-widest uppercase bg-[#1C1A19] text-white px-2 py-1",children:y(r,h.tag.ru,h.tag.en)})]}),s.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight mb-2",children:y(r,h.title.ru,h.title.en)}),s.jsx("p",{className:"text-xs text-[#2C2A29]/70 font-light leading-relaxed mb-6 flex-1",children:y(r,h.desc.ru,h.desc.en)}),s.jsxs("button",{onClick:l,className:"text-xs tracking-widest uppercase font-semibold text-[#1C1A19] hover:opacity-70 inline-flex items-center gap-1 cursor-pointer",children:[y(r,"Узнать подробнее","Learn more")," ",s.jsx(Ke,{className:"w-3.5 h-3.5"})]})]})]},A))})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.gettingHereSection.eyebrowRu,c.gettingHereSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:y(r,c.gettingHereSection.titleRu,c.gettingHereSection.titleEn)}),s.jsxs("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-6 flex items-start gap-2",children:[s.jsx(qr,{className:"w-5 h-5 mt-0.5 shrink-0"}),ce.address]}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsxs("a",{href:`https://yandex.ru/maps/?ll=${ce.lon}%2C${ce.lat}&z=16&pt=${ce.lon},${ce.lat},pm2rdm`,target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white transition-colors px-6 py-3",children:[y(r,c.mapCtaLabelRu,c.mapCtaLabelEn)," ",s.jsx(zu,{className:"w-4 h-4 ml-2"})]}),s.jsx("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase text-[#2C2A29]/80 hover:text-[#1C1A19] px-6 py-3",children:ce.phone})]})]}
55),s.jsx("div",{className:"border border-[#E6E2DA] overflow-hidden h-[360px] bg-white",children:s.jsx("iframe",{title:"map",src:`https://yandex.ru/map-widget/v1/?ll=${ce.lon}%2C${ce.lat}&z=16&pt=${ce.lon},${ce.lat},pm2rdm`,width:"100%",height:"100%",frameBorder:"0",loading:"lazy"})})]})})]})}const ii="https://artvillage.club",gA="+7 495 118-32-24",bA=[{img:ii+"/upload/resize_cache/iblock/c54/850_1200_1/7033_art.jpg",ru:"Зона релакса",en:"Relaxation zone"},{img:ii+"/upload/resize_cache/iblock/a51/850_1200_1/7050_art.jpg",ru:"SPA luxe №1",en:"SPA luxe №1"},{img:ii+"/upload/resize_cache/iblock/66a/850_1200_1/7100_art.jpg",ru:"SPA luxe №2",en:"SPA luxe №2"},{img:ii+"/upload/resize_cache/iblock/e34/850_1200_1/7105_art.jpg",ru:"SPA luxe №3",en:"SPA luxe №3"},{img:ii+"/upload/resize_cache/iblock/c81/850_1200_1/7092_art.jpg",ru:"Кабинеты 1-3",en:"Cabins 1-3"}],yA=[{cat:{ru:"Массаж",en:"Massage"},items:[{name:{ru:"Вечная классика",en:"Eternal Classic"},dur:"60/90",price:"5 700 / 7 900 ₽"},{name:{ru:"Лимфодренажный",en:"Lymphatic drainage"},dur:"60/90",price:"5 700 / 8 400 ₽"},{name:{ru:"Минус вес",en:"Slimming"},dur:"60/90",price:"6 400 / 8 400 ₽"},{name:{ru:"Локальный (одна зона)",en:"Targeted (one zone)"},dur:"30",price:"3 900 ₽"},{name:{ru:"Отдых для спины",en:"Back relaxation"},dur:"60",price:"5 000 ₽"},{name:{ru:"Интенсивный",en:"Intensive"},dur:"60/90",price:"5 900 / 8 200 ₽"},{name:{ru:"RELAX СПА-массаж",en:"RELAX SPA-massage"},dur:"60/90",price:"5 000 / 7 000 ₽"},{name:{ru:"Гавайский ломи-ломи (1 / 2 мастера)",en:"Hawaiian Lomi-Lomi (1 / 2 therapists)"},dur:"60",price:"7 900 / 16 000 ₽"},{name:{ru:"Гавайский СПА-массаж",en:"Hawaiian SPA-massage"},dur:"60/90",price:"5 500 / 7 200 ₽"},{name:{ru:"Скрабирование",en:"Body scrub"},dur:"20–25",price:"3 900 ₽"},{name:{ru:"Стоун-терапия «Сила камней»",en:"Stone therapy"},dur:"60/90",price:"5 500 / 7 200 ₽"},{name:{ru:"Экзотический массаж",en:"Exotic massage"},dur:"60/90",price:"5 800 / 8 400 ₽"}]},{cat:{ru:"Уходы для тела",en:"Body treatments"},items:[{name:{ru:"Марципановое наслаждение",en:"Marzipan Delight"},dur:"120",price:"11 000 ₽"},{name:{ru:"Восстановление",en:"Restoration"},dur:"105",price:"9 000 ₽"},{name:{ru:"Дыхание моря",en:"Sea Breath"},dur:"120",price:"20 000 ₽"},{name:{ru:"Ягодное сияние",en:"Berry Radiance"},dur:"120",price:"11 000 ₽"},{name:{ru:"Пять сакральных нектаров",en:"Five Sacred Nectars"},dur:"120",price:"12 500 ₽"},{name:{ru:"Релаксация и транквилити",en:"Relaxation & Tranquility"},dur:"90",price:"9 500 ₽"},{name:{ru:"Слим-детокс",en:"Slim-Detox"},dur:"60",price:"10 000 ₽"},{name:{ru:"ART WELLNESS MIX",en:"ART WELLNESS MIX"},dur:"120",price:"12 500 ₽"}]},{cat:{ru:"Лицо · Thalasso",en:"Face · Thalasso"},items:[{name:{ru:"Мгновенное преображение",en:"Instant Transformation"},dur:"50",price:"6 500 ₽"}]},{cat:{ru:"Woman only",en:"Woman only"},items:[{name:{ru:"Антистресс для мам",en:"Anti-stress for moms"},dur:"90",price:"10 500 ₽"},{name:{ru:"Антистресс для мам (расширенный)",en:"Anti-stress for moms (extended)"},dur:"120",price:"12 500 ₽"},{name:{ru:"SPA-девичник для троих",en:"SPA-bachelorette for 3"},dur:"210",price:"60 000 ₽"},{name:{ru:"SPA-девичник для четверых",en:"SPA-bachelorette for 4"},dur:"210",price:"75 000 ₽"}]},{cat:{ru:"Для двоих",en:"For two"},items:[{name:{ru:"СПА-свидание",en:"SPA-Date"},dur:"120",price:"22 000 ₽"},{name:{ru:"Энергетический заряд",en:"Energy Boost"},dur:"210",price:"38 000 ₽"},{name:{ru:"Гармония",en:"Harmony"},dur:"210",price:"42 000 ₽"},{name:{ru:"Молочная ванна",en:"Milk Bath"},dur:"150",price:"24 000 ₽"}]}];function vA(){const{openChat:l}=Rt(),{lang:r}=Fe(),{open:o}=hi(),c=Ng({}),d=r==="RU"?"Ru":"En",f=(E,N,_)=>E&&E[N+d]?E[N+d]:_,{zones:x,price:g}=Eg(bA,yA),v=is({wellnessPhone:gA,wellnessHours:"10:00–22:00"}),[h,A]=w.useState(!1),[p,j]=w.useState(0);return s.jsxs("section",{id:"nature-spa",className:"scroll-mt-24 py-24 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/40",children:[s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:f(c?.spaSection,"eyebrow","NATURE SPA")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-5",children:f(c?.spaSection,"title",y(r,"Спа-центр Nature SPA","Nature SPA centre"))}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed",children:f(c?.spaSection,"subtitle",y(r,"Зона релакса, приватные spa-люкс кабинеты с парной и купелями, авторские массажи и уходы на натуральной косметике.","A relaxation zone, private spa-luxe studios with a steam room and tubs, signature massages and treatments using natural cosmetics."))})]}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",children:x.map(E=>s.jsxs("div",{className:"group relative overflow-hidden border border-[#E6E2DA] aspect-[3/4]",children:[s.jsx("img",{src:E.img,alt:E.ru,className:"absolute inset-0 w-full h-full object-cover brightness-[0.72] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/10 to-transparent"}),s.jsx("span",{className:"absolute bottom-4 left-4 right-4 z-10 font-serif text-lg text-white leading-tight",children:y(r,E.ru,E.en)})]},E.ru))}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4 mt-12",children:[s.jsx(Ae,{href:"/spa",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors",children:y(r,"Подробнее о Nature SPA","More about Nature SPA")}),s.jsx("button",{onClick:()=>A(!0),className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors cursor-pointer",children:f(c?.ui,"spaCatalog",y(r,"Каталог услуг и цены","Service menu & prices"))}),s.jsx("button",{onClick:l,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors cursor-pointer",children:f(c?.ui,"spaBook",y(r,"Записаться в SPA","Book at the SPA"))})]})]}),s.jsx(mg,{open:h,onOpenChange:A,children:s.jsxs(pg,{className:"bg-[#FAF9F5] border border-[#E6E2DA] rounded-none max-w-3xl w-[calc(100%-2rem)] max-h-[85vh] overflow-y-auto p-6 md:p-8 text-[#2C2A29]",children:[s.jsxs(xg,{className:"mb-5",children:[s.jsx(gg,{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight uppercase",children:y(r,"Nature SPA — каталог услуг","Nature SPA — service menu")}),s.jsxs(bg,{className:"text-xs font-light text-[#2C2A29]/70 inline-flex flex-wrap items-center gap-x-4 gap-y-1",children:[s.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[s.jsx(to,{className:"w-3.5 h-3.5"})," ",v.wellnessPhone]}),s.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[s.jsx(eo,{className:"w-3.5 h-3.5"})," ",y(r,"Ежедневно "+v.wellnessHours,"Daily "+v.wellnessHours)]})]})]}),s.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:g.map((E,N)=>s.jsx("button",{onClick:()=>j(N),className:`text-[10px] tracking-widest uppercase px-3 py-2 border transition-colors cursor-pointer ${N===p?"bg-[#1C1A19] text-white border-[#1C1A19]":"bg-white border-[#E6E2DA] text-[#2C2A29]/70 hover:border-[#1C1A19]"}`,children:y(r,E.cat.ru,E.cat.en)},N))}),s.jsx("div",{className:"bg-white border border-[#E6E2DA] divide-y divide-[#E6E2DA]",children:(g[p]??g[0]).items.map((E,N)=>s.jsxs("div",{className:"flex items-baseline justify-between gap-4 px-5 py-4",children:[s.jsxs("div",{className:"min-w-0",children:[s.jsx("div",{className:"font-serif text-base md:text-lg text-[#1C1A19] leading-snug",children:y(r,E.name.ru,E.name.en)}),s.jsxs("div",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 mt-0.5",children:[E.dur," ",y(r,"мин","min")]}),E.desc&&s.jsx("p",{className:"text-xs text-[#2C2A29]/70 font-light leading-relaxed mt-2 max-w-prose",children:y(r,E.desc.ru,E.desc.en)})]}),s.jsx("div",{className:"font-mono text-sm text-[#1C1A19] whitespace-nowrap shrink-0",children:E.price})]},N))}),s.jsx("button",{onClick:()=>{A(!1),o("Nature SPA")},className:"w-full mt-6 text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] py-4 transition-colors cursor-pointer",children:y(r,"Записаться","Book")})]})})]})}const wA=wg("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function ri({className:l,variant:r,asChild:o=!1,...c}){const d=o?vg:"span";return s.jsx(d,{"data-slot":"badge",className:ll(wA({variant:r}),l),...c})}const AA=new Set([51,53,55,56,57,61,63,65,66,67,71,73,75,77,80,81,82,85,86,95,96,99]);function EA(l,r){if(l>=18||l<5)return"evening";const o=r?.tempC!=null&&r.tempC<12;return(r?.isWet??!1)||o?"rainy_thermal":l>=8&&l<12?"morning":"sunny_day"}async function jA(){const l=`https://api.open-meteo.com/v1/forecast?latitude=${ce.lat}&longitude=${ce.lon}&current=temperature_2m,precipitation,weather_code&timezone=${encodeURIComponent(ce.timeZone)}`,r=await fetch(l);if(!r.ok)throw new Error(`weather ${r.status}`);const c=(await r.json()).current??{},d=c.weather_code??null,f=c.precipitation??0;return{tempC:typeof c.temperature_2m=="number"?c.temperature_2m:null,code:d,isWet:f>0||d!=null&&AA.has(d)}}function NA(l){const[r,o]=w.useState(null),[c,d]=w.useState(!l),[f,x]=w.useState(()=>new Date().getHours());return w.useEffect(()=>{const v=setInterval(()=>x(new Date().getHours()),6e4);return()=>clearInterval(v)},[]),w.useEffect(()=>{if(l){d(!1);return}let v=!0;return d(!0),jA().then(h=>
55v&&o(h)).catch(()=>v&&o(null)).finally(()=>v&&d(!1)),()=>{v=!1}},[l]),{mode:l??EA(f,r),weather:r,loading:c,isAuto:!l}}const In=l=>l*Math.PI/180,Xp=l=>l*180/Math.PI,Qp=l=>(l%360+360)%360,SA=l=>(l%24+24)%24;function CA(l,r,o){const c=o.getUTCFullYear(),d=Date.UTC(c,0,0),f=Date.UTC(c,o.getUTCMonth(),o.getUTCDate())-d,x=Math.floor(f/864e5),g=90.833,v=r/15,h=x+(18-v)/24,A=.9856*h-3.289,p=Qp(A+1.916*Math.sin(In(A))+.02*Math.sin(In(2*A))+282.634);let j=Qp(Xp(Math.atan(.91764*Math.tan(In(p)))));j+=Math.floor(p/90)*90-Math.floor(j/90)*90,j/=15;const E=.39782*Math.sin(In(p)),N=Math.cos(Math.asin(E)),_=(Math.cos(In(g))-E*Math.sin(In(l)))/(N*Math.cos(In(l)));if(_>1||_<-1)return new Date(NaN);const L=Xp(Math.acos(_))/15+j-.06571*h-6.622,P=SA(L-v),ne=Math.floor(P),X=Math.round((P-ne)*60);return new Date(Date.UTC(c,o.getUTCMonth(),o.getUTCDate(),ne,X))}function kA(l,r,o,c=new Date){const d=CA(l,r,c);return Number.isNaN(d.getTime())?"—":new Intl.DateTimeFormat("ru-RU",{hour:"2-digit",minute:"2-digit",timeZone:o}).format(d)}const Zp=4,_A={rainy_thermal:"14:00",evening:"18:00",morning:"10:00",sunny_day:"12:00"},Kp={RU:{heroTitle:{morning:"Культура замедления",sunny_day:"День мечты",rainy_thermal:"Тишина, вода и восстановление",evening:"Вечер у воды"},heroSubtitle:{morning:"Время для утреннего плавания в теплом бассейне, легкой медитации и неспешного начала дня в тишине подмосковной природы.",sunny_day:"Короткий побег из города к теплой воде и тишине. Идеальный сценарий загородного отдыха без необходимости проживания.",rainy_thermal:"Идеальная погода для термального отдыха. Горячие купели под открытым небом, парные ритуалы, аромат сибирских трав и глубокое согревание.",evening:"Мягкий свет заката, свечи, парящая теплая вода бассейна и тихая музыка. Спокойный загородный отдых в лучах уходящего дня."},heroTagline:"Загородный retreat рядом с Москвой",liveTitle:"Состояние курорта в реальном времени",liveWaterTemp:"Температура воды",liveSunset:"Время заката сегодня",liveSauna:"Баня на дровах готова с",liveSpots:"Свободных мест",liveActiveScenario:"Активный сценарий дня",todayTitle:"Сегодня на курорте",todayMorning:"Утренний retreat (08:00 – 12:00)",todaySunny:"Солнечный день у воды (12:00 – 18:00)",todayRainy:"Термальный день восстановления",todayEvening:"Вечер у воды (18:00 – 23:00)",todayMorningDesc:"Утренняя роса на траве, пение птиц и полный покой. Насладитесь утренним загородным ритмом, плаванием и приветственным травяным чаем.",todaySunnyDesc:"Подогреваемый бассейн под открытым небом, шезлонги на зеленом газоне, приветственный прохладный коктейль и неспешный загородный ритм.",todayRainyDesc:"Особая магия прохлады. Мы усиливаем прогрев бань на дровах, наполняем термальную зону ароматами хвои и подаем горячий приветственный чай.",todayEveningDesc:"Уединенный загородный вечер. Живой огонь в костровых чашах, свечи, пар над теплой водой бассейна, мягкие халаты и полное расслабление.",activeScenario:{morning:"Утренний retreat",sunny_day:"Солнечный день",rainy_thermal:"Термальный день",evening:"Вечер у воды"},previewTitle:"Предпросмотр сценариев",previewHint:"Демо-переключатель для презентации. По умолчанию режим выбирается автоматически.",morningLabel:"Утренний отдых",sunnyLabel:"Солнечный день",rainyLabel:"Термальный день",eveningLabel:"Вечер у воды",autoMode:"Авто-режим",autoActive:"Авто (по погоде и времени)",accessLabel:"ДОСТУП ТОЛЬКО ПО БРОНИ",spotsLabel:"Доступно мест на сегодня:",spotsUnit:"мест",bookNow:"Забронировать отдых",exploreScenarios:"Исследовать сценарии",chooseScenario:"Выбрать сценарий",order:"Заказать",hiddenLuxury:"Hidden Luxury Layer",mindfulMovement:"Mindful Movement",badgeResort:"Курорт",badgeResortVal:"Art Village, Подмосковье",badgeFormat:"Формат",badgeFormatVal:"Загородный отдых без проживания",badgeAccess:"Доступ",badgeAccessVal:"Ограниченное количество гостей",badgeEmotion:"Эмоция",badgeEmotionVal:"Побег из города уже сегодня",todayBadges:{morning:["🌅 Утренняя тишина и роса","🍵 Травяной welcome-ритуал","🏊‍♂️ Плавание в подогреваемом бассейне"],sunny_day:["☀️ Тёплый бассейн под открытым небом","🍹 Приветственный коктейль у воды","🌿 Отдых у бассейна на зеленом газоне"],rainy_thermal:["🔥 Горячая купель и баня на дровах","🧖‍♂️ Усиленный прогрев бань и парных","🍵 Травяной welcome-ритуал в подарок"],evening:["🕯️ Живой огонь, свечи и закатный свет","🌌 Вечерний пар над бассейном и огни","🎵 Спокойная вечерняя музыка и покой"]},dayRetreatEyebrow:"DAY RETREAT",dayRetreatTitle:"Сценарии загородного отдыха",dayRetreatSub:"Day Retreat — главный входной продукт нашей wellness-экосистемы. Это не просто вход в спа-зону, а готовый сценарий перезагрузки на целый день.",dayRetreatItems:[{title:"УТРЕННИЙ ОТДЫХ",time:"08:00 – 12:00",desc:"Время тишины и утреннего солнца. Идеально для тех, кто хочет поплавать в теплом бассейне наедине с природой и неспешно настроиться на день.",features:["Плавание в подогреваемом бассейне","Травяной welcome-ритуал","Абсолютная тишина"]},{title:"ДЕНЬ МЕЧТЫ",time:"12:00 – 18:00",desc:"Классический сценарий загородного отдыха. Полноценный день у воды на удобных шезлонгах, прогулки по территории и мягкое замедление.",features:["Доступ к бассейну и термальной зоне","Прохладительный приветственный коктейль","Зеленый газон и шезлонги"]},{title:"ВЕЧЕР У ВОДЫ",time:"18:00 – 23:00",desc:"Премиальный вечерний формат. Парящая теплая вода бассейна, мягкий свет заката, зажженные свечи и уличные костровые чаши.",features:["Романтическая атмосфера у костра","Вечерний пар над бассейном","Спокойная вечерняя музыка"]},{title:"ТЕРМАЛЬНЫЙ ДЕНЬ",time:"Весь день (в прохладную погоду)",desc:"Сценарий глубокого согревания и восстановления. Прохладный воздух на улице делает горячую воду бассейна и бани на дровах особенно ценными.",features:["Усиленный прогрев парных","Горячие купели под открытым небом","Аромат хвои и сибирских трав"]}
55],spaEyebrow:"PRIVATE SPA RITUALS",spaTitle:"Private Spa Rituals",spaSub:"Скрытый премиальный уровень нашей экосистемы. Мы отказались от массового каталога одинаковых услуг в пользу индивидуальных ритуалов восстановления.",spaItems:[{title:"Ритуал восстановления",desc:"Глубокая телесная перезагрузка, сочетающая мягкий прогрев, бережное очищение кожи и индивидуальную массажную технику.",duration:"90 минут",tag:"Индивидуальный уход"},{title:"Приватный wellness-suite",desc:"Абсолютно уединенное пространство для отдыха вашей компании или пары с персональной парной, зоной отдыха и индивидуальным сервисом.",duration:"от 3 часов",tag:"Максимальная приватность"},{title:"Ritual for two",desc:"Парный ритуал восстановления, созданный для совместного замедления. Мягкий свет свечей, расслабляющий уход и чайная церемония.",duration:"120 минут",tag:"Для двоих"}],banyaEyebrow:"THERMAL & BANYA RITUALS",banyaTitle:"Thermal & Banya Rituals",banyaSub:"Русская баня на дровах и термальная зона — это не общественное пространство, а сакральная часть культуры замедления и бережного очищения.",banyaCta:"Подробнее о бане",banyaItems:[{title:"Thermal rituals",desc:"Контрастные процедуры в горячих купелях под открытым небом и парение на свежем воздухе в окружении березового леса."},{title:"Evening steam rituals",desc:"Вечерние сеансы мягкого коллективного парения с ароматами алтайских трав, березового дегтя и натурального меда."},{title:"Sauna ceremonies",desc:"Авторские банные церемонии от профессиональных мастеров парения с индивидуальным подбором температуры и ароматов."}],movementEyebrow:"MOVEMENT & RECOVERY",movementTitle:"Movement & Recovery",movementSub:"Пространство осознанного движения и восстановления. Здесь нет фитнес-суеты, громкой музыки или спортивной гонки — только бережная забота о теле.",movementItems:[{title:"Movement studio",desc:"Уединенный зал для мягких функциональных тренировок, пилатеса и бережного вытяжения позвоночника."},{title:"Recovery space",desc:"Специальная зона для восстановления мышц после физической активности с использованием современных релакс-технологий."},{title:"Stretching & mobility",desc:"Занятия, направленные на улучшение гибкости суставов, снятие мышечных зажимов и восстановление легкости движений."},{title:"Yoga mornings",desc:"Утренние практики хатха-йоги и медитации на открытой террасе у воды в лучах восходящего солнца."}],philosophyEyebrow:"Особенности пространства",philosophyTitle:"Философия уединения",philosophySub:"Дорогая простота, воздух и культура замедления.",values:[{title:"Ограниченное количество гостей",text:"Мы строго лимитируем доступ на территорию, чтобы сохранить камерную атмосферу приватного клуба."},{title:"Загородный escape",text:"Здесь нет громкой анимации, навязчивой музыки или фитнес-суеты. Только естественные звуки природы и покой."},{title:"Культура замедления",text:"Каждая деталь — от мягкости халатов до температуры воды — создана для вашего замедления."}],connectionTitle:"Продлите свой retreat",connectionDesc:"Art Wellness органично интегрирован в общую загородную экосистему Art Village. Продлите свое состояние покоя: останьтесь на выходные в уединенных дизайнерских виллах отеля или завершите день авторским ужином в ресторанах курорта.",connectionStay:"Забронировать проживание",connectionDine:"Заказать столик в ресторане",rulesTitle:"Правила уединенного отдыха",rulesDesc:"Мы осознанно отказались от массового формата, фитнес-лексики и шумных активностей. Art Wellness — это тихий остров спокойствия для загородного отдыха, где ценят личные границы каждого гостя.",rulesCta:"Связаться"},EN:{heroTitle:{morning:"Culture of Deceleration",sunny_day:"Day Dream",rainy_thermal:"Silence, Water & Restoration",evening:"Evening by the Water"},heroSubtitle:{morning:"Time for morning swimming in the warm pool, light meditation, and a slow start to the day in the silence of Moscow countryside nature.",sunny_day:"A short escape from the city to warm water and silence. The perfect countryside retreat scenario without staying overnight.",rainy_thermal:"Perfect weather for thermal relaxation. Outdoor hot tubs, steam rituals, herbal aromas, and deep warming.",evening:"Soft sunset light, candles, steaming pool water, and quiet music. A peaceful countryside retreat in the fading light of day."},heroTagline:"Countryside retreat near Moscow",liveTitle:"Live Resort Conditions",liveWaterTemp:"Water Temperature",liveSunset:"Sunset Time Today",liveSauna:"Wood-fired Sauna Ready at",liveSpots:"Available Spots",liveActiveScenario:"Active Scenario",todayTitle:"Today at the Resort",todayMorning:"Morning retreat (08:00 – 12:00)",todaySunny:"Sunny Day by the Water (12:00 – 18:00)",todayRainy:"Thermal Restoration Day",todayEvening:"Evening by the Water (18:00 – 23:00)",todayMorningDesc:"Morning dew on the grass, birds singing, and complete peace. Enjoy the morning countryside rhythm, swimming, and welcome herbal tea.",todaySunnyDesc:"Heated outdoor pool, loungers on the green lawn, a refreshing welcome cocktail, and a slow countryside rhythm.",todayRainyDesc:"A special magic of cool weather. We enhance the wood-fired sauna heat, fill the thermal zone with pine aromas, and serve hot signature tea.",todayEveningDesc:"A secluded countryside evening. Live fire, candles, steam over the warm pool water, soft robes, and complete relaxation.",activeScenario:{morning:"Morning Retreat",sunny_day:"Sunny Day",rainy_thermal:"Thermal Day",evening:"Evening by the Water"},previewTitle:"Preview scenarios",previewHint:"Demo switcher for presentation. By default the mode is selected automatically.",morningLabel:"Morning Retreat",sunnyLabel:"Sunny Day",rainyLabel:"Thermal Day",eveningLabel:"Evening by the Water",autoMode:"Auto mode",autoActive:"Auto (weather & time)",accessLabel:"ACCESS BY BOOKING ONLY",spotsLabel:"Available spots today:",spotsUnit:"spots",bookNow:"Book Retreat",exploreScenarios:"Explore Scenarios",chooseScenario:"Choose scenario",order:"Order",hiddenLuxury:"Hidden Luxury Layer",mindfulMovement:"Mindful Movement",badgeResort:"Resort",badgeResortVal:"Art Village, Moscow Region",badgeFormat:"Format",badgeFormatVal:"Countryside retreat, no overnight stay",badgeAccess:"Access",badgeAccessVal:"Limited number of guests",badgeEmotion:"Emotion",badgeEmotionVal:"Escape the city today",todayBadges:{morning:["🌅 Morning silence and dew","🍵 Herbal welcome ritual","🏊‍♂️ Swimming in the heated pool"],sunny_day:["☀️ Warm outdoor pool","🍹 Welcome cocktail by the water","🌿 Poolside rest on the green lawn"],rainy_thermal:["🔥 Hot tub and wood-fired sauna","🧖‍♂️ 
55Enhanced sauna and steam heating","🍵 Complimentary herbal welcome ritual"],evening:["🕯️ Live fire, candles and sunset light","🌌 Evening steam over the pool and lights","🎵 Quiet evening music and calm"]},dayRetreatEyebrow:"DAY RETREAT",dayRetreatTitle:"Countryside Day Retreats",dayRetreatSub:"Day Retreat is the primary gateway to our wellness ecosystem. Rather than just a spa entry, it represents a curated scenario for a full-day reset.",dayRetreatItems:[{title:"MORNING RETREAT",time:"08:00 – 12:00",desc:"A time of silence and morning sun. Ideal for those who wish to swim in the warm pool in absolute solitude and slow-start their day.",features:["Warm pool swimming","Herbal welcome ritual","Absolute quiet"]},{title:"DAY DREAM",time:"12:00 – 18:00",desc:"The classic countryside escape. A complete day by the water on comfortable loungers, strolls through the estate, and gentle deceleration.",features:["Pool & thermal zone access","Refreshing welcome drink","Green lawn & sun loungers"]},{title:"EVENING BY THE WATER",time:"18:00 – 23:00",desc:"Our signature evening format. Steaming warm pool water, soft sunset glow, lit candles, and outdoor bonfire bowls.",features:["Romantic bonfire atmosphere","Evening steam over the pool","Quiet evening music"]},{title:"THERMAL DAY",time:"All Day (Cool weather)",desc:"A deep warming and restoration scenario. The cool outdoor air makes the warm pool water and wood-fired saunas incredibly inviting.",features:["Enhanced sauna heating","Outdoor hot tubs","Pine and Siberian herb aromas"]}],spaEyebrow:"PRIVATE SPA RITUALS",spaTitle:"Private Spa Rituals",spaSub:"The hidden luxury layer of our ecosystem. We have rejected standard mass-market massage menus in favor of bespoke restorative rituals.",spaItems:[{title:"Restoration Ritual",desc:"A deep physical reset combining gentle heating, soft skin purification, and a personalized massage technique.",duration:"90 minutes",tag:"Bespoke Care"},{title:"Private Wellness Suite",desc:"A completely secluded relaxation space for your company or c
55ouple, featuring a personal sauna, lounge zone, and dedicated service.",duration:"from 3 hours",tag:"Ultimate Privacy"},{title:"Ritual for Two",desc:"A shared restoration ritual designed for mutual deceleration. Soft candlelight, soothing treatments, and a tea ceremony.",duration:"120 minutes",tag:"For Couples"}],banyaEyebrow:"THERMAL & BANYA RITUALS",banyaTitle:"Thermal & Banya Rituals",banyaSub:"Our wood-fired Russian saunas and thermal zones are not public facilities, but a sacred part of our culture of slow living and gentle purification.",banyaCta:"More about the banya",banyaItems:[{title:"Thermal rituals",desc:"Contrast therapies in outdoor hot tubs and steaming sessions surrounded by a silver birch forest."},{title:"Evening steam rituals",desc:"Evening soft collective steam sessions with aromas of Altai herbs, birch tar, and natural honey."},{title:"Sauna ceremonies",desc:"Bespoke sauna ceremonies guided by master steam practitioners with customized temperatures and aromas."}],movementEyebrow:"MOVEMENT & RECOVERY",movementTitle:"Movement & Recovery",movementSub:"A space of mindful movement and physical recovery. No fitness hustle, loud music, or athletic competition — only gentle care for your body.",movementItems:[{title:"Movement studio",desc:"A secluded studio for soft functional training, pilates, and gentle spinal decompression."},{title:"Recovery space",desc:"A dedicated zone for muscle recovery following physical activity, utilizing modern relaxation technologies."},{title:"Stretching & mobility",desc:"Sessions aimed at improving joint flexibility, releasing muscle tension, and restoring ease of movement."},{title:"Yoga mornings",desc:"Morning Hatha yoga and meditation practices on the open terrace by the water under the rising sun."}],philosophyEyebrow:"Space features",philosophyTitle:"Philosophy of Solitude",philosophySub:"Quiet luxury, breathing space, and the culture of deceleration.",values:[{title:"Limited Guest Capacity",text:"We strictly limit access to the territory to maintain the intimate atmosphere of a private club."},{title:"Countryside Escape",text:"No loud animation, intrusive music, or fitness haste. Only the natural sounds of nature and absolute peace."},{title:"Culture of Deceleration",text:"Every single detail — from the softness of the robes to the water temperature — is designed for your slowing down."}],connectionTitle:"Extend Your Retreat",connectionDesc:"Art Wellness is seamlessly integrated into the wider Art Village countryside ecosystem. Extend your state of peace: stay for the weekend in the hotel's secluded designer villas or conclude your day with an author's dinner at the resort restaurants.",connectionStay:"Book a stay",connectionDine:"Reserve a restaurant table",rulesTitle:"Rules of secluded rest",rulesDesc:"We have deliberately rejected the mass-market format, fitness jargon, and noisy activities. Art Wellness is a quiet island of calm for countryside rest, where the personal boundaries of every guest are valued.",rulesCta:"Contact us"}},RA=[{mode:"morning",labelKey:"morningLabel",Icon:og},{mode:"sunny_day",labelKey:"sunnyLabel",Icon:ug},{mode:"rainy_thermal",labelKey:"rainyLabel",Icon:rg},{mode:"evening",labelKey:"eveningLabel",Icon:cg}],ts=["morning","sunny_day","rainy_thermal","evening"];function TA(l,r){if(!r.length||r.includes(l))return l;const o=ts.indexOf(l),c=r.slice().sort((f,x)=>ts.indexOf(f)-ts.indexOf(x)),d=c.filter(f=>ts.indexOf(f)<=o);return d.length?d[d.length-1]:c[0]}function DA(l,r,o){if(!l||typeof l!="object")return{};const c=r==="RU"?"Ru":"En",d=(j,E)=>j?j[E+c]:void 0,f={};d(l,"heroTagline")&&(f.heroTagline=d(l,"heroTagline"));const x=Array.isArray(l.scenarios)?l.scenarios:[];if(x.length){const j=_=>Object.fromEntries(x.map(U=>[U.mode,d(U,_)]));f.heroTitle={...o?.heroTitle,...j("heroTitle")},f.heroSubtitle={...o?.heroSubtitle,...j("heroSubtitle")},f.activeScenario={...o?.activeScenario,...j("scenarioShort")},f.todayBadges={...o?.todayBadges,...Object.fromEntries(x.map(_=>[_.mode,(Array.isArray(_.badges)?_.badges:[]).map(U=>d(U,"text"))]))};const E={morning:"todayMorning",sunny_day:"todaySunny",rainy_thermal:"todayRainy",evening:"todayEvening"},N={morning:"todayMorningDesc",sunny_day:"todaySunnyDesc",rainy_thermal:"todayRainyDesc",evening:"todayEveningDesc"};for(const _ of x)E[_.mode]&&(f[E[_.mode]]=d(_,"todayTitle")),N[_.mode]&&(f[N[_.mode]]=d(_,"todayDesc"))}const g=Array.isArray(l.heroBadges)?l.heroBadges:[],v=["Resort","Format","Access","Emotion"];g.forEach((j,E)=>{v[E]&&(f["badge"+v[E]]=d(j,"label"),f["badge"+v[E]+"Val"]=d(j,"value"))});const h=(j,E,N,_)=>{j&&(d(j,"eyebrow")&&(f[E]=d(j,"eyebrow")),d(j,"title")&&(f[N]=d(j,"title")),_&&d(j,"subtitle")&&(f[_]=d(j,"subtitle")))};h(l.dayRetreatSection,"dayRetreatEyebrow","dayRetreatTitle","dayRetreatSub"),h(l.spaSection,"spaEyebrow","spaTitle","spaSub"),h(l.banyaSection,"banyaEyebrow","banyaTitle","banyaSub"),h(l.movementSection,"movementEyebrow","movementTitle","movementSub"),h(l.philosophySection,"philosophyEyebrow","philosophyTitle","philosophySub"),d(l,"banyaCtaLabel")&&(f.banyaCta=d(l,"banyaCtaLabel"));const A=j=>Array.isArray(l[j])?l[j]:[];A("dayRetreatItems").length&&(f.dayRetreatItems=A("dayRetreatItems").map(j=>({title:d(j,"title"),time:j.time,desc:d(j,"desc"),features:(Array.isArray(j.features)?j.features:[]).map(E=>d(E,"text"))}))),A("banyaItems").length&&(f.banyaItems=A("banyaItems").map(j=>({title:d(j,"title"),desc:d(j,"desc")}))),A("movementItems").length&&(f.movementItems=A("movementItems").map(j=>({title:d(j,"title"),desc:d(j,"desc")}))),A("values").length&&(f.values=A("values").map(j=>({title:d(j,"title"),text:d(j,"text")}))),l.connectionSection&&d(l.connectionSection,"title")&&(f.connectionTitle=d(l.connectionSection,"title")),d(l,"connectionDesc")&&(f.connectionDesc=d(l,"connectionDesc")),d(l,"connectionStayLabel")&&(f.connectionStay=d(l,"connectionStayLabel")),d(l,"connectionDineLabel")&&(f.connectionDine=d(l,"connectionDineLabel")),l.rulesSection&&d(l.rulesSection,"title")&&(f.rulesTitle=d(l.rulesSection,"title")),d(l,"rulesDesc")&&(f.rulesDesc=d(l,"rulesDesc")),d(l,"rulesCtaLabel")&&(f.rulesCta=d(l,"rulesCtaLabel"));const p=l.ui;if(p&&typeof p=="object"){const j={bookNow:"ctaPrimary",exploreScenarios:"ctaSecondary",liveTitle:"liveTitle",liveWaterTemp:"liveWater",liveSunset:"liveSunset",liveSauna:"liveSauna",liveSpots:"liveSpots",liveActiveScenario:"liveScenario",todayTitle:"todayHeading",previewTitle:"previewTitle",previewHint:"previewHint",morningLabel:"modeMorning",sunnyLabel:"modeSunny",rainyLabel:"modeRainy",eveningLabel:"modeEvening",autoMode:"autoMode",autoActive:"autoActive",accessLabel:"accessLabel",spotsLabel:"spotsLabel",spotsUnit:"spotsUnit",chooseScenario:"chooseScenario",mindfulMovement:"movementTag"};for(const[E,N]of Object.entries(j)){const _=d(p,N);_&&(f[E]=_)}}for(const j of Object.keys(f))f[j]===void 0&&delete f[j];return f}function zA(){const{openChat:l}=Rt(),{lang:r}=Fe(),o=is({waterTemperature:"+30 °C",scenarioOverride:"auto",availableSpots:Zp}),c=Ng({});rt(c?.seo,{metaTitle:"Wellness · День мечты — Art Village",metaDescription:"Дневной отдых у воды без проживания: бассейны, баня на дровах, термальная зона и Nature SPA. Только по предварительной брони."});const d=o.scenarioOverride&&o.scenarioOverride!=="auto"?o.scenarioOverride:null,[f,x]=w.useState(null),{mode:g,isAuto:v}=NA(f??d),h=w.useMemo(()=>{const re=(Array.isArray(c?.scenarios)?c.scenarios:[]).slice().sort((Z,Y)=>(Z?.order??0)-(Y?.order??0)).map(Z=>Z?.mode).filter(Z=>ts.includes(Z)),ue=Array.from(new Set(re));return ue.length?ue:[...ts]},[c]),A=TA(g,h),p=w.useMemo(()=>RA.filter(X=>h.includes(X.mode)),[h]),j=r==="RU"?"RU":"EN",E=w.useMemo(()=>({...Kp[j],...DA(c,j,Kp[j])}),[j,c]),N=o.availableSpots??Zp,_=w.useMemo(()=>kA(ce.lat,ce.lon,ce.timeZone),[]),L=fe((Array.isArray(c?.scenarios)?c.scenarios:[]).find(X=>X.mode===A)?.photo)||(A==="rainy_thermal"?ae.thermal:A==="evening"?ae.evening:A==="morning"?ae.garden:ae.hero),P=(Array.isArray(c?.scenarios)?c.scenarios:[]).find(X=>X.mode===A)?.saunaReadyAt||_A[A],ne=[Op,Z2,Y2,P2];return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-screen pt-20 flex flex-col justify-center overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0 transition-all duration-1000 ease-in-out",children:[s.jsx("img",{src:L,alt:"Art Wellness Day Retreat",className:"w-full h-full object-cover filter brightness-[0.8] saturate-[0.95] transition-all duration-1000 ease-in-out"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-trans
55parent to-black/20"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pt-12 pb-24 flex flex-col justify-between min-h-[calc(100vh-5rem)]",children:[s.jsxs("div",{className:"pt-12",children:[s.jsxs("span",{className:"inline-flex items-center gap-2 text-xs tracking-[0.25em] uppercase text-white/90 font-medium mb-6 drop-shadow-sm",children:[s.jsx("span",{className:"w-2 h-2 rounded-full bg-white animate-pulse"}),E.heroTagline]}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl lg:text-8xl text-white tracking-tight leading-[0.95] mb-8 max-w-4xl font-light drop-shadow-md transition-all duration-500",children:E.heroTitle[A]}),s.jsx("p",{className:"text-base md:text-lg text-white/95 font-light max-w-xl leading-relaxed mb-10 drop-shadow-sm min-h-[80px]",children:E.heroSubtitle[A]}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsx(Ae,{href:Yu,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-6 transition-all duration-300 shadow-lg",children:E.bookNow}),s.jsxs("a",{href:"#day-retreat",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase text-white hover:text-white/80 transition-colors px-8 py-4 border border-white/30 backdrop-blur-sm",children:[E.exploreScenarios,s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]}),s.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 pt-12 border-t border-white/20 mt-12",children:[s.jsxs("div",{className:"text-white",children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase opacity-60 block mb-1",children:E.badgeResort}),s.jsxs("span",{className:"text-xs tracking-wider font-medium flex items-center gap-1",children:[s.jsx(qr,{className:"w-3 h-3"})," ",E.badgeResortVal]})]}),s.jsxs("div",{className:"text-white",children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase opacity-60 block mb-1",children:E.badgeFormat}),s.jsx("span",{className:"text-xs tracking-wider font-medium block",children:E.badgeFormatVal})]}),s.jsxs("div",{className:"text-white",children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase opacity-60 block mb-1",children:E.badgeAccess}),s.jsx("span",{className:"text-xs tracking-wider font-medium block",children:E.badgeAccessVal})]}),s.jsxs("div",{className:"text-white",children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase opacity-60 block mb-1",children:E.badgeEmotion}),s.jsx("span",{className:"text-xs tracking-wider font-medium block",children:E.badgeEmotionVal})]})]})]})]}),s.jsx("section",{className:"bg-white py-12 border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-[10px] tracking-[0.2em] uppercase font-semibold text-[#2C2A29]/60 block mb-6 text-center",children:E.liveTitle}),s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-5 gap-6",children:[s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-6 flex flex-col justify-between min-h-[120px] transition-all hover:border-[#1C1A19]",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2 text-[#2C2A29]/60",children:[s.jsx("span",{className:"text-xs tracking-wider font-light",children:E.liveWaterTemp}),s.jsx($2,{className:"w-4 h-4 text-sky-600"})]}),s.jsx("span",{className:"text-3xl font-serif font-light text-[#1C1A19]",children:o.waterTemperature})]}),s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-6 flex flex-col justify-between min-h-[120px] transition-all hover:border-[#1C1A19]",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2 text-[#2C2A29]/60",children:[s.jsx("span",{className:"text-xs tracking-wider font-light",children:E.liveSunset}),s.jsx(Op,{className:"w-4 h-4 text-[#1C1A19]"})]}),s.jsx("span",{className:"text-3xl font-serif font-light text-[#1C1A19]",children:_})]}),s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-6 flex flex-col justify-between min-h-[120px] transition-all hover:border-[#1C1A19]",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2 text-[#2C2A29]/60",children:[s.jsx("span",{className:"text-xs tracking-wider font-light",children:E.liveSauna}),s.jsx(Q2,{className:"w-4 h-4 text-red-600 animate-pulse"})]}),s.jsx("span",{className:"text-3xl font-serif font-light text-[#1C1A19]",children:P})]}
55),s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-6 flex flex-col justify-between min-h-[120px] transition-all hover:border-[#1C1A19]",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2 text-[#2C2A29]/60",children:[s.jsx("span",{className:"text-xs tracking-wider font-light",children:E.liveSpots}),s.jsx(dg,{className:"w-4 h-4 text-emerald-600"})]}),s.jsx("span",{className:"text-3xl font-serif font-light text-red-600 animate-pulse",children:N})]}),s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-6 col-span-2 lg:col-span-1 flex flex-col justify-between min-h-[120px] transition-all hover:border-[#1C1A19]",children:[s.jsxs("div",{className:"flex items-center justify-between mb-2 text-[#2C2A29]/60",children:[s.jsx("span",{className:"text-xs tracking-wider font-light",children:E.liveActiveScenario}),s.jsx(W2,{className:"w-4 h-4 text-[#1C1A19] animate-spin-slow"})]}),s.jsx("span",{className:"text-sm font-serif font-semibold text-[#1C1A19] uppercase tracking-wider",children:E.activeScenario[A]})]})]})]})}),s.jsx("section",{className:"bg-[#FAF9F5] py-16 border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsxs("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] p-8 md:p-12 relative overflow-hidden shadow-sm",children:[s.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-[#E6E2DA]/20 rounded-full filter blur-3xl -z-10"}),s.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center justify-between gap-8",children:[s.jsxs("div",{className:"max-w-2xl",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[s.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-600 animate-pulse"}),s.jsx("span",{className:"text-xs tracking-[0.2em] uppercase font-semibold text-[#2C2A29]/70",children:E.todayTitle})]}),A==="morning"&&s.jsxs("div",{children:[s.jsxs("h3",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4 flex items-center gap-3",children:[s.jsx(og,{className:"w-8 h-8 text-[#1C1A19]"}),E.todayMorning]}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-6",children:E.todayMorningDesc}),s.jsx("div",{className:"flex flex-wrap gap-2",children:E.todayBadges.morning.map(X=>s.jsx(ri,{variant:"secondary",className:"bg-[#E6E2DA]/40 text-[#2C2A29] hover:bg-[#E6E2DA]/40 font-normal px-3 py-1 text-xs",children:X},X))})]}),A==="sunny_day"&&s.jsxs("div",{children:[s.jsxs("h3",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4 flex items-center gap-3",children:[s.jsx(ug,{className:"w-8 h-8 text-[#1C1A19] animate-spin-slow"}),E.todaySunny]}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-6",children:E.todaySunnyDesc}),s.jsx("div",{className:"flex flex-wrap gap-2",children:E.todayBadges.sunny_day.map(X=>s.jsx(ri,{variant:"secondary",className:"bg-[#E6E2DA]/40 text-[#2C2A29] hover:bg-[#E6E2DA]/40 font-normal px-3 py-1 text-xs",children:X},X))})]}),A==="rainy_thermal"&&s.jsxs("div",{children:[s.jsxs("h3",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4 flex items-center gap-3",children:[s.jsx(rg,{className:"w-8 h-8 text-blue-400 animate-bounce-slow"}),E.todayRainy]}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-6",children:E.todayRainyDesc}),s.jsx("div",{className:"flex flex-wrap gap-2",children:E.todayBadges.rainy_thermal.map(X=>s.jsx(ri,{variant:"secondary",className:"bg-[#E6E2DA]/40 text-[#2C2A29] hover:bg-[#E6E2DA]/40 font-normal px-3 py-1 text-xs",children:X},X))})]}),A==="evening"&&s.jsxs("div",{children:[s.jsxs("h3",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4 flex items-center gap-3",children:[s.jsx(cg,{className:"w-8 h-8 text-indigo-900"}),E.todayEvening]}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-6",children:E.todayEveningDesc}),s.jsx("div",{className:"flex flex-wrap gap-2",children:E.todayBadges.evening.map(X=>s.jsx(ri,{variant:"secondary",className:"bg-indigo-100 text-indigo-900 hover:bg-indigo-100 font-normal px-3 py-1 text-xs",children:X},X))})]})]}),s.jsxs("div",{className:"flex flex-col gap-6 min-w-[260px] border-l border-[#
55E6E2DA] pl-0 lg:pl-8 pt-6 lg:pt-0",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/60 block mb-1 font-semibold",children:E.previewTitle}),s.jsx("span",{className:"text-[10px] text-[#2C2A29]/45 font-light leading-snug block mb-2",children:E.previewHint}),s.jsx("div",{className:"flex flex-col gap-2",children:p.map(({mode:X,labelKey:re,Icon:ue})=>s.jsxs("button",{onClick:()=>x(X),className:`text-xs text-left px-4 py-2.5 transition-all flex items-center justify-between ${!v&&A===X?"bg-[#1C1A19] text-white font-medium":"bg-white/50 hover:bg-[#E6E2DA]/30"}`,children:[s.jsx("span",{children:E[re]}),s.jsx(ue,{className:"w-3.5 h-3.5"})]},X))}),v?s.jsxs("span",{className:"text-[9px] tracking-widest uppercase text-emerald-600/80 font-semibold mt-2 block",children:["● ",E.autoActive]}):s.jsxs("button",{onClick:()=>x(null),className:"text-[9px] tracking-widest uppercase text-emerald-600 font-bold mt-2 hover:opacity-80 block",children:["🔄 ",E.autoMode]})]}),s.jsxs("div",{className:"bg-white p-4 border border-[#E6E2DA] flex items-center justify-between shadow-sm",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-[9px] tracking-widest uppercase text-red-600 font-bold block mb-1",children:E.accessLabel}),s.jsx("span",{className:"text-xs font-light text-[#2C2A29]/80 block",children:E.spotsLabel})]}),s.jsxs("div",{className:"text-right",children:[s.jsx("span",{className:"text-2xl font-serif font-bold text-red-600 block animate-pulse",children:N}),s.jsx("span",{className:"text-[10px] text-[#2C2A29]/60",children:E.spotsUnit})]})]})]})]})]})})}),s.jsx("section",{id:"day-retreat",className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-20",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:E.dayRetreatEyebrow}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:E.dayRetreatTitle}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/70 font-light leading-relaxed",children:E.dayRetreatSub})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:E.dayRetreatItems.map((X,re)=>{const ue=X.title.includes("ВЕЧЕР")||X.title.includes("EVENING");return s.jsxs("div",{className:`border border-[#E6E2DA] p-8 md:p-12 hover:border-[#1C1A19] transition-all duration-500 flex flex-col justify-between min-h-[340px] ${ue?"bg-indigo-950/5 border-indigo-200/50":"bg-[#FAF9F5]/30"}`,children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center justify-between mb-4 border-b border-[#E6E2DA]/50 pb-4",children:[s.jsx("h3",{className:"font-serif text-xl text-[#1C1A19] tracking-wider uppercase font-medium",children:X.title}),s.jsx(ri,{variant:"outline",className:"border-[#1C1A19]/30 text-[#1C1A19] rounded-none font-mono text-xs px-2.5 py-1",children:X.time})]}),s.jsx("p",{className:"text-xs md:text-sm text-[#2C2A29]/80 font-light leading-relaxed mb-6",children:X.desc})]}),s.jsxs("div",{children:[s.jsx("div",{className:"space-y-2 mb-6",children:X.features.map(Z=>s.jsxs("div",{className:"flex items-center gap-2 text-xs text-[#2C2A29]/80 font-light",children:[s.jsx("span",{className:"w-1 h-1 rounded-full bg-[#2C2A29]/60"}),s.jsx("span",{children:Z})]},Z))}),s.jsx(Ae,{href:Yu,className:"w-full inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] py-5 transition-all duration-300",children:E.chooseScenario})]})]},re)})})]})}),s.jsx(vA,{}),s.jsxs("section",{id:"thermal-rituals",className:"relative py-32 bg-[#1C1A19] text-[#FAF9F5] overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:fe(c?.banyaPhoto)||ae.banya,alt:"Thermal & Banya Rituals",className:"w-full h-full object-cover filter brightness-[0.45] saturate-[0.85]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1C1A19] via-[#1C1A19]/80 to-transparent"})]}),s.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6",children:s.jsxs("div",{className:"max-w-2xl",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5] font-semibold block mb-4",children:E.banyaEyebrow}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-white tracking-tight mb-6 uppercase",children:E.banyaTitle}),s.jsx("p",{className:"text-sm md:text-base text-white/80 font-light leading-relaxed mb-12",children:E.banyaSub}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mb-12 border-t border-white/20 pt-12",children:E.banyaItems.map((X,re)=>s.jsxs("div",{className:"space-y-2",children:[s.jsx("span",{className:"text-xs font-mono text-[#FAF9F5] font-semibold uppercase block",children:X.title}),s.jsx("p",{className:"text-xs text-white/70 font-light leading-relaxed",children:X.desc})]},re))}),s.jsx(Ae,{href:"/banya",className:"inline-flex items-center text-xs tracking-widest uppercase bg-white hover:bg-[#
55E6E2DA] text-[#1C1A19] px-8 py-5 transition-all duration-300",children:E.banyaCta})]})})]}),s.jsx("section",{id:"movement-recovery",className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 items-center mb-20",children:[s.jsxs("div",{className:"lg:col-span-5",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:E.movementEyebrow}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight leading-tight uppercase",children:E.movementTitle})]}),s.jsx("div",{className:"lg:col-span-7",children:s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/70 font-light leading-relaxed",children:E.movementSub})})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:E.movementItems.map((X,re)=>{const ue=ne[re];return s.jsxs("div",{className:"border border-[#E6E2DA] p-8 bg-[#FAF9F5]/30 hover:border-[#1C1A19] hover:shadow-md transition-all duration-500 flex flex-col justify-between min-h-[240px]",children:[s.jsxs("div",{children:[s.jsx("div",{className:"mb-4",children:s.jsx(ue,{className:"w-5 h-5 text-[#2C2A29]/70"})}),s.jsx("h3",{className:"font-serif text-lg text-[#1C1A19] tracking-wider uppercase mb-3",children:X.title}),(()=>{const[Z,Y]=String(X.desc).split("||");return s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-xs text-[#2C2A29]/70 font-light leading-relaxed",children:Z.trim()}),Y&&s.jsxs("p",{className:"mt-3 inline-flex items-start gap-1.5 text-xs font-medium leading-relaxed text-amber-700",children:[s.jsx(Lp,{className:"w-3.5 h-3.5 shrink-0 mt-[1px]"}),s.jsx("span",{children:Y.trim()})]})]})})()]}),s.jsx("div",{className:"mt-4 pt-4 border-t border-[#E6E2DA] text-[9px] tracking-widest uppercase text-[#2C2A29]/50",children:E.mindfulMovement})]},re)})})]})}),s.jsx("section",{id:"philosophy",className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-20",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:E.philosophyEyebrow}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:E.philosophyTitle}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/70 font-light",children:E.philosophySub})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12",children:E.values.map((X,re)=>s.jsxs("div",{className:"border-t border-[#E6E2DA] pt-8",children:[s.jsxs("span",{className:"font-mono text-xs text-[#2C2A29]/50 block mb-4",children:["0",re+1," /"]}),s.jsx("h3",{className:"font-serif text-xl text-[#1C1A19] tracking-wider uppercase mb-4",children:X.title}),s.jsx("p",{className:"text-xs md:text-sm text-[#2C2A29]/80 font-light leading-relaxed",children:X.text})]},re))})]})}),s.jsx("section",{id:"ecosystem",className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 text-center",children:[s.jsx(q2,{className:"w-8 h-8 text-[#2C2A29]/50 mx-auto mb-6"}),s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:E.connectionTitle}),s.jsx("p",{className:"text-xs md:text-sm text-[#2C2A29]/80 font-light leading-relaxed mb-8 max-w-2xl mx-auto",children:E.connectionDesc}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx(Ae,{href:Yr,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-all duration-300",children:E.connectionStay}),s.jsx(Iu,{onClick:l,variant:"outline",className:"text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white rounded-none px-8 py-5 transition-all duration-300",children:E.connectionDine})]})]})}),s.jsx("section",{className:"bg-[#FAF9F5] py-16",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx(Lp,{className:"w-8 h-8 text-[#2C2A29]/50 mx-auto mb-4"}),s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight mb-4",children:E.rulesTitle}),s.jsx("p",{className:"text-xs md:text-sm text-[#2C2A29]/80 font-light leading-relaxed mb-6 max-w-xl mx-auto",children:E.rulesDesc}),s.jsx("button",{onClick:l,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-all duration-300 cursor-pointer",children:E.rulesCta})]})})]})}function ad({images:l,eyebrowRu:r,eyebrowEn:o,titleRu:c,titleEn:d,dark:f=!1}){const{lang:x}=Fe(),[g,v]=w.useState(null),h=l.length,A=w.useCallback(()=>v(null),[]),p=w.useCallback(()=>v(E=>E===null?E:(E-1+h)%h),[h]),j=w.useCallback(()=>v(E=>E===null?E:(E+1)%h),[h]);return w.useEffect(()=>{if(g===null)return;const E=_=>{_.key==="Escape"?A():_.key==="ArrowLeft"?p():_.key==="ArrowRight"&&j()};document.addEventListener("keydown",E);const N=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",E),document.body.style.overflow=N}},[g,A,p,j]),s.jsxs("section",{className:f?"py-24 bg-[#1C1A19] text-[#FAF9F5]":"py-24 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/40",children:[s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:`text-xs tracking-[0.3em] uppercase block mb-4 ${f?"text-[#FAF9F5]/55":"text-[#2C2A29]/55"}`,children:y(x,r,o)}),s.jsx("h2",{className:`font-serif text-4xl md:text-5xl tracking-tight mb-12 ${f?"text-white":"text-[#1C1A19]"}`,children:y(x,c,d)}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 auto-rows-[160px] md:auto-rows-[210px] gap-3",children:l.map((E,N)=>s.jsxs("button",{onClick:()=>v(N),className:`group relative overflow-hidden border cursor-pointer ${f?"border-white/10":"border-[#E6E2DA]"} ${N===0?"col-span-2 row-span-2":""}`,"aria-label":y(x,`Открыть фото ${N+1}`,`Open photo ${N+1}`),children:[s.jsx("img",{src:E,alt:"",loading:"lazy",className:"absolute inset-0 w-full h-full object-cover group-hover:scale-[1.05] transition-transform duration-700"}),s.jsx("span",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors"})]},N))})]}),g!==null&&s.jsxs("div",{className:"fixed inset-0 z-[70] bg-black/90 flex flex-col",onClick:A,children:[s.jsx("div",{className:"flex items-center justify-end px-6 py-4 shrink-0",onClick:E=>E.stopPropagation(),children:s.jsx("button",{onClick:A,className:"p-2 text-white hover:opacity-70 cursor-pointer","aria-label":y(x,"Закрыть","Close"),children:s.jsx(kn,{className:"w-6 h-6"})})}),s.jsxs("div",{className:"flex-1 flex items-center justify-center px-4 md:px-16 relative min-h-0",onClick:E=>E.stopPropagation(),children:[h>1&&s.jsx("button",{onClick:p,className:"absolute top-1/2 -translate-y-1/2 left-3 md:left-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 backdrop-blur-sm transition-colors cursor-pointer","aria-label":y(x,"Предыдущее","Previous"),children:s.jsx(mi,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})}),s.jsx("img",{src:l[g],alt:"",className:"max-h-[80vh] max-w-full object-contain"}),h>1&&s.jsx("button",{onClick:j,className:"absolute top-1/2 -translate-y-1/2 right-3 md:right-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 backdrop-blur-sm transition-colors cursor-pointer","aria-label":y(x,"Следующее","Next"),children:s.jsx(Ke,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})})]}),s.jsxs("div",{className:"flex items-center justify-center py-5 shrink-0 text-white/60 text-xs tracking-widest font-mono",onClick:E=>E.stopPropagation(),children:[g+1," / ",h]})]})]})}function MA(){const{lang:l}=Fe(),{openChat:r}=Rt(),o=Nw({});rt(o.seo,{metaTitle:"Баня на дровах в Art Village — русская парная и термальная зона в 12 км от МКАД",metaDescription:"Настоящая русская баня на берёзовых дровах в загородном курорте Art Village: термальная зона, горячие купели, банные церемонии и вечернее парение. По предварительной записи, в 12 км от Москвы.",keywords:"баня на дровах Подмосковье, русская баня рядом с Москвой, термальная зона, банные церемонии, парение, бочки фурако, спа-отель с баней"});const c=fe(o.heroPhoto)||o.heroPhotoUrl||ae.banya,d=fe(o.philosophyPhoto)||o.philosophyPhotoUrl||"",f=Array.isArray(o.formats)?o.formats:[],x=Array.isArray(o.ritual)?o.ritual:[],g=Array.isArray(o.values)?o.values:[],v=(Array.isArray(o.gallery)?o.gallery:[]).map(fe).filter(Boolean),h=String(o.philosophyTextRu?y(l,o.philosophyTextRu,o.philosophyTextEn||o.philosophyTextRu):"").split(/\n\s*\n/).map(A=>A.trim()).filter(Boolean);return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[82vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:c,alt:"",className:"w-full h-full object-cover brightness-[0.5] saturate-[0.9]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1C1A19] via-[#1C1A19]/30 to-[#1C1A19]/40"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-20",children:[s.jsx("span",{className:"text-xs tracking-[0.32em] uppercase text-white/70 block mb-5",children:y(l,o.heroEyebrowRu,o.heroEyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight leading-[0.98] mb-6 max-w-3xl drop-shadow-md",children:y(l,o.heroTitleRu,o.heroTitleEn)}),s.jsx("p",{className:"text-sm md:text-base text-white/85 font-light leading-relaxed max-w-xl mb-9 drop-shadow",children:y(l,o.heroSubtitleRu,o.heroSubtitleEn)}),s.jsx("div",{className:"flex flex-col sm:flex-row gap-4",children:s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#
55E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Забронировать банный ритуал","Book a banya ritual")})})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:y(l,"Философия","Philosophy")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:y(l,o.philosophyTitleRu,o.philosophyTitleEn)}),h.map((A,p)=>s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-4 last:mb-0",children:A},p))]}),d&&s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA]",children:s.jsx("img",{src:d,alt:"",className:"w-full h-[300px] md:h-[420px] object-cover",loading:"lazy"})})]})}),f.length>0&&s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:y(l,"Форматы","Formats")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-12",children:y(l,o.formatsTitleRu,o.formatsTitleEn)}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:f.map((A,p)=>s.jsxs("div",{className:"grid grid-cols-[130px_1fr] md:grid-cols-[160px_1fr] gap-5 md:gap-7 items-start",children:[fe(A.photo)&&s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA]",children:s.jsx("img",{src:fe(A.photo),alt:"",loading:"lazy",className:"w-full h-[150px] md:h-[190px] object-cover hover:scale-[1.04] transition-transform duration-700"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight mb-2",children:y(l,A.titleRu,A.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed",children:y(l,A.descRu,A.descEn)})]})]},p))})]})}),x.length>0&&s.jsx("section",{id:"ritual",className:"py-28 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5]/55 block mb-4",children:y(l,"Как проходит","How it goes")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-white tracking-tight mb-14",children:y(l,o.ritualTitleRu,o.ritualTitleEn)}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-y-12 gap-x-0",children:x.map((A,p)=>s.jsxs("div",{className:"lg:px-7 lg:first:pl-0 lg:border-l lg:border-white/15 lg:first:border-l-0",children:[s.jsx("span",{className:"font-serif text-4xl text-white/35 leading-none",children:String(p+1).padStart(2,"0")}),s.jsx("h3",{className:"font-serif text-xl md:text-2xl text-white font-light mt-4 mb-2",children:y(l,A.titleRu,A.titleEn)}),s.jsx("p",{className:"text-sm text-[#FAF9F5]/60 font-light leading-relaxed",children:y(l,A.textRu,A.textEn)})]},p))})]})}),v.length>0&&s.jsx(ad,{images:v,eyebrowRu:"Галерея",eyebrowEn:"Gallery",titleRu:o.galleryTitleRu||"Атмосфера бани",titleEn:o.galleryTitleEn||"The banya atmosphere",dark:!0}),g.length>0&&s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-px bg-[#E6E2DA] border border-[#E6E2DA]",children:g.map((A,p)=>s.jsxs("div",{className:"bg-[#FAF9F5] p-9",children:[s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight mb-3",children:y(l,A.titleRu,A.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed",children:y(l,A.textRu,A.textEn)})]},p))})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:y(l,"Бронирование","Booking")}),s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-5",children:y(l,o.ctaTitleRu,o.ctaTitleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,o.ctaTextRu,o.ctaTextEn)}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Связаться","Contact us")}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase text-[#2C2A29]/70 hover:text-[#1C1A19] px-6 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]})})]})}function OA(){const{lang:l}=Fe(),{openChat:r}=Rt(),[o,c]=w.useState(0),d=Sw({}),{zones:f,price:x}=Eg([],[]);rt(d.seo,{metaTitle:"Nature SPA в Art Village — массаж, уходы и spa-ритуалы в 12 км от МКАД",metaDescription:"Спа-центр Nature SPA в загородном к
55урорте Art Village: массаж, авторские уходы для тела, ритуалы для двоих и Woman only, приватные spa-люкс кабинеты с парной и купелями.",keywords:"спа Подмосковье, spa рядом с Москвой, массаж, спа-ритуал для двоих, уход за телом, спа-отель, nature spa, спа 12 км от МКАД"});const g=fe(d.heroPhoto)||d.heroPhotoUrl||ae.spa,v=(Array.isArray(d.gallery)?d.gallery:[]).map(fe).filter(Boolean),h=x.length?x:[],A=h[o]||h[0],p=d.phone||"+7 495 118-32-24",j="tel:"+p.replace(/[^\d+]/g,"");return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[68vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:g,alt:"",className:"w-full h-full object-cover brightness-[0.62] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/30"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,d.heroEyebrowRu,d.heroEyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl lg:text-8xl text-white font-light tracking-tight drop-shadow-md mb-6",children:y(l,d.heroTitleRu,d.heroTitleEn)}),s.jsx("p",{className:"text-base md:text-lg text-white/95 font-light max-w-xl leading-relaxed drop-shadow",children:y(l,d.heroSubtitleRu,d.heroSubtitleEn)})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-6",children:y(l,"Философия","Philosophy")}),s.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-[#1C1A19] tracking-tight leading-tight mb-8",children:y(l,d.philosophyTitleRu,d.philosophyTitleEn)}),s.jsx("p",{className:"text-base md:text-lg text-[#2C2A29]/80 font-light leading-relaxed",children:y(l,d.philosophyTextRu,d.philosophyTextEn)})]})}),f.length>0&&s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,"Пространства","Spaces")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(l,d.zonesTitleRu,d.zonesTitleEn)})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:f.map((E,N)=>s.jsxs("div",{className:"group relative overflow-hidden border border-[#E6E2DA] aspect-[3/4]",children:[s.jsx("img",{src:E.img,alt:y(l,E.ru,E.en),className:"absolute inset-0 w-full h-full object-cover brightness-[0.72] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/15 to-transparent"}),s.jsxs("div",{className:"relative z-10 h-full flex flex-col justify-end p-6 text-white",children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide",children:y(l,E.ru,E.en)}),E.desc&&s.jsx("p",{className:"text-xs text-white/80 font-light leading-relaxed mt-2",children:y(l,E.desc.ru,E.desc.en)})]})]},N))})]})}),v.length>0&&s.jsx(ad,{images:v,eyebrowRu:"Галерея",eyebrowEn:"Gallery",titleRu:d.galleryTitleRu||"Атмосфера Nature SPA",titleEn:d.galleryTitleEn||"The Nature SPA atmosphere"}),A&&s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,"Каталог услуг","Service menu")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(l,d.priceTitleRu,d.priceTitleEn)})]}),s.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:h.map((E,N)=>s.jsx("button",{onClick:()=>c(N),className:`text-[11px] md:text-xs tracking-widest uppercase px-4 py-2.5 border transition-colors cursor-pointer ${N===o?"bg-[#1C1A19] text-white border-[#1C1A19]":"bg-white border-[#
55E6E2DA] text-[#2C2A29]/70 hover:border-[#1C1A19]"}`,children:y(l,E.cat.ru,E.cat.en)},N))}),s.jsx("div",{className:"bg-[#FAF9F5] border border-[#E6E2DA] divide-y divide-[#E6E2DA]",children:A.items.map((E,N)=>s.jsxs("div",{className:"flex items-baseline justify-between gap-6 px-6 md:px-8 py-5",children:[s.jsxs("div",{className:"min-w-0",children:[s.jsx("div",{className:"font-serif text-lg md:text-xl text-[#1C1A19] leading-snug",children:y(l,E.name.ru,E.name.en)}),E.desc&&s.jsx("div",{className:"text-xs text-[#2C2A29]/55 mt-1 max-w-[52ch]",children:y(l,E.desc.ru,E.desc.en)}),s.jsxs("div",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 mt-1",children:[E.dur," ",y(l,"мин","min")]})]}),s.jsx("div",{className:"font-mono text-sm md:text-base text-[#1C1A19] whitespace-nowrap shrink-0",children:E.price})]},N))}),(d.priceNoteRu||d.priceNoteEn)&&s.jsx("p",{className:"text-center text-[11px] text-[#2C2A29]/50 mt-6",children:y(l,d.priceNoteRu,d.priceNoteEn)})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(l,d.ctaTitleRu,d.ctaTitleEn)}),s.jsxs("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-2 text-sm text-[#2C2A29]/70 font-light mb-8",children:[s.jsxs("a",{href:j,className:"inline-flex items-center gap-2 hover:text-[#1C1A19]",children:[s.jsx(to,{className:"w-4 h-4"})," ",p]}),(d.hoursRu||d.hoursEn)&&s.jsxs("span",{className:"inline-flex items-center gap-2",children:[s.jsx(eo,{className:"w-4 h-4"})," ",y(l,d.hoursRu,d.hoursEn)]})]}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Оставить заявку","Send a request")}),s.jsxs("a",{href:j,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[y(l,"Позвонить в SPA","Call the SPA")," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]})})]})}const Dg=[{key:"all",ru:"Все",en:"All"},{key:"stay",ru:"Сценарии отдыха",en:"Escapes"},{key:"wellness",ru:"Баня и wellness",en:"Banya & wellness"},{key:"food",ru:"Гастрономия",en:"Dining"},{key:"event",ru:"События",en:"Events"}];function Xr(l,r){const o=Dg.find(c=>c.key===l);return o?r==="RU"?o.ru:o.en:l}function Xu(l,r){return new Date(l).toLocaleDateString(r==="RU"?"ru-RU":"en-US",{day:"numeric",month:"long",year:"numeric"})}const LA=[];function BA(l){const r=fe(l.cover)||l.coverUrl||"";return{slug:String(l.slug||""),rubric:l.rubric||"stay",titleRu:String(l.titleRu||""),titleEn:String(l.titleEn||l.titleRu||""),excerptRu:String(l.excerptRu||""),excerptEn:String(l.excerptEn||l.excerptRu||""),bodyRu:String(l.bodyRu||""),bodyEn:l.bodyEn||void 0,cover:r,date:String(l.date||""),readingMin:Number(l.readingMin)||4,featured:!!l.featured}}const UA="".replace(/\/$/,"");function HA(l,r){return(r.date||"").localeCompare(l.date||"")}function nd(){const[l,r]=w.useState(LA);return w.useEffect(()=>{let o=!0;return fetch(`${UA}/api/posts?populate[cover]=true&pagination[pageSize]=100`).then(c=>c.json()).then(c=>{const d=Array.isArray(c?.data)?c.data:[];o&&d.length&&r(d.map(BA).filter(f=>f.slug).sort(HA))}).catch(()=>{}),()=>{o=!1}},[]),l}function FA(l){return{post:nd().find(c=>c.slug===l)||null,ready:!0}}function VA(){const{lang:l}=Fe(),r=nd(),[o,c]=w.useState("all");rt(void 0,{metaTitle:"Журнал Art Village — сценарии загородного отдыха, баня, wellness и гастрономия",metaDescription:"Дневник курорта Art Village: статьи о загородном отдыхе в 12 км от Москвы, банной культуре, Nature SPA, ресторанах и событиях. Истории, которые помогают спланировать визит.",keywords:"блог о загородном отдыхе, баня, wellness, спа, гастрономия, Подмосковье, Art Village"});const d=w.useMemo(()=>o==="all"?r:r.filter(g=>g.rubric===o),[r,o]),f=w.useMemo(()=>r.find(g=>g.featured)||r[0],[r]),x=o==="all"&&f?d.filter(g=>g.slug!==f.slug):d;return s.jsxs("div",{children:[s.jsx("section",{className:"pt-32 pb-10 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:y(l,"Журнал","Journal")}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-[#1C1A19] font-light tracking-tight mb-6 max-w-[16ch]",children:y(l,"Дневник курорта","Resort journal")}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed max-w-2xl",children:y(l,"Сценарии загородного отдыха, банная культура, гастрономия и жизнь Art Village — истории, которые помогают спланировать визит и замедлиться ещё до приезда.","Countryside escapes, banya culture, dining and the life of Art Village — stories that help you plan a visit and slow down before you arrive.")}),s.jsx("div",{className:"flex flex-wrap gap-2 mt-8",children:Dg.map(g=>s.jsx("button",{onClick:()=>c(g.key),className:`text-[11px] tracking-widest uppercase px-4 py-2 rounded-full border transition-colors cursor-pointer ${o===g.key?"bg-[#1C1A19] text-[#FAF9F5] border-[#1C1A19]":"border-[#E6E2DA] text-[#2C2A29]/60 hover:border-[#1C1A19] hover:text-[#1C1A19]"}`,children:y(l,g.ru,g.en)},g.key))})]})}),s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[o==="all"&&f&&s.jsxs(Ae,{href:`/blog/${f.slug}`,className:"group grid grid-cols-1 lg:grid-cols-[1.15fr_1fr] gap-8 lg:gap-12 items-center py-16 border-b border-[#E6E2DA]/50",children:[s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA] aspect-[16/11]",children:s.jsx("img",{src:f.cover,alt:"",className:"w-full h-full object-cover group-hover:scale-[1.03] transition-transform duration-700"})}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#2C2A29]/50 font-semibold",children:Xr(f.rubric,l)}),s.jsx("span",{className:"w-1 h-1 rounded-full bg-[#B8B0A4]"}),s.jsx("span",{className:"text-[11px] text-[#2C2A29]/50",children:Xu(f.date,l)})]}),s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight leading-[1.05] mb-4 group-hover:opacity-70 transition-opacity",children:y(l,f.titleRu,f.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-6 max-w-xl",children:y(l,f.excerptRu,f.excerptEn)}),s.jsx("span",{className:"text-[11px] tracking-widest uppercase font-medium text-[#1C1A19] border-b border-[#1C1A19] pb-1",children:y(l,"Читать статью","Read the story")})]})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-12 py-16",children:x.map(g=>s.jsxs(Ae,{href:`/blog/${g.slug}`,className:"group flex flex-col",children:[s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA] aspect-[4/3] mb-5",children:s.jsx("img",{src:g.cover,alt:"",loading:"lazy",className:"w-full h-full object-cover group-hover:scale-[1.04] transition-transform duration-700"})}),s.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[s.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#2C2A29]/50 font-semibold",children:Xr(g.rubric,l)}),s.jsx("span",{className:"w-1 h-1 rounded-full bg-[#B8B0A4]"}),s.jsx("span",{className:"text-[11px] text-[#2C2A29]/50",children:Xu(g.date,l)})]}),s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight leading-[1.12] mb-2.5 group-hover:opacity-65 transition-opacity",children:y(l,g.titleRu,g.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed",children:y(l,g.excerptRu,g.excerptEn)})]},g.slug))}),x.length===0&&s.jsx("p",{className:"py-24 text-center text-sm text-[#2C2A29]/50",children:y(l,"В этой рубрике пока нет статей.","No stories in this section yet.")})]})]})}function qA(l){return l.split(/\n\s*\n/).map(o=>o.trim()).filter(Boolean).map((o,c)=>o.startsWith("## ")?s.jsx("h2",{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight mt-12 mb-4",children:o.replace(/^##\s+/,"")},c):s.jsx("p",{className:"text-[15px] md:text-base text-[#2C2A29]/85 font-light leading-[1.75] mb-5",children:o},c))}function GA({params:l}){const{lang:r}=Fe(),{openChat:o}=Rt(),{post:c}=FA(l.slug),d=nd();if(rt(void 0,{metaTitle:c?`${y(r,c.titleRu,c.titleEn)} — Журнал Art Village`:"Журнал — Art Village",metaDescription:c?y(r,c.excerptRu,c.excerptEn):void 0}),!c)return s.jsxs("div",{className:"max-w-3xl mx-auto px-6 pt-40 pb-32 text-center",children:[s.jsx("h1",{className:"font-serif text-4xl text-[#1C1A19] mb-6",children:y(r,"Статья не найдена","Story not found")}),s.jsx(Ae,{href:"/blog",className:"text-xs tracking-widest uppercase border-b border-[#1C1A19] pb-1",children:y(r,"Ко всем статьям","All stories")})]});const f=y(r,c.bodyRu,c.bodyEn||c.bodyRu),x=d.filter(g=>g.slug!==c.slug).slice(0,3);return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[64vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:c.cover,alt:"",className:"w-full h-full object-cover brightness-[0.55]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1C1A19] via-[#1C1A19]/20 to-[#1C1A19]/30"})]}),s.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 w-full pb-16",children:[s.jsxs(Ae,{href:"/blog",className:"inline-flex items-center gap-2 text-[11px] tracking-widest uppercase text-white/70 hover:text-white mb-8 transition-colors",children:[s.jsx(mi,{className:"w-4 h-4"})," ",y(r,"Журнал","Journal")]}),s.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[s.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-white/70 font-semibold",children:Xr(c.rubric,r)}),s.jsx("span",{className:"w-1 h-1 rounded-full bg-white/50"}),s.jsx("span",{className:"text-[11px] text-white/70",children:Xu(c.date,r)}
55),s.jsx("span",{className:"w-1 h-1 rounded-full bg-white/50"}),s.jsxs("span",{className:"text-[11px] text-white/70",children:[c.readingMin," ",y(r,"мин","min")]})]}),s.jsx("h1",{className:"font-serif text-4xl md:text-6xl text-white font-light tracking-tight leading-[1.02] max-w-[20ch] drop-shadow-md",children:y(r,c.titleRu,c.titleEn)})]})]}),s.jsx("section",{className:"py-16 md:py-20 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[s.jsx("p",{className:"font-serif text-xl md:text-2xl text-[#1C1A19] font-light leading-[1.4] mb-10 pb-10 border-b border-[#E6E2DA]",children:y(r,c.excerptRu,c.excerptEn)}),qA(f)]})}),x.length>0&&s.jsx("section",{className:"py-20 bg-white border-t border-[#E6E2DA]/50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("h2",{className:"font-serif text-3xl text-[#1C1A19] tracking-tight mb-10",children:y(r,"Ещё в журнале","More in the journal")}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-x-8 gap-y-10",children:x.map(g=>s.jsxs(Ae,{href:`/blog/${g.slug}`,className:"group flex flex-col",children:[s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA] aspect-[4/3] mb-4",children:s.jsx("img",{src:g.cover,alt:"",loading:"lazy",className:"w-full h-full object-cover group-hover:scale-[1.04] transition-transform duration-700"})}),s.jsx("span",{className:"text-[10px] tracking-[0.18em] uppercase text-[#2C2A29]/50 font-semibold mb-2",children:Xr(g.rubric,r)}),s.jsx("h3",{className:"font-serif text-xl text-[#1C1A19] tracking-tight leading-[1.14] group-hover:opacity-65 transition-opacity",children:y(r,g.titleRu,g.titleEn)})]},g.slug))})]})}),s.jsx("section",{className:"py-20 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-2xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl tracking-tight mb-5",children:y(r,"Спланировать визит","Plan your visit")}),s.jsx("p",{className:"text-sm text-[#FAF9F5]/70 font-light mb-8",children:y(r,"Забронируйте номер, банный ритуал или день у воды — или напишите нам, поможем собрать поездку.","Book a room, a banya ritual or a day by the water — or message us and we'll help plan your trip.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx(Ae,{href:"/booking",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors",children:y(r,"Забронировать","Book")}),s.jsx("button",{onClick:o,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#FAF9F5]/40 hover:bg-[#FAF9F5] hover:text-[#1C1A19] px-8 py-5 transition-colors cursor-pointer",children:y(r,"Связаться","Contact us")})]})]})})]})}const YA={hero:{eyebrowRu:"О КУРОРТЕ",eyebrowEn:"ABOUT",titleRu:"О курорте",titleEn:"About the resort",subtitleRu:"",subtitleEn:"",photo:{url:ae.garden,alt:""}},conceptSection:{eyebrowRu:"Философия",eyebrowEn:"Philosophy",titleRu:"Время с близкими имеет особую ценность",titleEn:"Time with loved ones has a special value",subtitleRu:"",subtitleEn:""},conceptBodyRu:"Art Village — один из самых стильных загородных отелей в ближайшем Подмосковье, в сосновом лесу всего в 12 км от МКАД. На четырёх гектарах у воды природа соединяется с продуманным сервисом: проживание, гастрономия, wellness и пространства для событий — всё на одной территории.",conceptBodyEn:"Art Village is one of the most stylish country hotels near Moscow, set in a pine forest just 12 km from MKAD. Across four hectares by the water, nature meets thoughtful service: stay, gastronomy, wellness and event spaces — all on one estate.",stats:[{numberRu:"48 + 5",numberEn:"48 + 5",labelRu:"номеров и вилл",labelEn:"rooms and villas"},{numberRu:"3",numberEn:"3",labelRu:"ресторана и Village Market",labelEn:"restaurants and Village Market"},{numberRu:"2500 м²",numberEn:"2500 m²",labelRu:"велнес-центр",labelEn:"wellness centre"},{numberRu:"4 га",numberEn:"4 ha",labelRu:"леса у воды",labelEn:"of forest by the water"}],territorySection:{eyebrowRu:"На территории",eyebrowEn:"On the estate",titleRu:"Всё для отдыха — рядом",titleEn:"Everything for your stay — nearby",subtitleRu:"",subtitleEn:""},territoryCards:[{titleRu:"Проживание",titleEn:"Stay",descRu:"48 номеров, шале Black House и 5 вилл в сосновом лесу.",descEn:"48 rooms, Black House chalets and 5 villas in a pine forest.",href:"/stay",external:!1,photo:{url:ae.bungalow,alt:""}},{titleRu:"Рестораны",titleEn:"Dining",descRu:"Ля'Ферма, «Дача», Grill House и кондитерская Village Market.",descEn:"La'Ferma, Dacha, Grill House and the Village Market patisserie.",href:"/dining",external:!1,photo:{url:ae.dining,alt:""}},{titleRu:"Wellness и баня",titleEn:"Wellness & banya",descRu:"Велнес-центр 2500 м², баня на берёзовых дровах, 2 бассейна и 2 пляжа.",descEn:"A 2500 m² wellness centre, birch-wood banya, 2 pools and 2 beaches.",href:"/wellness",external:!1,photo:{url:ae.poolside,alt:""}},{titleRu:"Развлечения",titleEn:"Activities",descRu:"Гончарная мастерская, зоодвор, детский клуб, волейбол и прогулочные маршруты.",descEn:"Pottery workshop, petting zoo, kids club, volleyball and walking trails.",href:"/pottery",external:!1,photo:{url:ae.garden,alt:""}},{titleRu:"Мероприятия",titleEn:"Events",descRu:"ARTVILLAGE HALL 250 м², зона церемоний и открытая BBQ-площадка.",descEn:"ARTVILLAGE HALL 250 m², a ceremony zone and an open-air BBQ space.",href:rs,external:!0,photo:{url:ae.evening,alt:""}}],values:[{titleRu:"Гармония с природой",titleEn:"Harmony with 
55nature",textRu:"Сосновый лес, пруды и тишина в часе от города — каждая деталь курорта подчинена природе.",textEn:"Pine forest, ponds and silence an hour from the city — every detail follows nature."},{titleRu:"Камерный формат",titleEn:"Boutique scale",textRu:"Ограниченное число гостей и личное внимание создают атмосферу загородного клуба.",textEn:"A limited number of guests and personal attention create the feel of a private country club."},{titleRu:"Культура замедления",titleEn:"Culture of slowing down",textRu:"Время с близкими, неспешные ритуалы и забота о теле и душе — то, ради чего сюда приезжают.",textEn:"Time with loved ones, unhurried rituals and care for body and soul — the reason guests come."}],cta:{titleRu:"Приезжайте в Art Village",titleEn:"Come to Art Village",subtitleRu:"",subtitleEn:"",primaryLabelRu:"Выбрать номер",primaryLabelEn:"Choose a room",secondaryLabelRu:"Связаться",secondaryLabelEn:"Contact us"}};function XA(){const{openChat:l}=Rt(),{lang:r}=Fe(),{open:o}=hi(),c=yw(YA);rt(c.seo,{metaTitle:"О курорте Art Village — загородный отель в сосновом лесу в 12 км от МКАД",metaDescription:"Art Village — стильный загородный курорт в ближайшем Подмосковье: проживание, рестораны, wellness, развлечения и мероприятия на одной территории у воды."});const d=fe(c.hero.photo)||ae.garden;return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:d,alt:"",className:"w-full h-full object-cover brightness-[0.7] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/25"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(r,c.hero.eyebrowRu,c.hero.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md",children:y(r,c.hero.titleRu,c.hero.titleEn)})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-6",children:y(r,c.conceptSection.eyebrowRu,c.conceptSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-[#1C1A19] tracking-tight leading-tight mb-8",children:y(r,c.conceptSection.titleRu,c.conceptSection.titleEn)}),s.jsx("p",{className:"text-base md:text-lg text-[#2C2A29]/80 font-light leading-relaxed",children:y(r,c.conceptBodyRu,c.conceptBodyEn)})]})}),s.jsx("section",{className:"py-20 bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-2 lg:grid-cols-4 gap-8",children:c.stats.map((f,x)=>s.jsxs("div",{className:"text-center",children:[s.jsx("div",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] mb-2",children:y(r,f.numberRu,f.numberEn)}),s.jsx("div",{className:"text-xs tracking-wider uppercase text-[#2C2A29]/60 font-light leading-relaxed",children:y(r,f.labelRu,f.labelEn)})]},x))})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,c.territorySection.eyebrowRu,c.territorySection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,c.territorySection.titleRu,c.territorySection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.territoryCards.map(f=>{const x=s.jsxs("div",{className:"group relative h-72 overflow-hidden border border-[#
55E6E2DA]",children:[s.jsx("img",{src:fe(f.photo)||ae.garden,alt:"",className:"absolute inset-0 w-full h-full object-cover brightness-[0.7] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 via-black/10 to-transparent"}),s.jsxs("div",{className:"relative z-10 h-full flex flex-col justify-end p-6 text-white",children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide mb-2",children:y(r,f.titleRu,f.titleEn)}),s.jsx("p",{className:"text-xs font-light text-white/85 leading-relaxed",children:y(r,f.descRu,f.descEn)})]})]});return f.external?s.jsx("a",{href:f.href,target:"_blank",rel:"noreferrer",children:x},f.titleRu):s.jsx(Ae,{href:f.href,children:x},f.titleRu)})})]})}),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12",children:c.values.map((f,x)=>s.jsxs("div",{className:"border-t border-[#E6E2DA] pt-8",children:[s.jsxs("span",{className:"font-mono text-xs text-[#2C2A29]/50 block mb-4",children:["0",x+1," /"]}),s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-wide mb-4",children:y(r,f.titleRu,f.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/80 font-light leading-relaxed",children:y(r,f.textRu,f.textEn)})]},x))})})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(r,c.cta.titleRu,c.cta.titleEn)}),s.jsxs("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8 flex items-center justify-center gap-2",children:[s.jsx(qr,{className:"w-4 h-4"}),ce.addressShort," · ",ce.distance]}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx(Ae,{href:"/stay",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors",children:y(r,c.cta.primaryLabelRu,c.cta.primaryLabelEn)}),s.jsx("button",{onClick:l,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors cursor-pointer",children:y(r,c.cta.secondaryLabelRu,c.cta.secondaryLabelEn)})]})]})})]})}const QA={hero:{eyebrowRu:"ПРОЖИВАНИЕ",eyebrowEn:"ACCOMMODATION",titleRu:"Проживание",titleEn:"Accommodation",subtitleRu:"",subtitleEn:"",photo:{url:ae.bungalow,alt:""}},introRu:"48 номеров и 5 вилл в нескольких корпусах среди соснового леса — от уютных Standard до приватных вилл для большой компании. Каждый корпус — со своим характером.",introEn:"48 rooms and 5 villas across several buildings in a pine forest — from cosy Standard rooms to private villas for a large company. Each building has its own character.",cta:{titleRu:"Не нашли подходящий вариант?",titleEn:"Didn't find the right option?",subtitleRu:"Подберём номер под вашу компанию и даты — оставьте заявку или позвоните.",subtitleEn:"We'll find a room for your party and dates — leave a request or call us.",primaryLabelRu:"Оставить заявку",primaryLabelEn:"Send a request"},seo:void 0},kt="https://artvillage.club",qt=(...l)=>l.map(r=>kt+r),ZA=[{title:{ru:"Dacha",en:"Dacha"},sub:{ru:"Основной корпус",en:"Main building"},items:[{name:"Studio",slug:"studio",area:"40 м²",cap:"2+1",feat:{ru:"Просторный номер с собственной кухней.",en:"A spacious room with its own kitchen."},img:kt+"/upload/resize_cache/iblock/ab9/911_528_2/6015_art.jpg",gallery:qt("/upload/resize_cache/iblock/014/1200_800_2/6092_art_club_11.jpg","/upload/resize_cache/iblock/39e/1200_800_2/6089_art_club_11.jpg","/upload/resize_cache/iblock/94e/1200_800_2/6065_art_club_11.jpg","/upload/resize_cache/iblock/ce1/1200_800_2/6595_art_club_31.jpg")}
55,{name:"Apartment",slug:"apartment",area:"60 м²",cap:"2+2",feat:{ru:"Двухуровневый, гостиная, современный стиль.",en:"Two-level, living room, modern style."},img:kt+"/upload/resize_cache/iblock/df1/911_528_2/6170_art_club_14.jpg",gallery:qt("/upload/resize_cache/iblock/13d/1200_800_2/6284_art_club_13.jpg","/upload/resize_cache/iblock/394/1200_800_2/6155_art_club_14.jpg","/upload/resize_cache/iblock/9d7/1200_800_2/6209_art_club_14.jpg","/upload/resize_cache/iblock/24b/1200_800_2/6675_art_club_33.jpg")},{name:"Luxe",slug:"luxe",area:"120 м²",cap:"4+2",feat:{ru:"Две спальни, кухня и гостиная. Барокко и ар-деко.",en:"Two bedrooms, kitchen and living room. Baroque and art-deco."},img:kt+"/upload/resize_cache/iblock/712/m9jggj39w24jw83lvpfdlugk4k8vjr6g/911_528_2/2433_art_club_red_51.jpg",gallery:qt("/upload/resize_cache/iblock/360/1200_800_2/6314_art_club_23.jpg","/upload/resize_cache/iblock/59f/1200_800_2/6404_art_club_23.jpg","/upload/resize_cache/iblock/978/1200_800_2/6430_art_club_23.jpg","/upload/resize_cache/iblock/52b/1200_800_2/ID6A3379.jpg")},{name:"Junior Suite",slug:"junior-suite",area:"45 м²",cap:"2+2",feat:{ru:"Стиль ар-деко, антикварная мебель, выход в сад.",en:"Art-deco style, antique furniture, garden access."},img:kt+"/upload/resize_cache/iblock/d3b/yl6w1z01hmc1r3h1i190tj996qs62g2x/911_528_2/7739_art_club_2.jpg",gallery:qt("/upload/resize_cache/iblock/d3b/yl6w1z01hmc1r3h1i190tj996qs62g2x/911_528_2/7739_art_club_2.jpg")}]},{title:{ru:"Деревенский корпус",en:"Village building"},sub:{ru:"Эко-эстетика и натуральные материалы",en:"Eco aesthetics and natural materials"},items:[{name:"Standard Village",slug:"standard-village",area:"23 м²",cap:"2",feat:{ru:"Эко-материалы: дерево, природный камень и натуральные ткани.",en:"Eco materials: wood, natural stone and fabrics."},img:kt+"/upload/resize_cache/iblock/05e/911_528_2/6501_art.jpg",gallery:qt("/upload/resize_cache/iblock/381/1200_800_2/3024_art_club_dom_42.jpg","/upload/resize_cache/iblock/a7e/1200_800_2/3039_art_club_dom_41.jpg","/upload/resize_cache/iblock/c78/1200_800_2/3121_art_club_dom_43.jpg","/upload/resize_cache/iblock/d1c/1200_800_2/3045_art_club_dom_41.jpg")},{name:"Standard Village Plus",slug:"standard-village-plus",area:"26 м²",cap:"2+1",feat:{ru:"Мансардный этаж с высокими скошенными потолками.",en:"Attic floor with high sloped ceilings."},img:kt+"/upload/resize_cache/iblock/dfb/911_528_2/1051_art_club_4.jpg",gallery:qt("/upload/resize_cache/iblock/032/9juft15tqxdfj55iehs42f834vtokex1/1200_800_2/3063_art_club_dom_44.jpg","/upload/resize_cache/iblock/784/iirnzwznn2q8kp6fhtu00zncj3nqhtfc/1200_800_2/3060_art_club_dom_44.jpg","/upload/resize_cache/iblock/d53/9hj5t35ah92vand4eo1p791k49bnc198/1200_800_2/3072_art_club_dom_44.jpg")}]},{title:{ru:"Red House",en:"Red House"},sub:{ru:"Двухуровневые номера",en:"Two-level rooms"},items:[{name:"Standard Duplex",slug:"standard-duplex",area:"40 м²",cap:"2+2",feat:{ru:"Двухуровневый номер с панорамным остеклением.",en:"A two-level room with panoramic glazing."},img:kt+"/upload/resize_cache/iblock/68e/77lu6s0e4cnpcc3hv97qgr1ik5oz8fjy/911_528_2/2000_art.jpg",gallery:qt("/upload/resize_cache/iblock/68e/77lu6s0e4cnpcc3hv97qgr1ik5oz8fjy/911_528_2/2000_art.jpg")},{name:"De Luxe",slug:"de-luxe",area:"80 м²",cap:"2+2",feat:{ru:"Двухуровневый номер с дровяным камином.",en:"A two-level room with a wood fireplace."},img:kt+"/upload/resize_cache/iblock/09e/911_528_2/2248_art_club_red_59.jpg",gallery:qt("/upload/resize_cache/iblock/09e/911_528_2/2248_art_club_red_59.jpg")}]},{title:{ru:"Black House",en:"Black House"},sub:{ru:"Чёрный фасад, панорамное остекление",en:"Black facade, panoramic glazing"},items:[{name:"Standard",slug:"standard",area:"25 м²",cap:"2",feat:{ru:"Панорамное остекление, берёзовая роща, терраса.",en:"Panoramic glazing, birch grove, terrace."},img:kt+"/upload/resize_cache/iblock/bb0/911_528_2/6571_art_club_31.jpg",gallery:qt("/upload/resize_cache/iblock/891/1200_800_2/6507_art.jpg","/upload/resize_cache/iblock/429/1200_800_2/6509_art.jpg","/upload/resize_cache/iblock/c47/1200_800_2/6510_art.jpg","/upload/resize_cache/iblock/0ee/1200_800_2/6513_art.jpg")},{name:"Standard Chalet",slug:"standard-chalet",area:"26 м²",cap:"2+1",feat:{ru:"Мансарда в Black House, Twin или Double.",en:"Black House attic, Twin or Double."},img:kt+"/upload/resize_cache/iblock/c21/v21xhbxdjns1zn71tifu3n63dsrzf3kd/911_528_2/Std_Chalet_Black_01.jpg",gallery:qt("/upload/resize_cache/iblock/768/ba1tdpde7qh9jael11eort9nayfuxl8i/1200_800_2/Std_Chalet_Black_01.jpg","/upload/resize_cache/iblock/6cb/s7bi8e6nwzsgt3p2og727t15jsi7vffg/1200_800_2/Std_Chalet_Black_02.jpg","/upload/resize_cache/iblock/8b4/xdto7dhw0b5dpyrgdqfawlab9isw274s/1200_800_2/Std_Chalet_Black_03.jpg","/upload/resize_cache/iblock/399/krjpb0ohw6faruhuc99birn80gu2mble/1200_800_2/Std_Chalet_Black_04.jpg")},{name:"Deluxe Chalet",slug:"deluxe-chalet",area:"160 м²",cap:"2+2",feat:{ru:"Третий этаж Black House: гостиная, спальня, дизайнерская ванна, терраса.",en:"Black House top floor: living room, bedroom, designer bath, terrace."},img:kt+"/upload/resize_cache/iblock/2e8/911_528_2/ID6A8199.JPG",gallery:qt("/upload/resize_cache/iblock/de1/1200_800_2/6014_art.jpg","/upload/resize_cache/iblock/61c/1200_800_2/6034_art.jpg","/upload/resize_cache/iblock/5cc/1200_800_2/6040_art.jpg","/upload/resize_cache/iblock/606/1200_800_2/Image_2021_10_03_09_11_17.jpg")}]},{title:{ru:"Виллы и коттеджи",en:"Villas & cottages"},sub:{ru:"Приватные дома для большой компании",en:"Private houses for a large company"},items:[{name:"Villa · 8",slug:"villa-8",area:"150 м²",cap:"8+2",feat:{ru:"Четыре спальни, три санузла, кухня-гостиная.",en:"Four bedrooms, three bathrooms, kitchen-living room."},img:kt+"/upload/resize_cache/iblock/be9/0hb4hbt1r3u527n801mrg1yk86l1ot59/911_528_2/3060_art_club_dom_44.jpg",gallery:qt("/upload/resize_cache/iblock/254/1200_800_2/1393_art_club_4.jpg","/upload/resize_cache/iblock/671/1200_800_2/1042_art_club_4.jpg")},{name:"Villa · 10",slug:"villa-10",area:"170 м²",cap:"10+2",feat:{ru:"Пять спален, три санузла, кухня-гостиная.",en:"Five bedrooms, three bathrooms, kitchen-living room."},img:kt+"/upload/resize_cache/iblock/c1c/911_528_2/3009_art_club_dom_42.jpg",gallery:qt("/upload/resize_cache/iblock/c1c/911_528_2/3009_art_club_dom_42.jpg","/upload/resize_cache/iblock/bd5/911_528_2/ID6A3400.jpg")},{name:"Deluxe Villa",slug:"deluxe-villa",area:"700 м²",cap:"12+8",feat:{ru:"Семь спален с гардеробными, две ванные, камин, собственный паркинг.",en:"Seven bedrooms with dressing rooms, two baths, fireplace, private parking."},img:kt+"/upload/resize_cache/iblock/bd5/911_528_2/ID6A3400.jpg",gallery:qt("/upload/resize_cache/iblock/877/qhbi5wwcevlum15eksi91ke0ebyy1kzj/1200_800_2/7079_art.jpg","/upload/resize_cache/iblock/b92/s5ga2gkyssarez80be20pu945nm1j093/1200_800_2/7088_art.jpg")}]}];function KA(){const{openChat:l}=Rt(),{lang:r}=Fe(),{open:o}=hi(),c=dw(ZA),d=jw(QA);rt(d.seo,{metaTitle:"Проживание в Art Village — номера, шале и виллы в сосновом лесу",metaDescription:"48 номеров и 5 вилл в нескольких корпусах среди соснового леса в 12 км от МКАД."});const f=w.useMemo(()=>c.flatMap(E=>E.items),[c]),[x,g]=w.useState(null),[v,h]=w.useState(0),A=w.useCallback(E=>{g(E),h(0),history.replaceState(null,"","#room="+E.slug)},[]),p=w.useCallback(()=>{g(null),history.replaceState(null,"",window.location.pathname)},[]);w.useEffect(()=>{const E=window.location.hash.match(/room=([^&]+)/);if(E){const N=f.find(_=>_.slug===decodeURIComponent(E[1]));N&&(g(N),h(0))}},[f]),w.useEffect(()=>{if(!x)return;const E=x.gallery.length,N=_=>{_.key==="Escape"?p():_.key==="ArrowRight"?h(U=>(U+1)%E):_.key==="ArrowLeft"&&h(U=>(U-1+E)%E)};return document.addEventListener("keydown",N),()=>document.removeEventListener("keydown",N)},[x,p]);const j=x?x.gallery.length:0;return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:fe(d.hero?.ph
55oto)||ae.bungalow,alt:"",className:"w-full h-full object-cover brightness-[0.7] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/25"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(r,d.hero.eyebrowRu,d.hero.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md",children:y(r,d.hero.titleRu,d.hero.titleEn)})]})]}),s.jsx("section",{className:"py-20 bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:s.jsx("p",{className:"text-base md:text-lg text-[#2C2A29]/80 font-light leading-relaxed mb-8",children:y(r,d.introRu,d.introEn)})})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 space-y-20",children:c.map(E=>s.jsxs("div",{children:[s.jsxs("div",{className:"mb-10",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight",children:y(r,E.title.ru,E.title.en)}),s.jsx("p",{className:"text-xs tracking-[0.2em] uppercase text-[#2C2A29]/50 mt-2",children:y(r,E.sub.ru,E.sub.en)}),s.jsx("div",{className:"h-px bg-[#E6E2DA] mt-5"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:E.items.map(N=>s.jsxs("div",{className:"bg-white border border-[#E6E2DA] overflow-hidden flex flex-col hover:border-[#1C1A19] transition-colors",children:[s.jsxs("button",{onClick:()=>A(N),className:"relative h-56 overflow-hidden group cursor-pointer text-left",children:[s.jsx("img",{src:N.img,alt:N.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),s.jsxs("span",{className:"absolute bottom-3 right-3 text-[10px] tracking-widest uppercase bg-black/55 text-white px-2 py-1",children:[N.gallery.length," фото"]})]}),s.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-wider uppercase mb-3",children:N.name}),s.jsxs("div",{className:"flex flex-wrap gap-4 text-xs text-[#2C2A29]/60 mb-4",children:[s.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[s.jsx(K2,{className:"w-3.5 h-3.5"})," ",N.area]}),s.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[s.jsx(dg,{className:"w-3.5 h-3.5"})," ",N.cap," ",y(r,"гостей","guests")]})]}),s.jsx("p",{className:"text-xs text-[#2C2A29]/70 font-light leading-relaxed mb-6 flex-1",children:y(r,N.feat.ru,N.feat.en)}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{onClick:()=>A(N),className:"flex-1 text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white py-3.5 transition-colors cursor-pointer",children:y(r,"Галерея","Gallery")}),s.jsx(Ae,{href:Yr,className:"flex-1 inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] py-3.5 transition-colors",children:y(r,"Забронировать","Book")})]})]})]},N.slug))})]},E.title.ru))})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4",children:y(r,d.cta.titleRu,d.cta.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(r,d.cta.subtitleRu,d.cta.subtitleEn)}),s.jsx("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})})]})}),x&&s.jsxs("div",{className:"fixed inset-0 z-[70] bg-black/90 flex flex-col",onClick:p,children:[s.jsxs("div",{className:"flex items-center justify-between px-6 py-4 text-white shrink-0",onClick:E=>E.stopPropagation(),children:[s.jsxs("div",{children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide",children:x.name}
55),s.jsxs("span",{className:"text-xs tracking-wider uppercase text-white/55",children:[x.area," · ",x.cap," ",y(r,"гостей","guests")]})]}),s.jsx("button",{onClick:p,className:"p-2 hover:opacity-70 cursor-pointer","aria-label":"close",children:s.jsx(kn,{className:"w-6 h-6"})})]}),s.jsxs("div",{className:"flex-1 flex items-center justify-center px-4 md:px-16 relative min-h-0",onClick:E=>E.stopPropagation(),children:[j>1&&s.jsx("button",{onClick:()=>h(E=>(E-1+j)%j),className:"absolute top-1/2 -translate-y-1/2 left-3 md:left-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"prev",children:s.jsx(mi,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})}),s.jsx("img",{src:x.gallery[v],alt:x.name,className:"max-h-[78vh] max-w-full object-contain"}),j>1&&s.jsx("button",{onClick:()=>h(E=>(E+1)%j),className:"absolute top-1/2 -translate-y-1/2 right-3 md:right-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"next",children:s.jsx(Ke,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})})]}),s.jsxs("div",{className:"flex items-center justify-center gap-6 py-5 text-white shrink-0",onClick:E=>E.stopPropagation(),children:[j>1&&s.jsxs("span",{className:"text-xs tracking-widest text-white/60 font-mono",children:[v+1," / ",j]}),s.jsx(Ae,{href:Yr,onClick:p,className:"text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-3 transition-colors",children:y(r,"Забронировать","Book")})]})]})]})}const JA={hero:{eyebrowRu:"РЕСТОРАНЫ",eyebrowEn:"DINING",titleRu:"Рестораны",titleEn:"Restaurants",subtitleRu:"",subtitleEn:"",photo:{url:ae.dining,alt:""}},introRu:"Пять гастрономических пространств на одной территории — от авторского ресторана с панорамными окнами до уютной «Дачи» с камином, шведского стола, кафе-маркета и собственной кондитерской.",introEn:"Five dining space
55s on one estate — from a signature restaurant with panoramic windows to the cosy fireplace-lit 'Dacha', a buffet, a café-market and an in-house patisserie.",cta:{titleRu:"Забронировать стол",titleEn:"Reserve a table",subtitleRu:"Оставьте заявку или позвоните — поможем выбрать ресторан и время.",subtitleEn:"Leave a request or call us — we'll help you pick a restaurant and time.",primaryLabelRu:"Оставить заявку",primaryLabelEn:"Send a request"},seo:void 0},Il="https://artvillage.club",oi=(...l)=>l.map(r=>Il+r),WA=[{name:"La'Ферма",slug:"la-ferma",tag:{ru:"Авторский ресторан",en:"Signature restaurant"},hours:{ru:"Пн–Чт 09:00–23:00 · Пт–Вс 09:00–00:00",en:"Mon–Thu 09:00–23:00 · Fri–Sun 09:00–00:00"},desc:{ru:"Панорамные окна и открытая кухня: сочные стейки, морепродукты, свежие салаты и блюда на мангале. Большая винная карта, крафтовые коктейли, детское меню и авторские десерты.",en:"Panoramic windows and an open kitchen: juicy steaks, seafood, fresh salads and grilled dishes. An extensive wine list, craft cocktails, a children's menu and artisanal desserts."},img:Il+"/upload/resize_cache/iblock/72f/911_528_2/1002_art.jpg",gallery:oi("/upload/resize_cache/iblock/3f1/1200_800_2/DSC1218.JPG","/upload/resize_cache/iblock/44a/1200_800_2/ID6A2662_enf.jpg","/upload/resize_cache/iblock/517/1200_800_2/artvillage_003.jpg","/upload/resize_cache/iblock/595/1200_800_2/ID6A2704_enf.jpg","/upload/resize_cache/iblock/af4/1200_800_2/ID6A2701_enf.jpg"),cta:"book"},{name:"Dacha",slug:"dacha",tag:{ru:"Семейный ресторан",en:"Family restaurant"},hours:{ru:"Пт–Вс 17:00–23:00",en:"Fri–Sun 17:00–23:00"},desc:{ru:"Тёплый свет, природные материалы, антикварные детали и действующий камин. Русская домашняя кухня, мясо и рыба на гриле, домашняя выпечка.",en:"Warm light, natural materials, antique details and a working fireplace. Russian home cooking, grilled meat and fish, homemade baking."},img:Il+"/upload/resize_cache/iblock/76a/911_528_2/ID6A2680_enf-_1_.jpg",gallery:oi("/upload/resize_cache/iblock/8e2/1200_800_2/1011_art.jpg","/upload/resize_cache/iblock/8e1/1200_800_2/1012_art.jpg","/upload/resize_cache/iblock/5ca/1200_800_2/1018_art.jpg","/upload/resize_cache/iblock/a50/1200_800_2/1064_art.jpg","/upload/resize_cache/iblock/364/8xhi4u06ygf2gndog2nra3pdusukj2nk/1200_800_2/1076_art.jpg"),cta:"book"},{name:"Шведский стол",slug:"shvedskiy-stol",tag:{ru:"Завтраки и обеды",en:"Breakfast & lunch"},hours:{ru:"Завтрак 08:00–11:00 · Обед 13:00–15:00",en:"Breakfast 08:00–11:00 · Lunch 13:00–15:00"},desc:{ru:"Завтраки и обеды по системе «шведский стол» — разнообразие блюд и качество продуктов, от деликатесов до игристого. Входит в полупансион для гостей с проживанием.",en:"Breakfast and lunch served buffet-style — a variety of dishes and quality produce, from delicacies to sparkling wine. Included in half-board for staying guests."},img:Il+"/upload/resize_cache/iblock/322/p5pek4rdiya4l73cn6jpk1ogi48r7tj7/911_528_2/IMG_6098.JPG",gallery:oi("/upload/resize_cache/iblock/010/1200_800_2/IMG_4139_jpg.JPG","/upload/resize_cache/iblock/27c/1200_800_2/IMG_3525_jpg.jpg","/upload/resize_cache/iblock/51a/1200_800_2/IMG_3602.JPG","/upload/resize_cache/iblock/54f/1200_800_2/IMG_3251_jpg.JPG","/upload/resize_cache/iblock/c1c/1200_800_2/IMG_3944_jpg.JPG"),cta:"halfboard"},{name:"Village Market",slug:"village-market",tag:{ru:"Кафе и маркет",en:"Café & market"},desc:{ru:"Тёплая и светлая точка притяжения: спешелти-кофе, десерты ручной работы и летняя терраса. Здесь же гончарные мастер-классы и керамика; доступна аренда под события.",en:"A warm and bright gathering place: specialty coffee, handmade desserts and a summer terrace. Pottery workshops and ceramics too; available for private events."},img:Il+"/upload/iblock/2a7/1010_art.jpg",gallery:oi("/upload/resize_cache/iblock/083/ud32knnmzsirptexinp334lim1l450m8/1200_800_2/IMG_2858.JPG","/upload/resize_cache/iblock/167/9f7o1bwz17l00ftr2zlabo5s5tn456tr/1200_800_2/photo_2025_06_03_17_03_53.jpg","/upload/resize_cache/iblock/2cd/gawuic4yw2dx0xp4c2qxwv6rvbz33f23/1200_800_2/IMG_0778.jpg","/upload/resize_cache/iblock/6f3/yzosm1wcdt39zbn2pa4pwgcxi9k8qiha/1200_800_2/IMG_0502.JPG","/upload/resize_cache/iblock/a64/r3my2of8urxim9bzuqp8bgqlt2nwzb9o/1200_800_2/IMG_1039.JPG"),cta:"book"},{name:"Десерты и торты",slug:"torty",tag:{ru:"Кондитерская",en:"Pastry"},desc:{ru:"Торты по семейным рецептам и авторские десерты, которые не уступают известным кондитерам. Торты на заказ под ваше событие.",en:"Family-recipe cakes and signature desserts on par with renowned pastry chefs. Custom cakes for your celebration."},img:Il+"/upload/resize_cache/iblock/b11/911_528_2/american_heritage_chocolate_vdx5hPQhXFk_unsplash.jpg",gallery:oi("/upload/resize_cache/iblock/b11/911_528_2/american_heritage_chocolate_vdx5hPQhXFk_unsplash.jpg"),cta:"cake",more:"/cakes"}];function $A(){const{lang:l}=Fe(),{open:r}=hi(),{openChat:o}=Rt(),c=fw(WA),d=Ew(JA);rt(d.seo,{metaTitle:"Рестораны Art Village — авторская кухня, буфет, кафе и кондитерская",metaDescription:"Пять гастрономических пространств курорта Art Village: авторский ресторан, «Дача», шведский стол, Village Market и кондитерская."});const[f,x]=w.useState(null),[g,v]=w.useState(0),h=w.useCallback(j=>{x(j),v(0),history.replaceState(null,"","#venue="+j.slug)},[]),A=w.useCallback(()=>{x(null),history.replaceState(null,"",window.location.pathname)},[]);w.useEffect(()=>{const j=window.location.hash.match(/venue=([^&]+)/);if(j){const E=c.find(N=>N.slug===decodeURIComponent(j[1]));E&&(x(E),v(0))}},[c]),w.useEffect(()=>{if(!f)return;const j=f.gallery.length,E=N=>{N.key==="Escape"?A():N.key==="ArrowRight"?v(_=>(_+1)%j):N.key==="ArrowLeft"&&v(_=>(_-1+j)%j)};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[f,A]);const p=f?f.gallery.length:0;return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:fe(d.hero?.ph
55oto)||ae.dining,alt:"",className:"w-full h-full object-cover brightness-[0.65] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/30"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,d.hero.eyebrowRu,d.hero.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md",children:y(l,d.hero.titleRu,d.hero.titleEn)})]})]}),s.jsx("section",{className:"py-20 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:s.jsx("p",{className:"text-base md:text-lg text-[#2C2A29]/80 font-light leading-relaxed",children:y(l,d.introRu,d.introEn)})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 space-y-20 lg:space-y-28",children:c.map((j,E)=>s.jsxs("div",{className:`flex flex-col gap-8 lg:gap-16 items-center ${E%2===1?"lg:flex-row-reverse":"lg:flex-row"}`,children:[s.jsx("div",{className:"w-full lg:w-1/2",children:j.more?s.jsx(Ae,{href:j.more,className:"relative aspect-[4/3] w-full overflow-hidden border border-[#E6E2DA] group cursor-pointer block",children:s.jsx("img",{src:j.img,alt:j.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"})}):s.jsxs("button",{onClick:()=>h(j),className:"relative aspect-[4/3] w-full overflow-hidden border border-[#E6E2DA] group cursor-pointer block",children:[s.jsx("img",{src:j.img,alt:j.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),s.jsxs("span",{className:"absolute bottom-3 right-3 text-[10px] tracking-widest uppercase bg-black/55 text-white px-2 py-1",children:[j.gallery.length," фото"]})]})}),s.jsxs("div",{className:"w-full lg:w-1/2",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-3",children:y(l,j.tag.ru,j.tag.en)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-4",children:j.name}),j.hours&&s.jsxs("p",{className:"text-xs tracking-wider uppercase text-[#2C2A29]/55 mb-5 inline-flex items-center gap-2",children:[s.jsx(eo,{className:"w-3.5 h-3.5"})," ",y(l,j.hours.ru,j.hours.en)]}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed mb-7",children:y(l,j.desc.ru,j.desc.en)}),s.jsxs("div",{className:"flex flex-wrap gap-3",children:[j.more?s.jsx(Ae,{href:j.more,className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-7 py-4 transition-colors",children:y(l,"Подробнее","Learn more")}):s.jsx("button",{onClick:()=>h(j),className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-7 py-4 transition-colors cursor-pointer",children:y(l,"Галерея","Gallery")}),j.menu&&s.jsxs("a",{href:j.menu,"data-ym-goal":"menu_open",target:"_blank",rel:"noreferrer",className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-7 py-4 transition-colors",children:[s.jsx(Gu,{className:"w-4 h-4 mr-2"})," ",y(l,"Меню","Menu")]}),j.barMenu&&s.jsxs("a",{href:j.barMenu,"data-ym-goal":"bar_menu_open",target:"_blank",rel:"noreferrer",className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-7 py-4 transition-colors",children:[s.jsx(Gu,{className:"w-4 h-4 mr-2"})," ",y(l,"Барная карта","Bar menu")]}),j.cta==="halfboard"?s.jsx("span",{className:"inline-flex items-center text-[10px] tracking-widest uppercase border border-[#1C1A19]/30 text-[#2C2A29]/70 px-4 py-2",children:y(l,"Входит в полупансион","Included in half-board")}):s.jsx("button",{onClick:o,className:"inline-flex items-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-7 py-4 transition-colors cursor-pointer",children:j.cta==="cake"?y(l,"Заказать торт","Order a cake"):y(l,"Забронировать стол","Reserve a table")})]})]})]},j.slug))})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(l,d.cta.titleRu,d.cta.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,d.cta.subtitleRu,d.cta.subtitleEn)}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:o,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,d.cta.primaryLabelRu,d.cta.primaryLabelEn)}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]})}),f&&s.jsxs("div",{className:"fixed inset-0 z-[70] bg-black/90 flex flex-col",onClick:A,children:[s.jsxs("div",{className:"flex items-center justify-between px-6 py-4 text-white shrink-0",onClick:j=>j.stopPropagation(),children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide",children:f.name}),s.jsx("button",{onClick:A,className:"p-2 hover:opacity-70 cursor-pointer","aria-label":"close",children:s.jsx(kn,{className:"w-6 h-6"})})]}),s.jsxs("div",{className:"flex-1 flex items-center justify-center px-4 md:px-16 relative min-h-0",onClick:j=>j.stopPropagation(),children:[p>1&&s.jsx("button",{onClick:()=>v(j=>(j-1+p)%p),className:"absolute top-1/2 -translate-y-1/2 left-3 md:left-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 roun
55ded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"prev",children:s.jsx(mi,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})}),s.jsx("img",{src:f.gallery[g],alt:f.name,className:"max-h-[78vh] max-w-full object-contain"}),p>1&&s.jsx("button",{onClick:()=>v(j=>(j+1)%p),className:"absolute top-1/2 -translate-y-1/2 right-3 md:right-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"next",children:s.jsx(Ke,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})})]}),s.jsxs("div",{className:"flex items-center justify-center gap-6 py-5 text-white shrink-0",onClick:j=>j.stopPropagation(),children:[p>1&&s.jsxs("span",{className:"text-xs tracking-widest text-white/60 font-mono",children:[g+1," / ",p]}),f.cta!=="halfboard"&&s.jsx("button",{onClick:()=>{const j=f;A(),r(j.cta==="cake"?y(l,"Торт на заказ","Custom cake"):j.name)},className:"text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-3 transition-colors cursor-pointer",children:f.cta==="cake"?y(l,"Заказать торт","Order a cake"):y(l,"Забронировать стол","Reserve a table")})]})]})]})}const PA={container:"adg-certificate-widget",hotel:"6:e397961a0aa9ade04eb98a3c9d8e9d24",lang:"",css:Cg},IA="https://api.uhotels.app/widget/certificate2/loader.js?13";function eE(){const l=w.useRef(null);return w.useEffect(()=>{const r=window;r.artDg=r.artDg||{loader:!1},r.artDg.config=PA,l.current&&(l.current.innerHTML="");const o=document.querySelector("script[data-adg-cert]");o&&o.remove();const c=document.createElement("script");return c.type="text/javascript",c.async=!0,c.src=IA,c.setAttribute("data-adg-cert","1"),(document.head||document.body).appendChild(c),r.artDg.loader=!0,()=>{c.remove()}},[]),s.jsx("div",{id:"adg-certificate-widget",ref:l,className:"min-h-[220px]"})}const tE={hero:{eyebrowRu:"ПОДАРКИ",eyebrowEn:"GIFTS",titleRu:"Подарочные сертификаты",titleEn:"Gift certificates",photo:{url:"",alt:""}},introSection:{eyebrowRu:"Что подарить",eyebrowEn:"What to gift",titleRu:"Впечатление, которое запоминается",titleEn:"An experience to remember"},introBodyRu:"Подарите близким загородный отдых: проживание, день у воды, spa-ритуал или ужин. Сертификат можно оформить на сумму или на конкретное впечатление.",introBodyEn:"Give your loved ones a countryside escape: a stay, a day by the water, a spa ritual or a dinner. A certificate can be issued for an amount or a specific experience.",steps:[{textRu:"Выберите номинал или впечатление",textEn:"Choose an amount or an experience"},{textRu:"Оплатите онлайн на сайте",textEn:"Pay online on the site"},{textRu:"Получите электронный или печатный сертификат — и дарите",textEn:"Get an e-certificate or a printed one — and gift it"}],corporateSection:{titleRu:"Корпоративные подарки",titleEn:"Corporate gifts"},corporateBodyRu:"Дарите впечатления команде или партнёрам — поможем с оформлением и количеством.",corporateBodyEn:"Gift experiences to your team or partners — we'll help with quantity and design.",fallbackLabelRu:"Купить сертификат напрямую",fallbackLabelEn:"Buy directly",seo:void 0};function aE(){const{lang:l}=Fe(),r=vw(tE);rt(r.seo,{metaTitle:"Подарочные сертификаты — Art Village",metaDescription:"Подарочные сертификаты Art Village: проживание, день у воды, spa-ритуал или ужин. Оформление на сумму или конкретное впечатление, корпоративные подарки."});const o=r.hero,c=r.introSection,d=r.corporateSection,f=fe(o.photo)||ae.spa;return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:f,alt:"",className:"w-full h-full object-cover brightness-[0.62] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-trans
55parent to-black/30"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,o.eyebrowRu,o.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md",children:y(l,o.titleRu,o.titleEn)})]})]}),s.jsxs("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:[s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,c.eyebrowRu,c.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-5",children:y(l,c.titleRu,c.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed",children:y(l,r.introBodyRu,r.introBodyEn)})]}),s.jsxs("div",{className:"max-w-5xl mx-auto px-6 mt-12",children:[s.jsx("div",{className:"bg-white border border-[#E6E2DA] p-4 md:p-6",children:s.jsx(eE,{})}),s.jsxs("p",{className:"text-center text-xs text-[#2C2A29]/50 mt-3",children:[y(l,"Форма не загрузилась? ","Form didn't load? "),s.jsxs("a",{href:"https://artvillage.club/buy-sert/",target:"_blank",rel:"noreferrer",className:"underline hover:text-[#1C1A19]",children:[y(l,r.fallbackLabelRu,r.fallbackLabelEn)," ↗"]})]})]})]}),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,"Как это работает","How it works")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(l,"Три простых шага","Three simple steps")})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:r.steps.map((x,g)=>s.jsxs("div",{className:"text-center md:text-left",children:[s.jsxs("span",{className:"font-mono text-xs text-[#2C2A29]/50 block mb-3",children:["0",g+1," /"]}),s.jsx("p",{className:"text-base text-[#1C1A19]/90 font-light leading-relaxed",children:y(l,x.textRu,x.textEn)})]},g))})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(l,d.titleRu,d.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,r.corporateBodyRu,r.corporateBodyEn)}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})})]})}function nE({eyebrow:l,image:r,title:o,intro:c,cards:d}){const{openChat:f}=Rt(),{lang:x}=Fe(),g=d.length>=4?"lg:grid-cols-4":"lg:grid-cols-3";return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:r,alt:"",className:"w-full h-full object-cover brightness-[0.7] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/25"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:l}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md",children:y(x,o.ru,o.en)})]})]}),s.jsx("section",{className:"py-20 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:s.jsx("p",{className:"text-base md:text-lg text-[#2C2A29]/80 font-light leading-relaxed",children:y(x,c.ru,c.en)})})}
55),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 ${g} gap-6`,children:d.map((v,h)=>s.jsxs("div",{className:"group relative h-72 overflow-hidden border border-[#E6E2DA]",children:[s.jsx("img",{src:v.img,alt:"",className:"absolute inset-0 w-full h-full object-cover brightness-[0.7] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 via-black/10 to-transparent"}),s.jsxs("div",{className:"relative z-10 h-full flex flex-col justify-end p-6 text-white",children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide mb-2",children:y(x,v.title.ru,v.title.en)}),s.jsx("p",{className:"text-xs font-light text-white/85 leading-relaxed",children:y(x,v.desc.ru,v.desc.en)})]})]},h))})})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(x,"Спланируйте свой визит","Plan your visit")}),s.jsx(Iu,{onClick:f,className:"text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] rounded-none px-8 py-5",children:y(x,"Забронировать визит","Book a visit")})]})})]})}const Jp={hero:{eyebrowRu:"СЕЗОННЫЕ СЦЕНАРИИ",eyebrowEn:"СЕЗОННЫЕ СЦЕНАРИИ",titleRu:"Сезонные сценарии",titleEn:"Seasonal scenarios",photo:{url:ae.thermal}},introRu:"Готовые сценарии отдыха под каждое время года — чтобы приезжать снова и снова и каждый раз открывать курорт по-новому.",introEn:"Curated escapes for every season — so you keep coming back and discover the resort anew each time.",seasons:[{titleRu:"Зима",titleEn:"Winter",descRu:"Баня на дровах, горячая купель и снег вокруг.",descEn:"Wood-fired banya, a hot tub and snow all around.",photo:{url:ae.banya}},{titleRu:"Весна",titleEn:"Spring",descRu:"Пробуждение природы, прогулки и утренние практики.",descEn:"Nature awakening, walks and morning practices.",photo:{url:ae.garden}},{titleRu:"Лето",titleEn:"Summer",descRu:"День у воды: бассейны, шезлонги и коктейли.",descEn:"A day by the water: pools, loungers and cocktails.",photo:{url:ae.poolside}},{titleRu:"Осень",titleEn:"Autumn",descRu:"Термальный retreat: пар, тепло и тишина леса.",descEn:"A thermal retreat: steam, warmth and forest silence.",photo:{url:ae.thermal}}],seo:void 0};function lE(){const{lang:l}=Fe(),r=Aw(Jp);rt(r.seo,{metaTitle:"Сезонные сценарии — Art Village",metaDescription:"Готовые сценарии отдыха под каждое время года: зима, весна, лето и осень в Art Village."});const o=r.hero??Jp.hero;return s.jsx(nE,{eyebrow:y(l,o.eyebrowRu,o.eyebrowEn),image:fe(o.photo)||ae.thermal,title:{ru:o.titleRu,en:o.titleEn},intro:{ru:r.introRu,en:r.introEn},cards:(r.seasons??[]).map(c=>({img:fe(c.photo)||ae.thermal,title:{ru:c.titleRu,en:c.titleEn},desc:{ru:c.descRu,en:c.descEn}}))})}const ui="https://artvillage.club",Xa={hero:ui+"/upload/iblock/c89/hands_of_female_potter_making_clay_vase_on_spinning_wheel_in_workshop.jpg",p1:ui+"/upload/resize_cache/iblock/63d/k1lkai5s76oanjzziht5rkehd5l0h1p7/850_1200_1/5377411368443043305.jpg",p2:ui+"/upload/resize_cache/iblock/292/aw5s1um22vccpguvbh13k9lsk9yadq58/850_1200_1/IMG_8638.JPG"},es=[ui+"/upload/iblock/7a9/IMG_6758.JPG",ui+"/upload/iblock/07d/IMG_1239.JPG",Xa.p1,Xa.p2,Xa.hero],Lu={hero:{eyebrowRu:"МАСТЕРСКАЯ",eyebrowEn:"WORKSHOP",titleRu:"Гончарная мастерская",titleEn:"Pottery workshop",subtitleRu:"Замедлиться, забыть о спешке и телефоне — и создать что-то своими руками.",subtitleEn:"Slow down, forget the rush and your phone — and create something with your own hands.",photo:{url:Xa.hero,alt:""}},philosophySection:{eyebrowRu:"Философия",eyebrowEn:"Philosophy",titleRu:"Глина возвращает в момент",titleEn:"Clay brings 
55you back to the moment",subtitleRu:"",subtitleEn:""},philosophyBodyRu:"В нашей мастерской можно замедлиться и избавиться от шума мыслей. Вы работаете руками — за гончарным кругом или лепкой — и уносите с собой свою посуду. Идеально для пары, семьи с детьми или большой компании.",philosophyBodyEn:"In our workshop you can slow down and quiet the mind. You work with your hands — at the wheel or hand-modeling — and take home your own ceramics. Perfect for a couple, a family with kids or a large company.",philosophyPhotos:[{url:Xa.p1,alt:""},{url:Xa.p2,alt:""}],gallerySection:{eyebrowRu:"Галерея",eyebrowEn:"Gallery",titleRu:"Атмосфера мастерской",titleEn:"The workshop atmosphere",subtitleRu:"",subtitleEn:""},gallery:[{url:es[0],alt:"",order:0},{url:es[1],alt:"",order:1},{url:es[2],alt:"",order:2},{url:es[3],alt:"",order:3},{url:es[4],alt:"",order:4}],formatsSection:{eyebrowRu:"Форматы",eyebrowEn:"Formats",titleRu:"Как прийти на занятие",titleEn:"How to join a class",subtitleRu:"",subtitleEn:""},cta:{titleRu:"Записаться на мастер-класс",titleEn:"Book a pottery class",subtitleRu:"Готовое изделие можно забрать через 3–4 недели. Запись по телефону или оставьте заявку.",subtitleEn:"Your finished piece is ready in 3–4 weeks. Book by phone or leave a request.",primaryLabelRu:"Связаться",primaryLabelEn:"Contact us",secondaryLabelRu:"",secondaryLabelEn:""},seo:void 0},sE=[{title:{ru:"Групповые занятия для гостей",en:"Group classes for guests"},when:{ru:"Сб и Вс · 11:00",en:"Sat & Sun · 11:00"},price:{ru:"500 ₽ / чел · обжиг и глазурь +1 800 ₽",en:"500 ₽ / person · firing & glazing +1,800 ₽"},desc:{ru:"Под руководством мастера лепите чашки, тарелки и миски. Подходит для детей от 5 лет.",en:"Make cups, plates and bowls with an instructor. Suitable for kids from 5 years."},bullets:[{ru:"Для гостей отеля",en:"For hotel guests"},{ru:"Готово через 3–4 недели",en:"Ready in 3–4 weeks"}]},{title:{ru:"Индивидуальные занятия",en:"Personal sessions"},when:{ru:"Ежедневно · 11:00–17:00",en:"Daily · 11:00–17:00"},price:{ru:"5 000 ₽ соло · 4 500 ₽ / чел от 2 человек",en:"5,000 ₽ solo · 4,500 ₽ / person for 2+"},desc:{ru:"Гончарный круг и ручная лепка. Группы до 30 человек — семьи, друзья, корпоративы. Обжиг и глазурь включены.",en:"Wheel throwing and hand-modeling. Groups up to 30 — families, friends, corporate retreats. Firing and glazing included."},bullets:[{ru:"До 30 человек",en:"Up to 30 people"},{ru:"Готово через 3–4 недели",en:"Ready in 3–4 weeks"}]}];function iE(){const{openChat:l}=Rt(),{lang:r}=Fe(),o=ww(Lu);rt(o.seo,{metaTitle:"Гончарная мастерская — Art Village",metaDescription:"Гончарная мастерская в Art Village: групповые и индивидуальные занятия за гончарным кругом и лепкой. Замедлиться и создать посуду своими руками."});const c=pw(sE),d=fe(o.hero?.photo)||Xa.hero,f=o.philosophyPhotos||Lu.philosophyPhotos,x=fe(f[0])||Xa.p1,g=fe(f[1])||Xa.p2,v=(o.gallery&&o.gallery.length?o.gallery:Lu.gallery).map(L=>fe(L)).filter(Boolean),h=v.length?v:es,[A,p]=w.useState(!1),[j,E]=w.useState(0),N=h.length,_=w.useCallback(L=>{E(L),p(!0)},[]),U=w.useCallback(()=>p(!1),[]);return w.useEffect(()=>{if(!A)return;const L=P=>{P.key==="Escape"?U():P.key==="ArrowRight"?E(ne=>(ne+1)%N):P.key==="ArrowLeft"&&E(ne=>(ne-1+N)%N)};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[A,U,N]),s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[64vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:d,alt:"",className:"w-full h-full object-cover brightness-[0.62] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-trans
55parent to-black/30"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(r,o.hero.eyebrowRu,o.hero.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md mb-6",children:y(r,o.hero.titleRu,o.hero.titleEn)}),s.jsx("p",{className:"text-base md:text-lg text-white/95 font-light max-w-xl leading-relaxed drop-shadow",children:y(r,o.hero.subtitleRu,o.hero.subtitleEn)})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-6",children:y(r,o.philosophySection.eyebrowRu,o.philosophySection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight leading-tight mb-6",children:y(r,o.philosophySection.titleRu,o.philosophySection.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/80 font-light leading-relaxed",children:y(r,o.philosophyBodyRu,o.philosophyBodyEn)})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsx("div",{className:"aspect-[3/4] overflow-hidden border border-[#E6E2DA]",children:s.jsx("img",{src:x,alt:"",className:"w-full h-full object-cover"})}),s.jsx("div",{className:"aspect-[3/4] overflow-hidden border border-[#E6E2DA] mt-8",children:s.jsx("img",{src:g,alt:"",className:"w-full h-full object-cover"})})]})]})}),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,o.gallerySection.eyebrowRu,o.gallerySection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,o.gallerySection.titleRu,o.gallerySection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:h.map((L,P)=>s.jsx("button",{onClick:()=>_(P),className:"relative aspect-[4/3] overflow-hidden border border-[#E6E2DA] group cursor-pointer",children:s.jsx("img",{src:L,alt:"",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"})},P))})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(r,o.formatsSection.eyebrowRu,o.formatsSection.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:y(r,o.formatsSection.titleRu,o.formatsSection.titleEn)})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:c.map((L,P)=>s.jsxs("div",{className:"bg-white border border-[#E6E2DA] p-8 flex flex-col",children:[s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight mb-3",children:y(r,L.title.ru,L.title.en)}),s.jsxs("p",{className:"text-xs tracking-wider uppercase text-[#2C2A29]/55 mb-4 inline-flex items-center gap-2",children:[s.jsx(eo,{className:"w-3.5 h-3.5"})," ",y(r,L.when.ru,L.when.en)]}),s.jsx("p",{className:"text-sm text-[#2C2A29]/80 font-light leading-relaxed mb-5",children:y(r,L.desc.ru,L.desc.en)}),s.jsx("ul",{className:"space-y-2 mb-6",children:L.bullets.map((ne,X)=>s.jsxs("li",{className:"text-xs text-[#2C2A29]/70 inline-flex items-center gap-2",children:[s.jsx(ig,{className:"w-3.5 h-3.5 text-emerald-700"})," ",y(r,ne.ru,ne.en)]},X))}),s.jsxs("div",{className:"mt-auto pt-5 border-t border-[#E6E2DA]",children:[s.jsx("p",{className:"font-mono text-sm text-[#1C1A19] mb-4",children:y(r,L.price.ru,L.price.en)}),s.jsx("button",{onClick:l,className:"w-full text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] py-4 transition-colors cursor-pointer",children:y(r,"Записаться","Book a class")})]})]},P))})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(r,o.cta.titleRu,o.cta.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(r,o.cta.subtitleRu,o.cta.subtitleEn)}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:l,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(r,o.cta.primaryLabelRu,o.cta.primaryLabelEn)}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]})}),A&&s.jsxs("div",{className:"fixed inset-0 z-[70] bg-black/90 flex flex-col",onClick:U,children:[s.jsx("div",{className:"flex items-center justify-end px-6 py-4 shrink-0",onClick:L=>L.stopPropagation(),children:s.jsx("button",{onClick:U,className:"p-2 text-white hover:opacity-70 cursor-pointer","aria-label":"close",children:s.jsx(kn,{className:"w-6 h-6"})})}),s.jsxs("div",{className:"flex-1 flex items-center justify-center px-4 md:px-16 relative min-h-0",onClick:L=>L.stopPropagation(),children:[s.jsx("button",{onClick:()=>E(L=>(L-1+N)%N),className:"absolute top-1/2 -translate-y-1/2 left-3 md:left-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 roun
55ded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"prev",children:s.jsx(mi,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})}),s.jsx("img",{src:h[j],alt:"",className:"max-h-[80vh] max-w-full object-contain"}),s.jsx("button",{onClick:()=>E(L=>(L+1)%N),className:"absolute top-1/2 -translate-y-1/2 right-3 md:right-6 z-20 grid place-items-center w-12 h-12 md:w-14 md:h-14 rounded-full bg-black/55 hover:bg-black/80 text-white ring-1 ring-white/60 shadow-[0_2px_14px_rgba(0,0,0,0.5)] backdrop-blur-sm transition-colors cursor-pointer","aria-label":"next",children:s.jsx(Ke,{className:"w-6 h-6 md:w-7 md:h-7",strokeWidth:2.25})})]}),s.jsxs("div",{className:"text-center py-5 shrink-0 text-white/60 text-xs tracking-widest font-mono",onClick:L=>L.stopPropagation(),children:[j+1," / ",N]})]})]})}const rE={hero:{eyebrowRu:"РАЗВЛЕЧЕНИЯ",eyebrowEn:"ACTIVITIES",titleRu:"Чем заняться в Art Village",titleEn:"Things to do at Art Village",subtitleRu:"Гончарная мастерская, wellness и баня, бассейны, рестораны и события — всё на одной территории в 12 км от МКАД.",subtitleEn:"A pottery studio, wellness and banya, pools, restaurants and events — all on one estate 12 km from the MKAD.",photo:{url:"",alt:""}},introRu:"Курорт устроен так, чтобы день можно было собрать под себя: утро — в тишине у воды, день — за гончарным кругом или в термальной зоне, вечер — в бане и за ужином.",introEn:"The resort is designed so you can shape the day around yourself: a quiet morning by the water, an afternoon at the potter's wheel or in the thermal zone, an evening in the banya and over dinner.",activitiesSection:{titleRu:"Развлечения и активности",titleEn:"Activities & experiences",eyebrowRu:"",eyebrowEn:"",subtitleRu:"",subtitleEn:""},activities:[],cta:{titleRu:"Собрать свой день на курорте",titleEn:"Plan your day at the resort",subtitleRu:"Подскажем, что успеть за день или выходные, и забронируем всё сразу.",subtitleEn:"We'll suggest what to fit into a day or a weekend and book it all at once.",primaryLabelRu:"Оставить заявку",primaryLabelEn:"Send a request"},seo:void 0};function oE(){const{lang:l}=Fe(),{openChat:r}=Rt(),o=Rw(rE);rt(o.seo,{metaTitle:"Развлечения в Art Village — гончарная, баня, spa, бассейны",metaDescription:"Чем заняться на курорте Art Village: гончарная мастерская, бассейны под открытым небом, баня на дровах и термальная зона, Nature SPA, рестораны и мероприятия."});const c=o.hero,d=o.activitiesSection,f=o.cta,x=fe(c?.photo)||ae.poolside,g=(Array.isArray(o.activities)?o.activities:[]).slice().sort((v,h)=>(v.order??0)-(h.order??0));return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:x,alt:"",className:"w-full h-full object-cover brightness-[0.6] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/40"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,c?.eyebrowRu,c?.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md mb-4",children:y(l,c?.titleRu,c?.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-white/90 font-light max-w-2xl drop-shadow",children:y(l,c?.subtitleRu,c?.subtitleEn)})]})]}),s.jsx("section",{className:"py-20 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[y(l,d?.eyebrowRu,d?.eyebrowEn)&&s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,d.eyebrowRu,d.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:y(l,d?.titleRu,d?.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed",children:y(l,o.introRu,o.introEn)})]})}),s.jsx("section",{className:"bg-white",children:g.map((v,h)=>{const A=fe(v.photo)||ae.garden,p=y(l,v.titleRu,v.titleEn),j=y(l,v.descRu,v.descEn),E=h%2===1,N=y(l,"Подробнее","Learn more");return s.jsx("div",{className:"border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16 md:py-20 grid grid-cols-1 lg:grid-cols-2 gap-10 lg:gap-16 items-center",children:[s.jsx("div",{className:`overflow-hidden border border-[#E6E2DA] ${E?"lg:order-2":""}`,children:s.jsx("img",{src:A,alt:p,loading:"lazy",className:"w-full h-[280px] md:h-[380px] object-cover hover:scale-[1.03] transition-transform duration-700"})}),s.jsxs("div",{className:E?"lg:order-1":"",children:[s.jsxs("span",{className:"font-mono text-xs text-[#2C2A29]/45 block mb-3",children:[String(h+1).padStart(2,"0")," /"]}),s.jsx("h3",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-4",children:p}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-6",children:j}),v.href&&(v.external?s.jsxs("a",{href:v.href,target:"_blank",rel:"noreferrer",className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white transition-colors px-6 py-3",children:[N," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]}):s.jsxs(Ae,{href:v.href,className:"inline-flex items-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white transition-colors px-6 py-3",children:[N," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]}))]})]})},h)})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(l,f?.titleRu,f?.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,f?.subtitleRu,f?.subtitleEn)}),s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,f?.primaryLabelRu,f?.primaryLabelEn)})]})})]})}const Bu={container:"adg-booking-widget",hotel:"6:e397961a0aa9ade04eb98a3c9d8e9d24",lang:"ru",css:Cg,type:"2",adults:1,headerHeight:80,footerHeight:0,yaMetrika:54196576,bookingRequest:1,noLegacyChecked:!1,yaMetrikaEneble:!0},cE="https://api.uhotels.app/widget/booking2/loader.js?62";function uE(){const l=w.useRef(null),r=A1();return w.useEffect(()=>{const o=window,c=new URLSearchParams(r).get("hotel")||Bu.hotel,d=c===td;o.artDg=o.artDg||{loader:!1},o.artDg.config=d?{...Bu,hotel:c,isBookingService:!0}:{...Bu,hotel:c},document.querySelectorAll(".u-pre-html-list").forEach(g=>g.parentElement?.remove()),l.current&&(l.current.innerHTML="");const f=document.querySelector("script[data-adg-booking]");f&&f.remove();const x=document.createElement("script");return x.type="text/javascript",x.async=!0,x.src=cE,x.setAttribute("data-adg-booking","1"),(document.head||document.body).appendChild(x),o.artDg.loader=!0,()=>{x.remove()}},[r]),s.jsx("div",{id:"adg-booking-widget",ref:l,className:"min-h-[420px]"})}function dE(){const{lang:l}=Fe();return rt(void 0,{metaTitle:"Онлайн-бронирование — Art Village",metaDescription:"Забронировать номер в Art Village онлайн: свободные номера, тарифы и цены на выбранные даты."}),s.jsxs("div",{children:[s.jsx("section",{className:"pt-32 pb-10 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,"Бронирование","Booking")}),s.jsx("h1",{className:"font-serif text-4xl md:text-6xl text-[#1C1A19] font-light tracking-tight",children:y(l,"Забронировать впечатление","Book an experience")})]})}),s.jsxs("section",{className:"py-10 md:py-14 bg-white",children:[s.jsx(uE,{}),s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsxs("p",{className:"text-center text-xs text-[#2C2A29]/50 mt-6",children:[y(l,"Модуль не загрузился? ","Module didn't load? "),s.jsxs("a",{href:"https://artvillage.club/booking/",target:"_blank",rel:"noreferrer",className:"underline hover:text-[#1C1A19]",children:[y(l,"Забронировать напрямую","Book directly")," ↗"]}),y(l," или по телефону "," or by phone "),s.jsx("a",{href:ce.phoneHref,className:"underline hover:text-[#1C1A19]",children:ce.phone})]})})]})]})}const fE="Вопросы и ответы об Art Village",mE="Art Village — загородный курорт и парк-отель в ближайшем Подмосковье: Московская область, городской округ Химки, деревня Голиково, улица Рябиновая, 1Г/3. Территория занимает 4 гектара соснового и берёзового леса у воды в 12 км от МКАД. На курорте 48 номеров и 5 вилл, велнес-центр площадью 2500 м² с двумя подогреваемыми бассейнами и баней на берёзовых дровах, спа-центр Nature SPA, пять ресторанных концепций, гончарная мастерская и площадки для мероприятий. Ниже — подробные ответы на частые вопросы о проживании, wellness и спа.",hE=JSON.parse(`[{"id":"location","title":"Расположение: Подмосковье рядом с Москвой","items":[{"q":"Где находится Art Village?","a":"Art Village находится в Московской области, в городском округе Химки, деревня Голиково, улица Рябиновая, 1Г/3. Это ближайшее Подмосковье по северо-западному направлению — 12 км от МКАД. Курорт занимает 4 гектара соснового и берёзового леса у воды."},{"q":"Как далеко Art Village от Москвы?","a":"Art Village расположен в 12 км от МКАД — это одно из самых близких к Москве загородных мест такого формата. Курорт находится за городом, в лесу, но при этом остаётся в пределах короткой поездки от столицы, поэтому сюда приезжают и на выходные, и всего на один день."},{"q":"Какой загородный отель выбрать недалеко от Москвы, чтобы не ехать несколько часов?","a":"Art Village подходит именно для такого сценария: курорт находится в 12 км от МКАД в городском округе Химки, поэтому дорога не съедает выходные. При этом территория в 4 гектара соснового леса у воды даёт полноценное ощущение загорода — с бассейнами под открытым небом, баней на дровах и тишиной, а не городского отеля."},{"q":"Art Village — это отель или база отдыха?","a":"Art Village — загородный курорт и дизайнерский парк-отель. Формально это средство размещения с номером в едином реестре классифицированных средств размещения С502024010004. От базы отдыха его отличает набор: 48 номеров и 5 вилл разных категорий, велнес-центр 2500 м², спа-центр Nature SPA, пять ресторанных концепций и собственная гончарная мастерская на одной территории."},{"q":"Можно ли приехать в Art Village без машины?","a":"Курорт расположен в деревне Голиково городского округа Химки Московской области, в 12 км от МКАД. Варианты трансфера и способы добраться без личного автомобиля уточняйте у службы бронирования по телефону +7 495 118-36-35 или по почте [email protected] — они подскажут актуальный маршрут под вашу дату заезда."}]},{"id":"stay","title":"Проживание в Подмосковье: номера и виллы","items":[{"q":"Какие номера есть в Art Village?","a":"В Art Village 48 номеров и 5 вилл, распределённых по Ð
55½ÐµÑÐºÐ¾Ð»ÑŒÐºÐ¸Ð¼ корпусам с разным характером: Dacha (основной корпус), Деревенский корпус в эко-эстетике из дерева и природного камня, Red House с двухуровневыми номерами, Black House с чёрным фасадом и панорамным остеклением, а также отдельно стоящие виллы и коттеджи. Категории — от Standard площадью 23 м² до Deluxe Villa площадью 700 м²."},{"q":"Какие категории номеров и на сколько гостей они рассчитаны?","a":"В Art Village 14 категорий размещения. Для двоих: Standard Village 23 м², Standard 25 м², Standard Village Plus 26 м² и Standard Chalet 26 м² (оба до 2+1), Studio 40 м² (2+1). Для пар и небольших семей: Standard Duplex 40 м², Junior Suite 45 м², Apartment 60 м², De Luxe 80 м², Deluxe Chalet 160 м² — все до 2+2 гостей. Для компаний и семей: Luxe 120 м² (4+2), Villa · 8 150 м² (8+2), Villa · 10 170 м² (10+2) и Deluxe Villa 700 м² (12+8)."},{"q":"Есть ли в Подмосковье рядом с Москвой отель, где можно снять целый дом на компанию?","a":"Да. В Art Village в 12 км от МКАД есть пять отдельно стоящих вилл и коттеджей: Villa · 8 площадью 150 м² на 8+2 гостей, Villa · 10 площадью 170 м² на 10+2 гостей и Deluxe Villa площадью 700 м² на 12+8 гостей с семью спальнями, гардеробными, камином и собственным паркингом. Это приватные дома на территории курорта — с доступом ко всей инфраструктуре, включая wellness и рестораны."},{"q":"Чем отличаются корпуса Art Village друг от друга?","a":"Dacha — основной корпус с самыми разными категориями, от Studio с кухней до Luxe 120 м² в стилистике барокко и ар-деко. Деревенский корпус построен на эко-эстетике: дерево, природный камень и натуральные ткани. Red House — двухуровневые номера, включая De Luxe 80 м² с дровяным камином. Black House отличается чёрным фасадом и панорамным остеклением с видом на берёзовую рощу. Виллы и коттеджи — приватные дома для большой компании."},{"q":"Есть ли номера с камином или собственной кухней?","a":"Да. Номер De Luxe площадью 80 м² в корпусе Red House — двухуровневый, с дровяным камином. Собственная кухня есть в Studio площадью 40 м² в корпусе Dacha, а также в двухуровневом Apartment 60 м² с гостиной. В Luxe 120 м² предусмотрены две спальни, кухня и гостиная."}]},{"id":"wellness","title":"Проживание с wellness и баней","items":[{"q":"Есть ли в Art Village wellness-центр?","a":"Да. В Art Village работает велнес-центр площадью 2500 м². В него входят два подогреваемых бассейна и два пляжа, термальная зона, баня на берёзовых дровах, горячие купели под открытым небом и спа-центр Nature SPA. Велнес-центр открыт с 10:00 до 22:00."},{"q":"Где под Москвой можно остановиться с бассейном и баней?","a":"Art Village в 12 км от МКАД сочетает проживание и полноценную wellness-инфраструктуру на одной территории: два подогреваемых бассейна под открытым небом, два пляжа, термальная зона, русская баня на берёзовых дровах и горячие купели на улице — всё в велнес-центре площадью 2500 м². Гостям не нужно никуда ехать: номера, бассейны, баня и рестораны находятся в пределах одной территории в 4 гектара."},{"q":"Работает ли бассейн зимой?","a":"Бассейны в Art Village подогреваемые и находятся под открытым небом, поэтому используются и в холодный сезон. Зимний сценарий отдыха на курорте построен именно вокруг этого контраста: горячая вода бассейна и бани на дровах на фоне прохладного воздуха и снега. Для холодных дней предусмотрен отдельный сценарий с усиленным прогревом парных и горячими купелями под открытым небом."},{"q":"Что такое баня на дровах в Art Village?","a":"Это русская баня, которую топят берёзовыми дровами, с термальной зоной и горячими купелями под открытым небом в ок
55ружении берёзового леса. Помимо свободного посещения, доступны авторские банные церемонии от профессиональных мастеров парения с индивидуальным подбором температуры и ароматов. Забронировать банный ритуал можно заранее."},{"q":"Wellness-зона общая для всех гостей или приватная?","a":"В Art Village сознательно отказались от массовости и шумных активностей: термальная зона и баня описываются курортом не как общественное пространство, а как тихое место, где соблюдаются личные границы гостей. Количество мест на день ограничено, посещение — по предварительной брони."},{"q":"В какое время работает велнес-центр?","a":"Велнес-центр Art Village работает с 10:00 до 22:00. Стойка размещения курорта работает круглосуточно. Уточнить часы на конкретную дату и забронировать визит можно по телефону +7 495 118-36-35, по вопросам спа — +7 495 118-32-24."}]},{"id":"spa","title":"Проживание со СПА: Nature SPA","items":[{"q":"Есть ли в Art Village спа-центр?","a":"Да, на территории курорта работает спа-центр Nature SPA. В нём пять пространств: зона релакса, три отдельных кабинета SPA luxe и кабинеты 1–3. Программа построена не как массовый каталог одинаковых процедур, а как набор индивидуальных ритуалов восстановления — всего около 28 услуг."},{"q":"Какие спа-процедуры можно забронировать?","a":"В Nature SPA пять направлений: массаж (12 программ), уходы для тела (8 программ), программы для двоих (4 программы), направление Woman only (3 программы) и уход за лицом по методике Thalasso. Среди процедур — стоун-терапия «Сила камней», экзотический массаж, RELAX СПА-массаж, комплексы ART WELLNESS MIX и «Восстановление»."},{"q":"Сколько стоит спа в Art Village?","a":"Локальный массаж одной зоны длительностью 30 минут стоит 3 900 ₽. Часовые и полуторачасовые массажи — в диапазоне примерно 5 000–8 400 ₽ в зависимости от программы и длительности. Комплексные уходы для тела: «Восстановление» 105 минут — 9 000 ₽, ART WELLNESS MIX 120 минут — 12 500 ₽. Программы для двоих: СПА-свидание 120 минут — 22 000 ₽, «Молочная ванна» 150 минут — 24 000 ₽, «Гармония» 210 минут — 42 000 ₽. Актуальный прайс уточняйте по телефону +7 495 118-32-24."},{"q":"Есть ли спа-программы для двоих и романтических выходных?","a":"Да. В Nature SPA есть отдельное направление для двоих: СПА-свидание длительностью 120 минут за 22 000 ₽, «Молочная ванна» 150 минут за 24 000 ₽, «Энергетический заряд» 210 минут за 38 000 ₽ и «Гармония» 210 минут за 42 000 ₽. Формат построен вокруг совместного замедления: мягкий свет свечей, расслабляющий уход и чайная церемония. Для романтического сценария на курорте есть и вечерний формат отдыха у воды — с живым огнём в костровых чашах, свечами и паром над тёплым бассейном."},{"q":"Можно ли организовать спа-девичник?","a":"Да, в Nature SPA есть направление Woman only. В него входят SPA-девичник для троих длительностью 210 минут за 60 000 ₽ и SPA-девичник для четверых длительностью 210 минут за 75 000 ₽, а также программа «Антистресс для мам» на 90 или 120 минут стоимостью 10 500 ₽ и 12 500 ₽ соответственно."}]},{"id":"day","title":"Спа и бассейны без проживания","items":[{"q":"Можно ли приехать в Art Village только на спа, без ночёвки?","a":"Да. Для этого есть формат «День мечты» (Day Retreat) — дневной отдых у воды без проживания. В него входит доступ к бассейнам и термальной зоне, баня на дровах и Nature SPA. Посещение только по предварительной брони, количество мест на день ограничено."},{"q":"Что такое «День мечты»?","a":"«День мечты» — готовый сценарий отдыха на целый день в Art Village без проживания, а не просто вход в спа-зону. Курорт предлагает несколько сценариев под время суток и погоду: утренний — плавание в тёплом бассейне и травяной welcome-ритуал в тишине; дневной — подогреваемый бассейн под открытым небом, приветственный коктейль и шезлонги на зелёном газоне; вечерний — костровые чаши, свечи и пар над тёплой водой; термальный — усиленный прогрев парных и горячие купели в прохладную погоду."},{"q":"Нужно ли бронировать спа и бассейн заранее?","a":"Да. Дневной отдых в велнес-центре Art Village доступен только по предварительной брони — количество мест на день ограничено, поскольку курорт сознательно отказался от массовости. Забронировать визит можно по телефону +7 495 118-36-35, по вопросам Nature SPA — +7 495 118-32-24."}]},{"id":"food","title":"Рестораны и питание","items":[{"q":"Где питаться на территории Art Village?","a":"На курорте пять ресторанных концепций. La'Ферма — авторский ресторан со стейками, морепродуктами, блюдами на мангале и винной картой, работает Пн–Чт с 09:00 до 23:00 и Пт–Вс с 09:00 до 00:00. Dacha — семейный ресторан, открыт с пятницы по воскресенье с 17:00 до 23:00. Также есть шведский стол, кафе-маркет Village Market и кондитерская с десертами и тортами."},{"q":"Входят ли завтраки в проживание?","a":"На курорте работает шведский стол: завтрак с 08:00 до 11:00 и обед с 13:00 до 15:00. Входит ли питание в конкретный тариф, зависит от выбранного варианта размещения — это видно при бронировании Ð
55½Ð¾Ð¼ÐµÑ€Ð° на сайте либо уточняется по телефону +7 495 118-36-35."},{"q":"Можно ли поужинать в ресторане, не проживая на курорте?","a":"Ресторан La'Ферма открыт для всех гостей, а не только для проживающих. Забронировать стол можно заранее по телефону +7 495 118-36-35."}]},{"id":"family","title":"Отдых с детьми и компанией","items":[{"q":"Подойдёт ли Art Village для отдыха с детьми?","a":"Да. На территории курорта работают гончарная мастерская, зоодвор и детский клуб, есть волейбольная площадка и прогулочные маршруты по лесу. Для семьи подойдут номера категорий 2+2 — например, Junior Suite 45 м², Apartment 60 м² или Deluxe Chalet 160 м², а для большой семьи — Luxe 120 м² на 4+2 гостей и виллы на 8–12 гостей."},{"q":"Чем заняться на курорте кроме бассейна и спа?","a":"В Art Village есть гончарная мастерская с групповыми и индивидуальными занятиями за гончарным кругом и лепкой — готовую посуду можно забрать с собой. Также на территории работают зоодвор и детский клуб, есть волейбол, прогулочные маршруты по сосновому лесу, рестораны и площадки для мероприятий."},{"q":"Что за гончарная мастерская на курорте?","a":"Это отдельная студия на территории Art Village, где проходят групповые и индивидуальные занятия за гончарным кругом и лепкой. Формат рассчитан на то, чтобы замедлиться и поработать руками; свою посуду гости забирают с собой. Занятия доступны и взрослым, и детям."},{"q":"Можно ли провести на курорте свадьбу или корпоратив?","a":"Да. Для событий на курорте есть зал ARTVILLAGE HALL площадью 250 м², отдельная зона церемоний и открытая BBQ-площадка. Мероприятия вынесены на отдельный сайт — event.artvillage.club, где собраны форматы и условия."}]},{"id":"booking","title":"Бронирование, цены и скидки","items":[{"q":"Как забронировать номер в Art Village?","a":"Номер бронируется онлайн на сайте курорта в разделе бронирования: выбираются даты и число гостей, затем категория номера и тариф. Также можно забронировать по телефону +7 495 118-36-35 или написать на [email protected]. Стойка размещения работает круглосуточно."},{"q":"Есть ли скидки на проживание?","a":"Да, на курорте действуют три постоянных предложения. Лонг-стей: −15% при бронировании от 3 ночей и −20% от 7 ночей. Раннее бронирование: −10% на любую категорию номера в будни при бронировании и оплате за 14 дней до заезда. День рождения: комплимент-десерт, −10% в Nature SPA в пределах трёх дней от даты и −10% в ресторане — для проживающих гостей."},{"q":"Есть ли программа лояльности?","a":"Да. При регистрации гость получает статус Bronze и начинает копить бонусы за все онлайн-оплаты: проживание, спа, рестораны, room service и подарочные сертификаты. Бонусы действуют 180 дней с момента начисления, а уровень в программе повышается автоматически по мере накопления ночей проживания."},{"q":"Можно ли подарить отдых в Art Village?","a":"Да, курорт выпускает подарочные сертификаты. Их можно оформить на сумму или на конкретное впечатление — проживание, день у воды, спа-ритуал или ужин. Сертификат бывает электронным или печатным, оформляется онлайн на сайте. Для компаний есть корпоративные подарки."},{"q":"Во сколько заезд и выезд?","a":"Точное время заезда и выезда указ
55ывается в подтверждении бронирования и видно в модуле онлайн-бронирования при выборе дат. Уточнить его для вашей даты можно у службы размещения по телефону +7 495 118-36-35 — стойка работает круглосуточно."}]},{"id":"seasons","title":"Сезоны и сценарии отдыха","items":[{"q":"В какое время года лучше ехать в Art Village?","a":"Курорт работает круглый год, и сценарии отдыха меняются по сезону. Зимой — баня на дровах, горячая купель и снег вокруг, при этом бассейны подогреваются и остаются открытыми. Летом — бассейны под открытым небом, зелёный газон с шезлонгами и два пляжа. В прохладную и дождливую погоду курорт переключается на термальный сценарий с усиленным прогревом парных и горячими купелями."},{"q":"Подойдёт ли Art Village для отдыха на одни выходные?","a":"Да, это один из основных сценариев: курорт находится в 12 км от МКАД, поэтому дорога занимает немного времени и на отдых остаются полноценные два дня. За выходные обычно успевают совместить бассейны и баню, одну процедуру в Nature SPA, ужин в ресторане и занятие в гончарной мастерской. При проживании от 3 ночей действует скидка −15%."},{"q":"Насколько на курорте тихо?","a":"Курорт занимает 4 гектара соснового и берёзового леса у воды и позиционирует себя как место без массовости и шумных активностей. Wellness-зона описывается как тихое пространство с уважением к личным границам гостей, количество мест на день ограничено. Гости в отзывах отмечают тишину, сосны и тёплые бассейны."}]},{"id":"contacts","title":"Контакты и реквизиты","items":[{"q":"Как связаться с Art Village?","a":"Телефон службы бронирования и стойки размещения — +7 495 118-36-35, работает круглосуточно. Телефон ресепшн Nature SPA — +7 495 118-32-24. Почта — [email protected]. Адрес: Московская область, городской округ Химки, деревня Голиково, улица Рябиновая, 1Г/3."},{"q":"Есть ли у Art Village классификация как средства размещения?","a":"Да. Номер записи в едином реестре классифицированных средств размещения — С502024010004. Рейтинг курорта на Яндекс.Картах — 5,0."}]}]`),ci={title:fE,intro:mE,sections:hE},Wp="faq-jsonld";function pE(){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:ci.sections.flatMap(l=>l.items.map(r=>({"@type":"Question",name:r.q,acceptedAnswer:{"@type":"Answer",text:r.a}})))}}function $p(){return rt(void 0,{metaTitle:"Вопросы и ответы — Art Village, загородный курорт в 12 км от МКАД",metaDescription:"Ответы на частые вопросы о загородном курорте Art Village в Подмосковье: проживание рядом с Москвой, велнес-центр 2500 м², баня на дровах, бассейны, Nature SPA, рестораны, цены и бронирование.",ke
55ywords:"проживание в Подмосковье, загородный отель рядом с Москвой, отель недалеко от Москвы, проживание со СПА, отель с велнес, отель с баней Подмосковье, спа-отель 12 км от МКАД"}),w.useEffect(()=>{if(document.getElementById(Wp))return;const l=document.createElement("script");return l.type="application/ld+json",l.id=Wp,l.text=JSON.stringify(pE()),document.head.appendChild(l),()=>l.remove()},[]),s.jsxs("div",{children:[s.jsx("section",{className:"pt-32 pb-12 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:"Вопросы и ответы"}),s.jsx("h1",{className:"font-serif text-4xl md:text-6xl text-[#1C1A19] font-light tracking-tight mb-6",children:ci.title}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-8",children:ci.intro}),s.jsx("nav",{"aria-label":"Разделы",className:"flex flex-wrap gap-x-5 gap-y-2",children:ci.sections.map(l=>s.jsx("a",{href:`#${l.id}`,className:"text-xs tracking-widest uppercase text-[#2C2A29]/55 hover:text-[#1C1A19] transition-colors",children:l.title},l.id))})]})}),ci.sections.map((l,r)=>s.jsx("section",{id:l.id,className:`py-16 md:py-20 border-b border-[#E6E2DA]/40 ${r%2?"bg-[#FAF9F5]":"bg-white"}`,children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsx("h2",{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight mb-10",children:l.title}),s.jsx("div",{className:"space-y-9",children:l.items.map(o=>s.jsxs("article",{children:[s.jsx("h3",{className:"font-serif text-lg md:text-xl text-[#1C1A19] tracking-tight mb-3",children:o.q}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed",children:o.a})]},o.q))})]})},l.id)),s.jsx("section",{className:"py-20 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-2xl md:text-3xl tracking-tight mb-5",children:"Не нашли ответ на свой вопрос?"}),s.jsx("p",{className:"text-sm text-[#FAF9F5]/70 font-light mb-8",children:"Служба размещения работает круглосуточно и поможет подобрать номер, сценарий отдыха или спа-программу под ваши даты."}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx(Ae,{href:"/booking",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors",children:"Забронировать номер"}),s.jsx("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#FAF9F5]/40 hover:bg-[#FAF9F5] hover:text-[#1C1A19] px-8 py-5 transition-colors",children:ce.phone})]})]})})]})}const xE={hero:{eyebrowRu:"СИСТЕМА ЛОЯЛЬНОСТИ",eyebrowEn:"LOYALTY PROGRAM",titleRu:"Система лояльности",titleEn:"Loyalty program",subtitleRu:"Каждое пребывание приносит не только удовольствие, но и бонусы.",subtitleEn:"Every stay brings not just pleasure, but bonuses.",photo:{url:"",alt:""}},introSection:{eyebrowRu:"Как это работает",eyebrowEn:"How it works",titleRu:"Бонусы за каждое пребывание",titleEn:"Bonuses for every stay"},introBodyRu:"При регистрации вы получаете статус Bronze и начинаете копить бонусы за все онлайн-оплаты: проживание, spa, рестораны, room service и подарочные сертификаты. Бонусы действуют 180 дней с момента начисления, а скидка по ним растёт с уровнем — до 20%.",introBodyEn:"On registration you receive Bronze status and start earning bonuses on all online payments: accommodation, spa, dining, room service and gift certificates. Bonuses are valid for 180 days from accrual, and the discount grows with your tier — up to 20%.",tiers:[{nameRu:"Bronze",nameEn:"Bronze",taglineRu:"Начало вашей привилегии",taglineEn:"The start of your privilege",conditionRu:"Автоматически при регистрации",conditionEn:"Automatically on registration",earnRu:"5% с онлайн-оплат",earnEn:"5% on online payments",useRu:"до 10% от суммы заказа",useEn:"up to 10% of the order",appliesRu:"Включая акционные тарифы",appliesEn:"Promotional rates included",order:1},{nameRu:"Silver",nameEn:"Silver",taglineRu:"Лояльность, которую вы заслужили",taglineEn:"Loyalty you've earned",conditionRu:"От 5 ночей в Art Village",conditionEn:"From 5 nights at Art Village",earnRu:"10% со всех онлайн-покупок",earnEn:"10% on all online purchases",useRu:"до 15% от суммы заказа",useEn:"up to 15% of the order",appliesRu:"Бронирования, сертификаты, услуги портала",appliesEn:"Bookings, certificates, portal services",order:2},{nameRu:"Gold",nameEn:"Gold",taglineRu:"Максимум комфорта и выгоды",taglineEn:"Maximum comfort and benefits",conditionRu:"От 16 ночей в Art Village",conditionEn:"From 16 nights at Art Village",earnRu:"15% с онлайн-оплат",earnEn:"15% on online payments",useRu:"до 20% от стоимости услуг",useEn:"up to 20% of service cost",appliesRu:"Все услуги: проживание, spa, рестораны, сертификаты",appliesEn:"All services: accommodation, spa, dining, certificates",order:3}],termsSection:{titleRu:"Условия программы",titleEn:"Program terms"}
55,termsBodyRu:"Бонусы начисляются за онлайн-оплаты проживания, spa, ресторанов, room service и подарочных сертификатов. Срок действия бонусов — 180 дней с момента начисления. Уровень повышается автоматически при накоплении ночей проживания.",termsBodyEn:"Bonuses are earned on online payments for accommodation, spa, dining, room service and gift certificates. Bonuses are valid for 180 days from accrual. Your tier upgrades automatically as you accumulate nights.",cta:{titleRu:"Присоединяйтесь к программе",titleEn:"Join the program",subtitleRu:"Зарегистрируйтесь и получите статус Bronze — бонусы начнут копиться с первой онлайн-оплаты.",subtitleEn:"Register and get Bronze status — bonuses start accruing from your first online payment.",primaryLabelRu:"Зарегистрироваться",primaryLabelEn:"Register"},ctaHref:"https://artvillage.club/booking/?loadLk=1",seo:void 0},gE=["border-t-[#1C1A19]","border-t-[#1C1A19]","border-t-[#1C1A19]"];function bE(){const{lang:l}=Fe(),r=Tw(xE);rt(r.seo,{metaTitle:"Система лояльности Art Village — бонусы за каждое пребывание",metaDescription:"Программа лояльности Art Village: статусы Bronze, Silver, Gold. Бонусы за онлайн-оплаты проживания, spa, ресторанов и сертификатов — скидка до 20%."});const o=r.hero,c=r.introSection,d=r.termsSection,f=r.cta,x=fe(o.photo)||ae.evening,g=(Array.isArray(r.tiers)?r.tiers:[]).slice().sort((v,h)=>(v.order??0)-(h.order??0));return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[62vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:x,alt:"",className:"w-full h-full object-cover brightness-[0.55] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/40"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,o.eyebrowRu,o.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md mb-4",children:y(l,o.titleRu,o.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-white/90 font-light max-w-xl drop-shadow",children:y(l,o.subtitleRu,o.subtitleEn)})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/60 block mb-4",children:y(l,c.eyebrowRu,c.eyebrowEn)}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-5",children:y(l,c.titleRu,c.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed",children:y(l,r.introBodyRu,r.introBodyEn)})]})}),s.jsx("section",{className:"py-24 bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:g.map((v,h)=>s.jsxs("div",{className:`bg-[#FAF9F5]/40 border border-[#E6E2DA] border-t-4 ${gE[h]??"border-t-[#1C1A19]"} p-8 md:p-10 flex flex-col`,children:[s.jsx("h3",{className:"font-serif text-3xl text-[#1C1A19] tracking-wide mb-1",children:y(l,v.nameRu,v.nameEn)}),s.jsx("p",{className:"text-xs text-[#2C2A29]/60 font-light italic mb-5",children:y(l,v.taglineRu,v.taglineEn)}),s.jsx("span",{className:"text-[10px] tracking-widest uppercase bg-[#1C1A19] text-white px-3 py-1.5 inline-block self-start mb-6",children:y(l,v.conditionRu,v.conditionEn)}),s.jsxs("div",{className:"space-y-4 text-sm font-light text-[#2C2A29]/85",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 block mb-1",children:y(l,"Начисление","Earn rate")}),s.jsx("span",{className:"text-lg font-serif text-[#1C1A19]",children:y(l,v.earnRu,v.earnEn)})]}),s.jsxs("div",{children:[s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 block mb-1",children:y(l,"Списание бонусами","Redeem")}),s.jsx("span",{className:"text-lg font-serif text-[#1C1A19]",children:y(l,v.useRu,v.useEn)})]}),s.jsxs("div",{className:"flex items-start gap-2 pt-2 border-t border-[#
55E6E2DA]/70",children:[s.jsx(ig,{className:"w-4 h-4 text-emerald-700 mt-0.5 shrink-0"}),s.jsx("span",{className:"leading-relaxed",children:y(l,v.appliesRu,v.appliesEn)})]})]})]},h))})})}),s.jsx("section",{className:"py-20 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-5",children:y(l,d.titleRu,d.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed whitespace-pre-line",children:y(l,r.termsBodyRu,r.termsBodyEn)})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-[#1C1A19] tracking-tight mb-6",children:y(l,f.titleRu,f.titleEn)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,f.subtitleRu,f.subtitleEn)}),s.jsxs("a",{href:r.ctaHref||"#",target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors",children:[y(l,f.primaryLabelRu,f.primaryLabelEn)," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})})]})}const yE={hero:{eyebrowRu:"ДОКУМЕНТЫ",eyebrowEn:"DOCUMENTS",titleRu:"Правила клуба",titleEn:"Club rules",subtitleRu:"Правила проживания, посещения зон и юридические документы курорта.",subtitleEn:"Rules of stay, facility access and legal documents of the resort.",photo:{url:"",alt:""}},introBodyRu:"Собрали в одном месте правила и документы Art Village. Каждый документ открывается в новой вкладке (PDF). Номер реестровой записи классификации: С50202401000.",introBodyEn:"All Art Village rules and documents in one place. Each document opens in a new tab (PDF). Classification registry record number: С50202401000.",documents:[],noteRu:"Документы носят справочный характер; актуальные редакции размещаются в отеле и на стойке размещения.",noteEn:"The documents are for reference; current versions are available at the hotel and reception desk.",seo:void 0},vE=l=>{const r=l.file&&l.file.url||l.url||"";return r?encodeURI(r):""};function wE(){const{lang:l}=Fe(),r=Dw(yE);rt(r.seo,{metaTitle:"Правила клуба и документы — Art Village",metaDescription:"Правила проживания, посещения бани, бассейна и ArtWellness Club, а также юридические документы и оферты Art Village."});const o=r.hero,c=fe(o.photo)||ae.garden,d=(Array.isArray(r.documents)?r.documents:[]).slice().sort((x,g)=>(x.order??0)-(g.order??0)),f=[];for(const x of d){const g=x.categoryRu||"Документы",v=x.c
55ategoryEn||x.categoryRu||"Documents";let h=f.find(A=>A.key===g);h||(h={key:g,ru:g,en:v,items:[]},f.push(h)),h.items.push(x)}return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[52vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:c,alt:"",className:"w-full h-full object-cover brightness-[0.55] saturate-[0.95]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/40"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-white/90 block mb-4 drop-shadow",children:y(l,o.eyebrowRu,o.eyebrowEn)}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-white font-light tracking-tight drop-shadow-md mb-4",children:y(l,o.titleRu,o.titleEn)}),s.jsx("p",{className:"text-sm md:text-base text-white/90 font-light max-w-xl drop-shadow",children:y(l,o.subtitleRu,o.subtitleEn)})]})]}),s.jsx("section",{className:"py-20 bg-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-14 max-w-2xl",children:y(l,r.introBodyRu,r.introBodyEn)}),s.jsx("div",{className:"space-y-12",children:f.map(x=>s.jsxs("div",{children:[s.jsx("h2",{className:"text-xs tracking-[0.25em] uppercase text-[#2C2A29]/55 font-semibold mb-5 pb-3 border-b border-[#E6E2DA]",children:y(l,x.ru,x.en)}),s.jsx("ul",{className:"divide-y divide-[#E6E2DA]/70",children:x.items.map((g,v)=>{const h=vE(g);return s.jsx("li",{children:s.jsxs("a",{href:h||"#",target:"_blank",rel:"noreferrer",className:`group flex items-center gap-4 py-4 transition-colors ${h?"hover:text-[#1C1A19]":"pointer-events-none opacity-50"}`,children:[s.jsx(Gu,{className:"w-5 h-5 text-[#2C2A29]/50 shrink-0 group-hover:text-[#1C1A19] transition-colors"}),s.jsx("span",{className:"text-sm md:text-base font-light text-[#2C2A29]/85 group-hover:text-[#1C1A19] flex-1",children:y(l,g.titleRu,g.titleEn)}),s.jsx(X2,{className:"w-4 h-4 text-[#2C2A29]/35 shrink-0 group-hover:text-[#1C1A19] transition-colors"})]})},v)})})]},x.key))}),y(l,r.noteRu,r.noteEn)&&s.jsx("p",{className:"text-xs text-[#2C2A29]/50 font-light leading-relaxed mt-14 pt-6 border-t border-[#E6E2DA]",children:y(l,r.noteRu,r.noteEn)})]})})]})}const Pp=`/booking?hotel=${encodeURIComponent(ed)}&dateIn=2026-12-31&dateOut=2027-01-02&adults=2`,$=(l,r)=>({ru:l,en:r}),AE=[{title:$("Ночь на двоих","A night for two"),meta:$("2 гостя · проживание с баней","2 guests · stay with banya"),text:$("Приватное бунгало, баня на дровах в вашем распоряжении, ужин La'Ферма и шампанское у бассейна под подсветкой. Тихо, тепло, только вы.","A private bungalow, a wood-fired banya to yourselves, a La'Ferma dinner and champagne by the lit pool. Quiet, warm, just the two of you."),img:ae.bungalow},{title:$("Новый год семьёй","New Year with family"),meta:$("3–6 гостей · номера + программа","3–6 guests · rooms + programme"),text:$("Смежные номера, неспешный семейный ужин, гончарный мастер-класс для детей и прогулки по зимнему саду. Праздник без суеты.","Connecting rooms, an unhurried family dinner, a pottery class for the children and walks through the winter garden. A celebration without the rush."),img:ae.garden},{title:$("Тихая компания","A close company"),meta:$("6–12 гостей · стол + баня","6–12 guests · table + banya"),text:$("Свой стол в La'Ферма, авторское меню шефа, термальная зона и баня после полуночи. Для тех, кто ценит близкий круг.","Your own table at La'Ferma, the chef's tasting menu, the thermal zone and a banya after midnight. For those who value the inner circle."),img:ae.dining},{title:$("Каникулы без спешки","An unhurried holiday"),meta:$("30.12 – 08.01 · длинное проживание","30 Dec – 8 Jan · extended stay"),text:$("Длинное проживание: спа, баня, рестораны и лес — столько, сколько нужно, чтобы наконец выдохнуть.","A long stay: spa, banya, restaurants and forest — as much as it takes to finally exhale."),img:ae.evening}],EE=[{title:$("Заселение и глинтвейн","Arrival and mulled wine"),meta:$("с 16:00","from 4 pm"),text:$("Ð
55’стречаем у камина, провожаем в номер или бунгало, согреваем с дороги.","We welcome you by the fire, show you to your room or bungalow and warm you after the road.")},{title:$("Баня на дровах и термальная зона","Wood-fired banya and thermal zone"),meta:$("18:00","6 pm"),text:$("Первый жар, купель, тишина пара — неспешно, до сумерек.","The first heat, the plunge pool, the silence of steam — slowly, into dusk.")},{title:$("Ужин в La'Ферма","Dinner at La'Ferma"),meta:$("21:00","9 pm"),text:$("Авторское меню шефа из локальных продуктов, при свечах. Без тамады и конкурсов — только кухня, вино и разговор.","The chef's set menu of local produce, by candlelight. No host, no games — only the kitchen, the wine and the conversation.")},{title:$("Шампанское у бассейна","Champagne by the pool"),meta:$("23:30","11:30 pm"),text:$("Тёплая вода, подсветка, снег над водой и бокал в руке перед боем курантов.","Warm water, soft light, snow above the surface and a glass in hand before the chimes.")},{title:$("Полночь под открытым небом","Midnight in the open air"),meta:$("00:00","midnight"),text:$("Куранты, тост и первые минуты года в тёплом свете. Ваш собственный обратный отсчёт — без городского шума.","The chimes, a toast and the first minutes of the year in warm light. Your own countdown — without the city's noise.")},{title:$("Утренняя баня на дровах","Morning wood-fired banya"),meta:$("утро 1 января","morning, 1 Jan"),text:$("Первое утро года начинается с бани на дровах и снега под ногами. Пар, прохлада, тишина леса.","The year's first morning begins with a wood-fired banya and snow underfoot. Steam, cool air, the silence of the forest.")}],jE=[{title:$("Проживание","Accommodation"),meta:$("по запросу","on request"),text:$("Номер или приватное бунгало на новогоднюю ночь либо на все каникулы, с поздним выездом.","A room or private bungalow for New Year's Eve or the whole holiday, with a late checkout.")},{title:$("Баня и термальная зона","Banya and thermal zone"),meta:$("",""),link:"/banya",text:$("Русская баня на дровах и термальная зона с купелями — сеанс в вашем формате.","A wood-fired Russian banya and thermal zone with plunge pools — a session shaped to your format.")},{title:$("Ужин La'Ферма","La'Ferma dinner"),meta:$("",""),link:"/dining",text:$("Новогоднее авторское меню шефа; свой стол — для компаний и семей.","The chef's New Year set menu; a private table for companies and families.")},{title:$("Nature SPA","Nature SPA"),meta:$("",""),link:"/spa",text:$("Массаж и уходы, чтобы встретить год отдохнувшими — по желанию в программу.","Massage and treatments to meet the year rested — added to the programme on request.")},{title:$("Шампанское и полночь","Champagne and midnight"),meta:$("включено в ночь","included on the night"),text:$("Бокал игристого у бассейна и тост под открытым небом в 00:00.","A glass of sparkling by the pool and a toast under the open sky at midnight.")},{title:$("Забота о деталях","Care for the details"),meta:$("по запросу","on request"),text:$("Трансфер, особые пожелания к столу и сюрпризы для близких — обсудим заранее.","Transfers, special requests at the table and surprises for loved one
55s — arranged in advance.")}],NE=[{title:$("Баня на дровах","Wood-fired banya"),meta:$("",""),link:"/banya",img:ae.banya,text:$("Живой жар, аромат дерева и купель под открытым небом. Главный ритуал зимнего вечера.","Living heat, the scent of wood and a plunge pool under the open sky. The centre of a winter evening.")},{title:$("Nature SPA","Nature SPA"),meta:$("",""),link:"/spa",img:ae.spa,text:$("Массаж и уходы в тишине — чтобы тело догнало паузу, которую вы себе подарили.","Massage and treatments in silence — so the body catches up with the pause you gave yourself.")},{title:$("Стол La'Ферма","The La'Ferma table"),meta:$("",""),link:"/dining",img:ae.dining,text:$("Авторская кухня из локальных продуктов, при свечах и без спешки.","Chef-led cuisine from local produce, by candlelight and without hurry.")}],SE=[{title:$("Гончарная мастерская","Pottery studio"),meta:$("",""),link:"/pottery",img:ae.movement,text:$("Мастер-классы за кругом — тёплое занятие для всей семьи в снежные дни.","Classes at the wheel — a warm activity for the whole family on snowy days.")},{title:$("Прогулки по лесу","Walks in the forest"),meta:$("",""),img:ae.garden,text:$("Заснеженные тропы, тишина и морозный воздух в двух шагах от бунгало.","Snowy paths, silence and frosty air a few steps from the bungalow.")},{title:$("Детский тайминг","An earlier evening for children"),meta:$("",""),img:ae.poolside,text:$("Праздник до полуночи для младших и спокойная взрослая ночь после.","A celebration before midnight for the little ones and a quiet grown-up night after.")}],CE=[ae.banya,ae.evening,ae.garden,ae.bungalow,ae.thermal,ae.dining],kE=[{title:$("12 км от МКАД","12 km from Moscow"),meta:$("",""),text:$("","")},{title:$("Новогодняя ночь — 31 декабря","New Year's night — 31 December"),meta:$("",""),text:$("","")},{title:$("Каникулы 30.12 — 08.01","Holidays 30 Dec — 8 Jan"),meta:$("",""),text:$("","")}],_E=l=>({title:$(l.titleRu||"",l.titleEn||l.titleRu||""),text:$(l.textRu||"",l.textEn||l.textRu||""),meta:$(l.metaRu||"",l.metaEn||l.metaRu||""),link:l.linkUrl||void 0,img:fe(l.image)||l.imageUrl||void 0}),Pl=(l,r)=>Array.isArray(l)&&l.length?l.map(_E):r;function RE(){const{lang:l}=Fe(),{openChat:r}=Rt(),o=Cw({});rt(o.seo,{metaTitle:"Новый год 2027 в Art Village — праздник за городом в 12 км от МКАД",metaDescription:"Новый год и зимние каникулы в загородном курорте Art Village: баня на дровах, ужин у La'Ферма, шампанское под открытым небом и тишина зимнего леса в 12 км от Москвы. Форматы для двоих, семьи и компании — по запросу.",keywords:"новый год за городом, новый год в подмосковье, встретить новый год рядом с москвой, новогодние каникулы, новогодняя ночь с баней, корпоратив на новый год, спа-отель новый год"});const c=(N,_,U,L)=>y(l,N||U,_||L),d=fe(o.heroPhoto)||o.heroPhotoUrl||ae.banya,f=fe(o.introPhoto)||o.introPhotoUrl||ae.garden,x=(()=>{const N=o.introBodyRu?y(l,o.introBodyRu,o.introBodyEn||o.introBodyRu):"",_=String(N).split(/\n\s*\n/).map(U=>U.trim()).filter(Boolean);return _.length?_:[y(l,"Мы не верим в один сценарий на всех. Кто-то встречает год вдвоём в приватном бунгало, кто-то — большим столом с семьёй, кто-то приезжает на все каникулы, чтобы замедлиться. Новый год в Art Village собран из форматов: у каждого ясный состав и понятный путь брони.","We don't believe in one script for everyone. Some meet the year as a couple in a private bungalow, some at a long family table, some come for the whole holiday to slow down. New Year at Art Village is built from formats — each with a clear list of what's included and a simple way to book."),y(l,"Здесь нет мишуры и громкой сцены. Праздник создаёт атмосфера — тёплый вечерний свет, снег за окном, огонь бани и лес, в котором ничего не происходит. Вы выбираете настроение, мы берём на себя тепло, тишину и детали.","There is no tinsel and no loud stage. The holiday is made of atmosphere — warm evening light, snow beyond the glass, the fire of the banya and a forest where nothing happens. You choose the mood; we take care of the warmth, the quiet and the details.")]})(),g=Pl(o.formats,AE),v=Pl(o.night,EE),h=Pl(o.included,jE),A=Pl(o.warmth,NE),p=Pl(o.holidays,SE),j=Pl(o.facts,kE),E=Array.isArray(o.gallery)&&o.gallery.length?o.gallery.map(fe).filter(
55Boolean):CE;return s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[86vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:d,alt:"",className:"w-full h-full object-cover brightness-[0.48] saturate-[0.9]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1C1A19] via-[#1C1A19]/30 to-[#1C1A19]/45"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-20",children:[s.jsx("span",{className:"text-xs tracking-[0.32em] uppercase text-white/70 block mb-5",children:c(o.heroEyebrowRu,o.heroEyebrowEn,"Новый год 2027 · 31 декабря — 8 января","New Year 2027 · 31 December — 8 January")}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl lg:text-8xl text-white font-light tracking-tight leading-[0.98] mb-6 max-w-3xl drop-shadow-md",children:c(o.heroTitleRu,o.heroTitleEn,"Новый год в тишине","A New Year in silence")}),s.jsx("p",{className:"text-sm md:text-base text-white/85 font-light leading-relaxed max-w-xl mb-9 drop-shadow",children:c(o.heroSubtitleRu,o.heroSubtitleEn,"Уехать из города — в снег и тепло. Двенадцать километров от МКАД, и звук становится другим: баня на дровах, стол La'Ферма и шампанское под открытым небом.","Leave the city — for snow and warmth. Twelve kilometres from the ring road, and the sound of things changes: a wood-fired banya, the La'Ferma table and champagne under the open sky.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsx(Ae,{href:Pp,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors",children:y(l,"Забронировать","Reserve")}),s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase text-white border border-white/30 hover:bg-white hover:text-[#1C1A19] px-8 py-5 transition-colors backdrop-blur-sm cursor-pointer",children:y(l,"Связаться","Get in touch")})]})]})]}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:c(o.introEyebrowRu,o.introEyebrowEn,"Замысел","The idea")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-6",children:c(o.introTitleRu,o.introTitleEn,"Один вечер — и несколько способов его прожить","One night — several ways to live it")}),x.map((N,_)=>s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed mb-4 last:mb-0",children:N},_))]}),s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA]",children:s.jsx("img",{src:f,alt:"",className:"w-full h-[300px] md:h-[440px] object-cover",loading:"lazy"})})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:c(o.formatsEyebrowRu,o.formatsEyebrowEn,"Форматы","Formats")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-4",children:c(o.formatsTitleRu,o.formatsTitleEn,"Четыре способа встретить год","Four ways to meet the year")}),s.jsx("p",{className:"text-sm text-[#2C2A29]/65 font-light max-w-2xl mb-12",children:c(o.formatsIntroRu,o.formatsIntroEn,"Отправная точка для выбора. Точный состав и стоимость — по запросу под ваши даты и число гостей.","A starting point for your choice. Exact contents and pricing are confirmed on request for your dates and party size.")}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:g.map((N,_)=>s.jsxs("div",{className:"grid grid-cols-[130px_1fr] md:grid-cols-[168px_1fr] gap-5 md:gap-7 items-start",children:[N.img&&s.jsx("div",{className:"overflow-hidden border border-[#
55E6E2DA]",children:s.jsx("img",{src:N.img,alt:"",loading:"lazy",className:"w-full h-[150px] md:h-[200px] object-cover hover:scale-[1.04] transition-transform duration-700"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight mb-1.5",children:y(l,N.title.ru,N.title.en)}),(N.meta.ru||N.meta.en)&&s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 block mb-3",children:y(l,N.meta.ru,N.meta.en)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed",children:y(l,N.text.ru,N.text.en)})]})]},_))})]})}),s.jsx("section",{id:"night",className:"py-28 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5]/55 block mb-4",children:c(o.nightEyebrowRu,o.nightEyebrowEn,"Новогодняя ночь","New Year's night")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-white tracking-tight mb-4",children:c(o.nightTitleRu,o.nightTitleEn,"Как проходит 31 декабря","How the 31st unfolds")}),s.jsx("p",{className:"text-sm text-[#FAF9F5]/55 font-light max-w-2xl mb-14",children:c(o.nightIntroRu,o.nightIntroEn,"Ориентир вечера. Ритм подстраивается под ваш формат — можно оставить только то, что дорого именно вам.","A guide to the evening. The rhythm bends to your format — keep only what matters to you.")}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-y-12 gap-x-8",children:v.map((N,_)=>s.jsxs("div",{className:"lg:border-l lg:border-white/15 lg:pl-7 lg:first:border-l-0 lg:first:pl-0",children:[s.jsxs("div",{className:"flex items-baseline gap-3 mb-3",children:[s.jsx("span",{className:"font-serif text-4xl text-white/35 leading-none",children:String(_+1).padStart(2,"0")}),(N.meta.ru||N.meta.en)&&s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#FAF9F5]/45",children:y(l,N.meta.ru,N.meta.en)})]}),s.jsx("h3",{className:"font-serif text-xl md:text-2xl text-white font-light mb-2",children:y(l,N.title.ru,N.title.en)}),s.jsx("p",{className:"text-sm text-[#FAF9F5]/60 font-light leading-relaxed",children:y(l,N.text.ru,N.text.en)})]},_))})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:c(o.includedEyebrowRu,o.includedEyebrowEn,"Что входит","What's included")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-4",children:c(o.includedTitleRu,o.includedTitleEn,"Ясный состав, без сюрпризов","A clear list, no surprises")}),s.jsx("p",{className:"text-sm text-[#2C2A29]/65 font-light max-w-2xl mb-12",children:c(o.includedIntroRu,o.includedIntroEn,"Каждый формат собирается из этих элементов. Финальный набор и смету готовим под ваши даты — по запросу.","
55Every format is assembled from these elements. The final selection and estimate are prepared for your dates — on request.")}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-px bg-[#E6E2DA] border border-[#E6E2DA]",children:h.map((N,_)=>s.jsxs("div",{className:"bg-[#FAF9F5] p-8 flex flex-col",children:[s.jsx("h3",{className:"font-serif text-xl md:text-2xl text-[#1C1A19] tracking-tight mb-2",children:y(l,N.title.ru,N.title.en)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed flex-1",children:y(l,N.text.ru,N.text.en)}),N.link?s.jsxs(Ae,{href:N.link,className:"inline-flex items-center gap-1 text-[11px] tracking-widest uppercase text-[#1C1A19] hover:text-[#2C2A29] mt-4",children:[y(l,"Подробнее","Learn more")," ",s.jsx(Ke,{className:"w-3.5 h-3.5"})]}):N.meta.ru||N.meta.en?s.jsx("span",{className:"text-[10px] tracking-widest uppercase text-[#2C2A29]/45 mt-4",children:y(l,N.meta.ru,N.meta.en)}):null]},_))})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:c(o.warmthEyebrowRu,o.warmthEyebrowEn,"Тёплые акценты","Warm accents")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight",children:c(o.warmthTitleRu,o.warmthTitleEn,"Три источника тепла","Three sources of warmth")})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:A.map((N,_)=>{const U=s.jsxs(s.Fragment,{children:[N.img&&s.jsx("img",{src:N.img,alt:"",loading:"lazy",className:"absolute inset-0 w-full h-full object-cover brightness-[0.72] group-hover:scale-105 transition-transform duration-700"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),s.jsxs("div",{className:"relative z-10 h-full flex flex-col justify-end p-6 text-white",children:[s.jsx("h3",{className:"font-serif text-2xl tracking-wide mb-2",children:y(l,N.title.ru,N.title.en)}),s.jsx("p",{className:"text-xs text-white/80 font-light leading-relaxed mb-3",children:y(l,N.text.ru,N.text.en)}),N.link&&s.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] tracking-widest uppercase text-white/90",children:[y(l,"Подробнее","Learn more")," ",s.jsx(Ke,{className:"w-3.5 h-3.5"})]})]})]});return N.link?s.jsx(Ae,{href:N.link,className:"group relative overflow-hidden border border-[#E6E2DA] aspect-[4/5] block",children:U},_):s.jsx("div",{className:"group relative overflow-hidden border border-[#E6E2DA] aspect-[4/5]",children:U},_)})})]})}),s.jsx("section",{className:"py-24 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[s.jsxs("div",{className:"max-w-2xl mb-12",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#2C2A29]/55 block mb-4",children:c(o.holidaysEyebrowRu,o.holidaysEyebrowEn,"Каникулы","The holidays")}),s.jsx("h2",{className:"font-serif text-4xl md:text-5xl text-[#1C1A19] tracking-tight mb-5",children:c(o.holidaysTitleRu,o.holidaysTitleEn,"С 30 декабря по 8 января","From 30 December to 8 January")}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/70 font-light leading-relaxed",children:c(o.holidaysIntroRu,o.holidaysIntroEn,"Длинные каникулы для тех, кто приезжает не на ночь, а за настроением. Дни складываются из леса, тепла и неспешных занятий — для взрослых и детей.","A long holiday for those who come not for a night but for a mood. The days are made of forest, warmth and unhurried things to do — for grown-ups and children alike.")})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:p.map((N,_)=>s.jsxs("div",{children:[N.img&&s.jsx("div",{className:"overflow-hidden border border-[#E6E2DA] mb-5",children:s.jsx("img",{src:N.img,alt:"",loading:"lazy",className:"w-full h-[220px] object-cover hover:scale-[1.04] transition-transform duration-700"})}),s.jsx("h3",{className:"font-serif text-2xl text-[#1C1A19] tracking-tight mb-2",children:y(l,N.title.ru,N.title.en)}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light leading-relaxed mb-3",children:y(l,N.text.ru,N.text.en)}),N.link&&s.jsxs(Ae,{href:N.link,className:"inline-flex items-center gap-1 text-[11px] tracking-widest uppercase text-[#1C1A19] hover:text-[#2C2A29]",children:[y(l,"Подробнее","Learn more")," ",s.jsx(Ke,{className:"w-3.5 h-3.5"})]})]},_))})]})}),E.length>0&&s.jsx(ad,{images:E,eyebrowRu:o.galleryEyebrowRu||"Атмосфера",eyebrowEn:o.galleryEyebrowEn||"The mood",titleRu:o.galleryTitleRu||"Зима в Art Village",titleEn:o.galleryTitleEn||"Winter at Art Village",dark:!0}),j.length>
550&&s.jsx("section",{className:"bg-white border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 py-8 flex flex-col sm:flex-row flex-wrap items-center justify-center gap-x-10 gap-y-3 text-center",children:j.map((N,_)=>s.jsx("span",{className:"text-xs tracking-widest uppercase text-[#2C2A29]/60",children:y(l,N.title.ru,N.title.en)},_))})}),s.jsx("section",{className:"py-24 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5]/55 block mb-4",children:c(o.ctaEyebrowRu,o.ctaEyebrowEn,"Мест немного","Places are limited")}),s.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-white tracking-tight mb-5",children:c(o.ctaTitleRu,o.ctaTitleEn,"Забронируйте Новый год","Reserve your New Year")}),s.jsx("p",{className:"text-sm md:text-base text-[#FAF9F5]/65 font-light leading-relaxed mb-9 max-w-xl mx-auto",children:c(o.ctaBodyRu,o.ctaBodyEn,"Мы держим количество гостей небольшим — ради того самого воздуха. Расскажите о формате и числе гостей, и мы соберём ваш сценарий и подготовим смету. Новогодняя ночь и каникулы бронируются заранее.","We keep the number of guests small — for the sake of that very air. Tell us the format and the number of guests, and we'll shape your script and prepare a quote. New Year's night and the holiday stay are booked in advance.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4 mb-6",children:[s.jsx(Ae,{href:Pp,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors",children:y(l,"Забронировать","Reserve")}),s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-white/30 text-white hover:bg-white hover:text-[#1C1A19] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Связаться","Get in touch")}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase text-[#FAF9F5]/70 hover:text-white px-6 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]}),s.jsxs("p",{className:"text-[11px] tracking-widest uppercase text-[#FAF9F5]/40",children:[c(o.ctaCorpRu,o.ctaCorpEn,"Корпоративный Новый год — ","Corporate New Year — "),s.jsx("a",{href:rs,target:"_blank",rel:"noreferrer",className:"text-[#FAF9F5]/70 hover:text-white underline underline-offset-4",children:"event.artvillage.club"})]})]})})]})}const TE=[{key:"torty",ru:"Торты",en:"Cakes"},{key:"bento",ru:"Бенто-торты",en:"Bento cakes"},{key:"dessert",ru:"Десерты",en:"Desserts"},{key:"cookies",ru:"Печенье и сладости",en:"Cookies & sweets"}],DE=[{name:"Торт Прага 1кг",price:"3000 ₽",desc:"Шоколадный бисквит, пропитанный коньячным сиропом, и сливочным кремом на основе сгущенного молока и какао, с добавлением абрикосового джема. Покрыт шоколадной глазурью.",cat:"torty",img:"/cakes-media/cake-01.jpg"},{name:"Фисташковый рулет 1кг",price:"4000 ₽",desc:"Хрустящая фисташковая меренга. Нежный сливочно-сырный крем с фисташковой пастой. Декор из меренги, свежих ягод , измельченных фисташек и сублимированной малин
55ы.",cat:"torty",img:"/cakes-media/cake-02.jpg"},{name:"Меренговый рулет 1кг",price:"4000 ₽",desc:"Хрустящая меренга с добавлением кокосовой стружки, мягкий сырный крем и свежая малина.",cat:"torty",img:"/cakes-media/cake-03.jpg"},{name:"Мега Фисташковый Торт 1кг",price:"3800 ₽",desc:"Ванильный бисквит с добавлением фисташек, лёгкий и нежный сырный крем, с добавлением фисташковой пасты. С пропиткой из сгущенного молока и жареных фисташек. декорируется шариками из сгущенного молока и фисташками.",cat:"torty",img:"/cakes-media/cake-04.jpg"},{name:'Медовик "Классический"1кг',price:"2800 ₽",desc:"Тонкие песочно-медовые коржи и нежный сметано-сливочный крем.",cat:"torty",img:"/cakes-media/cake-05.jpg"},{name:'Медовик "С Грушей " 1кг',price:"3200 ₽",desc:"Тонкие песочно-медовые коржи и нежный сметано-сливочный крем. И карамелизованный грушевый слой.",cat:"torty",img:"/cakes-media/cake-06.jpg"},{name:"Меренговый торт 1кг",price:"4000 ₽",desc:"Лёгкий ванильный бисквит, xpycтящая меренга с добавлением кокосовой стружки, нежный сырный крем. Декорируется свежими ягодами.",cat:"torty",img:"/cakes-media/cake-07.jpg"},{name:"Морковный торт 1 кг",price:"3000 ₽",desc:"Нежный пряный бисквит на основе моркови с добавлением грецкого ореха. Нежный сырный крем. Украшается жареными грецкими орехами.",cat:"torty",img:"/cakes-media/cake-08.jpg"},{name:"Ореховый торт (1кг)",price:"3000 ₽",desc:"Потрясающий, необычный и очень вкусный ореховый торт ,для любителей безе. Мягкие песочные коржи, хрустящая меренга, орешки и карамельный домашний крем ,потрясающее сочетание!",cat:"torty",img:"/cakes-media/cake-09.jpeg"},{name:'Торт "Молочная девочка" 1кг',price:"4000 ₽",desc:"«Молочная девочка» — это нежный воздушный торт из тонких коржей на сгущенном молоке и нежнейший сливочно-творожный крем. Декорируется свежей клубникой.",cat:"torty",img:"/cakes-media/cake-10.jpg"},{name:'Торт "Сникерс"',price:"3200 ₽",desc:"Торт для любителей арахиса и карамели ! Сочный шоколадный бисквит, вкуснейшая соленая сливочная карамель, карамелизованный арахис, и нежный крем-чиз.",cat:"torty",img:"/cakes-media/cake-11.jpg"},{name:"Торт Микадо 1кг",price:"3000 ₽",desc:"Тонкие песочные коржи, пропитанные нежным сливочно-карамельным кремом.",cat:"torty",img:"/cakes-media/cake-12.jpg"},{name:"Торт Панчо 1кг",price:"3000 ₽",desc:"Шоколадный бисквит со сливочным кремом, консервированными ананасами и грецким орехом. Декорируется растопленным шоколадом жареными грецкими орехами.",cat:"torty",img:"/cakes-media/cake-13.jpg"},{name:"Торт с Черносливом и Грецкими Орехами 1кг",price:"3500 ₽",desc:"Ванильный бисквит, пропитанный сырным кремом, с добавлением сгущенного молока, грецких орехов и чернослива. Сверху украшен сливочным кремом, жареными грецкими орехами и черносливом.",cat:"torty",img:"/cakes-media/cake-14.jpg"},{name:"Клубничный торт 1кг",price:"4000 ₽",de
55sc:"Воздушный ванильный бисквит, пропитанный лёгким сырным кремом. Начинкой торта будет очень много свежей клубники.",cat:"torty",img:"/cakes-media/cake-15.jpg"},{name:"Бенто",price:"1000 ₽",desc:"Бисквит красный Бархат. Нежный крем-чиз. Декорируется свежими ягодами .Вес - 400гр.",cat:"bento",img:"/cakes-media/cake-16.jpg"},{name:'Пирожное "Муравейник"',price:"390 ₽",desc:"Хрустящее песочное печенье, вареная сгущенка и настоящий бельгийский шоколад!",cat:"dessert",img:"/cakes-media/cake-17.jpeg"},{name:'Пирожное "Птичка "',price:"360 ₽",desc:"Тончайшие медовые коржи пропитанные нежнейшим заварным кремом и покрытые шоколадной глазурью.Просто тает во рту!",cat:"dessert",img:"/cakes-media/cake-18.jpeg"},{name:'Пирожное "Эскимо"',price:"400 ₽",desc:"Пирожное картошка в форме эскимо. Покрыт шоколадной глазурью .",cat:"dessert",img:"/cakes-media/cake-19.jpg"},{name:"Тирамису",price:"280 ₽",desc:'Классический "Тирамису" в порционных стаканчиках.',cat:"dessert",img:"/cakes-media/cake-20.jpg"},{name:"Орешки со сгущенкой (6 шт)",price:"400 ₽",desc:'Печенье "Орешки" из детства. Песочное тесто ,карамельный крем. Вес -20гр.',cat:"cookies",img:"/cakes-media/cake-21.jpg"},{name:"Пирожное Macarons 5 шт.",price:"500 ₽",desc:"",cat:"cookies",img:"/cakes-media/cake-22.jpg"},{name:'Ассорти "Меренга"',price:"319 ₽",desc:"Легкие, хрустящие и воздушные.",cat:"cookies",img:"/cakes-media/cake-23.jpg"},{name:"Брутти-ма-буони (уп)",price:"299 ₽",desc:"Чудесное Итальянское печенье Брутти ма буони — Brutti ma buoni. Печенье с фундуком , хрустящей корочкой и более мягкой жевательной текстурой внутри.",cat:"cookies",img:"/cakes-media/cake-24.jpg"},{name:"Конфеты с сухофруктами (6шт)",price:"398 ₽",desc:"Натуральный Бельгийский шоколад. Начинка орехи и сухофрукты (грецкие орехи, курага , изюм) ,с добавлением мёда.",cat:"cookies",img:"/cakes-media/cake-25.jpg"},{name:"Миндальное печенье (5шт)",price:"500 ₽",desc:"Миндальное печенье с добавлением цедрой лимона и апельсина. Вес -65гр.",cat:"cookies",img:"/cakes-media/cake-26.jpg"},{name:"Миндальное печенье с абрикосовым джемом (5 шт)",price:"500 ₽",desc:"Нежное миндальное печенье, с абрикосовым джемом. Вес - 30гр.",cat:"cookies",img:"/cakes-media/cake-27.jpg"},{name:'Печенье "Курабье" 4шт',price:"45 ₽",desc:"",cat:"cookies",img:"/cakes-media/cake-28.jpg"},{name:"Ассорти чипсов (50 гр)",price:"340 ₽",desc:"Готовятся из свежих и качественных фруктов, без сахара и других добавок.",cat:"cookies",img:"/cakes-media/cake-29.jpg"},{name:"Имбирные Пряники (2шт)",price:"380 ₽",desc:"Имбирные Пряники - пряные, ароматные, хрустящие и очень вкусные",cat:"cookies",img:"/cakes-media/cake-30.jpg"}],zg={categories:TE,items:DE},zE=zg.items.map(l=>({name:l.name,nameEn:l.name,price:l.price,desc:l.desc||"",descEn:l.desc||"",cat:l.cat,img:l.img})),ME=zg.categories,OE="/cakes-media/cake-15.jpg";function LE(){const{lang:l}=Fe(),{openChat:r}=Rt(),[o,c]=w.useState("all"),d=kw({}),f=_w([]);rt(d.seo,{metaTitle:"Торты и десерты Art Village — кондитерская Village Market",metaDescription:"Авторские торты, бенто-торты, муссовые десерты и печенье от кондитеров Art Village. По семейным рецептам и современные — с доставкой и самовывозом. Цены и ассортимент.",keywords:"торты на заказ, купить торт подмосковье, бенто-торт, муссовый торт, медовик, наполеон, десерты, кондитерская art village"});const x=(p,j,E,N)=>y(l,p||E,j||N),g=f.length?f:zE,v=(Array.isArray(d.categories)&&d.categories.length?d.categories.map(p=>({key:p.key,ru:p.nameRu||p.key,en:p.nameEn||p.nameRu||p.key})):ME).filter(p=>g.some(j=>j.cat===p.key)),h=o==="all"?g:g.filter(p=>p.cat===o),A=fe(d.heroPhoto)||d.heroPhotoUrl||OE;return s.jsxs("div",{children:[s.jsx("section",{className:"pt-28 pb-16 md:pb-20 bg-[#FAF9F5] border-b border-[#
55E6E2DA]/50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-1 lg:grid-cols-2 gap-10 lg:gap-16 items-center",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-xs tracking-[0.32em] uppercase text-[#2C2A29]/55 block mb-5",children:x(d.heroEyebrowRu,d.heroEyebrowEn,"Village Market · Кондитерская","Village Market · Patisserie")}),s.jsx("h1",{className:"font-serif text-5xl md:text-7xl text-[#1C1A19] font-light tracking-tight leading-[1.0] mb-6",children:x(d.heroTitleRu,d.heroTitleEn,"Торты и десерты","Cakes & desserts")}),s.jsx("p",{className:"text-sm md:text-base text-[#2C2A29]/75 font-light leading-relaxed max-w-lg mb-8",children:x(d.heroSubtitleRu,d.heroSubtitleEn,"Торты по семейным рецептам и авторские десерты — из натуральных продуктов, сделанные с душой. Собрали ассортимент и цены в одном месте.","Cakes from family recipes and signature desserts — made from natural ingredients, with care. The full range and prices in one place.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Заказать торт","Order a cake")}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center gap-2 text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:[s.jsx(to,{className:"w-4 h-4"})," ",ce.phone]})]})]}),s.jsx("div",{className:"relative overflow-hidden border border-[#E6E2DA] aspect-[4/5] lg:aspect-auto lg:h-[520px]",children:s.jsx("img",{src:A,alt:"",className:"absolute inset-0 w-full h-full object-cover"})})]})}),s.jsx("section",{className:"sticky top-[80px] z-30 bg-[#FAF9F5]/95 backdrop-blur border-b border-[#E6E2DA]",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-4 flex flex-wrap gap-2 justify-center",children:[s.jsx("button",{onClick:()=>c("all"),className:`text-[11px] md:text-xs tracking-widest uppercase px-4 py-2.5 border transition-colors cursor-pointer ${o==="all"?"bg-[#1C1A19] text-white border-[#1C1A19]":"bg-white border-[#E6E2DA] text-[#2C2A29]/70 hover:border-[#1C1A19]"}`,children:y(l,"Все","All")}),v.map(p=>s.jsx("button",{onClick:()=>c(p.key),className:`text-[11px] md:text-xs tracking-widest uppercase px-4 py-2.5 border transition-colors cursor-pointer ${o===p.key?"bg-[#1C1A19] text-white border-[#1C1A19]":"bg-white border-[#E6E2DA] text-[#2C2A29]/70 hover:border-[#1C1A19]"}`,children:y(l,p.ru,p.en)},p.key))]})}),s.jsx("section",{className:"py-16 md:py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-6 gap-y-12",children:h.map((p,j)=>s.jsxs("article",{className:"group flex flex-col",children:[s.jsx("div",{className:"relative overflow-hidden border border-[#E6E2DA] aspect-[4/5] mb-4",children:p.img?s.jsx("img",{src:p.img,alt:y(l,p.name,p.nameEn),loading:"lazy",className:"absolute inset-0 w-full h-full object-cover group-hover:scale-[1.04] transition-transform duration-700"}):s.jsx("div",{className:"absolute inset-0 bg-[#F0EDE6]"})}),s.jsx("h3",{className:"font-serif text-lg md:text-xl text-[#1C1A19] tracking-tight leading-snug mb-1.5",children:y(l,p.name,p.nameEn)}),(p.desc||p.descEn)&&s.jsx("p",{className:"text-xs text-[#2C2A29]/55 font-light leading-relaxed mb-3 line-clamp-2",children:y(l,p.desc,p.descEn)}),s.jsx("div",{className:"mt-auto pt-1 font-serif text-xl text-[#1C1A19]",children:p.price})]},j))})})}),s.jsx("section",{className:"py-20 bg-[#1C1A19] text-[#FAF9F5]",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("span",{className:"text-xs tracking-[0.3em] uppercase text-[#FAF9F5]/55 block mb-4",children:x(d.ctaEyebrowRu,d.ctaEyebrowEn,"Как заказать","How to order")}),s.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-white tracking-tight mb-5",children:x(d.ctaTitleRu,d.ctaTitleEn,"Оформим заказ и подскажем по вкусам","We'll take your order and help you choose")}),s.jsx("p",{className:"text-sm md:text-base text-[#FAF9F5]/65 font-light leading-relaxed mb-8 max-w-xl mx-auto",children:x(d.ctaBodyRu,d.ctaBodyEn,"Напишите в чат или позвоните — примем заказ, обсудим начинку, вес и дату. Минимальная сумма заказа — 2000 ₽.","Message us in chat or call — we'll take the order and discuss the filling, weight and date. Minimum order — 2000 ₽.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#FAF9F5] hover:bg-[#
55E6E2DA] text-[#1C1A19] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Написать в чат","Message us")}),s.jsxs("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-white/30 text-white hover:bg-white hover:text-[#1C1A19] px-8 py-5 transition-colors",children:[ce.phone," ",s.jsx(Ke,{className:"w-4 h-4 ml-2"})]})]})]})})]})}const BE=[{href:"/stay",ru:"Проживание",en:"Stay",descRu:"48 номеров и 5 вилл в сосновом лесу",descEn:"48 rooms and 5 villas in a pine forest"},{href:"/wellness",ru:"Wellness и баня",en:"Wellness & banya",descRu:"Бассейны, термальная зона, Nature SPA",descEn:"Pools, thermal zone, Nature SPA"},{href:"/dining",ru:"Рестораны",en:"Dining",descRu:"Пять гастрономических пространств",descEn:"Five dining spaces"},{href:"/activities",ru:"Развлечения",en:"Activities",descRu:"Гончарная, зоодвор, прогулки",descEn:"Pottery, petting zoo, walks"},{href:"/faq",ru:"Вопросы и ответы",en:"FAQ",descRu:"Коротко о курорте и бронировании",descEn:"About the resort and booking"},{href:"/booking",ru:"Забронировать",en:"Book",descRu:"Свободные номера и цены на даты",descEn:"Availability and rates"}];function UE(){const{lang:l}=Fe(),{openChat:r}=Rt();return rt(void 0,{metaTitle:y(l,"Страница не найдена — Art Village","Page not found — Art Village"),metaDescription:y(l,"Такой страницы на сайте Art Village нет. Перейдите в раздел проживания, wellness, ресторанов или свяжитесь с нами.","This page does not exist on the Art Village site. Try accommodation, wellness, dining — or contact us."),noindex:!0}),s.jsxs("div",{children:[s.jsxs("section",{className:"relative min-h-[58vh] pt-20 flex items-end overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 z-0",children:[s.jsx("img",{src:ae.garden,alt:"",className:"w-full h-full object-cover brightness-[0.55] saturate-[0.9]"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FAF9F5] via-transparent to-black/40"})]}),s.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 w-full pb-16",children:[s.jsx("span",{className:"font-mono text-xs tracking-[0.3em] text-white/80 block mb-4 drop-shadow",children:"404"}),s.jsx("h1",{className:"font-serif text-4xl md:text-6xl text-white font-light tracking-tight drop-shadow-md mb-4",children:y(l,"Кажется, вы свернули не туда","Looks like a wrong turn")}),s.jsx("p",{className:"text-sm md:text-base text-white/90 font-light max-w-xl drop-shadow",children:y(l,"Такой страницы на сайте нет — возможно, адрес изменился. Ниже основные разделы курорта.","This page doesn't exist — the address may have changed. The main sections are below.")})]})]}),s.jsx("section",{className:"py-20 bg-[#FAF9F5] border-b border-[#E6E2DA]/40",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6",children:s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-px bg-[#E6E2DA]",children:BE.map((o,c)=>s.jsxs(Ae,{href:o.href,className:"group bg-[#FAF9F5] hover:bg-white transition-colors p-8 flex flex-col",children:[s.jsxs("span",{className:"font-mono text-xs text-[#2C2A29]/40 block mb-4",children:[String(c+1).padStart(2,"0")," /"]}),s.jsxs("span",{className:"font-serif text-xl md:text-2xl text-[#1C1A19] tracking-tight mb-2 inline-flex items-center",children:[y(l,o.ru,o.en),s.jsx(Ke,{className:"w-4 h-4 ml-1 opacity-0 -translate-x-1 group-hover:opacity-100 group-hover:translate-x-0 transition-all"})]}),s.jsx("span",{className:"text-xs text-[#2C2A29]/65 font-light leading-relaxed",children:y(l,o.descRu,o.descEn)})]},o.href))})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-serif text-2xl md:text-3xl text-[#1C1A19] tracking-tight mb-4",children:y(l,"Не нашли, что искали?","Didn't find what you were looking for?")}),s.jsx("p",{className:"text-sm text-[#2C2A29]/70 font-light mb-8",children:y(l,"Служба размещения работает круглосуточно и подскажет по номерам, спа и мероприятиям.","Our front desk works around the clock and will help with rooms, spa and events.")}),s.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[s.jsx("button",{onClick:r,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase bg-[#1C1A19] hover:bg-[#2C2A29] text-[#FAF9F5] px-8 py-5 transition-colors cursor-pointer",children:y(l,"Связаться","Contact us")}),s.jsx("a",{href:ce.phoneHref,className:"inline-flex items-center justify-center text-xs tracking-widest uppercase border border-[#1C1A19] text-[#1C1A19] hover:bg-[#1C1A19] hover:text-white px-8 py-5 transition-colors",children:ce.phone})]})]})})]})}function HE(){const[l]=Jr();return s.jsx(ey,{children:s.jsx(Fw,{children:s.jsxs(nA,{children:[s.jsx(Kw,{children:s.jsxs(N1,{children:[s.jsx(tt,{path:"/",component:xA}),s.jsx(tt,{path:"/about",component:XA}),s.jsx(tt,{path:"/stay",component:KA}),s.jsx(tt,{path:"/booking",component:dE}),s.jsx(tt,{path:"/wellness",component:zA}),s.jsx(tt,{path:"/banya",component:MA}),s.jsx(tt,{path:"/spa",component:OA}),s.jsx(tt,{path:"/blog",component:VA}),s.jsx(tt,{path:"/blog/:slug",component:GA}),s.jsx(tt,{path:"/dining",component:$A}),s.jsx(tt,{path:"/gifts",component:aE}
55),s.jsx(tt,{path:"/seasonal",component:lE}),s.jsx(tt,{path:"/pottery",component:iE}),s.jsx(tt,{path:"/activities",component:oE}),s.jsx(tt,{path:"/loyalty",component:bE}),s.jsx(tt,{path:"/pravila",component:wE}),s.jsx(tt,{path:"/new-year",component:RE}),s.jsx(tt,{path:"/cakes",component:LE}),s.jsx(tt,{path:"/faq",component:$p}),s.jsx(tt,{path:"/faq/",component:$p}),s.jsx(tt,{component:UE})]})}),s.jsx(I1,{position:"top-center"}),s.jsx(eA,{}),l==="/"&&s.jsx(cA,{})]})})})}e1.createRoot(document.getElementById("root")).render(s.jsx(HE,{}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.