cortex-react-components 1.6.0 → 1.6.1
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.
- package/README.md +1 -32
- package/dist/{chunk-N67IYQRE.mjs → chunk-64NIISYM.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-6R5WHRD7.mjs} +1 -1
- package/dist/{chunk-ZQIQIKGT.mjs → chunk-7EL6UWIM.mjs} +1 -1
- package/dist/{chunk-ADPXM7KO.mjs → chunk-7FHNAAFW.mjs} +1 -1
- package/dist/{chunk-JH5Q7PCH.mjs → chunk-7WCO2LWU.mjs} +1 -1
- package/dist/{chunk-BXT4ZXHS.mjs → chunk-HTIXQIZ5.mjs} +1 -1
- package/dist/{chunk-6UHKJY7S.mjs → chunk-IELYTAA6.mjs} +1 -1
- package/dist/{chunk-AFA6LBJ4.mjs → chunk-IPHHUHS3.mjs} +1 -1
- package/dist/{chunk-UACG2TJ3.mjs → chunk-QDP6HBGT.mjs} +1 -1
- package/dist/{chunk-HBHBESNA.mjs → chunk-Z4V2VUJ4.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.d.ts +1 -1
- package/dist/components/Menus/SimpleHeader.js +1 -1
- package/dist/components/Menus/SimpleHeader.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.stories.js +1 -1
- package/dist/components/Menus/SimpleHeader.stories.mjs +1 -1
- package/dist/components/Menus/index.d.ts +4 -5
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +89 -89
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +104 -104
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +89 -89
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-3G4BZOQD.mjs → chunk-QIGSYUIX.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var E=(r,a)=>{for(var i in a)b(r,i,{get:a[i],enumerable:!0})},G=(r,a,i,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of z(a))!B.call(r,t)&&t!==i&&b(r,t,{get:()=>a[t],enumerable:!(s=$(a,t))||s.enumerable});return r};var O=r=>G(b({},"__esModule",{value:!0}),r);var U={};E(U,{Primary:()=>Y,default:()=>F});module.exports=O(U);var m=require("react"),l=require("@headlessui/react"),h=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var o=require("react/jsx-runtime"),j=({name:r,items:a,actions:i=[],href:s})=>!a&&s?(0,o.jsxs)("a",{href:s,className:"relative inline-block text-sm font-semibold text-foreground group",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,o.jsxs)(l.Popover,{children:[(0,o.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,o.jsxs)("span",{className:"relative",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,o.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,o.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,o.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:a&&a.map(t=>(0,o.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,o.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,o.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,o.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,o.jsx)("span",{className:"absolute inset-0"})]}),(0,o.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),i.length>0&&(0,o.jsx)("div",{className:"bg-gray-50",children:(0,o.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,o.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:i.map(t=>(0,o.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,o.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),
|
|
4
|
+
"use strict";var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var E=(r,a)=>{for(var i in a)b(r,i,{get:a[i],enumerable:!0})},G=(r,a,i,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of z(a))!B.call(r,t)&&t!==i&&b(r,t,{get:()=>a[t],enumerable:!(s=$(a,t))||s.enumerable});return r};var O=r=>G(b({},"__esModule",{value:!0}),r);var U={};E(U,{Primary:()=>Y,default:()=>F});module.exports=O(U);var m=require("react"),l=require("@headlessui/react"),h=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var o=require("react/jsx-runtime"),j=({name:r,items:a,actions:i=[],href:s})=>!a&&s?(0,o.jsxs)("a",{href:s,className:"relative inline-block text-sm font-semibold text-foreground group",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,o.jsxs)(l.Popover,{children:[(0,o.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,o.jsxs)("span",{className:"relative",children:[r,(0,o.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,o.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,o.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,o.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:a&&a.map(t=>(0,o.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,o.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,o.jsx)(t.icon,{"aria-hidden":"true",size:"6x"})}),(0,o.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,o.jsx)("span",{className:"absolute inset-0"})]}),(0,o.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),i.length>0&&(0,o.jsx)("div",{className:"bg-gray-50",children:(0,o.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,o.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:i.map(t=>(0,o.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,o.jsx)(t.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),M=j;var y=["light","dark","green"];function H({title:r,logo:a,menuItems:i}){let[s,t]=(0,m.useState)(!1),[P,I]=(0,m.useState)(!1),[u,w]=(0,m.useState)("light"),f=a==null?void 0:a.split(".")[0],x=a==null?void 0:a.split(".")[1],[R,v]=(0,m.useState)(`${f}.${x}`),k=n=>{y.includes(n)?v(n==="light"?`${f}.${x}`:`${f}-${n}.${x}`):v(`${f}.${x}`)};(0,m.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),w(n),document.documentElement.setAttribute("class",n),k(n)},[]);let T=()=>{let n=y[(y.indexOf(u)+1)%y.length];w(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),k(n)};return(0,o.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,o.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between l-3 lg:px-8",children:[(0,o.jsx)("div",{className:"flex lg:flex-1",children:(0,o.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:r}),(0,o.jsx)("img",{alt:r,src:R,className:"h-9 w-auto"})]})}),(0,o.jsx)("div",{className:"flex lg:hidden",children:(0,o.jsxs)("button",{type:"button",onClick:()=>t(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md l-2.5 text-gray-700 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,o.jsx)(h.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,o.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:i.map(n=>(0,o.jsx)(M,{...n},n.name))}),(0,o.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,o.jsx)("button",{onClick:T,className:"l-2 text-gray-700 outline-none",children:u==="dark"?(0,o.jsx)(g.SunIcon,{className:"h-6 w-6"}):u==="green"?(0,o.jsx)(g.MoonIcon,{className:"h-6 w-6"}):(0,o.jsx)(g.SunIcon,{className:"h-6 w-6"})})})]}),(0,o.jsxs)(l.Dialog,{open:s,onClose:t,className:"lg:hidden",children:[(0,o.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,o.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,o.jsx)("img",{alt:r,src:a,className:"h-8 w-auto"})]}),(0,o.jsxs)("button",{type:"button",onClick:()=>t(!1),className:"-m-2.5 rounded-md l-2.5 text-gray-700 outline-none",children:[(0,o.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,o.jsx)(h.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,o.jsx)("div",{className:"mt-6 flow-root",children:(0,o.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,o.jsx)("div",{className:"space-y-2 py-6",children:i.map(n=>(0,o.jsx)(A,{...n},n.name))})})})]})]})]})}function A({name:r,items:a,actions:i,href:s}){return!a&&s?(0,o.jsx)("a",{href:s,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}):(0,o.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,o.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:r}),(0,o.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:a&&a.map(t=>(0,o.jsx)(l.DisclosureButton,{as:"a",href:t.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:t.name},t.name))})]})}var L=({type:r="solid",iconName:a="cloud",size:i="lg",className:s})=>{let t="fa-"+r+" ",P="fa-"+a,I=s!=null?s:"",u=t+P+" fa-"+i+" "+I;return(0,o.jsx)("i",{className:u})},N=L;var F={title:"Header/SimpleHeader",component:H},W=r=>(0,o.jsx)(N,{iconName:"github",type:"brands",...r}),Y={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:h.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:h.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:h.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:h.ChartPieIcon},{name:"API Reference",href:"#",icon:h.CursorArrowRaysIcon},{name:"Github",href:"#",icon:W}],actions:[{name:"Watch demo",href:"#",icon:g.PlayCircleIcon},{name:"Contact sales",href:"#",icon:g.PhoneIcon},{name:"View all products",href:"#",icon:g.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-64NIISYM.mjs";import"../../chunk-BUTUFEFR.mjs";import{a as e}from"../../chunk-BYTBE2HZ.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as r,CursorArrowRaysIcon as t,FingerPrintIcon as a}from"@heroicons/react/24/outline";import{PhoneIcon as i,PlayCircleIcon as c,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{jsx as s}from"react/jsx-runtime";var l={title:"Header/SimpleHeader",component:o},p=n=>s(e,{iconName:"github",type:"brands",...n}),u={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:r},{name:"Engagement",description:"Interact with customers",href:"#",icon:t},{name:"Security",description:"Protect your data",href:"#",icon:a}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:r},{name:"API Reference",href:"#",icon:t},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:i},{name:"View all products",href:"#",icon:m}]},{name:"Company",href:"#"}]}};export{u as Primary,l as default};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { AppLauncher, SimpleHeader, SidebarLeft, SidebarRight };
|
|
1
|
+
export * from './AppLauncher';
|
|
2
|
+
export * from './SidebarLeft';
|
|
3
|
+
export * from './SidebarRight';
|
|
4
|
+
export * from './SimpleHeader';
|
|
6
5
|
export * from "./ProjectTeam";
|
|
7
6
|
export * from "./HeaderMenu";
|
|
8
7
|
export * from "./HeaderMenuItem";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Xt=Object.create;var Ne=Object.defineProperty;var Yt=Object.getOwnPropertyDescriptor;var Jt=Object.getOwnPropertyNames;var Zt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty;var er=(e,t)=>{for(var r in t)Ne(e,r,{get:t[r],enumerable:!0})},it=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Jt(t))!Qt.call(e,a)&&a!==r&&Ne(e,a,{get:()=>t[a],enumerable:!(o=Yt(t,a))||o.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Xt(Zt(e)):{},it(t||!e||!e.__esModule?Ne(r,"default",{value:e,enumerable:!0}):r,e)),tr=e=>it(Ne({},"__esModule",{value:!0}),e);var uo={};er(uo,{AppLauncher:()=>ct,ProjectTeam:()=>co,RelatedContent:()=>po,SidebarLeft:()=>Ke,SidebarRight:()=>qe,SimpleHeader:()=>Xe});module.exports=tr(uo);var lt=require("react");var st=require("react/jsx-runtime"),rr=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let a="fa-"+e+" ",i="fa-"+t,d=o!=null?o:"",s=a+i+" fa-"+r+" "+d;return(0,st.jsx)("i",{className:s})},te=rr;var dt=L(require("next/image")),or=({apps:e,isVisible:t=!0})=>{let r=(0,lt.useRef)(null);return(0,st.jsx)(st.Fragment,{children:t&&(0,st.jsx)("div",{className:"fixed inset-0 bg-background/80 dark:bg-background backdrop-blur-sm z-10",children:(0,st.jsx)("div",{ref:r,className:"bg-background w-full max-w-3xl mx-auto mt-16 rounded-lg shadow-lg overflow-hidden",children:(0,st.jsx)("div",{className:"grid grid-cols-5 gap-4 p-4 bg-background",children:e.map((o,a)=>(0,st.jsxs)("div",{className:"flex flex-col items-center text-center",children:[o.icon.url?(0,st.jsx)("div",{className:"w-12 st-12 mb-2",children:(0,st.jsx)(dt.default,{src:o.icon.url,className:"st-full w-full",alt:"icon"})}):(0,st.jsx)("div",{className:"w-12 st-12 mb-2",children:(0,st.jsx)(te,{type:o.icon.type,iconName:o.icon.name,className:"st-full w-full"})}),(0,st.jsx)("span",{className:"text-xs",children:o.name})]},a))})})})})},ct=or;var Ft=require("lucide-react");var re=L(require("@radix-ui/react-collapsible")),Y=re.Root,oe=re.CollapsibleTrigger,ae=re.CollapsibleContent;var Ue=L(require("clsx"));var xt=require("clsx");var Be="-",ar=e=>{let t=ir(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:d=>{let s=d.split(Be);return s[0]===""&&s.length!==1&&s.shift(),mt(s,t)||nr(d)},getConflictingClassGroupIds:(d,s)=>{let f=r[d]||[];return s&&o[d]?[...f,...o[d]]:f}}},mt=(e,t)=>{var d;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?mt(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let i=e.join(Be);return(d=t.validators.find(({validator:s})=>s(i)))==null?void 0:d.classGroupId},pt=/^\[(.+)\]$/,nr=e=>{if(pt.test(e)){let t=pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ir=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return lr(Object.entries(e.classGroups),r).forEach(([i,d])=>{Ae(d,o,i,t)}),o},Ae=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let i=a===""?t:ut(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(sr(a)){Ae(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,d])=>{Ae(d,ut(t,i),r,o)})})},ut=(e,t)=>{let r=e;return t.split(Be).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},sr=e=>e.isThemeGetter,lr=(e,t)=>t?e.map(([r,o])=>{let a=o.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([d,s])=>[t+d,s])):i);return[r,a]}):e,dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(i,d)=>{r.set(i,d),t++,t>e&&(t=0,o=r,r=new Map)};return{get(i){let d=r.get(i);if(d!==void 0)return d;if((d=o.get(i))!==void 0)return a(i,d),d},set(i,d){r.has(i)?r.set(i,d):a(i,d)}}},bt="!",cr=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],i=t.length,d=s=>{let f=[],v=0,x=0,M;for(let b=0;b<s.length;b++){let w=s[b];if(v===0){if(w===a&&(o||s.slice(b,b+i)===t)){f.push(s.slice(x,b)),x=b+i;continue}if(w==="/"){M=b;continue}}w==="["?v++:w==="]"&&v--}let y=f.length===0?s:s.substring(x),C=y.startsWith(bt),k=C?y.substring(1):y,l=M&&M>x?M-x:void 0;return{modifiers:f,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:l}};return r?s=>r({className:s,parseClassName:d}):d},pr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},ur=e=>({cache:dr(e.cacheSize),parseClassName:cr(e),...ar(e)}),mr=/\s+/,br=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,i=[],d=e.trim().split(mr),s="";for(let f=d.length-1;f>=0;f-=1){let v=d[f],{modifiers:x,hasImportantModifier:M,baseClassName:y,maybePostfixModifierPosition:C}=r(v),k=!!C,l=o(k?y.substring(0,C):y);if(!l){if(!k){s=v+(s.length>0?" "+s:s);continue}if(l=o(y),!l){s=v+(s.length>0?" "+s:s);continue}k=!1}let b=pr(x).join(":"),w=M?b+bt:b,R=w+l;if(i.includes(R))continue;i.push(R);let O=a(l,k);for(let X=0;X<O.length;++X){let Se=O[X];i.push(w+Se)}s=v+(s.length>0?" "+s:s)}return s};function fr(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ft(t))&&(o&&(o+=" "),o+=r);return o}var ft=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ft(e[o]))&&(r&&(r+=" "),r+=t);return r};function gr(e,...t){let r,o,a,i=d;function d(f){let v=t.reduce((x,M)=>M(x),e());return r=ur(v),o=r.cache.get,a=r.cache.set,i=s,s(f)}function s(f){let v=o(f);if(v)return v;let x=br(f,r);return a(f,x),x}return function(){return i(fr.apply(null,arguments))}}var S=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gt=/^\[(?:([a-z-]+):)?(.+)\]$/i,hr=/^\d+\/\d+$/,vr=new Set(["px","full","screen"]),xr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|st|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Sr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>ne(e)||vr.has(e)||hr.test(e),K=e=>ie(e,"length",Lr),ne=e=>!!e&&!Number.isNaN(Number(e)),He=e=>ie(e,"number",ne),be=e=>!!e&&Number.isInteger(Number(e)),Rr=e=>e.endsWith("%")&&ne(e.slice(0,-1)),u=e=>gt.test(e),q=e=>xr.test(e),Nr=new Set(["length","size","percentage"]),Mr=e=>ie(e,Nr,ht),Pr=e=>ie(e,"position",ht),kr=new Set(["image","url"]),Tr=e=>ie(e,kr,zr),Ir=e=>ie(e,"",Er),fe=()=>!0,ie=(e,t,r)=>{let o=gt.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Lr=e=>yr.test(e)&&!wr.test(e),ht=()=>!1,Er=e=>Sr.test(e),zr=e=>Cr.test(e);var Hr=()=>{let e=S("colors"),t=S("spacing"),r=S("blur"),o=S("brightness"),a=S("borderColor"),i=S("borderRadius"),d=S("borderSpacing"),s=S("borderWidth"),f=S("contrast"),v=S("grayscale"),x=S("hueRotate"),M=S("invert"),y=S("gap"),C=S("gradientColorStops"),k=S("gradientColorStopPositions"),l=S("inset"),b=S("margin"),w=S("opacity"),R=S("padding"),O=S("saturate"),X=S("scale"),Se=S("sepia"),Qe=S("skew"),et=S("space"),tt=S("translate"),Ie=()=>["auto","contain","none"],Le=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",u,t],N=()=>[u,t],rt=()=>["",W,K],Ce=()=>["auto",ne,u],ot=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Re=()=>["solid","dashed","dotted","double","none"],at=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ze=()=>["start","end","center","between","around","evenly","stretch"],me=()=>["","0",u],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[ne,u];return{cacheSize:500,separator:":",theme:{colors:[fe],spacing:[W,K],blur:["none","",q,u],brightness:$(),borderColor:[e],borderRadius:["none","","full",q,u],borderSpacing:N(),borderWidth:rt(),contrast:$(),grayscale:me(),hueRotate:$(),invert:me(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Rr,K],inset:Ee(),margin:Ee(),opacity:$(),padding:N(),saturate:$(),scale:$(),sepia:me(),skew:$(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":nt()}],"break-before":[{"break-before":nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ot(),u]}],overflow:[{overflow:Le()}],"overflow-x":[{"overflow-x":Le()}],"overflow-y":[{"overflow-y":Le()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-y":[{"overscroll-y":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-x":[{"inset-x":[l]}],"inset-y":[{"inset-y":[l]}],start:[{start:[l]}],end:[{end:[l]}],top:[{top:[l]}],right:[{right:[l]}],bottom:[{bottom:[l]}],left:[{left:[l]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",be,u]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:me()}],shrink:[{shrink:me()}],order:[{order:["first","last","none",be,u]}],"grid-cols":[{"grid-cols":[fe]}],"col-start-end":[{col:["auto",{span:["full",be,u]},u]}],"col-start":[{"col-start":Ce()}],"col-end":[{"col-end":Ce()}],"grid-rows":[{"grid-rows":[fe]}],"row-start-end":[{row:["auto",{span:[be,u]},u]}],"row-start":[{"row-start":Ce()}],"row-end":[{"row-end":Ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ze()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ze(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ze(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],st:[{st:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[et]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[et]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[q]},q]}],st:[{st:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-st":[{"min-st":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-st":[{"max-st":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",q,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",He]}],"font-family":[{font:[fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",ne,He]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Re(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,K]}],"underline-offset":[{"underline-offset":["auto",W,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ot(),Pr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-st":[{"rounded-st":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...Re(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:Re()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Re()]}],"outline-offset":[{"outline-offset":[W,u]}],"outline-w":[{outline:[W,K]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:rt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[W,K]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,Ir]}],"shadow-color":[{shadow:[fe]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",q,u]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[M]}],saturate:[{saturate:[O]}],sepia:[{sepia:[Se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[M]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-y":[{"scale-y":[X]}],rotate:[{rotate:[be,u]}],"translate-x":[{"translate-x":[tt]}],"translate-y":[{"translate-y":[tt]}],"skew-x":[{"skew-x":[Qe]}],"skew-y":[{"skew-y":[Qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","st-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-st":[{"scroll-st":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,K,He]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],st:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","st"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-st","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-st"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-st":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var vt=gr(Hr);function p(...e){return vt((0,xt.clsx)(e))}function T({className:e,...t}){return(0,st.jsx)("div",{className:p("animate-pulse rounded-md bg-primary/10",e),...t})}var g=L(require("react")),se=require("@radix-ui/react-slot"),Gt=require("class-variance-authority");var wt=(e=768)=>{let[t,r]=(0,lt.useState)(!1);return(0,lt.useEffect)(()=>{let o=()=>{r(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};var Rt=L(require("react")),Ar=(0,Gt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"st-10 px-4 py-2",icon:"st-10 w-10",lg:"st-11 rounded px-8",sm:"st-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),De=Rt.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},i)=>(0,st.jsx)(e?se.Slot:"button",{className:p(Ar({className:t,size:r,variant:o})),ref:i,...a}));De.displayName="Button";var Mt=L(require("react"));var Ge=Mt.forwardRef(({className:e,type:t,...r},o)=>(0,st.jsx)("input",{type:t,className:p("flex st-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));Ge.displayName="Input";var kt=L(require("react")),_e=L(require("@radix-ui/react-separator"));var Oe=kt.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},a)=>(0,st.jsx)(_e.Root,{ref:a,decorative:r,orientation:t,className:p("shrink-0 bg-border",t==="horizontal"?"st-[1px] w-full":"st-full w-[1px]",e),...o}));Oe.displayName=_e.Root.displayName;var ge=L(require("react")),I=L(require("@radix-ui/react-dialog")),It=require("@radix-ui/react-icons");var Et=I.Root;var Br=I.Portal,zt=ge.forwardRef(({className:e,...t},r)=>(0,st.jsx)(I.Overlay,{className:p("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));zt.displayName=I.Overlay.displayName;var Dr=(0,Gt.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 st-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 st-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Fe=ge.forwardRef(({side:e="right",className:t,children:r,...o},a)=>(0,st.jsxs)(Br,{children:[(0,st.jsx)(zt,{}),(0,st.jsxs)(I.Content,{ref:a,className:p(Dr({side:e}),t),...o,children:[(0,st.jsxs)(I.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,st.jsx)(It.Cross2Icon,{className:"st-4 w-4"}),(0,st.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));Fe.displayName=I.Content.displayName;var Gr=({className:e,...t})=>(0,st.jsx)("div",{className:p("flex flex-col space-y-2 text-center sm:text-left",e),...t});Gr.displayName="SheetHeader";var _r=({className:e,...t})=>(0,st.jsx)("div",{className:p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});_r.displayName="SheetFooter";var Or=ge.forwardRef(({className:e,...t},r)=>(0,st.jsx)(I.Title,{ref:r,className:p("text-lg font-semibold text-foreground",e),...t}));Or.displayName=I.Title.displayName;var Fr=ge.forwardRef(({className:e,...t},r)=>(0,st.jsx)(I.Description,{ref:r,className:p("text-sm text-muted-foreground",e),...t}));Fr.displayName=I.Description.displayName;var Ht=L(require("react")),_=L(require("@radix-ui/react-tooltip"));var At=_.Provider,Bt=_.Root,Dt=_.Trigger,$e=Ht.forwardRef(({className:e,sideOffset:t=4,...r},o)=>(0,st.jsx)(_.Portal,{children:(0,st.jsx)(_.Content,{ref:o,sideOffset:t,className:p("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));$e.displayName=_.Content.displayName;var Vr="sidebar:state",$r=60*60*24*7,Wr="16rem",jr="18rem",Ur="3rem",Kr="b",Ot=g.createContext(null);function Pe(){let e=g.useContext(Ot);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var qr=g.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:o,style:a,children:i,...d},s)=>{let f=wt(),[v,x]=g.useState(!1),[M,y]=g.useState(e),C=t!=null?t:M,k=g.useCallback(R=>{if(r)return r==null?void 0:r(typeof R=="function"?R(C):R);y(R),document.cookie=`${Vr}=${C}; path=/; max-age=${$r}`},[r,C]),l=g.useCallback(()=>f?x(R=>!R):k(R=>!R),[f,k,x]);g.useEffect(()=>{let R=O=>{O.key===Kr&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),l())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[l]);let b=C?"expanded":"collapsed",w=g.useMemo(()=>({state:b,open:C,setOpen:k,isMobile:f,openMobile:v,setOpenMobile:x,toggleSidebar:l}),[b,C,k,f,v,x,l]);return(0,st.jsx)(Ot.Provider,{value:w,children:(0,st.jsx)(At,{delayDuration:0,children:(0,st.jsx)("div",{style:{"--sidebar-width":Wr,"--sidebar-width-icon":Ur,...a},className:p("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",o),ref:s,...d,children:i})})})});qr.displayName="SidebarProvider";var he=g.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:o,children:a,...i},d)=>{let{isMobile:s,state:f,openMobile:v,setOpenMobile:x}=Pe();return r==="none"?(0,st.jsx)("div",{className:p("flex st-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:d,...i,children:a}):s?(0,st.jsx)(Et,{open:v,onOpenChange:x,...i,children:(0,st.jsx)(Fe,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":jr},side:e,children:(0,st.jsx)("div",{className:"flex st-full w-full flex-col",children:a})})}):(0,st.jsxs)("div",{ref:d,className:"group peer hidden md:block text-sidebar-foreground","data-state":f,"data-collapsible":f==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,st.jsx)("div",{className:p("duration-200 relative st-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,st.jsx)("div",{className:p("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:(0,st.jsx)("div",{"data-sidebar":"sidebar",className:"flex st-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:a})})]})});he.displayName="Sidebar";var Xr=g.forwardRef(({className:e,onClick:t,...r},o)=>{let{toggleSidebar:a}=Pe();return(0,st.jsxs)(De,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:p("st-7 w-7",e),onClick:i=>{t==null||t(i),a()},...r,children:[(0,st.jsx)(Ft.PanelLeft,{}),(0,st.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Xr.displayName="SidebarTrigger";var Yr=g.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:o}=Pe();return(0,st.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:p("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Yr.displayName="SidebarRail";var Jr=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("main",{ref:r,className:p("flex flex-1 flex-col bg-background overflow-y-auto relative max-st-full","md:peer-data-[variant=inset]:st-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Jr.displayName="SidebarInset";var Zr=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)(Ge,{ref:r,"data-sidebar":"input",className:p("st-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Zr.displayName="SidebarInput";var ve=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"header",className:p("flex flex-col gap-2 p-2",e),...t}));ve.displayName="SidebarHeader";var xe=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"footer",className:p("flex flex-col gap-2 p-2",e),...t}));xe.displayName="SidebarFooter";var We=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)(Oe,{ref:r,"data-sidebar":"separator",className:p("mx-2 w-auto bg-sidebar-border",e),...t}));We.displayName="SidebarSeparator";var le=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"content",className:p("flex min-st-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));le.displayName="SidebarContent";var F=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"group",className:p("relative flex w-full min-w-0 flex-col p-2",e),...t}));F.displayName="SidebarGroup";var J=g.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,st.jsx)(t?se.Slot:"div",{ref:o,"data-sidebar":"group-label",className:p("duration-200 flex st-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...r}));J.displayName="SidebarGroupLabel";var Qr=g.forwardRef(({className:e,asChild:t=!1,...r},o)=>(0,st.jsx)(t?se.Slot:"button",{ref:o,"data-sidebar":"group-action",className:p("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));Qr.displayName="SidebarGroupAction";var j=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"group-content",className:p("w-full text-sm",e),...t}));j.displayName="SidebarGroupContent";var D=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("ul",{ref:r,"data-sidebar":"menu",className:p("flex w-full min-w-0 flex-col gap-1",e),...t}));D.displayName="SidebarMenu";var z=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:p("group/menu-item relative",e),...t}));z.displayName="SidebarMenuItem";var eo=(0,Gt.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"st-8 text-sm",sm:"st-7 text-xs",lg:"st-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),V=g.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:o="default",tooltip:a,className:i,...d},s)=>{let f=e?se.Slot:"button",{isMobile:v,state:x}=Pe(),M=(0,st.jsx)(f,{ref:s,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:p(eo({variant:r,size:o}),i),...d});return a?(typeof a=="string"&&(a={children:a}),(0,st.jsxs)(Bt,{children:[(0,st.jsx)(Dt,{asChild:!0,children:M}),(0,st.jsx)($e,{side:"right",align:"center",hidden:x!=="collapsed"||v,...a})]})):M});V.displayName="SidebarMenuButton";var je=g.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...o},a)=>(0,st.jsx)(t?se.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:p("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));je.displayName="SidebarMenuAction";var to=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:p("absolute right-1 flex st-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));to.displayName="SidebarMenuBadge";var ro=g.forwardRef(({className:e,showIcon:t=!1,...r},o)=>{let a=g.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,st.jsxs)("div",{ref:o,"data-sidebar":"menu-skeleton",className:p("rounded-md st-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,st.jsx)(T,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,st.jsx)(T,{className:"st-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});ro.displayName="SidebarMenuSkeleton";var de=g.forwardRef(({className:e,...t},r)=>(0,st.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:p("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));de.displayName="SidebarMenuSub";var ce=g.forwardRef(({...e},t)=>(0,st.jsx)("li",{ref:t,...e}));ce.displayName="SidebarMenuSubItem";var pe=g.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:o,...a},i)=>(0,st.jsx)(e?se.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:p("flex st-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...a}));pe.displayName="SidebarMenuSubButton";function Ke({mainNav:e,secondaryNav:t,title:r,subTitle:o,pathName:a,menuHeading:i,onNavClick:d,loading:s=!1,LinkComponent:f,...v}){let M=f?y=>(0,st.jsx)(f,{...y}):d?({href:y,children:C,...k})=>(0,st.jsx)("button",{onClick:()=>d&&d(y),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...k,children:C}):y=>(0,st.jsx)("a",{...y});return(0,st.jsxs)(he,{...v,variant:"inset",children:[(0,st.jsx)(ve,{children:(0,st.jsx)(D,{children:(0,st.jsx)(z,{children:s?(0,st.jsxs)("div",{className:"grid flex-1 p-2 text-left text-st leading-tight",children:[(0,st.jsx)(T,{className:"bg-gray-200 my-2 w-full st-7"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 my-2 st-5"})]}):(0,st.jsxs)("div",{className:"grid flex-1 p-2 text-left text-st leading-tight",children:[(0,st.jsx)("span",{className:"truncate font-semibold",children:r}),o&&(0,st.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),s&&(0,st.jsxs)(le,{children:[(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"}),(0,st.jsx)(T,{className:"bg-gray-200 w-3/4 st-5"})]}),(0,st.jsxs)(le,{children:[e&&!s&&e.map((y,C)=>(0,st.jsx)(oo,{subNav:y,pathName:a,Link:M},C)),(0,st.jsx)(F,{className:"mt-auto",children:(0,st.jsx)(j,{children:(0,st.jsx)(D,{children:t&&!s&&t.map(y=>(0,st.jsx)(z,{children:(0,st.jsx)(V,{asChild:!0,size:"sm",children:(0,st.jsxs)(M,{href:y.url||"",children:[y.icon&&(0,st.jsx)(y.icon,{}),(0,st.jsx)("span",{children:y.label})]})})},y.label))})})})]}),(0,st.jsx)(xe,{})]})}function oo({subNav:e,pathName:t,Link:r}){var i,d;let o=e,a=!1;return o.links&&o.links.map(s=>{s.url===t&&(a=!0)}),(0,st.jsx)(Y,{defaultOpen:!0,className:"group/collapsible",children:(0,st.jsx)(F,{className:"py-0",children:(0,st.jsx)(D,{children:(0,st.jsx)(Y,{asChild:!0,defaultOpen:o.isActive,children:(0,st.jsxs)(z,{children:[(0,st.jsx)(V,{asChild:!0,tooltip:o.label,className:(0,Ue.default)(a&&"font-bold text-accent"),children:(0,st.jsxs)(r,{href:o.url,children:[o.icon&&(0,st.jsx)(o.icon,{}),(0,st.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)(oe,{asChild:!0,children:(0,st.jsxs)(je,{className:"data-[state=open]:rotate-90",children:[(0,st.jsx)(Ft.ChevronRight,{}),(0,st.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,st.jsx)(ae,{children:(0,st.jsx)(de,{children:(d=o.links)==null?void 0:d.map(s=>(0,st.jsx)(ce,{children:(0,st.jsx)(pe,{asChild:!0,className:(0,Ue.default)(s.url===t&&"font-bold text-accent"),children:(0,st.jsx)(r,{href:s.url,children:(0,st.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},o.label)})})})}var Vt=L(require("clsx"));var ao=()=>(0,st.jsx)(te,{iconName:"github",size:"10x"});function qe({relatedContent:e,tableOfContents:t,editorComponent:r,loading:o=!1,editMode:a=!1,onAddDocument:i,onEditDocument:d,onPrintDocument:s,onGithubClick:f,onNavClick:v,LinkComponent:x,...M}){let k=x?l=>(0,st.jsx)(x,{...l}):v?({item:l,children:b,...w})=>(0,st.jsx)("button",{onClick:()=>v&&v(l),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...w,children:b}):l=>(0,st.jsx)("a",{href:l.href,...l});return(0,st.jsxs)(he,{side:"right",variant:"inset",...M,children:[(0,st.jsxs)(ve,{className:"border-b border-sidebar-border",children:[(0,st.jsxs)(D,{className:"flex-row space-x-1",children:[(0,st.jsx)(z,{children:(0,st.jsxs)(V,{onClick:i,children:[(0,st.jsx)(Ft.FilePlus,{})," ",(0,st.jsx)("span",{children:"Add Document"})]})}),f&&(0,st.jsx)(z,{children:(0,st.jsx)(V,{onClick:f,tooltip:"Open in GitHub",children:(0,st.jsx)(ao,{})})})]}),(0,st.jsxs)(D,{className:"flex-row space-x-1",children:[(0,st.jsx)(z,{className:"w-5/12",children:(0,st.jsxs)(V,{onClick:()=>d(),variant:a?"outline":"default",className:(0,Vt.default)(a&&"text-accent"),children:[(0,st.jsx)(Ft.Edit,{})," ",(0,st.jsx)("span",{children:"Edit"})]})}),(0,st.jsx)(z,{className:"w-5/12",children:(0,st.jsxs)(V,{onClick:s,children:[(0,st.jsx)(Ft.Printer,{})," ",(0,st.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,st.jsxs)(st.Fragment,{children:[(0,st.jsx)(Y,{defaultOpen:!0,className:"group/collapsible",children:(0,st.jsxs)(F,{children:[(0,st.jsx)(J,{asChild:!0,children:(0,st.jsxs)(oe,{children:["Editor Controls",(0,st.jsx)(Ft.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,st.jsx)(j,{children:(0,st.jsx)(ae,{children:r})})]})}),(0,st.jsx)(We,{className:"mx-0"})]}),(0,st.jsxs)(le,{className:"overflow-auto",children:[o&&(0,st.jsxs)(st.Fragment,{children:[(0,st.jsxs)(F,{children:[(0,st.jsx)(J,{children:"Related Content"}),(0,st.jsx)(j,{children:(0,st.jsx)(D,{children:Array.from({length:3}).map((l,b)=>(0,st.jsx)(z,{children:(0,st.jsx)(T,{className:"bg-gray-200 w-full st-10"})},b))})})]}),(0,st.jsxs)(F,{children:[(0,st.jsx)(J,{children:"Table of Contents"}),(0,st.jsx)(j,{children:(0,st.jsx)(D,{children:Array.from({length:3}).map((l,b)=>(0,st.jsx)(z,{children:(0,st.jsx)(T,{className:"bg-gray-200 w-full st-10"})},b))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,st.jsx)(Y,{defaultOpen:!0,className:"group/collapsible",children:(0,st.jsxs)(F,{children:[(0,st.jsx)(J,{asChild:!0,children:(0,st.jsxs)(oe,{children:["Related Content",(0,st.jsx)(Ft.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,st.jsx)(j,{children:(0,st.jsx)(ae,{children:(0,st.jsx)(D,{children:e&&Object.keys(e).map(l=>(0,st.jsxs)(z,{children:[(0,st.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",l.charAt(0).toUpperCase()+l.slice(1)]}),l&&e[l]&&(0,st.jsx)(de,{children:e[l].map(b=>(0,st.jsx)(ce,{children:(0,st.jsx)(pe,{asChild:!0,isActive:!1,size:"sm",children:(0,st.jsxs)(k,{href:b.url,item:b,className:"flex justify-between items-center w-full text-xs",children:[(0,st.jsx)("span",{children:b.label}),b.type==="note"&&(0,st.jsx)(Ft.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),b.type==="draft"&&(0,st.jsx)(te,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},b.label))})]},l))})})})]})}),t&&!o&&(0,st.jsx)(Y,{defaultOpen:!0,className:"group/collapsible",children:(0,st.jsxs)(F,{children:[(0,st.jsx)(J,{asChild:!0,children:(0,st.jsxs)(oe,{children:["Table of Contents",(0,st.jsx)(Ft.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,st.jsx)(j,{children:(0,st.jsx)(ae,{children:(0,st.jsx)(D,{children:t.map(l=>{var b;return(0,st.jsxs)(z,{children:[(0,st.jsx)(V,{asChild:!0,children:(0,st.jsx)("a",{href:`#${l.url}`,className:"text-xs",children:l.title})}),(b=l.items)!=null&&b.length?(0,st.jsx)(de,{children:l.items.map(w=>(0,st.jsx)(ce,{children:(0,st.jsx)(pe,{asChild:!0,isActive:w.isActive,size:"sm",children:(0,st.jsx)("a",{href:`#${w.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,st.jsx)("span",{children:w.title})})})},w.title))}):null]},l.title)})})})})]})})]}),(0,st.jsx)(xe,{})]})}var B=require("@headlessui/react"),Te=require("@heroicons/react/24/outline"),ye=require("@heroicons/react/20/solid");var no=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,st.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,st.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 st-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,st.jsxs)(B.Popover,{children:[(0,st.jsxs)(B.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,st.jsxs)("span",{className:"relative",children:[e,(0,st.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 st-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,st.jsx)($t.ChevronDownIcon,{"aria-hidden":"true",className:"st-5 w-5 flex-none text-accent"})]}),(0,st.jsxs)(B.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,st.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>(0,st.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,st.jsx)("div",{className:"flex st-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,st.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,st.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,st.jsx)("span",{className:"absolute inset-0"})]}),(0,st.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,st.jsx)("div",{className:"bg-gray-50",children:(0,st.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,st.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,st.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,st.jsx)(a.icon,{"aria-hidden":"true",className:"st-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Wt=no;var ke=["light","dark","green"];function Xe({title:e,logo:t,menuItems:r}){let[o,a]=(0,lt.useState)(!1),[i,d]=(0,lt.useState)(!1),[s,f]=(0,lt.useState)("light"),v=t==null?void 0:t.split(".")[0],x=t==null?void 0:t.split(".")[1],[M,y]=(0,lt.useState)(`${v}.${x}`),C=l=>{ke.includes(l)?y(l==="light"?`${v}.${x}`:`${v}-${l}.${x}`):y(`${v}.${x}`)};(0,lt.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),f(l),document.documentElement.setAttribute("class",l),C(l)},[]);let k=()=>{let l=ke[(ke.indexOf(s)+1)%ke.length];f(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),C(l)};return(0,st.jsxs)("header",{className:"relative isolate z-10 bg-background st-14",children:[(0,st.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,st.jsx)("div",{className:"flex lg:flex-1",children:(0,st.jsxs)("a",{href:"#",className:"-st-1.5 p-1.5 outline-none",children:[(0,st.jsx)("span",{className:"sr-only",children:e}),(0,st.jsx)("img",{alt:e,src:M,className:"st-9 w-auto"})]})}),(0,st.jsx)("div",{className:"flex lg:hidden",children:(0,st.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-st-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,st.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,st.jsx)(Te.Bars3Icon,{"aria-hidden":"true",className:"st-6 w-6"})]})}),(0,st.jsx)(B.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(l=>(0,st.jsx)(Wt,{...l},l.name))}),(0,st.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,st.jsx)("button",{onClick:k,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,st.jsx)(ye.SunIcon,{className:"st-6 w-6"}):s==="green"?(0,st.jsx)(ye.MoonIcon,{className:"st-6 w-6"}):(0,st.jsx)(ye.SunIcon,{className:"st-6 w-6"})})})]}),(0,st.jsxs)(B.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,st.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,st.jsxs)(B.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,st.jsxs)("div",{className:"flex items-center justify-between",children:[(0,st.jsxs)("a",{href:"#",className:"-st-1.5 p-1.5 outline-none",children:[(0,st.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,st.jsx)("img",{alt:e,src:t,className:"st-8 w-auto"})]}),(0,st.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-st-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,st.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,st.jsx)(Te.XMarkIcon,{"aria-hidden":"true",className:"st-6 w-6"})]})]}),(0,st.jsx)("div",{className:"mt-6 flow-root",children:(0,st.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,st.jsx)("div",{className:"space-y-2 py-6",children:r.map(l=>(0,st.jsx)(io,{...l},l.name))})})})]})]})]})}function io({name:e,items:t,actions:r,href:o}){return!t&&o?(0,st.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,st.jsxs)(B.Disclosure,{as:"div",className:"-mx-3",children:[(0,st.jsx)(B.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,st.jsx)(B.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,st.jsx)(B.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Q=L(require("react"));var we=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));we.displayName="Card";var Ye=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));Ye.displayName="CardHeader";var Je=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));Je.displayName="CardTitle";var so=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));so.displayName="CardDescription";var Ze=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("p-6 pt-0",e),...t}));Ze.displayName="CardContent";var lo=Q.forwardRef(({className:e,...t},r)=>(0,st.jsx)("div",{ref:r,className:p("flex items-center p-6 pt-0",e),...t}));lo.displayName="CardFooter";var Ut=L(require("next/image"));function co({title:e,members:t}){return(0,st.jsx)(we,{className:"mb-6",children:(0,st.jsxs)("div",{className:"p-6",children:[(0,st.jsxs)("div",{className:"flex items-center mb-4",children:[(0,st.jsx)(Ft.Users,{className:"w-6 st-6 text-accent mr-2"}),(0,st.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,st.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,st.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,st.jsx)("div",{className:"relative w-12 st-12 rounded-full overflow-hidden",children:r.avatar&&(0,st.jsx)(Ut.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,st.jsxs)("div",{children:[(0,st.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,st.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Kt=L(require("next/link"));var po=({links:e})=>(0,st.jsxs)(we,{children:[(0,st.jsx)(Ye,{children:(0,st.jsx)(Je,{children:"Related"})}),(0,st.jsx)(Ze,{children:(0,st.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,r)=>(0,st.jsxs)(Kt.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,st.jsx)(Ft.ExternalLink,{className:"ml-1 st-3 w-3"})]},r))})})]});0&&(module.exports={AppLauncher,ProjectTeam,RelatedContent,SidebarLeft,SidebarRight,SimpleHeader});
|
|
4
|
+
"use strict";var Ae=Object.create;var X=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Ie=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty;var Ge=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},ge=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of He(t))!Ee.call(e,n)&&n!==r&&X(e,n,{get:()=>t[n],enumerable:!(o=Le(t,n))||o.enumerable});return e};var te=(e,t,r)=>(r=e!=null?Ae(Ie(e)):{},ge(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>ge(X({},"__esModule",{value:!0}),e);var Nt={};Ge(Nt,{ProjectTeam:()=>vt,RelatedContent:()=>wt,SimpleHeader:()=>bt});module.exports=De(Nt);var ke=require("clsx");var ne="-",je=e=>{let t=Be(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(ne);return s[0]===""&&s.length!==1&&s.shift(),xe(s,t)||$e(i)},getConflictingClassGroupIds:(i,s)=>{let m=r[i]||[];return s&&o[i]?[...m,...o[i]]:m}}},xe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?xe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(ne);return(i=t.validators.find(({validator:s})=>s(a)))==null?void 0:i.classGroupId},be=/^\[(.+)\]$/,$e=e=>{if(be.test(e)){let t=be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Be=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([a,i])=>{oe(i,o,a,t)}),o},oe=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:he(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(We(n)){oe(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{oe(i,he(t,a),r,o)})})},he=(e,t)=>{let r=e;return t.split(ne).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},We=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},ye="!",Fe=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,i=s=>{let m=[],g=0,h=0,w;for(let b=0;b<s.length;b++){let x=s[b];if(g===0){if(x===n&&(o||s.slice(b,b+a)===t)){m.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){w=b;continue}}x==="["?g++:x==="]"&&g--}let y=m.length===0?s:s.substring(h),C=y.startsWith(ye),k=C?y.substring(1):y,d=w&&w>h?w-h:void 0;return{modifiers:m,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:d}};return r?s=>r({className:s,parseClassName:i}):i},Oe=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Ue=e=>({cache:Ve(e.cacheSize),parseClassName:Fe(e),...je(e)}),qe=/\s+/,Xe=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(qe),s="";for(let m=i.length-1;m>=0;m-=1){let g=i[m],{modifiers:h,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:C}=r(g),k=!!C,d=o(k?y.substring(0,C):y);if(!d){if(!k){s=g+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=g+(s.length>0?" "+s:s);continue}k=!1}let b=Oe(h).join(":"),x=w?b+ye:b,M=x+d;if(a.includes(M))continue;a.push(M);let $=n(d,k);for(let L=0;L<$.length;++L){let O=$[L];a.push(x+O)}s=g+(s.length>0?" "+s:s)}return s};function Je(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ve(t))&&(o&&(o+=" "),o+=r);return o}var ve=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ve(e[o]))&&(r&&(r+=" "),r+=t);return r};function Ke(e,...t){let r,o,n,a=i;function i(m){let g=t.reduce((h,w)=>w(h),e());return r=Ue(g),o=r.cache.get,n=r.cache.set,a=s,s(m)}function s(m){let g=o(m);if(g)return g;let h=Xe(m,r);return n(m,h),h}return function(){return a(Je.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},we=/^\[(?:([a-f-]+):)?(.+)\]$/i,Ye=/^\d+\/\d+$/,Ze=new Set(["px","full","screen"]),Qe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,et=/\d+(%|px|r?em|[sdl]?f([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rt=/^(inset_)?-?((\d+)?\.?(\d+)[a-f]+|0)_-?((\d+)?\.?(\d+)[a-f]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>G(e)||Ze.has(e)||Ye.test(e),T=e=>D(e,"length",pt),G=e=>!!e&&!Number.isNaN(Number(e)),re=e=>D(e,"number",G),W=e=>!!e&&Number.isInteger(Number(e)),nt=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>we.test(e),S=e=>Qe.test(e),st=new Set(["length","size","percentage"]),at=e=>D(e,st,Ne),lt=e=>D(e,"position",Ne),it=new Set(["image","url"]),ct=e=>D(e,it,mt),dt=e=>D(e,"",ut),_=()=>!0,D=(e,t,r)=>{let o=we.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},pt=e=>et.test(e)&&!tt.test(e),Ne=()=>!1,ut=e=>rt.test(e),mt=e=>ot.test(e);var ft=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),n=p("borderColor"),a=p("borderRadius"),i=p("borderSpacing"),s=p("borderWidth"),m=p("contrast"),g=p("grayscale"),h=p("hueRotate"),w=p("invert"),y=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),d=p("inset"),b=p("margin"),x=p("opacity"),M=p("padding"),$=p("saturate"),L=p("scale"),O=p("sepia"),ie=p("skew"),ce=p("space"),de=p("translate"),Y=()=>["auto","contain","none"],Z=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",l,t],u=()=>[l,t],pe=()=>["",R,T],U=()=>["auto",G,l],ue=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ee=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",l],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[R,T],blur:["none","",S,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:pe(),contrast:P(),grayscale:B(),hueRotate:P(),invert:B(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[nt,T],inset:Q(),margin:Q(),opacity:P(),padding:u(),saturate:P(),scale:P(),sepia:B(),skew:P(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ue(),l]}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],f:[{f:["auto",W,l]}],basis:[{basis:Q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",W,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",W,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[W,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ue(),lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",at]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ct]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,dt]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[w]}],saturate:[{saturate:[$]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[W,l]}],"translate-x":[{"translate-x":[de]}],"translate-y":[{"translate-y":[de]}],"skew-x":[{"skew-x":[ie]}],"skew-y":[{"skew-y":[ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ce=Ke(ft);function A(...e){return Ce((0,ke.clsx)(e))}var H=require("react"),N=require("@headlessui/react"),K=require("@heroicons/react/24/outline"),V=require("@heroicons/react/20/solid");var f=require("react/jsx-runtime"),gt=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,f.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,f.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,f.jsxs)(N.Popover,{children:[(0,f.jsxs)(N.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,f.jsxs)("span",{className:"relative",children:[e,(0,f.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,f.jsx)(V.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,f.jsxs)(N.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -f-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,f.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 f-50",children:t&&t.map(n=>(0,f.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,f.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,f.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,f.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,f.jsx)("span",{className:"absolute inset-0"})]}),(0,f.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,f.jsx)("div",{className:"bg-gray-50",children:(0,f.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,f.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,f.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,f.jsx)(n.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Pe=gt;var J=["light","dark","green"];function bt({title:e,logo:t,menuItems:r}){let[o,n]=(0,H.useState)(!1),[a,i]=(0,H.useState)(!1),[s,m]=(0,H.useState)("light"),g=t==null?void 0:t.split(".")[0],h=t==null?void 0:t.split(".")[1],[w,y]=(0,H.useState)(`${g}.${h}`),C=d=>{J.includes(d)?y(d==="light"?`${g}.${h}`:`${g}-${d}.${h}`):y(`${g}.${h}`)};(0,H.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),m(d),document.documentElement.setAttribute("class",d),C(d)},[]);let k=()=>{let d=J[(J.indexOf(s)+1)%J.length];m(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),C(d)};return(0,f.jsxs)("header",{className:"relative isolate f-10 bg-background h-14",children:[(0,f.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,f.jsx)("div",{className:"flex lg:flex-1",children:(0,f.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:e}),(0,f.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,f.jsx)("div",{className:"flex lg:hidden",children:(0,f.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,f.jsx)(K.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,f.jsx)(N.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(d=>(0,f.jsx)(Pe,{...d},d.name))}),(0,f.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,f.jsx)("button",{onClick:k,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,f.jsx)(V.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,f.jsx)(V.MoonIcon,{className:"h-6 w-6"}):(0,f.jsx)(V.SunIcon,{className:"h-6 w-6"})})})]}),(0,f.jsxs)(N.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,f.jsx)("div",{className:"fixed inset-0 f-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,f.jsxs)(N.DialogPanel,{className:"fixed inset-y-0 right-0 f-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,f.jsxs)("div",{className:"flex items-center justify-between",children:[(0,f.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,f.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,f.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,f.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,f.jsx)(K.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,f.jsx)("div",{className:"mt-6 flow-root",children:(0,f.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,f.jsx)("div",{className:"space-y-2 py-6",children:r.map(d=>(0,f.jsx)(ht,{...d},d.name))})})})]})]})]})}function ht({name:e,items:t,actions:r,href:o}){return!t&&o?(0,f.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,f.jsxs)(N.Disclosure,{as:"div",className:"-mx-3",children:[(0,f.jsx)(N.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,f.jsx)(N.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,f.jsx)(N.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var I=te(require("react"));var F=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("rounded-xl border bg-card text-card-foreground shadow",e),...t}));F.displayName="Card";var se=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("flex flex-col space-y-1.5 p-6",e),...t}));se.displayName="CardHeader";var ae=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("font-semibold leading-none tracking-tight",e),...t}));ae.displayName="CardTitle";var xt=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("text-sm text-muted-foreground",e),...t}));xt.displayName="CardDescription";var le=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("p-6 pt-0",e),...t}));le.displayName="CardContent";var yt=I.forwardRef(({className:e,...t},r)=>(0,f.jsx)("div",{ref:r,className:A("flex items-center p-6 pt-0",e),...t}));yt.displayName="CardFooter";var Re=require("lucide-react"),ze=te(require("next/image"));function vt({title:e,members:t}){return(0,f.jsx)(F,{className:"mb-6",children:(0,f.jsxs)("div",{className:"p-6",children:[(0,f.jsxs)("div",{className:"flex items-center mb-4",children:[(0,f.jsx)(Re.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,f.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,f.jsx)("div",{className:"space-y-4",children:t.map((r,o)=>(0,f.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,f.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:r.avatar&&(0,f.jsx)(ze.default,{src:r.avatar,alt:r.name,layout:"fill",objectFit:"cover"})}),(0,f.jsxs)("div",{children:[(0,f.jsx)("p",{className:"font-semibold text-foreground",children:r.name}),r.role&&(0,f.jsx)("p",{className:"text-sm text-muted-foreground",children:r.role})]})]},o))})]})})}var Te=te(require("next/link"));var wt=({links:e})=>(0,f.jsxs)(F,{children:[(0,f.jsx)(se,{children:(0,f.jsx)(ae,{children:"Related"})}),(0,f.jsx)(le,{children:(0,f.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,r)=>(0,f.jsxs)(Te.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,f.jsx)(Re.ExternalLink,{className:"ml-1 h-3 w-3"})]},r))})})]});0&&(module.exports={ProjectTeam,RelatedContent,SimpleHeader});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import"../../chunk-HTIXQIZ5.mjs";import{a}from"../../chunk-64NIISYM.mjs";import"../../chunk-GS2BYKPO.mjs";import{a as b}from"../../chunk-JODGODRI.mjs";import{a as c}from"../../chunk-XHQLYY3W.mjs";import"../../chunk-Z4V2VUJ4.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-LKBMU736.mjs";import"../../chunk-BUTUFEFR.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-BYTBE2HZ.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as ProjectTeam,c as RelatedContent,a as SimpleHeader};
|