var x=Object.defineProperty;var c=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var o=(s,t,r)=>t in s?x(s,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[t]=r,i=(s,t)=>{for(var r in t||(t={}))g.call(t,r)&&o(s,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&o(s,r,t[r]);return s};import{r as n,j as e,m as j}from"../index.js";const l="_wrapper_otfc9_1",m="_description_otfc9_16",h="_descriptionButton_otfc9_27",a={wrapper:l,description:m,descriptionButton:h},u=n.createContext([]),P=()=>n.useContext(u),C=s=>{const[t,r]=n.useState("Main"),p=n.useMemo(()=>[t,r],[t]);return e.jsx(u,i({value:p},s))},_=()=>e.jsx(e.Fragment,{children:"Main Page"}),f=()=>e.jsx(e.Fragment,{children:"Tasks Page"}),v=()=>e.jsx(e.Fragment,{children:"Caravan Page"}),S=()=>e.jsx(e.Fragment,{children:"Treasure Page"}),T=()=>e.jsx(e.Fragment,{children:"Shop Page"}),w=()=>{const[s]=P();return(r=>{switch(r){case"Tasks":return e.jsx(f,{});case"Caravan":return e.jsx(v,{});case"Treasure":return e.jsx(S,{});case"Shop":return e.jsx(T,{});default:return e.jsx(_,{})}})(s)};function B(){return e.jsx(C,{children:e.jsxs("section",{className:a.wrapper,children:[e.jsxs("p",{className:a.description,children:["Нажмите",e.jsx("span",{className:a.descriptionButton,children:"ESC"}),"для выхода"]}),e.jsx(w,{})]})})}j("battlepass",B,()=>{});
