prometeo-design-system 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -512,7 +512,7 @@ function rc({ sessions: n, handleTokenLogin: e }) {
|
|
|
512
512
|
}
|
|
513
513
|
) }) }, t._id)) });
|
|
514
514
|
}
|
|
515
|
-
const ic = ({ children: n }) => /* @__PURE__ */ p.jsx("div", { className: "profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0", children: n }), ac = ({ isExpanded: n, sessions: e, onClickLogout: t, handleTokenLogin: r }) => /* @__PURE__ */ p.jsx(Wr, { mode: "wait", children: n && /* @__PURE__ */ p.jsxs(
|
|
515
|
+
const ic = ({ children: n }) => /* @__PURE__ */ p.jsx("div", { className: "profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0 ", children: n }), ac = ({ isExpanded: n, sessions: e, onClickLogout: t, handleTokenLogin: r }) => /* @__PURE__ */ p.jsx(Wr, { mode: "wait", children: n && /* @__PURE__ */ p.jsxs(
|
|
516
516
|
oe.div,
|
|
517
517
|
{
|
|
518
518
|
initial: { height: 0, opacity: 0 },
|
|
@@ -646,12 +646,12 @@ const ic = ({ children: n }) => /* @__PURE__ */ p.jsx("div", { className: "profi
|
|
|
646
646
|
)
|
|
647
647
|
]
|
|
648
648
|
}
|
|
649
|
-
) }), oc = ({ imageUrl: n }) => /* @__PURE__ */ p.jsx("div", { className: "
|
|
649
|
+
) }), oc = ({ imageUrl: n }) => /* @__PURE__ */ p.jsx("div", { className: "flex items-center justify-center profile-image-wrapper", children: /* @__PURE__ */ p.jsx(tc, { profileImage: n, size: 36, sizeImage: 36 }) }), sc = ({ isExpanded: n, name: e, nameCompany: t, nameArea: r, cardProfile: i, onClick: a }) => /* @__PURE__ */ p.jsxs(
|
|
650
650
|
oe.button,
|
|
651
651
|
{
|
|
652
652
|
onClick: a,
|
|
653
653
|
className: D(
|
|
654
|
-
"flex flex-1 gap-1 rounded-l-md cursor-pointer
|
|
654
|
+
"flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile h-12",
|
|
655
655
|
n && "bg-neutral-medium-selected"
|
|
656
656
|
),
|
|
657
657
|
whileHover: {
|
|
@@ -673,7 +673,7 @@ const ic = ({ children: n }) => /* @__PURE__ */ p.jsx("div", { className: "profi
|
|
|
673
673
|
children: e?.length && e?.length > 20 ? e?.slice(0, 10) + ".." : e
|
|
674
674
|
}
|
|
675
675
|
),
|
|
676
|
-
/* @__PURE__ */ p.jsx("div", { className: "flex items-center gap-1 mt-
|
|
676
|
+
/* @__PURE__ */ p.jsx("div", { className: "flex items-center gap-1 mt-0 ", children: t && t ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
677
677
|
/* @__PURE__ */ p.jsx(
|
|
678
678
|
"p",
|
|
679
679
|
{
|
|
@@ -7282,17 +7282,20 @@ const hm = (n, e) => {
|
|
|
7282
7282
|
ease: "power1.out"
|
|
7283
7283
|
},
|
|
7284
7284
|
0.8
|
|
7285
|
-
).to(
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7285
|
+
).to(
|
|
7286
|
+
e.profileImageWrapper,
|
|
7287
|
+
{
|
|
7288
|
+
width: 52,
|
|
7289
|
+
height: 52,
|
|
7290
|
+
marginLeft: 0,
|
|
7291
|
+
marginRight: 0
|
|
7292
|
+
},
|
|
7293
|
+
-1
|
|
7294
|
+
).to(
|
|
7292
7295
|
e.buttonProfile,
|
|
7293
7296
|
{
|
|
7294
|
-
height:
|
|
7295
|
-
width:
|
|
7297
|
+
height: 44,
|
|
7298
|
+
width: 58,
|
|
7296
7299
|
margin: 0,
|
|
7297
7300
|
padding: 0,
|
|
7298
7301
|
borderRadius: "60px",
|
|
@@ -7383,6 +7386,14 @@ const hm = (n, e) => {
|
|
|
7383
7386
|
display: "flex"
|
|
7384
7387
|
},
|
|
7385
7388
|
-1
|
|
7389
|
+
).to(
|
|
7390
|
+
e.profileImageWrapper,
|
|
7391
|
+
{
|
|
7392
|
+
marginRight: 0,
|
|
7393
|
+
duration: 0.2,
|
|
7394
|
+
ease: "bounce.out"
|
|
7395
|
+
},
|
|
7396
|
+
-1
|
|
7386
7397
|
).to(
|
|
7387
7398
|
e.containerIconcollapsade,
|
|
7388
7399
|
{
|
|
@@ -7434,9 +7445,10 @@ const hm = (n, e) => {
|
|
|
7434
7445
|
).to(
|
|
7435
7446
|
e.profileUserInfo,
|
|
7436
7447
|
{
|
|
7437
|
-
display: "flex"
|
|
7448
|
+
display: "flex",
|
|
7449
|
+
ease: "fade.in"
|
|
7438
7450
|
},
|
|
7439
|
-
|
|
7451
|
+
0
|
|
7440
7452
|
).to(e.navIcons, { scale: 1 }, 0.3);
|
|
7441
7453
|
}, Tm = (n, e) => {
|
|
7442
7454
|
$e.to(n, {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,z,W,ee,W),te[W+z]=!0)}if(W=null,R!==void 0&&(t(R),W=""+R),o(P)&&(t(P.key),W=""+P.key),"key"in P){R={};for(var Q in P)Q!=="key"&&(R[Q]=P[Q])}else R=P;return W&&s(R,typeof b=="function"?b.displayName||b.name||"Unknown":b),c(b,W,A,M,i(),R,F,Z)}function d(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var m=E,h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),H=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,D=Array.isArray,$=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(b){return b()}};var U,Y={},X=m.react_stack_bottom_frame.bind(m,a)(),ne=$(r(a)),te={};wn.Fragment=f,wn.jsx=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!1,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)},wn.jsxs=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!0,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)}})()),wn}var Sa;function ec(){return Sa||(Sa=1,process.env.NODE_ENV==="production"?Jn.exports=Jl():Jn.exports=Ql()),Jn.exports}var p=ec();function Ca({profileImage:n,size:e,sizeImage:t=36}){const[r,i]=E.useState(!1),a=n&&n.trim()!==""&&!r;return p.jsx(p.Fragment,{children:a?p.jsx("img",{onError:()=>{i(!0)},src:n,style:{width:t,height:t},className:"rounded-full object-cover",alt:"Profile"}):p.jsx(Yl,{size:e,name:n||"User",variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function N(...n){return Xl.twMerge(xa.clsx(n))}const ja=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Oa=xa.clsx,Ur=(n,e)=>t=>{var r;if(e?.variants==null)return Oa(n,t?.class,t?.className);const{variants:i,defaultVariants:a}=e,o=Object.keys(i).map(c=>{const u=t?.[c],d=a?.[c];if(u===null)return null;const m=ja(u)||ja(d);return i[c][m]}),s=t&&Object.entries(t).reduce((c,u)=>{let[d,m]=u;return m===void 0||(c[d]=m),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:m,...h}=u;return Object.entries(h).every(g=>{let[f,v]=g;return Array.isArray(v)?v.includes({...a,...s}[f]):{...a,...s}[f]===v})?[...c,d,m]:c},[]);return Oa(n,o,l,t?.class,t?.className)},tc=Ur("flex items-center justify-center cursor-pointer focus:outline-none font-semibold rounded-md transition-colors",{variants:{variant:{filled:"",outline:"bg-transparent border-1",text:"bg-transparent border-0"},color:{primary:"",secondary:""},size:{small:"h-[40px] w-[123px] w-fit px-2 py-3 text-sm",medium:"h-[48px] w-[134px] w-fit px-2 py-3 text-base",large:"h-[56px] w-[145px] w-fit px-4 py-3 text-base"},disabled:{true:"opacity-50 cursor-not-allowed",false:""},loading:{true:"cursor-wait",false:""},customSize:{true:"px-4 py-2",false:""}},compoundVariants:[{variant:"filled",color:"primary",class:"bg-primary-default-default text-neutral-strong-default border-0 hover:bg-primary-default-hover hover:text-neutral-strong-hover focus:bg-primary-default-pressed focus:text-neutral-strong-focused active:bg-primary-pressed active:text-neutral-strong-pressed disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"},{variant:"filled",color:"secondary",class:"bg-neutral-strong-medium-default text-neutral-strong-default hover:bg-neutral-medium-hover hover:text-neutral-strong-hover focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed active:bg-neutral-medium-pressed disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled"},{variant:"outline",color:"primary",class:"text-primary-medium-default border-primary-medium-default hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed disabled:border-primary-disabled disabled:text-primary-disabled"},{variant:"outline",color:"secondary",class:"text-neutral-strong-default border-neutral-strong-default hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed disabled:border-neutral-disabled disabled:text-neutral-disabled"},{variant:"text",color:"primary",class:"text-primary-medium-default hover:bg-neutral-default-hover hover:text-primary-medium-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed disabled:text-primary-medium-disabled"},{variant:"text",color:"secondary",class:"text-neutral-strong-default hover:bg-neutral-default-hover hover:text-primary-default-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed disabled:text-primary-medium-disabled"}],defaultVariants:{variant:"filled",color:"primary",size:"medium",disabled:!1,loading:!1,customSize:!1}});function nc({label:n="Selene",onClick:e,icon:t,contentClassName:r,loadingText:i="Cargando...",animate:a=!0,animateIcon:o=!0,isLoading:s=!1,disabled:l=!1,type:c="button",variant:u="filled",color:d="primary",size:m="medium",children:h,Spinner:g,className:f,...v}){const x=re.useAnimationControls(),_=()=>{!a||l||s||!o||x.start({rotate:90})},T=()=>{!a||l||s||!o||x.start({rotate:0})},w=N(tc({variant:u,color:d,size:m,disabled:l||s,loading:s}),f);return p.jsx(re.motion.button,{onClick:e,className:w,whileHover:a&&!l&&!s?{scale:1.05}:{},whileTap:a&&!l&&!s?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:_,onHoverEnd:T,disabled:l||s,type:c,...v,children:s?p.jsxs("div",{className:"flex items-center gap-2",children:[g,m!=="small"&&p.jsx("span",{children:i})]}):h||p.jsxs("span",{className:N("flex items-center gap-2",r),children:[t&&p.jsx(re.motion.div,{animate:o?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),n&&p.jsx("span",{children:n})]})})}function ka({sessions:n,handleTokenLogin:e}){return p.jsx("div",{className:"profile-options-container w-full ",children:n?.map(t=>p.jsx("button",{className:"w-full ",onClick:()=>e?.(t.token),children:p.jsx(Qn,{children:p.jsx(Qn.Content,{onClick:()=>{console.log("hola")},isExpanded:!1,name:t.name,nameArea:t?.area?.name,nameCompany:t.company_id.name,cardProfile:p.jsx(Qn.Image,{isExpanded:!1})})})},t._id))})}const Qn=Object.assign(({children:n})=>p.jsx("div",{className:"profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0",children:n}),{Menu:({isExpanded:n,sessions:e,onClickLogout:t,handleTokenLogin:r})=>p.jsx(re.AnimatePresence,{mode:"wait",children:n&&p.jsxs(re.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[p.jsx(re.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),e!==null&&p.jsxs(p.Fragment,{children:[p.jsx(re.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:p.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),p.jsx(re.motion.div,{className:"mt-4 overflow-hidden w-full ",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:p.jsx(ka,{sessions:e,handleTokenLogin:r})}),p.jsx(re.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),p.jsxs(re.motion.button,{onClick:t,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[p.jsx(je.Logout,{size:24,className:"text-neutral-default-default"}),p.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})}),Image:({imageUrl:n})=>p.jsx("div",{className:"profile-image-wrapper ml-1 flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:p.jsx(Ca,{profileImage:n,size:36,sizeImage:36})}),Content:({isExpanded:n,name:e,nameCompany:t,nameArea:r,cardProfile:i,onClick:a})=>p.jsxs(re.motion.button,{onClick:a,className:N("flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",n&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[i,p.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[p.jsx("p",{className:N("profile-name font-semibold leading-tight mb-0 text-left",n?"text-primary-default-default":"text-neutral-default-default"),children:e?.length&&e?.length>20?e?.slice(0,10)+"..":e}),p.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:t&&t?p.jsxs(p.Fragment,{children:[p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:t.length>20?t?.slice(0,10)+"..":t}),p.jsx("p",{className:N("profile-options truncate font-bold mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:r||"Sin asignar"})]}):p.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),Separator:()=>p.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),Options:({isExpanded:n,onClick:e})=>p.jsx(re.motion.button,{onClick:e,className:"flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] hover:bg-neutral-medium-selected button-content-chevron",whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:n?"Ocultar opciones":"Mostrar opciones","aria-label":n?"Ocultar opciones":"Mostrar opciones",children:p.jsx(re.motion.div,{animate:{rotate:n?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:p.jsx(re.motion.div,{transition:{duration:.2},children:p.jsx(je.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})}),je={Ticket:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:n,className:e,...t})=>p.jsxs("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[p.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:n,height:n,children:p.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),p.jsx("g",{mask:"url(#mask0_977_20941)",children:p.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"})}),EyeVisibilityOff:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"})}),Check:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,viewBox:"0 -960 960 960",fill:"currentColor",children:p.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"})}),Info:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Error:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,fill:"currentColor",viewBox:"0 -960 960 960",children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),TicketFilled:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,...t,children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Z"})}),UploadCloud:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 -960 960 960",width:n,fill:"currentColor",...t,className:e,children:p.jsx("path",{d:"M260-160q-91 0-155.5-63T40-377q0-78 47-139t123-78q25-92 100-149t170-57q117 0 198.5 81.5T760-520q69 8 114.5 59.5T920-340q0 75-52.5 127.5T740-160H520q-33 0-56.5-23.5T440-240v-206l-64 62-56-56 160-160 160 160-56 56-64-62v206h220q42 0 71-29t29-71q0-42-29-71t-71-29h-60v-80q0-83-58.5-141.5T480-720q-83 0-141.5 58.5T280-520h-20q-58 0-99 41t-41 99q0 58 41 99t99 41h100v80H260Zm220-280Z"})})},rc=({label:n,className:e,containerClassName:t,id:r,disabled:i=!1,...a})=>{const[o,s]=Kn.useField({...a,type:"checkbox"}),[l,c]=E.useState(!1),u=s.touched&&s.error;return p.jsxs("div",{className:N("relative w-full",t),children:[p.jsxs("label",{htmlFor:r||a.name,className:N("flex items-center gap-3 cursor-pointer transition-all duration-200 ease-in-out",i?"cursor-not-allowed opacity-60":"hover:opacity-80",e),children:[p.jsxs("div",{className:"relative",children:[p.jsx("input",{id:r||a.name,type:"checkbox",name:o.name,checked:o.value||!1,onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:d=>{c(!1),a.onBlur?.(),o.onBlur(d)},disabled:i,className:N("sr-only")}),p.jsx("div",{className:N("w-5 h-5 rounded border-2 transition-all duration-200 ease-in-out flex items-center justify-center",o.value?"bg-primary-default-default border-primary-default-default":l?"border-primary-default-default bg-transparent":u?"border-error-default-default bg-transparent":"border-neutral-default-default bg-transparent hover:border-neutral-strong-default",i&&"bg-neutral-medium-default border-neutral-medium-default"),children:o.value&&p.jsx(je.Check,{size:14,className:N("text-white transition-all duration-200 ease-in-out",i&&"text-neutral-strong-default")})})]}),p.jsx("span",{className:`${l}`,children:" "}),p.jsx("span",{className:N("text-sm transition-colors duration-200 ease-in-out select-none",u&&"text-error-default-default",i&&"text-neutral-medium-default"),children:n})]}),u&&p.jsx(Kn.ErrorMessage,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},ic=E.forwardRef(({children:n,onClose:e,className:t},r)=>{const[i,a]=E.useState(!1),o=()=>a(!0),s=()=>{a(!1),e?.()};return E.useImperativeHandle(r,()=>({open:o,close:s,isOpen:i})),p.jsx(p.Fragment,{children:i&&p.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",onClick:s,children:p.jsx("div",{className:N("bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6",t),onClick:l=>l.stopPropagation(),children:n})})})}),ac=Object.assign(ic,{Content:({children:n,className:e})=>p.jsx("div",{className:e,children:p.jsx("div",{className:N("flex flex-col gap-4"),children:n})}),Header:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Title:({children:n,className:e})=>p.jsx("h1",{className:e,children:n})});function wt(n,e,{checkForDefaultPrevented:t=!0}={}){return function(i){if(n?.(i),t===!1||!i.defaultPrevented)return e?.(i)}}function Pa(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function Da(...n){return e=>{let t=!1;const r=n.map(i=>{const a=Pa(i,e);return!t&&typeof a=="function"&&(t=!0),a});if(t)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():Pa(n[i],null)}}}}function Rt(...n){return S.useCallback(Da(...n),n)}function oc(n,e){const t=S.createContext(e),r=a=>{const{children:o,...s}=a,l=S.useMemo(()=>s,Object.values(s));return p.jsx(t.Provider,{value:l,children:o})};r.displayName=n+"Provider";function i(a){const o=S.useContext(t);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${n}\``)}return[r,i]}function sc(n,e=[]){let t=[];function r(a,o){const s=S.createContext(o),l=t.length;t=[...t,o];const c=d=>{const{scope:m,children:h,...g}=d,f=m?.[n]?.[l]||s,v=S.useMemo(()=>g,Object.values(g));return p.jsx(f.Provider,{value:v,children:h})};c.displayName=a+"Provider";function u(d,m){const h=m?.[n]?.[l]||s,g=S.useContext(h);if(g)return g;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,u]}const i=()=>{const a=t.map(o=>S.createContext(o));return function(s){const l=s?.[n]||a;return S.useMemo(()=>({[`__scope${n}`]:{...s,[n]:l}}),[s,l])}};return i.scopeName=n,[r,lc(i,...e)]}function lc(...n){const e=n[0];if(n.length===1)return e;const t=()=>{const r=n.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...s,...d}},{});return S.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return t.scopeName=e.scopeName,t}var _n=globalThis?.document?S.useLayoutEffect:()=>{},cc=S[" useId ".trim().toString()]||(()=>{}),uc=0;function Zr(n){const[e,t]=S.useState(cc());return _n(()=>{t(r=>r??String(uc++))},[n]),n||(e?`radix-${e}`:"")}var dc=S[" useInsertionEffect ".trim().toString()]||_n;function pc({prop:n,defaultProp:e,onChange:t=()=>{},caller:r}){const[i,a,o]=fc({defaultProp:e,onChange:t}),s=n!==void 0,l=s?n:i;{const u=S.useRef(n!==void 0);S.useEffect(()=>{const d=u.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"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.`),u.current=s},[s,r])}const c=S.useCallback(u=>{if(s){const d=mc(u)?u(n):u;d!==n&&o.current?.(d)}else a(u)},[s,n,a,o]);return[l,c]}function fc({defaultProp:n,onChange:e}){const[t,r]=S.useState(n),i=S.useRef(t),a=S.useRef(e);return dc(()=>{a.current=e},[e]),S.useEffect(()=>{i.current!==t&&(a.current?.(t),i.current=t)},[t,i]),[t,r,a]}function mc(n){return typeof n=="function"}function Aa(n){const e=hc(n),t=S.forwardRef((r,i)=>{const{children:a,...o}=r,s=S.Children.toArray(a),l=s.find(gc);if(l){const c=l.props.children,u=s.map(d=>d===l?S.Children.count(c)>1?S.Children.only(null):S.isValidElement(c)?c.props.children:null:d);return p.jsx(e,{...o,ref:i,children:S.isValidElement(c)?S.cloneElement(c,void 0,u):null})}return p.jsx(e,{...o,ref:i,children:a})});return t.displayName=`${n}.Slot`,t}function hc(n){const e=S.forwardRef((t,r)=>{const{children:i,...a}=t;if(S.isValidElement(i)){const o=yc(i),s=xc(a,i.props);return i.type!==S.Fragment&&(s.ref=r?Da(r,o):o),S.cloneElement(i,s)}return S.Children.count(i)>1?S.Children.only(null):null});return e.displayName=`${n}.SlotClone`,e}var vc=Symbol("radix.slottable");function gc(n){return S.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===vc}function xc(n,e){const t={...e};for(const r in e){const i=n[r],a=e[r];/^on[A-Z]/.test(r)?i&&a?t[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(t[r]=i):r==="style"?t[r]={...i,...a}:r==="className"&&(t[r]=[i,a].filter(Boolean).join(" "))}return{...n,...t}}function yc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var bc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pt=bc.reduce((n,e)=>{const t=Aa(`Primitive.${e}`),r=S.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...n,[e]:r}},{});function wc(n,e){n&&Kl.flushSync(()=>n.dispatchEvent(e))}function Tn(n){const e=S.useRef(n);return S.useEffect(()=>{e.current=n}),S.useMemo(()=>(...t)=>e.current?.(...t),[])}function _c(n,e=globalThis?.document){const t=Tn(n);S.useEffect(()=>{const r=i=>{i.key==="Escape"&&t(i)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}var Tc="DismissableLayer",Vr="dismissableLayer.update",Ec="dismissableLayer.pointerDownOutside",Sc="dismissableLayer.focusOutside",Na,qa=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ra=S.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=n,c=S.useContext(qa),[u,d]=S.useState(null),m=u?.ownerDocument??globalThis?.document,[,h]=S.useState({}),g=Rt(e,C=>d(C)),f=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),x=f.indexOf(v),_=u?f.indexOf(u):-1,T=c.layersWithOutsidePointerEventsDisabled.size>0,w=_>=x,y=Oc(C=>{const O=C.target,j=[...c.branches].some(L=>L.contains(O));!w||j||(i?.(C),o?.(C),C.defaultPrevented||s?.())},m),k=kc(C=>{const O=C.target;[...c.branches].some(L=>L.contains(O))||(a?.(C),o?.(C),C.defaultPrevented||s?.())},m);return _c(C=>{_===c.layers.size-1&&(r?.(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},m),S.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Na=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Ma(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Na)}},[u,m,t,c]),S.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Ma())},[u,c]),S.useEffect(()=>{const C=()=>h({});return document.addEventListener(Vr,C),()=>document.removeEventListener(Vr,C)},[]),p.jsx(pt.div,{...l,ref:g,style:{pointerEvents:T?w?"auto":"none":void 0,...n.style},onFocusCapture:wt(n.onFocusCapture,k.onFocusCapture),onBlurCapture:wt(n.onBlurCapture,k.onBlurCapture),onPointerDownCapture:wt(n.onPointerDownCapture,y.onPointerDownCapture)})});Ra.displayName=Tc;var Cc="DismissableLayerBranch",jc=S.forwardRef((n,e)=>{const t=S.useContext(qa),r=S.useRef(null),i=Rt(e,r);return S.useEffect(()=>{const a=r.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),p.jsx(pt.div,{...n,ref:i})});jc.displayName=Cc;function Oc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){Ia(Ec,t,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=l,e.addEventListener("click",i.current,{once:!0})):l()}else e.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",i.current)}},[e,t]),{onPointerDownCapture:()=>r.current=!0}}function kc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1);return S.useEffect(()=>{const i=a=>{a.target&&!r.current&&Ia(Sc,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ma(){const n=new CustomEvent(Vr);document.dispatchEvent(n)}function Ia(n,e,t,{discrete:r}){const i=t.originalEvent.target,a=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&i.addEventListener(n,e,{once:!0}),r?wc(i,a):i.dispatchEvent(a)}var Yr="focusScope.autoFocusOnMount",Xr="focusScope.autoFocusOnUnmount",Fa={bubbles:!1,cancelable:!0},Pc="FocusScope",La=S.forwardRef((n,e)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=n,[s,l]=S.useState(null),c=Tn(i),u=Tn(a),d=S.useRef(null),m=Rt(e,f=>l(f)),h=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let f=function(T){if(h.paused||!s)return;const w=T.target;s.contains(w)?d.current=w:_t(d.current,{select:!0})},v=function(T){if(h.paused||!s)return;const w=T.relatedTarget;w!==null&&(s.contains(w)||_t(d.current,{select:!0}))},x=function(T){if(document.activeElement===document.body)for(const y of T)y.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const _=new MutationObserver(x);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),_.disconnect()}}},[r,s,h.paused]),S.useEffect(()=>{if(s){Ba.add(h);const f=document.activeElement;if(!s.contains(f)){const x=new CustomEvent(Yr,Fa);s.addEventListener(Yr,c),s.dispatchEvent(x),x.defaultPrevented||(Dc(Mc(za(s)),{select:!0}),document.activeElement===f&&_t(s))}return()=>{s.removeEventListener(Yr,c),setTimeout(()=>{const x=new CustomEvent(Xr,Fa);s.addEventListener(Xr,u),s.dispatchEvent(x),x.defaultPrevented||_t(f??document.body,{select:!0}),s.removeEventListener(Xr,u),Ba.remove(h)},0)}}},[s,c,u,h]);const g=S.useCallback(f=>{if(!t&&!r||h.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,x=document.activeElement;if(v&&x){const _=f.currentTarget,[T,w]=Ac(_);T&&w?!f.shiftKey&&x===w?(f.preventDefault(),t&&_t(T,{select:!0})):f.shiftKey&&x===T&&(f.preventDefault(),t&&_t(w,{select:!0})):x===_&&f.preventDefault()}},[t,r,h.paused]);return p.jsx(pt.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});La.displayName=Pc;function Dc(n,{select:e=!1}={}){const t=document.activeElement;for(const r of n)if(_t(r,{select:e}),document.activeElement!==t)return}function Ac(n){const e=za(n),t=$a(e,n),r=$a(e.reverse(),n);return[t,r]}function za(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function $a(n,e){for(const t of n)if(!Nc(t,{upTo:e}))return t}function Nc(n,{upTo:e}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(e!==void 0&&n===e)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function qc(n){return n instanceof HTMLInputElement&&"select"in n}function _t(n,{select:e=!1}={}){if(n&&n.focus){const t=document.activeElement;n.focus({preventScroll:!0}),n!==t&&qc(n)&&e&&n.select()}}var Ba=Rc();function Rc(){let n=[];return{add(e){const t=n[0];e!==t&&t?.pause(),n=Ha(n,e),n.unshift(e)},remove(e){n=Ha(n,e),n[0]?.resume()}}}function Ha(n,e){const t=[...n],r=t.indexOf(e);return r!==-1&&t.splice(r,1),t}function Mc(n){return n.filter(e=>e.tagName!=="A")}var Ic="Portal",Wa=S.forwardRef((n,e)=>{const{container:t,...r}=n,[i,a]=S.useState(!1);_n(()=>a(!0),[]);const o=t||i&&globalThis?.document?.body;return o?ya.createPortal(p.jsx(pt.div,{...r,ref:e}),o):null});Wa.displayName=Ic;function Fc(n,e){return S.useReducer((t,r)=>e[t][r]??t,n)}var er=n=>{const{present:e,children:t}=n,r=Lc(e),i=typeof t=="function"?t({present:r.isPresent}):S.Children.only(t),a=Rt(r.ref,zc(i));return typeof t=="function"||r.isPresent?S.cloneElement(i,{ref:a}):null};er.displayName="Presence";function Lc(n){const[e,t]=S.useState(),r=S.useRef(null),i=S.useRef(n),a=S.useRef("none"),o=n?"mounted":"unmounted",[s,l]=Fc(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const c=tr(r.current);a.current=s==="mounted"?c:"none"},[s]),_n(()=>{const c=r.current,u=i.current;if(u!==n){const m=a.current,h=tr(c);n?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&m!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,l]),_n(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,d=h=>{const f=tr(r.current).includes(CSS.escape(h.animationName));if(h.target===e&&f&&(l("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},m=h=>{h.target===e&&(a.current=tr(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:S.useCallback(c=>{r.current=c?getComputedStyle(c):null,t(c)},[])}}function tr(n){return n?.animationName||"none"}function zc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var Gr=0;function $c(){S.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Ua()),document.body.insertAdjacentElement("beforeend",n[1]??Ua()),Gr++,()=>{Gr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Gr--}},[])}function Ua(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var it=function(){return it=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},it.apply(this,arguments)};function Za(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t}function Mt(n,e,t,r){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(u){try{c(r.next(u))}catch(d){o(d)}}function l(u){try{c(r.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((r=r.apply(n,e||[])).next())})}function Bc(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return n.concat(a||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var nr="right-scroll-bar-position",rr="width-before-scroll-bar",Hc="with-scroll-bars-hidden",Wc="--removed-body-scroll-bar-size";function Kr(n,e){return typeof n=="function"?n(e):n&&(n.current=e),n}function Uc(n,e){var t=E.useState(function(){return{value:n,callback:e,facade:{get current(){return t.value},set current(r){var i=t.value;i!==r&&(t.value=r,t.callback(r,i))}}}})[0];return t.callback=e,t.facade}var Zc=typeof window<"u"?S.useLayoutEffect:S.useEffect,Va=new WeakMap;function Vc(n,e){var t=Uc(null,function(r){return n.forEach(function(i){return Kr(i,r)})});return Zc(function(){var r=Va.get(t);if(r){var i=new Set(r),a=new Set(n),o=t.current;i.forEach(function(s){a.has(s)||Kr(s,null)}),a.forEach(function(s){i.has(s)||Kr(s,o)})}Va.set(t,n)},[n]),t}function Yc(n){return n}function Xc(n,e){e===void 0&&(e=Yc);var t=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:n},useMedium:function(a){var o=e(a,r);return t.push(o),function(){t=t.filter(function(s){return s!==o})}},assignSyncMedium:function(a){for(r=!0;t.length;){var o=t;t=[],o.forEach(a)}t={push:function(s){return a(s)},filter:function(){return t}}},assignMedium:function(a){r=!0;var o=[];if(t.length){var s=t;t=[],s.forEach(a),o=t}var l=function(){var u=o;o=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),t={push:function(u){o.push(u),c()},filter:function(u){return o=o.filter(u),t}}}};return i}function Gc(n){n===void 0&&(n={});var e=Xc(null);return e.options=it({async:!0,ssr:!1},n),e}var Ya=function(n){var e=n.sideCar,t=Za(n,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return S.createElement(r,it({},t))};Ya.isSideCarExport=!0;function Kc(n,e){return n.useMedium(e),Ya}var Xa=Gc(),Jr=function(){},ir=S.forwardRef(function(n,e){var t=S.useRef(null),r=S.useState({onScrollCapture:Jr,onWheelCapture:Jr,onTouchMoveCapture:Jr}),i=r[0],a=r[1],o=n.forwardProps,s=n.children,l=n.className,c=n.removeScrollBar,u=n.enabled,d=n.shards,m=n.sideCar,h=n.noRelative,g=n.noIsolation,f=n.inert,v=n.allowPinchZoom,x=n.as,_=x===void 0?"div":x,T=n.gapMode,w=Za(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=m,k=Vc([t,e]),C=it(it({},w),i);return S.createElement(S.Fragment,null,u&&S.createElement(y,{sideCar:Xa,removeScrollBar:c,shards:d,noRelative:h,noIsolation:g,inert:f,setCallbacks:a,allowPinchZoom:!!v,lockRef:t,gapMode:T}),o?S.cloneElement(S.Children.only(s),it(it({},C),{ref:k})):S.createElement(_,it({},C,{className:l,ref:k}),s))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ir.classNames={fullWidth:rr,zeroRight:nr};var Jc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Qc(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var e=Jc();return e&&n.setAttribute("nonce",e),n}function eu(n,e){n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}function tu(n){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(n)}var nu=function(){var n=0,e=null;return{add:function(t){n==0&&(e=Qc())&&(eu(e,t),tu(e)),n++},remove:function(){n--,!n&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ru=function(){var n=nu();return function(e,t){S.useEffect(function(){return n.add(e),function(){n.remove()}},[e&&t])}},Ga=function(){var n=ru(),e=function(t){var r=t.styles,i=t.dynamic;return n(r,i),null};return e},iu={left:0,top:0,right:0,gap:0},Qr=function(n){return parseInt(n||"",10)||0},au=function(n){var e=window.getComputedStyle(document.body),t=e[n==="padding"?"paddingLeft":"marginLeft"],r=e[n==="padding"?"paddingTop":"marginTop"],i=e[n==="padding"?"paddingRight":"marginRight"];return[Qr(t),Qr(r),Qr(i)]},ou=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return iu;var e=au(n),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-t+e[2]-e[0])}},su=Ga(),Qt="data-scroll-locked",lu=function(n,e,t,r){var i=n.left,a=n.top,o=n.right,s=n.gap;return t===void 0&&(t="margin"),`
|
|
22
|
+
<%s key={someKey} {...props} />`,z,W,ee,W),te[W+z]=!0)}if(W=null,R!==void 0&&(t(R),W=""+R),o(P)&&(t(P.key),W=""+P.key),"key"in P){R={};for(var Q in P)Q!=="key"&&(R[Q]=P[Q])}else R=P;return W&&s(R,typeof b=="function"?b.displayName||b.name||"Unknown":b),c(b,W,A,M,i(),R,F,Z)}function d(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var m=E,h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),L=Symbol.for("react.client.reference"),H=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,D=Array.isArray,$=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(b){return b()}};var U,Y={},X=m.react_stack_bottom_frame.bind(m,a)(),ne=$(r(a)),te={};wn.Fragment=f,wn.jsx=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!1,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)},wn.jsxs=function(b,P,R,z,M){var A=1e4>H.recentlyCreatedOwnerStacks++;return u(b,P,R,!0,z,M,A?Error("react-stack-top-frame"):X,A?$(r(b)):ne)}})()),wn}var Sa;function ec(){return Sa||(Sa=1,process.env.NODE_ENV==="production"?Jn.exports=Jl():Jn.exports=Ql()),Jn.exports}var p=ec();function Ca({profileImage:n,size:e,sizeImage:t=36}){const[r,i]=E.useState(!1),a=n&&n.trim()!==""&&!r;return p.jsx(p.Fragment,{children:a?p.jsx("img",{onError:()=>{i(!0)},src:n,style:{width:t,height:t},className:"rounded-full object-cover",alt:"Profile"}):p.jsx(Yl,{size:e,name:n||"User",variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}function N(...n){return Xl.twMerge(xa.clsx(n))}const ja=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Oa=xa.clsx,Ur=(n,e)=>t=>{var r;if(e?.variants==null)return Oa(n,t?.class,t?.className);const{variants:i,defaultVariants:a}=e,o=Object.keys(i).map(c=>{const u=t?.[c],d=a?.[c];if(u===null)return null;const m=ja(u)||ja(d);return i[c][m]}),s=t&&Object.entries(t).reduce((c,u)=>{let[d,m]=u;return m===void 0||(c[d]=m),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:m,...h}=u;return Object.entries(h).every(g=>{let[f,v]=g;return Array.isArray(v)?v.includes({...a,...s}[f]):{...a,...s}[f]===v})?[...c,d,m]:c},[]);return Oa(n,o,l,t?.class,t?.className)},tc=Ur("flex items-center justify-center cursor-pointer focus:outline-none font-semibold rounded-md transition-colors",{variants:{variant:{filled:"",outline:"bg-transparent border-1",text:"bg-transparent border-0"},color:{primary:"",secondary:""},size:{small:"h-[40px] w-[123px] w-fit px-2 py-3 text-sm",medium:"h-[48px] w-[134px] w-fit px-2 py-3 text-base",large:"h-[56px] w-[145px] w-fit px-4 py-3 text-base"},disabled:{true:"opacity-50 cursor-not-allowed",false:""},loading:{true:"cursor-wait",false:""},customSize:{true:"px-4 py-2",false:""}},compoundVariants:[{variant:"filled",color:"primary",class:"bg-primary-default-default text-neutral-strong-default border-0 hover:bg-primary-default-hover hover:text-neutral-strong-hover focus:bg-primary-default-pressed focus:text-neutral-strong-focused active:bg-primary-pressed active:text-neutral-strong-pressed disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"},{variant:"filled",color:"secondary",class:"bg-neutral-strong-medium-default text-neutral-strong-default hover:bg-neutral-medium-hover hover:text-neutral-strong-hover focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed active:bg-neutral-medium-pressed disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled"},{variant:"outline",color:"primary",class:"text-primary-medium-default border-primary-medium-default hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed disabled:border-primary-disabled disabled:text-primary-disabled"},{variant:"outline",color:"secondary",class:"text-neutral-strong-default border-neutral-strong-default hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed disabled:border-neutral-disabled disabled:text-neutral-disabled"},{variant:"text",color:"primary",class:"text-primary-medium-default hover:bg-neutral-default-hover hover:text-primary-medium-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed disabled:text-primary-medium-disabled"},{variant:"text",color:"secondary",class:"text-neutral-strong-default hover:bg-neutral-default-hover hover:text-primary-default-hover focus:bg-neutral-default-pressed focus:text-primary-medium-pressed active:bg-neutral-default-pressed active:text-primary-medium-pressed disabled:text-primary-medium-disabled"}],defaultVariants:{variant:"filled",color:"primary",size:"medium",disabled:!1,loading:!1,customSize:!1}});function nc({label:n="Selene",onClick:e,icon:t,contentClassName:r,loadingText:i="Cargando...",animate:a=!0,animateIcon:o=!0,isLoading:s=!1,disabled:l=!1,type:c="button",variant:u="filled",color:d="primary",size:m="medium",children:h,Spinner:g,className:f,...v}){const x=re.useAnimationControls(),_=()=>{!a||l||s||!o||x.start({rotate:90})},T=()=>{!a||l||s||!o||x.start({rotate:0})},w=N(tc({variant:u,color:d,size:m,disabled:l||s,loading:s}),f);return p.jsx(re.motion.button,{onClick:e,className:w,whileHover:a&&!l&&!s?{scale:1.05}:{},whileTap:a&&!l&&!s?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:_,onHoverEnd:T,disabled:l||s,type:c,...v,children:s?p.jsxs("div",{className:"flex items-center gap-2",children:[g,m!=="small"&&p.jsx("span",{children:i})]}):h||p.jsxs("span",{className:N("flex items-center gap-2",r),children:[t&&p.jsx(re.motion.div,{animate:o?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),n&&p.jsx("span",{children:n})]})})}function ka({sessions:n,handleTokenLogin:e}){return p.jsx("div",{className:"profile-options-container w-full ",children:n?.map(t=>p.jsx("button",{className:"w-full ",onClick:()=>e?.(t.token),children:p.jsx(Qn,{children:p.jsx(Qn.Content,{onClick:()=>{console.log("hola")},isExpanded:!1,name:t.name,nameArea:t?.area?.name,nameCompany:t.company_id.name,cardProfile:p.jsx(Qn.Image,{isExpanded:!1})})})},t._id))})}const Qn=Object.assign(({children:n})=>p.jsx("div",{className:"profile-container flex rounded-md text-white-prometeo overflow-hidden flex-shrink-0 w-full min-w-0 ",children:n}),{Menu:({isExpanded:n,sessions:e,onClickLogout:t,handleTokenLogin:r})=>p.jsx(re.AnimatePresence,{mode:"wait",children:n&&p.jsxs(re.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[p.jsx(re.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),e!==null&&p.jsxs(p.Fragment,{children:[p.jsx(re.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:p.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),p.jsx(re.motion.div,{className:"mt-4 overflow-hidden w-full ",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:p.jsx(ka,{sessions:e,handleTokenLogin:r})}),p.jsx(re.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),p.jsxs(re.motion.button,{onClick:t,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[p.jsx(je.Logout,{size:24,className:"text-neutral-default-default"}),p.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})}),Image:({imageUrl:n})=>p.jsx("div",{className:"flex items-center justify-center profile-image-wrapper",children:p.jsx(Ca,{profileImage:n,size:36,sizeImage:36})}),Content:({isExpanded:n,name:e,nameCompany:t,nameArea:r,cardProfile:i,onClick:a})=>p.jsxs(re.motion.button,{onClick:a,className:N("flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile h-12",n&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[i,p.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[p.jsx("p",{className:N("profile-name font-semibold leading-tight mb-0 text-left",n?"text-primary-default-default":"text-neutral-default-default"),children:e?.length&&e?.length>20?e?.slice(0,10)+"..":e}),p.jsx("div",{className:"flex items-center gap-1 mt-0 ",children:t&&t?p.jsxs(p.Fragment,{children:[p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:t.length>20?t?.slice(0,10)+"..":t}),p.jsx("p",{className:N("profile-options truncate font-bold mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),p.jsx("p",{className:N("profile-options truncate text-xs mt-0",n?"text-primary-default-default":"text-neutral-default-default"),children:r||"Sin asignar"})]}):p.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),Separator:()=>p.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),Options:({isExpanded:n,onClick:e})=>p.jsx(re.motion.button,{onClick:e,className:"flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] hover:bg-neutral-medium-selected button-content-chevron",whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:n?"Ocultar opciones":"Mostrar opciones","aria-label":n?"Ocultar opciones":"Mostrar opciones",children:p.jsx(re.motion.div,{animate:{rotate:n?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:p.jsx(re.motion.div,{transition:{duration:.2},children:p.jsx(je.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})}),je={Ticket:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,children:p.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:n,className:e,...t})=>p.jsxs("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[p.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:n,height:n,children:p.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),p.jsx("g",{mask:"url(#mask0_977_20941)",children:p.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"})}),EyeVisibilityOff:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"})}),Check:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,viewBox:"0 -960 960 960",fill:"currentColor",children:p.jsx("path",{d:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"})}),Info:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,...t,className:e,fill:"currentColor",children:p.jsx("path",{d:"M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Error:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,...t,className:e,fill:"currentColor",viewBox:"0 -960 960 960",children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),TicketFilled:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:n,height:n,fill:"currentColor",className:e,...t,children:p.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Z"})}),UploadCloud:({size:n,className:e,...t})=>p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 -960 960 960",width:n,fill:"currentColor",...t,className:e,children:p.jsx("path",{d:"M260-160q-91 0-155.5-63T40-377q0-78 47-139t123-78q25-92 100-149t170-57q117 0 198.5 81.5T760-520q69 8 114.5 59.5T920-340q0 75-52.5 127.5T740-160H520q-33 0-56.5-23.5T440-240v-206l-64 62-56-56 160-160 160 160-56 56-64-62v206h220q42 0 71-29t29-71q0-42-29-71t-71-29h-60v-80q0-83-58.5-141.5T480-720q-83 0-141.5 58.5T280-520h-20q-58 0-99 41t-41 99q0 58 41 99t99 41h100v80H260Zm220-280Z"})})},rc=({label:n,className:e,containerClassName:t,id:r,disabled:i=!1,...a})=>{const[o,s]=Kn.useField({...a,type:"checkbox"}),[l,c]=E.useState(!1),u=s.touched&&s.error;return p.jsxs("div",{className:N("relative w-full",t),children:[p.jsxs("label",{htmlFor:r||a.name,className:N("flex items-center gap-3 cursor-pointer transition-all duration-200 ease-in-out",i?"cursor-not-allowed opacity-60":"hover:opacity-80",e),children:[p.jsxs("div",{className:"relative",children:[p.jsx("input",{id:r||a.name,type:"checkbox",name:o.name,checked:o.value||!1,onChange:o.onChange,onFocus:()=>{c(!0),a.onFocus?.()},onBlur:d=>{c(!1),a.onBlur?.(),o.onBlur(d)},disabled:i,className:N("sr-only")}),p.jsx("div",{className:N("w-5 h-5 rounded border-2 transition-all duration-200 ease-in-out flex items-center justify-center",o.value?"bg-primary-default-default border-primary-default-default":l?"border-primary-default-default bg-transparent":u?"border-error-default-default bg-transparent":"border-neutral-default-default bg-transparent hover:border-neutral-strong-default",i&&"bg-neutral-medium-default border-neutral-medium-default"),children:o.value&&p.jsx(je.Check,{size:14,className:N("text-white transition-all duration-200 ease-in-out",i&&"text-neutral-strong-default")})})]}),p.jsx("span",{className:`${l}`,children:" "}),p.jsx("span",{className:N("text-sm transition-colors duration-200 ease-in-out select-none",u&&"text-error-default-default",i&&"text-neutral-medium-default"),children:n})]}),u&&p.jsx(Kn.ErrorMessage,{name:a.name,component:"span",className:"block text-error-default-default text-xs mt-1"})]})},ic=E.forwardRef(({children:n,onClose:e,className:t},r)=>{const[i,a]=E.useState(!1),o=()=>a(!0),s=()=>{a(!1),e?.()};return E.useImperativeHandle(r,()=>({open:o,close:s,isOpen:i})),p.jsx(p.Fragment,{children:i&&p.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",onClick:s,children:p.jsx("div",{className:N("bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6",t),onClick:l=>l.stopPropagation(),children:n})})})}),ac=Object.assign(ic,{Content:({children:n,className:e})=>p.jsx("div",{className:e,children:p.jsx("div",{className:N("flex flex-col gap-4"),children:n})}),Header:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Title:({children:n,className:e})=>p.jsx("h1",{className:e,children:n})});function wt(n,e,{checkForDefaultPrevented:t=!0}={}){return function(i){if(n?.(i),t===!1||!i.defaultPrevented)return e?.(i)}}function Pa(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function Da(...n){return e=>{let t=!1;const r=n.map(i=>{const a=Pa(i,e);return!t&&typeof a=="function"&&(t=!0),a});if(t)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():Pa(n[i],null)}}}}function Rt(...n){return S.useCallback(Da(...n),n)}function oc(n,e){const t=S.createContext(e),r=a=>{const{children:o,...s}=a,l=S.useMemo(()=>s,Object.values(s));return p.jsx(t.Provider,{value:l,children:o})};r.displayName=n+"Provider";function i(a){const o=S.useContext(t);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${n}\``)}return[r,i]}function sc(n,e=[]){let t=[];function r(a,o){const s=S.createContext(o),l=t.length;t=[...t,o];const c=d=>{const{scope:m,children:h,...g}=d,f=m?.[n]?.[l]||s,v=S.useMemo(()=>g,Object.values(g));return p.jsx(f.Provider,{value:v,children:h})};c.displayName=a+"Provider";function u(d,m){const h=m?.[n]?.[l]||s,g=S.useContext(h);if(g)return g;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,u]}const i=()=>{const a=t.map(o=>S.createContext(o));return function(s){const l=s?.[n]||a;return S.useMemo(()=>({[`__scope${n}`]:{...s,[n]:l}}),[s,l])}};return i.scopeName=n,[r,lc(i,...e)]}function lc(...n){const e=n[0];if(n.length===1)return e;const t=()=>{const r=n.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(a)[`__scope${c}`];return{...s,...d}},{});return S.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return t.scopeName=e.scopeName,t}var _n=globalThis?.document?S.useLayoutEffect:()=>{},cc=S[" useId ".trim().toString()]||(()=>{}),uc=0;function Zr(n){const[e,t]=S.useState(cc());return _n(()=>{t(r=>r??String(uc++))},[n]),n||(e?`radix-${e}`:"")}var dc=S[" useInsertionEffect ".trim().toString()]||_n;function pc({prop:n,defaultProp:e,onChange:t=()=>{},caller:r}){const[i,a,o]=fc({defaultProp:e,onChange:t}),s=n!==void 0,l=s?n:i;{const u=S.useRef(n!==void 0);S.useEffect(()=>{const d=u.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"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.`),u.current=s},[s,r])}const c=S.useCallback(u=>{if(s){const d=mc(u)?u(n):u;d!==n&&o.current?.(d)}else a(u)},[s,n,a,o]);return[l,c]}function fc({defaultProp:n,onChange:e}){const[t,r]=S.useState(n),i=S.useRef(t),a=S.useRef(e);return dc(()=>{a.current=e},[e]),S.useEffect(()=>{i.current!==t&&(a.current?.(t),i.current=t)},[t,i]),[t,r,a]}function mc(n){return typeof n=="function"}function Aa(n){const e=hc(n),t=S.forwardRef((r,i)=>{const{children:a,...o}=r,s=S.Children.toArray(a),l=s.find(gc);if(l){const c=l.props.children,u=s.map(d=>d===l?S.Children.count(c)>1?S.Children.only(null):S.isValidElement(c)?c.props.children:null:d);return p.jsx(e,{...o,ref:i,children:S.isValidElement(c)?S.cloneElement(c,void 0,u):null})}return p.jsx(e,{...o,ref:i,children:a})});return t.displayName=`${n}.Slot`,t}function hc(n){const e=S.forwardRef((t,r)=>{const{children:i,...a}=t;if(S.isValidElement(i)){const o=yc(i),s=xc(a,i.props);return i.type!==S.Fragment&&(s.ref=r?Da(r,o):o),S.cloneElement(i,s)}return S.Children.count(i)>1?S.Children.only(null):null});return e.displayName=`${n}.SlotClone`,e}var vc=Symbol("radix.slottable");function gc(n){return S.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===vc}function xc(n,e){const t={...e};for(const r in e){const i=n[r],a=e[r];/^on[A-Z]/.test(r)?i&&a?t[r]=(...s)=>{const l=a(...s);return i(...s),l}:i&&(t[r]=i):r==="style"?t[r]={...i,...a}:r==="className"&&(t[r]=[i,a].filter(Boolean).join(" "))}return{...n,...t}}function yc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var bc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pt=bc.reduce((n,e)=>{const t=Aa(`Primitive.${e}`),r=S.forwardRef((i,a)=>{const{asChild:o,...s}=i,l=o?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...n,[e]:r}},{});function wc(n,e){n&&Kl.flushSync(()=>n.dispatchEvent(e))}function Tn(n){const e=S.useRef(n);return S.useEffect(()=>{e.current=n}),S.useMemo(()=>(...t)=>e.current?.(...t),[])}function _c(n,e=globalThis?.document){const t=Tn(n);S.useEffect(()=>{const r=i=>{i.key==="Escape"&&t(i)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}var Tc="DismissableLayer",Vr="dismissableLayer.update",Ec="dismissableLayer.pointerDownOutside",Sc="dismissableLayer.focusOutside",Na,qa=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ra=S.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=n,c=S.useContext(qa),[u,d]=S.useState(null),m=u?.ownerDocument??globalThis?.document,[,h]=S.useState({}),g=Rt(e,C=>d(C)),f=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),x=f.indexOf(v),_=u?f.indexOf(u):-1,T=c.layersWithOutsidePointerEventsDisabled.size>0,w=_>=x,y=Oc(C=>{const O=C.target,j=[...c.branches].some(L=>L.contains(O));!w||j||(i?.(C),o?.(C),C.defaultPrevented||s?.())},m),k=kc(C=>{const O=C.target;[...c.branches].some(L=>L.contains(O))||(a?.(C),o?.(C),C.defaultPrevented||s?.())},m);return _c(C=>{_===c.layers.size-1&&(r?.(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},m),S.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Na=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Ma(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Na)}},[u,m,t,c]),S.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Ma())},[u,c]),S.useEffect(()=>{const C=()=>h({});return document.addEventListener(Vr,C),()=>document.removeEventListener(Vr,C)},[]),p.jsx(pt.div,{...l,ref:g,style:{pointerEvents:T?w?"auto":"none":void 0,...n.style},onFocusCapture:wt(n.onFocusCapture,k.onFocusCapture),onBlurCapture:wt(n.onBlurCapture,k.onBlurCapture),onPointerDownCapture:wt(n.onPointerDownCapture,y.onPointerDownCapture)})});Ra.displayName=Tc;var Cc="DismissableLayerBranch",jc=S.forwardRef((n,e)=>{const t=S.useContext(qa),r=S.useRef(null),i=Rt(e,r);return S.useEffect(()=>{const a=r.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),p.jsx(pt.div,{...n,ref:i})});jc.displayName=Cc;function Oc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){Ia(Ec,t,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=l,e.addEventListener("click",i.current,{once:!0})):l()}else e.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",i.current)}},[e,t]),{onPointerDownCapture:()=>r.current=!0}}function kc(n,e=globalThis?.document){const t=Tn(n),r=S.useRef(!1);return S.useEffect(()=>{const i=a=>{a.target&&!r.current&&Ia(Sc,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ma(){const n=new CustomEvent(Vr);document.dispatchEvent(n)}function Ia(n,e,t,{discrete:r}){const i=t.originalEvent.target,a=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&i.addEventListener(n,e,{once:!0}),r?wc(i,a):i.dispatchEvent(a)}var Yr="focusScope.autoFocusOnMount",Xr="focusScope.autoFocusOnUnmount",Fa={bubbles:!1,cancelable:!0},Pc="FocusScope",La=S.forwardRef((n,e)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=n,[s,l]=S.useState(null),c=Tn(i),u=Tn(a),d=S.useRef(null),m=Rt(e,f=>l(f)),h=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let f=function(T){if(h.paused||!s)return;const w=T.target;s.contains(w)?d.current=w:_t(d.current,{select:!0})},v=function(T){if(h.paused||!s)return;const w=T.relatedTarget;w!==null&&(s.contains(w)||_t(d.current,{select:!0}))},x=function(T){if(document.activeElement===document.body)for(const y of T)y.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const _=new MutationObserver(x);return s&&_.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),_.disconnect()}}},[r,s,h.paused]),S.useEffect(()=>{if(s){Ba.add(h);const f=document.activeElement;if(!s.contains(f)){const x=new CustomEvent(Yr,Fa);s.addEventListener(Yr,c),s.dispatchEvent(x),x.defaultPrevented||(Dc(Mc(za(s)),{select:!0}),document.activeElement===f&&_t(s))}return()=>{s.removeEventListener(Yr,c),setTimeout(()=>{const x=new CustomEvent(Xr,Fa);s.addEventListener(Xr,u),s.dispatchEvent(x),x.defaultPrevented||_t(f??document.body,{select:!0}),s.removeEventListener(Xr,u),Ba.remove(h)},0)}}},[s,c,u,h]);const g=S.useCallback(f=>{if(!t&&!r||h.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,x=document.activeElement;if(v&&x){const _=f.currentTarget,[T,w]=Ac(_);T&&w?!f.shiftKey&&x===w?(f.preventDefault(),t&&_t(T,{select:!0})):f.shiftKey&&x===T&&(f.preventDefault(),t&&_t(w,{select:!0})):x===_&&f.preventDefault()}},[t,r,h.paused]);return p.jsx(pt.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});La.displayName=Pc;function Dc(n,{select:e=!1}={}){const t=document.activeElement;for(const r of n)if(_t(r,{select:e}),document.activeElement!==t)return}function Ac(n){const e=za(n),t=$a(e,n),r=$a(e.reverse(),n);return[t,r]}function za(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function $a(n,e){for(const t of n)if(!Nc(t,{upTo:e}))return t}function Nc(n,{upTo:e}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(e!==void 0&&n===e)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function qc(n){return n instanceof HTMLInputElement&&"select"in n}function _t(n,{select:e=!1}={}){if(n&&n.focus){const t=document.activeElement;n.focus({preventScroll:!0}),n!==t&&qc(n)&&e&&n.select()}}var Ba=Rc();function Rc(){let n=[];return{add(e){const t=n[0];e!==t&&t?.pause(),n=Ha(n,e),n.unshift(e)},remove(e){n=Ha(n,e),n[0]?.resume()}}}function Ha(n,e){const t=[...n],r=t.indexOf(e);return r!==-1&&t.splice(r,1),t}function Mc(n){return n.filter(e=>e.tagName!=="A")}var Ic="Portal",Wa=S.forwardRef((n,e)=>{const{container:t,...r}=n,[i,a]=S.useState(!1);_n(()=>a(!0),[]);const o=t||i&&globalThis?.document?.body;return o?ya.createPortal(p.jsx(pt.div,{...r,ref:e}),o):null});Wa.displayName=Ic;function Fc(n,e){return S.useReducer((t,r)=>e[t][r]??t,n)}var er=n=>{const{present:e,children:t}=n,r=Lc(e),i=typeof t=="function"?t({present:r.isPresent}):S.Children.only(t),a=Rt(r.ref,zc(i));return typeof t=="function"||r.isPresent?S.cloneElement(i,{ref:a}):null};er.displayName="Presence";function Lc(n){const[e,t]=S.useState(),r=S.useRef(null),i=S.useRef(n),a=S.useRef("none"),o=n?"mounted":"unmounted",[s,l]=Fc(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const c=tr(r.current);a.current=s==="mounted"?c:"none"},[s]),_n(()=>{const c=r.current,u=i.current;if(u!==n){const m=a.current,h=tr(c);n?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&m!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,l]),_n(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,d=h=>{const f=tr(r.current).includes(CSS.escape(h.animationName));if(h.target===e&&f&&(l("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},m=h=>{h.target===e&&(a.current=tr(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:S.useCallback(c=>{r.current=c?getComputedStyle(c):null,t(c)},[])}}function tr(n){return n?.animationName||"none"}function zc(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var Gr=0;function $c(){S.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Ua()),document.body.insertAdjacentElement("beforeend",n[1]??Ua()),Gr++,()=>{Gr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Gr--}},[])}function Ua(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var it=function(){return it=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},it.apply(this,arguments)};function Za(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t}function Mt(n,e,t,r){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(u){try{c(r.next(u))}catch(d){o(d)}}function l(u){try{c(r.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((r=r.apply(n,e||[])).next())})}function Bc(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return n.concat(a||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var nr="right-scroll-bar-position",rr="width-before-scroll-bar",Hc="with-scroll-bars-hidden",Wc="--removed-body-scroll-bar-size";function Kr(n,e){return typeof n=="function"?n(e):n&&(n.current=e),n}function Uc(n,e){var t=E.useState(function(){return{value:n,callback:e,facade:{get current(){return t.value},set current(r){var i=t.value;i!==r&&(t.value=r,t.callback(r,i))}}}})[0];return t.callback=e,t.facade}var Zc=typeof window<"u"?S.useLayoutEffect:S.useEffect,Va=new WeakMap;function Vc(n,e){var t=Uc(null,function(r){return n.forEach(function(i){return Kr(i,r)})});return Zc(function(){var r=Va.get(t);if(r){var i=new Set(r),a=new Set(n),o=t.current;i.forEach(function(s){a.has(s)||Kr(s,null)}),a.forEach(function(s){i.has(s)||Kr(s,o)})}Va.set(t,n)},[n]),t}function Yc(n){return n}function Xc(n,e){e===void 0&&(e=Yc);var t=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:n},useMedium:function(a){var o=e(a,r);return t.push(o),function(){t=t.filter(function(s){return s!==o})}},assignSyncMedium:function(a){for(r=!0;t.length;){var o=t;t=[],o.forEach(a)}t={push:function(s){return a(s)},filter:function(){return t}}},assignMedium:function(a){r=!0;var o=[];if(t.length){var s=t;t=[],s.forEach(a),o=t}var l=function(){var u=o;o=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),t={push:function(u){o.push(u),c()},filter:function(u){return o=o.filter(u),t}}}};return i}function Gc(n){n===void 0&&(n={});var e=Xc(null);return e.options=it({async:!0,ssr:!1},n),e}var Ya=function(n){var e=n.sideCar,t=Za(n,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return S.createElement(r,it({},t))};Ya.isSideCarExport=!0;function Kc(n,e){return n.useMedium(e),Ya}var Xa=Gc(),Jr=function(){},ir=S.forwardRef(function(n,e){var t=S.useRef(null),r=S.useState({onScrollCapture:Jr,onWheelCapture:Jr,onTouchMoveCapture:Jr}),i=r[0],a=r[1],o=n.forwardProps,s=n.children,l=n.className,c=n.removeScrollBar,u=n.enabled,d=n.shards,m=n.sideCar,h=n.noRelative,g=n.noIsolation,f=n.inert,v=n.allowPinchZoom,x=n.as,_=x===void 0?"div":x,T=n.gapMode,w=Za(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=m,k=Vc([t,e]),C=it(it({},w),i);return S.createElement(S.Fragment,null,u&&S.createElement(y,{sideCar:Xa,removeScrollBar:c,shards:d,noRelative:h,noIsolation:g,inert:f,setCallbacks:a,allowPinchZoom:!!v,lockRef:t,gapMode:T}),o?S.cloneElement(S.Children.only(s),it(it({},C),{ref:k})):S.createElement(_,it({},C,{className:l,ref:k}),s))});ir.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ir.classNames={fullWidth:rr,zeroRight:nr};var Jc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Qc(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var e=Jc();return e&&n.setAttribute("nonce",e),n}function eu(n,e){n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}function tu(n){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(n)}var nu=function(){var n=0,e=null;return{add:function(t){n==0&&(e=Qc())&&(eu(e,t),tu(e)),n++},remove:function(){n--,!n&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ru=function(){var n=nu();return function(e,t){S.useEffect(function(){return n.add(e),function(){n.remove()}},[e&&t])}},Ga=function(){var n=ru(),e=function(t){var r=t.styles,i=t.dynamic;return n(r,i),null};return e},iu={left:0,top:0,right:0,gap:0},Qr=function(n){return parseInt(n||"",10)||0},au=function(n){var e=window.getComputedStyle(document.body),t=e[n==="padding"?"paddingLeft":"marginLeft"],r=e[n==="padding"?"paddingTop":"marginTop"],i=e[n==="padding"?"paddingRight":"marginRight"];return[Qr(t),Qr(r),Qr(i)]},ou=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return iu;var e=au(n),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-t+e[2]-e[0])}},su=Ga(),Qt="data-scroll-locked",lu=function(n,e,t,r){var i=n.left,a=n.top,o=n.right,s=n.gap;return t===void 0&&(t="margin"),`
|
|
23
23
|
.`.concat(Hc,` {
|
|
24
24
|
overflow: hidden `).concat(r,`;
|
|
25
25
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
@@ -91,7 +91,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
91
91
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
92
92
|
* Subject to the terms at https://gsap.com/standard-license
|
|
93
93
|
* @author: Jack Doyle, jack@greensock.com
|
|
94
|
-
*/var Hs,kt,pn,Ui,Wt,Ws,Zi,Xp=function(){return typeof window<"u"},gt={},Ut=180/Math.PI,fn=Math.PI/180,mn=Math.atan2,Us=1e8,Vi=/([A-Z])/g,Gp=/(left|right|width|margin|padding|x)/i,Kp=/[\s,\(]\S/,lt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yi=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Jp=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Qp=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ef=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Zs=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Vs=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},tf=function(e,t,r){return e.style[t]=r},nf=function(e,t,r){return e.style.setProperty(t,r)},rf=function(e,t,r){return e._gsap[t]=r},af=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},of=function(e,t,r,i,a){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(a,o)},sf=function(e,t,r,i,a){var o=e._gsap;o[t]=r,o.renderTransform(a,o)},ge="transform",Be=ge+"Origin",lf=function n(e,t){var r=this,i=this.target,a=i.style,o=i._gsap;if(e in gt&&a){if(this.tfm=this.tfm||{},e!=="transform")e=lt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=xt(i,s)}):this.tfm[e]=o.x?o[e]:xt(i,e),e===Be&&(this.tfm.zOrigin=o.zOrigin);else return lt.transform.split(",").forEach(function(s){return n.call(r,s,t)});if(this.props.indexOf(ge)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Be,t,"")),e=ge}(a||t)&&this.props.push(e,t,a[e])},Ys=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},cf=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,a,o;for(a=0;a<e.length;a+=3)e[a+1]?e[a+1]===2?t[e[a]](e[a+2]):t[e[a]]=e[a+2]:e[a+2]?r[e[a]]=e[a+2]:r.removeProperty(e[a].substr(0,2)==="--"?e[a]:e[a].replace(Vi,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),a=Zi(),(!a||!a.isStart)&&!r[ge]&&(Ys(r),i.zOrigin&&r[Be]&&(r[Be]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Xs=function(e,t){var r={target:e,props:[],revert:cf,save:lf};return e._gsap||$e.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},Gs,Xi=function(e,t){var r=kt.createElementNS?kt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):kt.createElement(e);return r&&r.style?r:kt.createElement(e)},et=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Vi,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,hn(t)||t,1)||""},Ks="O,Moz,ms,Ms,Webkit".split(","),hn=function(e,t,r){var i=t||Wt,a=i.style,o=5;if(e in a&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ks[o]+e in a););return o<0?null:(o===3?"ms":o>=0?Ks[o]:"")+e},Gi=function(){Xp()&&window.document&&(Hs=window,kt=Hs.document,pn=kt.documentElement,Wt=Xi("div")||{style:{}},Xi("div"),ge=hn(ge),Be=ge+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Gs=!!hn("perspective"),Zi=$e.core.reverting,Ui=1)},Js=function(e){var t=e.ownerSVGElement,r=Xi("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),a;i.style.display="block",r.appendChild(i),pn.appendChild(r);try{a=i.getBBox()}catch{}return r.removeChild(i),pn.removeChild(r),a},Qs=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},el=function(e){var t,r;try{t=e.getBBox()}catch{t=Js(e),r=1}return t&&(t.width||t.height)||r||(t=Js(e)),t&&!t.width&&!t.x&&!t.y?{x:+Qs(e,["x","cx","x1"])||0,y:+Qs(e,["y","cy","y1"])||0,width:0,height:0}:t},tl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&el(e))},Zt=function(e,t){if(t){var r=e.style,i;t in gt&&t!==Be&&(t=ge),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Vi,"-$1").toLowerCase())):r.removeAttribute(t)}},Pt=function(e,t,r,i,a,o){var s=new ze(e._pt,t,r,0,1,o?Vs:Zs);return e._pt=s,s.b=i,s.e=a,e._props.push(r),s},nl={deg:1,rad:1,turn:1},uf={grid:1,flex:1},Dt=function n(e,t,r,i){var a=parseFloat(r)||0,o=(r+"").trim().substr((a+"").length)||"px",s=Wt.style,l=Gp.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,m=i==="px",h=i==="%",g,f,v,x;if(i===o||!a||nl[i]||nl[o])return a;if(o!=="px"&&!m&&(a=n(e,t,r,"px")),x=e.getCTM&&tl(e),(h||o==="%")&&(gt[t]||~t.indexOf("adius")))return g=x?e.getBBox()[l?"width":"height"]:e[u],we(h?a/g*d:a/100*g);if(s[l?"width":"height"]=d+(m?o:i),f=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,x&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===kt||!f.appendChild)&&(f=kt.body),v=f._gsap,v&&h&&v.width&&l&&v.time===Ge.time&&!v.uncache)return we(a/v.width*d);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=d+i,g=e[u],_?e.style[t]=_:Zt(e,t)}else(h||o==="%")&&!uf[et(f,"display")]&&(s.position=et(e,"position")),f===e&&(s.position="static"),f.appendChild(Wt),g=Wt[u],f.removeChild(Wt),s.position="absolute";return l&&h&&(v=Lt(f),v.time=Ge.time,v.width=f[u]),we(m?g*a/d:g&&a?d/g*a:0)},xt=function(e,t,r,i){var a;return Ui||Gi(),t in lt&&t!=="transform"&&(t=lt[t],~t.indexOf(",")&&(t=t.split(",")[0])),gt[t]&&t!=="transform"?(a=$n(e,i),a=t!=="transformOrigin"?a[t]:a.svg?a.origin:qr(et(e,Be))+" "+a.zOrigin+"px"):(a=e.style[t],(!a||a==="auto"||i||~(a+"").indexOf("calc("))&&(a=Nr[t]&&Nr[t](e,t,r)||et(e,t)||as(e,t)||(t==="opacity"?1:0))),r&&!~(a+"").trim().indexOf(" ")?Dt(e,t,a,r)+r:a},df=function(e,t,r,i){if(!r||r==="none"){var a=hn(t,e,1),o=a&&et(e,a,1);o&&o!==r?(t=a,r=o):t==="borderColor"&&(r=et(e,"borderTopColor"))}var s=new ze(this._pt,e.style,t,0,1,Ls),l=0,c=0,u,d,m,h,g,f,v,x,_,T,w,y;if(s.b=r,s.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=et(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(f=e.style[t],e.style[t]=i,i=et(e,t)||i,f?e.style[t]=f:Zt(e,t)),u=[r,i],ks(u),r=u[0],i=u[1],m=r.match(an)||[],y=i.match(an)||[],y.length){for(;d=an.exec(i);)v=d[0],_=i.substring(l,d.index),g?g=(g+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(g=1),v!==(f=m[c++]||"")&&(h=parseFloat(f)||0,w=f.substr((h+"").length),v.charAt(1)==="="&&(v=on(h,v)+w),x=parseFloat(v),T=v.substr((x+"").length),l=an.lastIndex-T.length,T||(T=T||Ue.units[t]||w,l===i.length&&(i+=T,s.e+=T)),w!==T&&(h=Dt(e,t,f,T)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:h,c:x-h,m:g&&g<4||t==="zIndex"?Math.round:0});s.c=l<i.length?i.substring(l,i.length):""}else s.r=t==="display"&&i==="none"?Vs:Zs;return Jo.test(i)&&(s.e=0),this._pt=s,s},rl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},pf=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=rl[r]||r,t[1]=rl[i]||i,t.join(" ")},ff=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,a=t.u,o=r._gsap,s,l,c;if(a==="all"||a===!0)i.cssText="",l=1;else for(a=a.split(","),c=a.length;--c>-1;)s=a[c],gt[s]&&(l=1,s=s==="transformOrigin"?Be:ge),Zt(r,s);l&&(Zt(r,ge),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",$n(r,1),o.uncache=1,Ys(i)))}},Nr={clearProps:function(e,t,r,i,a){if(a.data!=="isFromStart"){var o=e._pt=new ze(e._pt,t,r,0,0,ff);return o.u=i,o.pr=-10,o.tween=a,e._props.push(r),1}}},zn=[1,0,0,1,0,0],il={},al=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ol=function(e){var t=et(e,ge);return al(t)?zn:t.substr(7).match(Ko).map(we)},Ki=function(e,t){var r=e._gsap||Lt(e),i=e.style,a=ol(e),o,s,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,a=[l.a,l.b,l.c,l.d,l.e,l.f],a.join(",")==="1,0,0,1,0,0"?zn:a):(a===zn&&!e.offsetParent&&e!==pn&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,pn.appendChild(e)),a=ol(e),l?i.display=l:Zt(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):pn.removeChild(e))),t&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Ji=function(e,t,r,i,a,o){var s=e._gsap,l=a||Ki(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,d=s.xOffset||0,m=s.yOffset||0,h=l[0],g=l[1],f=l[2],v=l[3],x=l[4],_=l[5],T=t.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,k,C,O,j;r?l!==zn&&(C=h*v-g*f)&&(O=w*(v/C)+y*(-f/C)+(f*_-v*x)/C,j=w*(-g/C)+y*(h/C)-(h*_-g*x)/C,w=O,y=j):(k=el(e),w=k.x+(~T[0].indexOf("%")?w/100*k.width:w),y=k.y+(~(T[1]||T[0]).indexOf("%")?y/100*k.height:y)),i||i!==!1&&s.smooth?(x=w-c,_=y-u,s.xOffset=d+(x*h+_*f)-x,s.yOffset=m+(x*g+_*v)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=y,s.smooth=!!i,s.origin=t,s.originIsAbsolute=!!r,e.style[Be]="0px 0px",o&&(Pt(o,s,"xOrigin",c,w),Pt(o,s,"yOrigin",u,y),Pt(o,s,"xOffset",d,s.xOffset),Pt(o,s,"yOffset",m,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+y)},$n=function(e,t){var r=e._gsap||new Ns(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,a=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=et(e,Be)||"0",u,d,m,h,g,f,v,x,_,T,w,y,k,C,O,j,L,H,V,D,$,U,Y,X,ne,te,b,P,R,z,M,A;return u=d=m=f=v=x=_=T=w=0,h=g=1,r.svg=!!(e.getCTM&&tl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ge]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ge]!=="none"?l[ge]:"")),i.scale=i.rotate=i.translate="none"),C=Ki(e,r.svg),r.svg&&(r.uncache?(ne=e.getBBox(),c=r.xOrigin-ne.x+"px "+(r.yOrigin-ne.y)+"px",X=""):X=!t&&e.getAttribute("data-svg-origin"),Ji(e,X||c,!!X||r.originIsAbsolute,r.smooth!==!1,C)),y=r.xOrigin||0,k=r.yOrigin||0,C!==zn&&(H=C[0],V=C[1],D=C[2],$=C[3],u=U=C[4],d=Y=C[5],C.length===6?(h=Math.sqrt(H*H+V*V),g=Math.sqrt($*$+D*D),f=H||V?mn(V,H)*Ut:0,_=D||$?mn(D,$)*Ut+f:0,_&&(g*=Math.abs(Math.cos(_*fn))),r.svg&&(u-=y-(y*H+k*D),d-=k-(y*V+k*$))):(A=C[6],z=C[7],b=C[8],P=C[9],R=C[10],M=C[11],u=C[12],d=C[13],m=C[14],O=mn(A,R),v=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=U*j+b*L,ne=Y*j+P*L,te=A*j+R*L,b=U*-L+b*j,P=Y*-L+P*j,R=A*-L+R*j,M=z*-L+M*j,U=X,Y=ne,A=te),O=mn(-D,R),x=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=H*j-b*L,ne=V*j-P*L,te=D*j-R*L,M=$*L+M*j,H=X,V=ne,D=te),O=mn(V,H),f=O*Ut,O&&(j=Math.cos(O),L=Math.sin(O),X=H*j+V*L,ne=U*j+Y*L,V=V*j-H*L,Y=Y*j-U*L,H=X,U=ne),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,x=180-x),h=we(Math.sqrt(H*H+V*V+D*D)),g=we(Math.sqrt(Y*Y+A*A)),O=mn(U,Y),_=Math.abs(O)>2e-4?O*Ut:0,w=M?1/(M<0?-M:M):0),r.svg&&(X=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!al(et(e,ge)),X&&e.setAttribute("transform",X))),Math.abs(_)>90&&Math.abs(_)<270&&(a?(h*=-1,_+=f<=0?180:-180,f+=f<=0?180:-180):(g*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=m+o,r.scaleX=we(h),r.scaleY=we(g),r.rotation=we(f)+s,r.rotationX=we(v)+s,r.rotationY=we(x)+s,r.skewX=_+s,r.skewY=T+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Be]=qr(c)),r.xOffset=r.yOffset=0,r.force3D=Ue.force3D,r.renderTransform=r.svg?hf:Gs?sl:mf,r.uncache=0,r},qr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qi=function(e,t,r){var i=qe(t);return we(parseFloat(t)+parseFloat(Dt(e,"x",r+"px",i)))+i},mf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Vt="0deg",Bn="0px",Yt=") ",sl=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,m=r.skewX,h=r.skewY,g=r.scaleX,f=r.scaleY,v=r.transformPerspective,x=r.force3D,_=r.target,T=r.zOrigin,w="",y=x==="auto"&&e&&e!==1||x===!0;if(T&&(d!==Vt||u!==Vt)){var k=parseFloat(u)*fn,C=Math.sin(k),O=Math.cos(k),j;k=parseFloat(d)*fn,j=Math.cos(k),o=Qi(_,o,C*j*-T),s=Qi(_,s,-Math.sin(k)*-T),l=Qi(_,l,O*j*-T+T)}v!==Bn&&(w+="perspective("+v+Yt),(i||a)&&(w+="translate("+i+"%, "+a+"%) "),(y||o!==Bn||s!==Bn||l!==Bn)&&(w+=l!==Bn||y?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Yt),c!==Vt&&(w+="rotate("+c+Yt),u!==Vt&&(w+="rotateY("+u+Yt),d!==Vt&&(w+="rotateX("+d+Yt),(m!==Vt||h!==Vt)&&(w+="skew("+m+", "+h+Yt),(g!==1||f!==1)&&(w+="scale("+g+", "+f+Yt),_.style[ge]=w||"translate(0, 0)"},hf=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,m=r.scaleY,h=r.target,g=r.xOrigin,f=r.yOrigin,v=r.xOffset,x=r.yOffset,_=r.forceCSS,T=parseFloat(o),w=parseFloat(s),y,k,C,O,j;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=fn,c*=fn,y=Math.cos(l)*d,k=Math.sin(l)*d,C=Math.sin(l-c)*-m,O=Math.cos(l-c)*m,c&&(u*=fn,j=Math.tan(c-u),j=Math.sqrt(1+j*j),C*=j,O*=j,u&&(j=Math.tan(u),j=Math.sqrt(1+j*j),y*=j,k*=j)),y=we(y),k=we(k),C=we(C),O=we(O)):(y=d,O=m,k=C=0),(T&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(T=Dt(h,"x",o,"px"),w=Dt(h,"y",s,"px")),(g||f||v||x)&&(T=we(T+g-(g*y+f*C)+v),w=we(w+f-(g*k+f*O)+x)),(i||a)&&(j=h.getBBox(),T=we(T+i/100*j.width),w=we(w+a/100*j.height)),j="matrix("+y+","+k+","+C+","+O+","+T+","+w+")",h.setAttribute("transform",j),_&&(h.style[ge]=j)},vf=function(e,t,r,i,a){var o=360,s=Pe(a),l=parseFloat(a)*(s&&~a.indexOf("rad")?Ut:1),c=l-i,u=i+c+"deg",d,m;return s&&(d=a.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*Us)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*Us)%o-~~(c/o)*o)),e._pt=m=new ze(e._pt,t,r,i,c,Jp),m.e=u,m.u="deg",e._props.push(r),m},ll=function(e,t){for(var r in t)e[r]=t[r];return e},gf=function(e,t,r){var i=ll({},r._gsap),a="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,d,m,h,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ge]=t,s=$n(r,1),Zt(r,ge),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ge],o[ge]=t,s=$n(r,1),o[ge]=c);for(l in gt)c=i[l],u=s[l],c!==u&&a.indexOf(l)<0&&(h=qe(c),g=qe(u),d=h!==g?Dt(r,l,c,g):parseFloat(c),m=parseFloat(u),e._pt=new ze(e._pt,s,l,d,m-d,Yi),e._pt.u=g||0,e._props.push(l));ll(s,i)};Le("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",a="Left",o=(e<3?[t,r,i,a]:[t+a,t+r,i+r,i+a]).map(function(s){return e<2?n+s:"border"+s+n});Nr[e>1?"border"+n:n]=function(s,l,c,u,d){var m,h;if(arguments.length<4)return m=o.map(function(g){return xt(s,g,c)}),h=m.join(" "),h.split(m[0]).length===5?m[0]:h;m=(u+"").split(" "),h={},o.forEach(function(g,f){return h[g]=m[f]=m[f]||m[(f-1)/2|0]}),s.init(l,h,d)}});var cl={name:"css",register:Gi,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,a){var o=this._props,s=e.style,l=r.vars.startAt,c,u,d,m,h,g,f,v,x,_,T,w,y,k,C,O;Ui||Gi(),this.styles=this.styles||Xs(e),O=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(u=t[f],!(Ve[f]&&qs(f,t,r,i,e,a)))){if(h=typeof u,g=Nr[f],h==="function"&&(u=u.call(r,i,e,a),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=qn(u)),g)g(this,e,f,u,r)&&(C=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",jt.lastIndex=0,jt.test(c)||(v=qe(c),x=qe(u)),x?v!==x&&(c=Dt(e,f,c,x)+x):v&&(u+=v),this.add(s,"setProperty",c,u,i,a,0,0,f),o.push(f),O.push(f,0,s[f]);else if(h!=="undefined"){if(l&&f in l?(c=typeof l[f]=="function"?l[f].call(r,i,e,a):l[f],Pe(c)&&~c.indexOf("random(")&&(c=qn(c)),qe(c+"")||c==="auto"||(c+=Ue.units[f]||qe(xt(e,f))||""),(c+"").charAt(1)==="="&&(c=xt(e,f))):c=xt(e,f),m=parseFloat(c),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),d=parseFloat(u),f in lt&&(f==="autoAlpha"&&(m===1&&xt(e,"visibility")==="hidden"&&d&&(m=0),O.push("visibility",0,s.visibility),Pt(this,s,"visibility",m?"inherit":"hidden",d?"inherit":"hidden",!d)),f!=="scale"&&f!=="transform"&&(f=lt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),T=f in gt,T){if(this.styles.save(f),h==="string"&&u.substring(0,6)==="var(--"&&(u=et(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),w||(y=e._gsap,y.renderTransform&&!t.parseTransform||$n(e,t.parseTransform),k=t.smoothOrigin!==!1&&y.smooth,w=this._pt=new ze(this._pt,s,ge,0,1,y.renderTransform,y,0,-1),w.dep=1),f==="scale")this._pt=new ze(this._pt,y,"scaleY",y.scaleY,(_?on(y.scaleY,_+d):d)-y.scaleY||0,Yi),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){O.push(Be,0,s[Be]),u=pf(u),y.svg?Ji(e,u,0,k,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&Pt(this,y,"zOrigin",y.zOrigin,x),Pt(this,s,f,qr(c),qr(u)));continue}else if(f==="svgOrigin"){Ji(e,u,1,k,0,this);continue}else if(f in il){vf(this,y,f,m,_?on(m,_+u):u);continue}else if(f==="smoothOrigin"){Pt(this,y,"smooth",y.smooth,u);continue}else if(f==="force3D"){y[f]=u;continue}else if(f==="transform"){gf(this,u,e);continue}}else f in s||(f=hn(f)||f);if(T||(d||d===0)&&(m||m===0)&&!Kp.test(u)&&f in s)v=(c+"").substr((m+"").length),d||(d=0),x=qe(u)||(f in Ue.units?Ue.units[f]:v),v!==x&&(m=Dt(e,f,c,x)),this._pt=new ze(this._pt,T?y:s,f,m,(_?on(m,_+d):d)-m,!T&&(x==="px"||f==="zIndex")&&t.autoRound!==!1?ef:Yi),this._pt.u=x||0,v!==x&&x!=="%"&&(this._pt.b=c,this._pt.r=Qp);else if(f in s)df.call(this,e,f,c,_?_+u:u);else if(f in e)this.add(e,f,c||e[f],_?_+u:u,i,a);else if(f!=="parseTransform"){wi(f,u);continue}T||(f in s?O.push(f,0,s[f]):typeof e[f]=="function"?O.push(f,2,e[f]()):O.push(f,1,c||e[f])),o.push(f)}}C&&zs(this)},render:function(e,t){if(t.tween._time||!Zi())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:xt,aliases:lt,getSetter:function(e,t,r){var i=lt[t];return i&&i.indexOf(",")<0&&(t=i),t in gt&&t!==Be&&(e._gsap.x||xt(e,"x"))?r&&Ws===r?t==="scale"?af:rf:(Ws=r||{})&&(t==="scale"?of:sf):e.style&&!hi(e.style[t])?tf:~t.indexOf("-")?nf:zi(e,t)},core:{_removeProperty:Zt,_getMatrix:Ki}};$e.utils.checkPrefix=hn,$e.core.getStyleSaver=Xs,(function(n,e,t,r){var i=Le(n+","+e+","+t,function(a){gt[a]=1});Le(e,function(a){Ue.units[a]="deg",il[a]=1}),lt[i[13]]=n+","+e,Le(r,function(a){var o=a.split(":");lt[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Le("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ue.units[n]="px"}),$e.registerPlugin(cl);var He=$e.registerPlugin(cl)||$e;He.core.Tween;const xf=(n,e)=>{ba.useGSAP(()=>{if(!n.current)return;const t=n.current,r=document.querySelector('[data-main-content="true"]');if(e){He.fromTo(t,{width:"0rem",opacity:0},{width:"40rem",opacity:1,duration:.4,ease:"power2.out"}),r&&He.to(r,{marginLeft:t.offsetWidth+"px",duration:.4,ease:"power2.out"});const i=t.querySelectorAll(".secondary-bar-content > *");i.length>0&&He.fromTo(i,{y:20,opacity:0},{y:0,opacity:1,duration:.3,stagger:.05,delay:.1,ease:"power1.out"})}else He.to(t,{width:"0rem",opacity:0,duration:.3,ease:"power2.in"}),r&&He.to(r,{marginLeft:"0px",duration:.3,ease:"power2.in"})},{scope:n,dependencies:[e]})},ul=({children:n,isOpen:e=!1,className:t="",width:r="w-96",action:i,primarySidebarCollapsed:a,onClose:o})=>{const s=E.useRef(null),[l,c]=E.useState({left:0,width:0}),{primarySidebarRef:u}=Vo();return E.useLayoutEffect(()=>{if(u?.current){const d=u.current.getBoundingClientRect();c({left:d.width,width:d.width})}},[u,e,a]),xf(s,e),p.jsx(p.Fragment,{children:e&&p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"fixed inset-0 bg-black/95 z-20",style:{left:l.left},onClick:o}),p.jsx("div",{ref:s,className:N("h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0","absolute top-0 z-30",r,t),style:{left:l.left},"data-action":i,children:p.jsx("div",{className:"secondary-bar-content",children:n})})]})})},yf=Object.assign(ul,{Root:ul,Header:({children:n,className:e})=>p.jsx("div",{className:N("h-16 ",e),children:n}),Content:({children:n,className:e})=>p.jsx("div",{className:N("flex-1 overflow-y-auto p-4",e),children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:N("p-4 border-t border-neutral-strong-default",e),children:n}),Spacer:({className:n})=>p.jsx("div",{className:N("flex-1",n)})}),Rr=(n,e,t,r)=>e&&(Array.isArray(e)?e.length>0:e)?n.to(e,t,r):n,bf=(n,e,t)=>{ba.useGSAP(()=>{if(!n.current)return;const r=He.timeline({defaults:{duration:.7,ease:"power1.out"}}),i={navbar:n.current,navLabels:He.utils.toArray(".nav-label"),navIconWrappers:He.utils.toArray(".nav-icon-wrapper"),navIcons:He.utils.toArray(".nav-icon"),navLinkItems:He.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron"),logo:{contenedor:document.querySelector(".container-logo"),icon:document.querySelector(".icon-logo"),text:document.querySelector(".text-logo")},sidebarHeader:document.querySelector(".sidebar-header"),containerIconcollapsade:document.querySelector(".container-icon-collapsade"),secondaryBar:document.querySelector(".secondary-bar"),secondaryBarContent:He.utils.toArray(".secondary-bar *"),badgeInLink:He.utils.toArray(".badge-in-link")};e?wf(r,i):_f(r,i),i.secondaryBar&&Tf(i.secondaryBar)},{scope:n,dependencies:[e,t]})},wf=(n,e)=>{n.to(e.navbar,{width:"5rem",duration:.2,ease:"bounce.out"}).to(e.logo.contenedor,{height:48,width:48,minWidth:48,ease:"bounce.out"},-1).to(e.logo.text,{opacity:0,scale:.8,duration:.5,ease:"back.in(1.2)"},-1).set(e.logo.text,{display:"none"}).to(e.sidebarHeader,{justifyContent:"center",display:"flex"},-1).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.6,ease:"power1.inOut"}).to(e.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},-1).to(e.navLabels,{opacity:0,width:30,marginLeft:0},0).to(e.navIcons,{scale:.95,ease:"elastic.out(1, 0.3)"},0),Rr(n,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),Rr(n,e.buttonContentChevron,{display:"none"},-1).to(e.separatorProfile,{display:"none"},-1).to(e.profileUserInfo,{display:"none"},-1).to(e.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(e.profileImageWrapper,{marginLeft:0,marginRight:0,duration:.2,width:58,ease:"bounce.out"}).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,borderRadius:"60px",duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1).to(e.containerIconcollapsade,{justifyContent:"center",marginRight:0},"=-1").to(e.badgeInLink,{position:"absolute",right:1,top:-7},-1)},_f=(n,e)=>{n.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),Rr(n,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),Rr(n,e.buttonContentChevron,{display:"flex"},0).to(e.logo.contenedor,{width:185,height:48,minWidth:185},-1).set(e.logo.text,{display:"flex"},-1).to(e.logo.text,{opacity:1,duration:0,ease:"back.in(1)"}).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.3,ease:"power1.inOut"}).to(e.sidebarHeader,{justifyContent:"start",display:"flex"},-1).to(e.containerIconcollapsade,{justifyContent:"end",marginRight:20},-1).to(e.separatorProfile,{display:"flex"},0).to(e.badgeInLink,{position:"static",right:"auto",top:"auto",display:"flex",justifyContent:"end",alignItems:"center"},-1).to(e.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(e.separatorProfile,{display:"flex"},0).to(e.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(e.profileUserInfo,{display:"flex"},-1).to(e.navIcons,{scale:1},.3)},Tf=(n,e)=>{He.to(n,{x:"-100%",opacity:0,duration:.3,ease:"power2.in"})},ea=E.forwardRef(({children:n,isCollapsed:e=!1,className:t=""},r)=>{const i=E.useRef(null),{registerPrimarySidebar:a}=Vo(),o=E.useCallback(s=>{i.current=s,typeof r=="function"?r(s):r&&(r.current=s)},[r]);return E.useEffect(()=>{i.current&&a(i)},[a]),bf(i,e,!1),p.jsx("div",{ref:o,className:`bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 flex-shrink-0
|
|
94
|
+
*/var Hs,kt,pn,Ui,Wt,Ws,Zi,Xp=function(){return typeof window<"u"},gt={},Ut=180/Math.PI,fn=Math.PI/180,mn=Math.atan2,Us=1e8,Vi=/([A-Z])/g,Gp=/(left|right|width|margin|padding|x)/i,Kp=/[\s,\(]\S/,lt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yi=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Jp=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Qp=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ef=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Zs=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Vs=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},tf=function(e,t,r){return e.style[t]=r},nf=function(e,t,r){return e.style.setProperty(t,r)},rf=function(e,t,r){return e._gsap[t]=r},af=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},of=function(e,t,r,i,a){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(a,o)},sf=function(e,t,r,i,a){var o=e._gsap;o[t]=r,o.renderTransform(a,o)},ge="transform",Be=ge+"Origin",lf=function n(e,t){var r=this,i=this.target,a=i.style,o=i._gsap;if(e in gt&&a){if(this.tfm=this.tfm||{},e!=="transform")e=lt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=xt(i,s)}):this.tfm[e]=o.x?o[e]:xt(i,e),e===Be&&(this.tfm.zOrigin=o.zOrigin);else return lt.transform.split(",").forEach(function(s){return n.call(r,s,t)});if(this.props.indexOf(ge)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Be,t,"")),e=ge}(a||t)&&this.props.push(e,t,a[e])},Ys=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},cf=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,a,o;for(a=0;a<e.length;a+=3)e[a+1]?e[a+1]===2?t[e[a]](e[a+2]):t[e[a]]=e[a+2]:e[a+2]?r[e[a]]=e[a+2]:r.removeProperty(e[a].substr(0,2)==="--"?e[a]:e[a].replace(Vi,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),a=Zi(),(!a||!a.isStart)&&!r[ge]&&(Ys(r),i.zOrigin&&r[Be]&&(r[Be]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Xs=function(e,t){var r={target:e,props:[],revert:cf,save:lf};return e._gsap||$e.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},Gs,Xi=function(e,t){var r=kt.createElementNS?kt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):kt.createElement(e);return r&&r.style?r:kt.createElement(e)},et=function n(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Vi,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&n(e,hn(t)||t,1)||""},Ks="O,Moz,ms,Ms,Webkit".split(","),hn=function(e,t,r){var i=t||Wt,a=i.style,o=5;if(e in a&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ks[o]+e in a););return o<0?null:(o===3?"ms":o>=0?Ks[o]:"")+e},Gi=function(){Xp()&&window.document&&(Hs=window,kt=Hs.document,pn=kt.documentElement,Wt=Xi("div")||{style:{}},Xi("div"),ge=hn(ge),Be=ge+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Gs=!!hn("perspective"),Zi=$e.core.reverting,Ui=1)},Js=function(e){var t=e.ownerSVGElement,r=Xi("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),a;i.style.display="block",r.appendChild(i),pn.appendChild(r);try{a=i.getBBox()}catch{}return r.removeChild(i),pn.removeChild(r),a},Qs=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},el=function(e){var t,r;try{t=e.getBBox()}catch{t=Js(e),r=1}return t&&(t.width||t.height)||r||(t=Js(e)),t&&!t.width&&!t.x&&!t.y?{x:+Qs(e,["x","cx","x1"])||0,y:+Qs(e,["y","cy","y1"])||0,width:0,height:0}:t},tl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&el(e))},Zt=function(e,t){if(t){var r=e.style,i;t in gt&&t!==Be&&(t=ge),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Vi,"-$1").toLowerCase())):r.removeAttribute(t)}},Pt=function(e,t,r,i,a,o){var s=new ze(e._pt,t,r,0,1,o?Vs:Zs);return e._pt=s,s.b=i,s.e=a,e._props.push(r),s},nl={deg:1,rad:1,turn:1},uf={grid:1,flex:1},Dt=function n(e,t,r,i){var a=parseFloat(r)||0,o=(r+"").trim().substr((a+"").length)||"px",s=Wt.style,l=Gp.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,m=i==="px",h=i==="%",g,f,v,x;if(i===o||!a||nl[i]||nl[o])return a;if(o!=="px"&&!m&&(a=n(e,t,r,"px")),x=e.getCTM&&tl(e),(h||o==="%")&&(gt[t]||~t.indexOf("adius")))return g=x?e.getBBox()[l?"width":"height"]:e[u],we(h?a/g*d:a/100*g);if(s[l?"width":"height"]=d+(m?o:i),f=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,x&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===kt||!f.appendChild)&&(f=kt.body),v=f._gsap,v&&h&&v.width&&l&&v.time===Ge.time&&!v.uncache)return we(a/v.width*d);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=d+i,g=e[u],_?e.style[t]=_:Zt(e,t)}else(h||o==="%")&&!uf[et(f,"display")]&&(s.position=et(e,"position")),f===e&&(s.position="static"),f.appendChild(Wt),g=Wt[u],f.removeChild(Wt),s.position="absolute";return l&&h&&(v=Lt(f),v.time=Ge.time,v.width=f[u]),we(m?g*a/d:g&&a?d/g*a:0)},xt=function(e,t,r,i){var a;return Ui||Gi(),t in lt&&t!=="transform"&&(t=lt[t],~t.indexOf(",")&&(t=t.split(",")[0])),gt[t]&&t!=="transform"?(a=$n(e,i),a=t!=="transformOrigin"?a[t]:a.svg?a.origin:qr(et(e,Be))+" "+a.zOrigin+"px"):(a=e.style[t],(!a||a==="auto"||i||~(a+"").indexOf("calc("))&&(a=Nr[t]&&Nr[t](e,t,r)||et(e,t)||as(e,t)||(t==="opacity"?1:0))),r&&!~(a+"").trim().indexOf(" ")?Dt(e,t,a,r)+r:a},df=function(e,t,r,i){if(!r||r==="none"){var a=hn(t,e,1),o=a&&et(e,a,1);o&&o!==r?(t=a,r=o):t==="borderColor"&&(r=et(e,"borderTopColor"))}var s=new ze(this._pt,e.style,t,0,1,Ls),l=0,c=0,u,d,m,h,g,f,v,x,_,T,w,y;if(s.b=r,s.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=et(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(f=e.style[t],e.style[t]=i,i=et(e,t)||i,f?e.style[t]=f:Zt(e,t)),u=[r,i],ks(u),r=u[0],i=u[1],m=r.match(an)||[],y=i.match(an)||[],y.length){for(;d=an.exec(i);)v=d[0],_=i.substring(l,d.index),g?g=(g+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(g=1),v!==(f=m[c++]||"")&&(h=parseFloat(f)||0,w=f.substr((h+"").length),v.charAt(1)==="="&&(v=on(h,v)+w),x=parseFloat(v),T=v.substr((x+"").length),l=an.lastIndex-T.length,T||(T=T||Ue.units[t]||w,l===i.length&&(i+=T,s.e+=T)),w!==T&&(h=Dt(e,t,f,T)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:h,c:x-h,m:g&&g<4||t==="zIndex"?Math.round:0});s.c=l<i.length?i.substring(l,i.length):""}else s.r=t==="display"&&i==="none"?Vs:Zs;return Jo.test(i)&&(s.e=0),this._pt=s,s},rl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},pf=function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=rl[r]||r,t[1]=rl[i]||i,t.join(" ")},ff=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,a=t.u,o=r._gsap,s,l,c;if(a==="all"||a===!0)i.cssText="",l=1;else for(a=a.split(","),c=a.length;--c>-1;)s=a[c],gt[s]&&(l=1,s=s==="transformOrigin"?Be:ge),Zt(r,s);l&&(Zt(r,ge),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",$n(r,1),o.uncache=1,Ys(i)))}},Nr={clearProps:function(e,t,r,i,a){if(a.data!=="isFromStart"){var o=e._pt=new ze(e._pt,t,r,0,0,ff);return o.u=i,o.pr=-10,o.tween=a,e._props.push(r),1}}},zn=[1,0,0,1,0,0],il={},al=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ol=function(e){var t=et(e,ge);return al(t)?zn:t.substr(7).match(Ko).map(we)},Ki=function(e,t){var r=e._gsap||Lt(e),i=e.style,a=ol(e),o,s,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,a=[l.a,l.b,l.c,l.d,l.e,l.f],a.join(",")==="1,0,0,1,0,0"?zn:a):(a===zn&&!e.offsetParent&&e!==pn&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,pn.appendChild(e)),a=ol(e),l?i.display=l:Zt(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):pn.removeChild(e))),t&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Ji=function(e,t,r,i,a,o){var s=e._gsap,l=a||Ki(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,d=s.xOffset||0,m=s.yOffset||0,h=l[0],g=l[1],f=l[2],v=l[3],x=l[4],_=l[5],T=t.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,k,C,O,j;r?l!==zn&&(C=h*v-g*f)&&(O=w*(v/C)+y*(-f/C)+(f*_-v*x)/C,j=w*(-g/C)+y*(h/C)-(h*_-g*x)/C,w=O,y=j):(k=el(e),w=k.x+(~T[0].indexOf("%")?w/100*k.width:w),y=k.y+(~(T[1]||T[0]).indexOf("%")?y/100*k.height:y)),i||i!==!1&&s.smooth?(x=w-c,_=y-u,s.xOffset=d+(x*h+_*f)-x,s.yOffset=m+(x*g+_*v)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=y,s.smooth=!!i,s.origin=t,s.originIsAbsolute=!!r,e.style[Be]="0px 0px",o&&(Pt(o,s,"xOrigin",c,w),Pt(o,s,"yOrigin",u,y),Pt(o,s,"xOffset",d,s.xOffset),Pt(o,s,"yOffset",m,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+y)},$n=function(e,t){var r=e._gsap||new Ns(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,a=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=et(e,Be)||"0",u,d,m,h,g,f,v,x,_,T,w,y,k,C,O,j,L,H,V,D,$,U,Y,X,ne,te,b,P,R,z,M,A;return u=d=m=f=v=x=_=T=w=0,h=g=1,r.svg=!!(e.getCTM&&tl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ge]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ge]!=="none"?l[ge]:"")),i.scale=i.rotate=i.translate="none"),C=Ki(e,r.svg),r.svg&&(r.uncache?(ne=e.getBBox(),c=r.xOrigin-ne.x+"px "+(r.yOrigin-ne.y)+"px",X=""):X=!t&&e.getAttribute("data-svg-origin"),Ji(e,X||c,!!X||r.originIsAbsolute,r.smooth!==!1,C)),y=r.xOrigin||0,k=r.yOrigin||0,C!==zn&&(H=C[0],V=C[1],D=C[2],$=C[3],u=U=C[4],d=Y=C[5],C.length===6?(h=Math.sqrt(H*H+V*V),g=Math.sqrt($*$+D*D),f=H||V?mn(V,H)*Ut:0,_=D||$?mn(D,$)*Ut+f:0,_&&(g*=Math.abs(Math.cos(_*fn))),r.svg&&(u-=y-(y*H+k*D),d-=k-(y*V+k*$))):(A=C[6],z=C[7],b=C[8],P=C[9],R=C[10],M=C[11],u=C[12],d=C[13],m=C[14],O=mn(A,R),v=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=U*j+b*L,ne=Y*j+P*L,te=A*j+R*L,b=U*-L+b*j,P=Y*-L+P*j,R=A*-L+R*j,M=z*-L+M*j,U=X,Y=ne,A=te),O=mn(-D,R),x=O*Ut,O&&(j=Math.cos(-O),L=Math.sin(-O),X=H*j-b*L,ne=V*j-P*L,te=D*j-R*L,M=$*L+M*j,H=X,V=ne,D=te),O=mn(V,H),f=O*Ut,O&&(j=Math.cos(O),L=Math.sin(O),X=H*j+V*L,ne=U*j+Y*L,V=V*j-H*L,Y=Y*j-U*L,H=X,U=ne),v&&Math.abs(v)+Math.abs(f)>359.9&&(v=f=0,x=180-x),h=we(Math.sqrt(H*H+V*V+D*D)),g=we(Math.sqrt(Y*Y+A*A)),O=mn(U,Y),_=Math.abs(O)>2e-4?O*Ut:0,w=M?1/(M<0?-M:M):0),r.svg&&(X=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!al(et(e,ge)),X&&e.setAttribute("transform",X))),Math.abs(_)>90&&Math.abs(_)<270&&(a?(h*=-1,_+=f<=0?180:-180,f+=f<=0?180:-180):(g*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=m+o,r.scaleX=we(h),r.scaleY=we(g),r.rotation=we(f)+s,r.rotationX=we(v)+s,r.rotationY=we(x)+s,r.skewX=_+s,r.skewY=T+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Be]=qr(c)),r.xOffset=r.yOffset=0,r.force3D=Ue.force3D,r.renderTransform=r.svg?hf:Gs?sl:mf,r.uncache=0,r},qr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qi=function(e,t,r){var i=qe(t);return we(parseFloat(t)+parseFloat(Dt(e,"x",r+"px",i)))+i},mf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Vt="0deg",Bn="0px",Yt=") ",sl=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,m=r.skewX,h=r.skewY,g=r.scaleX,f=r.scaleY,v=r.transformPerspective,x=r.force3D,_=r.target,T=r.zOrigin,w="",y=x==="auto"&&e&&e!==1||x===!0;if(T&&(d!==Vt||u!==Vt)){var k=parseFloat(u)*fn,C=Math.sin(k),O=Math.cos(k),j;k=parseFloat(d)*fn,j=Math.cos(k),o=Qi(_,o,C*j*-T),s=Qi(_,s,-Math.sin(k)*-T),l=Qi(_,l,O*j*-T+T)}v!==Bn&&(w+="perspective("+v+Yt),(i||a)&&(w+="translate("+i+"%, "+a+"%) "),(y||o!==Bn||s!==Bn||l!==Bn)&&(w+=l!==Bn||y?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Yt),c!==Vt&&(w+="rotate("+c+Yt),u!==Vt&&(w+="rotateY("+u+Yt),d!==Vt&&(w+="rotateX("+d+Yt),(m!==Vt||h!==Vt)&&(w+="skew("+m+", "+h+Yt),(g!==1||f!==1)&&(w+="scale("+g+", "+f+Yt),_.style[ge]=w||"translate(0, 0)"},hf=function(e,t){var r=t||this,i=r.xPercent,a=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,m=r.scaleY,h=r.target,g=r.xOrigin,f=r.yOrigin,v=r.xOffset,x=r.yOffset,_=r.forceCSS,T=parseFloat(o),w=parseFloat(s),y,k,C,O,j;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=fn,c*=fn,y=Math.cos(l)*d,k=Math.sin(l)*d,C=Math.sin(l-c)*-m,O=Math.cos(l-c)*m,c&&(u*=fn,j=Math.tan(c-u),j=Math.sqrt(1+j*j),C*=j,O*=j,u&&(j=Math.tan(u),j=Math.sqrt(1+j*j),y*=j,k*=j)),y=we(y),k=we(k),C=we(C),O=we(O)):(y=d,O=m,k=C=0),(T&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(T=Dt(h,"x",o,"px"),w=Dt(h,"y",s,"px")),(g||f||v||x)&&(T=we(T+g-(g*y+f*C)+v),w=we(w+f-(g*k+f*O)+x)),(i||a)&&(j=h.getBBox(),T=we(T+i/100*j.width),w=we(w+a/100*j.height)),j="matrix("+y+","+k+","+C+","+O+","+T+","+w+")",h.setAttribute("transform",j),_&&(h.style[ge]=j)},vf=function(e,t,r,i,a){var o=360,s=Pe(a),l=parseFloat(a)*(s&&~a.indexOf("rad")?Ut:1),c=l-i,u=i+c+"deg",d,m;return s&&(d=a.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*Us)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*Us)%o-~~(c/o)*o)),e._pt=m=new ze(e._pt,t,r,i,c,Jp),m.e=u,m.u="deg",e._props.push(r),m},ll=function(e,t){for(var r in t)e[r]=t[r];return e},gf=function(e,t,r){var i=ll({},r._gsap),a="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,d,m,h,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ge]=t,s=$n(r,1),Zt(r,ge),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ge],o[ge]=t,s=$n(r,1),o[ge]=c);for(l in gt)c=i[l],u=s[l],c!==u&&a.indexOf(l)<0&&(h=qe(c),g=qe(u),d=h!==g?Dt(r,l,c,g):parseFloat(c),m=parseFloat(u),e._pt=new ze(e._pt,s,l,d,m-d,Yi),e._pt.u=g||0,e._props.push(l));ll(s,i)};Le("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",i="Bottom",a="Left",o=(e<3?[t,r,i,a]:[t+a,t+r,i+r,i+a]).map(function(s){return e<2?n+s:"border"+s+n});Nr[e>1?"border"+n:n]=function(s,l,c,u,d){var m,h;if(arguments.length<4)return m=o.map(function(g){return xt(s,g,c)}),h=m.join(" "),h.split(m[0]).length===5?m[0]:h;m=(u+"").split(" "),h={},o.forEach(function(g,f){return h[g]=m[f]=m[f]||m[(f-1)/2|0]}),s.init(l,h,d)}});var cl={name:"css",register:Gi,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,a){var o=this._props,s=e.style,l=r.vars.startAt,c,u,d,m,h,g,f,v,x,_,T,w,y,k,C,O;Ui||Gi(),this.styles=this.styles||Xs(e),O=this.styles.props,this.tween=r;for(f in t)if(f!=="autoRound"&&(u=t[f],!(Ve[f]&&qs(f,t,r,i,e,a)))){if(h=typeof u,g=Nr[f],h==="function"&&(u=u.call(r,i,e,a),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=qn(u)),g)g(this,e,f,u,r)&&(C=1);else if(f.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(f)+"").trim(),u+="",jt.lastIndex=0,jt.test(c)||(v=qe(c),x=qe(u)),x?v!==x&&(c=Dt(e,f,c,x)+x):v&&(u+=v),this.add(s,"setProperty",c,u,i,a,0,0,f),o.push(f),O.push(f,0,s[f]);else if(h!=="undefined"){if(l&&f in l?(c=typeof l[f]=="function"?l[f].call(r,i,e,a):l[f],Pe(c)&&~c.indexOf("random(")&&(c=qn(c)),qe(c+"")||c==="auto"||(c+=Ue.units[f]||qe(xt(e,f))||""),(c+"").charAt(1)==="="&&(c=xt(e,f))):c=xt(e,f),m=parseFloat(c),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),d=parseFloat(u),f in lt&&(f==="autoAlpha"&&(m===1&&xt(e,"visibility")==="hidden"&&d&&(m=0),O.push("visibility",0,s.visibility),Pt(this,s,"visibility",m?"inherit":"hidden",d?"inherit":"hidden",!d)),f!=="scale"&&f!=="transform"&&(f=lt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),T=f in gt,T){if(this.styles.save(f),h==="string"&&u.substring(0,6)==="var(--"&&(u=et(e,u.substring(4,u.indexOf(")"))),d=parseFloat(u)),w||(y=e._gsap,y.renderTransform&&!t.parseTransform||$n(e,t.parseTransform),k=t.smoothOrigin!==!1&&y.smooth,w=this._pt=new ze(this._pt,s,ge,0,1,y.renderTransform,y,0,-1),w.dep=1),f==="scale")this._pt=new ze(this._pt,y,"scaleY",y.scaleY,(_?on(y.scaleY,_+d):d)-y.scaleY||0,Yi),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){O.push(Be,0,s[Be]),u=pf(u),y.svg?Ji(e,u,0,k,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&Pt(this,y,"zOrigin",y.zOrigin,x),Pt(this,s,f,qr(c),qr(u)));continue}else if(f==="svgOrigin"){Ji(e,u,1,k,0,this);continue}else if(f in il){vf(this,y,f,m,_?on(m,_+u):u);continue}else if(f==="smoothOrigin"){Pt(this,y,"smooth",y.smooth,u);continue}else if(f==="force3D"){y[f]=u;continue}else if(f==="transform"){gf(this,u,e);continue}}else f in s||(f=hn(f)||f);if(T||(d||d===0)&&(m||m===0)&&!Kp.test(u)&&f in s)v=(c+"").substr((m+"").length),d||(d=0),x=qe(u)||(f in Ue.units?Ue.units[f]:v),v!==x&&(m=Dt(e,f,c,x)),this._pt=new ze(this._pt,T?y:s,f,m,(_?on(m,_+d):d)-m,!T&&(x==="px"||f==="zIndex")&&t.autoRound!==!1?ef:Yi),this._pt.u=x||0,v!==x&&x!=="%"&&(this._pt.b=c,this._pt.r=Qp);else if(f in s)df.call(this,e,f,c,_?_+u:u);else if(f in e)this.add(e,f,c||e[f],_?_+u:u,i,a);else if(f!=="parseTransform"){wi(f,u);continue}T||(f in s?O.push(f,0,s[f]):typeof e[f]=="function"?O.push(f,2,e[f]()):O.push(f,1,c||e[f])),o.push(f)}}C&&zs(this)},render:function(e,t){if(t.tween._time||!Zi())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:xt,aliases:lt,getSetter:function(e,t,r){var i=lt[t];return i&&i.indexOf(",")<0&&(t=i),t in gt&&t!==Be&&(e._gsap.x||xt(e,"x"))?r&&Ws===r?t==="scale"?af:rf:(Ws=r||{})&&(t==="scale"?of:sf):e.style&&!hi(e.style[t])?tf:~t.indexOf("-")?nf:zi(e,t)},core:{_removeProperty:Zt,_getMatrix:Ki}};$e.utils.checkPrefix=hn,$e.core.getStyleSaver=Xs,(function(n,e,t,r){var i=Le(n+","+e+","+t,function(a){gt[a]=1});Le(e,function(a){Ue.units[a]="deg",il[a]=1}),lt[i[13]]=n+","+e,Le(r,function(a){var o=a.split(":");lt[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Le("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ue.units[n]="px"}),$e.registerPlugin(cl);var He=$e.registerPlugin(cl)||$e;He.core.Tween;const xf=(n,e)=>{ba.useGSAP(()=>{if(!n.current)return;const t=n.current,r=document.querySelector('[data-main-content="true"]');if(e){He.fromTo(t,{width:"0rem",opacity:0},{width:"40rem",opacity:1,duration:.4,ease:"power2.out"}),r&&He.to(r,{marginLeft:t.offsetWidth+"px",duration:.4,ease:"power2.out"});const i=t.querySelectorAll(".secondary-bar-content > *");i.length>0&&He.fromTo(i,{y:20,opacity:0},{y:0,opacity:1,duration:.3,stagger:.05,delay:.1,ease:"power1.out"})}else He.to(t,{width:"0rem",opacity:0,duration:.3,ease:"power2.in"}),r&&He.to(r,{marginLeft:"0px",duration:.3,ease:"power2.in"})},{scope:n,dependencies:[e]})},ul=({children:n,isOpen:e=!1,className:t="",width:r="w-96",action:i,primarySidebarCollapsed:a,onClose:o})=>{const s=E.useRef(null),[l,c]=E.useState({left:0,width:0}),{primarySidebarRef:u}=Vo();return E.useLayoutEffect(()=>{if(u?.current){const d=u.current.getBoundingClientRect();c({left:d.width,width:d.width})}},[u,e,a]),xf(s,e),p.jsx(p.Fragment,{children:e&&p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"fixed inset-0 bg-black/95 z-20",style:{left:l.left},onClick:o}),p.jsx("div",{ref:s,className:N("h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0","absolute top-0 z-30",r,t),style:{left:l.left},"data-action":i,children:p.jsx("div",{className:"secondary-bar-content",children:n})})]})})},yf=Object.assign(ul,{Root:ul,Header:({children:n,className:e})=>p.jsx("div",{className:N("h-16 ",e),children:n}),Content:({children:n,className:e})=>p.jsx("div",{className:N("flex-1 overflow-y-auto p-4",e),children:n}),Footer:({children:n,className:e})=>p.jsx("div",{className:N("p-4 border-t border-neutral-strong-default",e),children:n}),Spacer:({className:n})=>p.jsx("div",{className:N("flex-1",n)})}),Rr=(n,e,t,r)=>e&&(Array.isArray(e)?e.length>0:e)?n.to(e,t,r):n,bf=(n,e,t)=>{ba.useGSAP(()=>{if(!n.current)return;const r=He.timeline({defaults:{duration:.7,ease:"power1.out"}}),i={navbar:n.current,navLabels:He.utils.toArray(".nav-label"),navIconWrappers:He.utils.toArray(".nav-icon-wrapper"),navIcons:He.utils.toArray(".nav-icon"),navLinkItems:He.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron"),logo:{contenedor:document.querySelector(".container-logo"),icon:document.querySelector(".icon-logo"),text:document.querySelector(".text-logo")},sidebarHeader:document.querySelector(".sidebar-header"),containerIconcollapsade:document.querySelector(".container-icon-collapsade"),secondaryBar:document.querySelector(".secondary-bar"),secondaryBarContent:He.utils.toArray(".secondary-bar *"),badgeInLink:He.utils.toArray(".badge-in-link")};e?wf(r,i):_f(r,i),i.secondaryBar&&Tf(i.secondaryBar)},{scope:n,dependencies:[e,t]})},wf=(n,e)=>{n.to(e.navbar,{width:"5rem",duration:.2,ease:"bounce.out"}).to(e.logo.contenedor,{height:48,width:48,minWidth:48,ease:"bounce.out"},-1).to(e.logo.text,{opacity:0,scale:.8,duration:.5,ease:"back.in(1.2)"},-1).set(e.logo.text,{display:"none"}).to(e.sidebarHeader,{justifyContent:"center",display:"flex"},-1).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.6,ease:"power1.inOut"}).to(e.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},-1).to(e.navLabels,{opacity:0,width:30,marginLeft:0},0).to(e.navIcons,{scale:.95,ease:"elastic.out(1, 0.3)"},0),Rr(n,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),Rr(n,e.buttonContentChevron,{display:"none"},-1).to(e.separatorProfile,{display:"none"},-1).to(e.profileUserInfo,{display:"none"},-1).to(e.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(e.profileImageWrapper,{width:52,height:52,marginLeft:0,marginRight:0},-1).to(e.buttonProfile,{height:44,width:58,margin:0,padding:0,borderRadius:"60px",duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1).to(e.containerIconcollapsade,{justifyContent:"center",marginRight:0},"=-1").to(e.badgeInLink,{position:"absolute",right:1,top:-7},-1)},_f=(n,e)=>{n.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),Rr(n,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),Rr(n,e.buttonContentChevron,{display:"flex"},0).to(e.logo.contenedor,{width:185,height:48,minWidth:185},-1).set(e.logo.text,{display:"flex"},-1).to(e.logo.text,{opacity:1,duration:0,ease:"back.in(1)"}).to(e.logo.icon,{keyframes:{"0%":{scale:1},"33%":{scale:1.5},"66%":{scale:.5},"100%":{scale:1}},duration:.3,ease:"power1.inOut"}).to(e.sidebarHeader,{justifyContent:"start",display:"flex"},-1).to(e.profileImageWrapper,{marginRight:0,duration:.2,ease:"bounce.out"},-1).to(e.containerIconcollapsade,{justifyContent:"end",marginRight:20},-1).to(e.separatorProfile,{display:"flex"},0).to(e.badgeInLink,{position:"static",right:"auto",top:"auto",display:"flex",justifyContent:"end",alignItems:"center"},-1).to(e.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(e.separatorProfile,{display:"flex"},0).to(e.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(e.profileUserInfo,{display:"flex",ease:"fade.in"},0).to(e.navIcons,{scale:1},.3)},Tf=(n,e)=>{He.to(n,{x:"-100%",opacity:0,duration:.3,ease:"power2.in"})},ea=E.forwardRef(({children:n,isCollapsed:e=!1,className:t=""},r)=>{const i=E.useRef(null),{registerPrimarySidebar:a}=Vo(),o=E.useCallback(s=>{i.current=s,typeof r=="function"?r(s):r&&(r.current=s)},[r]);return E.useEffect(()=>{i.current&&a(i)},[a]),bf(i,e,!1),p.jsx("div",{ref:o,className:`bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 flex-shrink-0
|
|
95
95
|
} ${t}`,children:n})});ea.displayName="SidebarRoot";const Ef=Object.assign(ea,{Root:ea,CollapseButton:({isCollapsed:n,onToggleCollapse:e})=>p.jsx("div",{className:N("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade",n&&""),children:p.jsx("button",{onClick:e,title:n?"Expandir Navbar":"Contraer Navbar","aria-label":n?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:n?p.jsx(je.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):p.jsx(je.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),Header:({children:n,className:e})=>p.jsx("div",{className:`${e} sidebar-header`,children:n}),Divider:({className:n})=>p.jsx("div",{className:N("px-3 flex justify-center items-center w-full mb-4",n),children:p.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:n,className:e})=>p.jsx("div",{className:e,children:n}),Spacer:({className:n,size:e="auto"})=>{const t=()=>{switch(e){case"auto":return"flex-grow";case"small":return"h-2 w-2";case"medium":return"h-4 w-4";case"large":return"h-8 w-8"}};return p.jsx("div",{className:N(t(),n)})},Footer:({children:n,className:e})=>p.jsx("div",{className:e,children:n})}),Sf=()=>{const[n,e]=E.useState(!1),[t,r]=E.useState(!1),i=()=>{e(!1),s()},a=()=>{e(!0),r(!1)},o=()=>{r(!0)},s=()=>{r(!1)};return{isCollapsed:n,setIsCollapsed:e,toggleCollapse:()=>{n?i():a()},expandSidebar:i,collapseSidebar:a,activeSecondaryBar:t,openSecondaryBar:o,closeSecondaryBar:s,toggleSecondaryBar:()=>{r(u=>!u)}}},Cf=({children:n,icon:e,label:t,href:r,onClick:i,isActive:a=!1,className:o})=>{const s=r?"a":"button";return p.jsxs(s,{href:r,onClick:i,className:N("nav-link-item","flex items-center w-full px-3 py-2 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default",a&&"bg-neutral-medium-default",o),children:[e&&p.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:p.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&p.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),n]})},jf=E.createContext(void 0),Of=()=>{const n=E.useContext(jf);if(!n)throw new Error("useSidebar must be used within a Sidebar.Root");return n},kf=({user:n,className:e,onProfileClick:t})=>{const{isCollapsed:r}=Of(),[i,a]=E.useState(!1),o=()=>{r?t?.():a(!i)};return p.jsxs("div",{className:N("profile-container",e),children:[p.jsxs("button",{onClick:o,className:N("button-profile","flex items-center w-full p-3 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default"),children:[p.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:p.jsx("div",{className:"cover-image-profile w-10 h-10 rounded-full bg-primary-default-default flex items-center justify-center text-white text-sm font-semibold",children:n.profileImage?p.jsx("img",{src:n.profileImage,alt:n.name,className:"w-full h-full rounded-full object-cover"}):n.name.charAt(0).toUpperCase()})}),p.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[p.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:n.name}),p.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:n.email})]}),p.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:p.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:i?"▲":"▼"})})]}),i&&!r&&p.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:p.jsxs("button",{className:"logout-button flex items-center w-full px-3 py-2 text-left text-sm text-neutral-strong-default hover:bg-neutral-medium-default rounded-lg",children:[p.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),p.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),p.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},ta=({count:n,maxCount:e=9,className:t="",size:r="medium",variant:i="primary",showZero:a=!1})=>{const o=n,s=o>e?`+${e}`:o;if(o===0&&!a)return null;const l={small:"w-4.5 h-4.5 text-xs ",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},c={primary:"bg-primary-default-default text-neutral-strong-default",secondary:"bg-neutral-medium-default text-neutral-strong-default",success:"bg-green-500 text-white",warning:"bg-yellow-500 text-black",danger:"bg-red-500 text-white"};return p.jsx("div",{className:N("rounded-full flex items-center justify-center font-medium ",l[r],c[i],t),children:p.jsx("span",{children:s})})},Pf=({linkActions:n,onClick:e,activeAction:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:n?.map((r,i)=>r.isView&&r.viewAccess()&&p.jsx(re.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:i*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{e?.(r.action)},className:N("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",t===r.action?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(re.AnimatePresence,{mode:"wait",children:t===r.action&&p.jsx(re.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),p.jsxs(re.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:(t===r.action,0)},transition:{duration:.25,ease:"easeOut"},children:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(re.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:t===r.action?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof r.icon=="function"?r.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",t===r.action?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:r.title})]}),p.jsx("div",{className:"badge-in-link",children:r.count&&r?.count>=1?p.jsx(ta,{count:r.count,maxCount:9,className:""}):""})]})]})},i))}),Df=({links:n,isLinkActive:e,onLinkClick:t})=>p.jsx("nav",{className:"flex flex-col gap-1",children:n?.map((r,i)=>{const a=e(r.path)||(r.relatedPaths?.some(o=>e(o))??!1);return r.isView&&r.viewAccess()&&p.jsx(re.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:i*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:p.jsxs("button",{onClick:()=>{t?.(r.path)},className:N("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",a?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[p.jsx(re.AnimatePresence,{mode:"wait",children:a&&p.jsx(re.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),p.jsxs(re.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(re.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:a?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof r.icon=="function"?r.icon({size:24,className:N("nav-icon transition-colors duration-250 ease-out",a?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),p.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:r.title})]}),p.jsx("div",{className:"badge-in-link",children:r.count&&r.count?p.jsx(ta,{count:r.count,maxCount:9,className:""}):""})]})]})},i)})}),Af=({isActiveModalNotification:n,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:n}),Nf=n=>{const e=E.useRef(null);return{isCollapsed:n,navbarRef:e}},qf=({isCollapsed:n,onToggle:e})=>p.jsx("div",{className:"",children:p.jsx("button",{onClick:e,title:n?"Expandir Navbar":"Contraer Navbar","aria-label":n?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:n?p.jsx(je.CloseNavBarDesktop,{size:34,className:"rotate-180 transition-transform duration-300"}):p.jsx(je.CloseNavBarDesktop,{size:34,className:"rotate-0 transition-transform duration-300"})})}),Rf=({logoUrl:n,companyName:e})=>p.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:p.jsx("img",{src:n,className:"h-2/3 rounded-full",alt:e??""})}),Mf=()=>{const n=E.useRef(null);return{ref:n,open:()=>{n.current?.open()},close:()=>{n.current?.close()},isOpen:()=>n.current?.isOpen??!1}},If=()=>{const n=E.useRef(null),e=E.useCallback(()=>{n.current?.open()},[]),t=E.useCallback(()=>{n.current?.close()},[]);return{isOpen:E.useCallback(()=>n.current?.isOpen??!1,[]),open:e,close:t,drawerRef:n}},Ff=()=>{const n=E.useRef(null),e=E.useCallback(()=>{n.current?.open()},[]),t=E.useCallback(()=>{n.current?.close()},[]);return{isOpen:E.useCallback(()=>n.current?.isOpen??!1,[]),open:e,close:t,drawerRef:n}},Lf=(n,e=!0)=>{const t=E.useRef(null);return E.useEffect(()=>{if(!e)return;const r=i=>{t.current&&!t.current.contains(i.target)&&n()};return document.addEventListener("mousedown",r,{capture:!0}),document.addEventListener("touchstart",r,{capture:!0}),()=>{document.removeEventListener("mousedown",r,{capture:!0}),document.removeEventListener("touchstart",r,{capture:!0})}},[n,e]),t};var Mr={exports:{}},Ir={exports:{}},oe={};/** @license React v16.13.1
|
|
96
96
|
* react-is.production.min.js
|
|
97
97
|
*
|