(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[200],{9186:function(r,e,a){Promise.resolve().then(a.bind(a,9673))},7683:function(r,e,a){"use strict";a.d(e,{T:function(){return l}});var t=a(7437),n=a(5922),i=a(5929),s=a(7226),o=a(2869),d=a(2265);function l(){let{theme:r,setTheme:e}=(0,n.F)(),[a,l]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{l(!0)},[]),a)?(0,t.jsx)(o.z,{variant:"ghost",size:"sm",onClick:()=>e("dark"===r?"light":"dark"),className:"h-10 w-10 rounded-full hover:bg-secondary dark:hover:bg-gray-800 p-0","aria-label":"Changer de th\xe8me",children:"dark"===r?(0,t.jsx)(i.Z,{className:"h-5 w-5 text-primary dark:text-yellow-400"}):(0,t.jsx)(s.Z,{className:"h-5 w-5 text-primary dark:text-blue-300"})}):(0,t.jsx)(o.z,{variant:"ghost",size:"sm",className:"h-9 w-9 rounded-full p-0","aria-label":"Changer de th\xe8me",children:(0,t.jsx)(i.Z,{className:"h-5 w-5"})})}},9673:function(r,e,a){"use strict";a.d(e,{default:function(){return h}});var t=a(7437),n=a(7648),i=a(9376),s=a(4938),o=a(3774),d=a(4394),l=a(3245),c=a(4508),u=a(7683);let f=[{name:"Accueil",href:"/accueil",icon:s.Z},{name:"Explorer",href:"/explorer",icon:o.Z},{name:"Mana",href:"/mana-tracker",icon:d.Z},{name:"Infos",href:"/infos",icon:l.Z}];function h(){let r=(0,i.usePathname)();return(0,t.jsx)("nav",{className:"fixed bottom-0 left-0 right-0 z-50 bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-800 shadow-lg",children:(0,t.jsxs)("div",{className:"flex items-center justify-around h-16 px-2",children:[f.map(e=>{let a=e.icon,i=r===e.href;return(0,t.jsxs)(n.default,{href:e.href,className:(0,c.cn)("flex flex-col items-center justify-center gap-1 flex-1 h-full rounded-xl transition-colors",i?"text-primary bg-secondary dark:bg-primary/20":"text-gray-500 dark:text-gray-400 hover:text-primary dark:hover:text-primary hover:bg-gray-50 dark:hover:bg-gray-800"),children:[(0,t.jsx)(a,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"text-xs font-medium",children:e.name})]},e.href)}),(0,t.jsx)("div",{className:"flex items-center justify-center h-full px-2",children:(0,t.jsx)(u.T,{})})]})})}},2869:function(r,e,a){"use strict";a.d(e,{z:function(){return d}});var t=a(7437),n=a(2265),i=a(535),s=a(4508);let o=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-xl text-base font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 dark:bg-primary dark:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:bg-primary/20 dark:text-primary dark:hover:bg-primary/30",outline:"border-2 border-primary text-primary hover:bg-primary hover:text-white dark:border-primary dark:text-primary dark:hover:bg-primary dark:hover:text-white",ghost:"hover:bg-secondary hover:text-secondary-foreground dark:hover:bg-gray-800 dark:hover:text-gray-200"},size:{default:"h-12 px-6 py-3",sm:"h-10 px-4",lg:"h-14 px-8 text-lg"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((r,e)=>{let{className:a,variant:n,size:i,...d}=r;return(0,t.jsx)("button",{className:(0,s.cn)(o({variant:n,size:i,className:a})),ref:e,...d})});d.displayName="Button"},4508:function(r,e,a){"use strict";a.d(e,{cn:function(){return i}});var t=a(1994),n=a(3335);function i(){for(var r=arguments.length,e=Array(r),a=0;a<r;a++)e[a]=arguments[a];return(0,n.m6)((0,t.W)(e))}}},function(r){r.O(0,[130,876,971,117,744],function(){return r(r.s=9186)}),_N_E=r.O()}]);