import{c as d,j as r,B as f,u as g,a as x,b as S,i as j,s as v,O as b,I as C,C as M}from"./index-BSsexBJO.js";const O=t=>{const e=d.c(7),{onClick:o,icon:i,bottom:c,right:l,h:a,w:s}=t,n=c===void 0?20:c,p=l===void 0?20:l,m=a===void 0?50:a,h=s===void 0?50:s;let u;return e[0]!==n||e[1]!==m||e[2]!==i||e[3]!==o||e[4]!==p||e[5]!==h?(u=r.jsx(f,{p:0,pos:"fixed",bottom:n,right:p,onClick:o,className:"floating-button",h:m,w:h,children:i}),e[0]=n,e[1]=m,e[2]=i,e[3]=o,e[4]=p,e[5]=h,e[6]=u):u=e[6],u},B=()=>{const t=d.c(9),{isMobile:e}=g(),o=x(),i=S(j);let c;t[0]!==o?(c=()=>o(v(!0)),t[0]=o,t[1]=c):c=t[1];const l=c;let a;t[2]===Symbol.for("react.memo_cache_sentinel")?(a=r.jsx(b,{}),t[2]=a):a=t[2];let s;t[3]!==e||t[4]!==i||t[5]!==l?(s=e&&r.jsx(O,{onClick:l,icon:r.jsx(C,{className:`header-icon ${i&&"active"}`})}),t[3]=e,t[4]=i,t[5]=l,t[6]=s):s=t[6];let n;return t[7]!==s?(n=r.jsxs(M,{fluid:!0,className:"settings-container",children:[a,s]}),t[7]=s,t[8]=n):n=t[8],n};export{B as default};
