cortex-react-components 2.29.0-beta.3 → 2.29.0-beta.5
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/dist/{chunk-LRNWBTXT.mjs → chunk-23KBAZ3A.mjs} +1 -1
- package/dist/{chunk-VRE6VCHX.mjs → chunk-2BR55L74.mjs} +1 -1
- package/dist/{chunk-BLOKJ7Y2.mjs → chunk-2F3PWPVH.mjs} +1 -1
- package/dist/{chunk-RR4QSUV2.mjs → chunk-2IMY4VWR.mjs} +1 -1
- package/dist/{chunk-5G7LCLOY.mjs → chunk-2OX6LDDB.mjs} +1 -1
- package/dist/{chunk-T46EPXCV.mjs → chunk-2PHIGOJD.mjs} +1 -1
- package/dist/{chunk-C6RV2I5S.mjs → chunk-2WASC4CJ.mjs} +1 -1
- package/dist/{chunk-NCHC4HCU.mjs → chunk-3765FO7Q.mjs} +1 -1
- package/dist/{chunk-IQQ7ZWCP.mjs → chunk-3MZC4LZP.mjs} +1 -1
- package/dist/{chunk-3PAS4AKZ.mjs → chunk-3R4ESOSM.mjs} +1 -1
- package/dist/{chunk-I3G2R2J2.mjs → chunk-4OC7VVBA.mjs} +1 -1
- package/dist/{chunk-GMLLRSAH.mjs → chunk-5GHKXLL2.mjs} +1 -1
- package/dist/chunk-6A3V5BMY.mjs +3 -0
- package/dist/{chunk-EDRIV2VR.mjs → chunk-A6INQL3D.mjs} +1 -1
- package/dist/{chunk-KRDGYYCK.mjs → chunk-AE22EADM.mjs} +1 -1
- package/dist/{chunk-2UVHBGOC.mjs → chunk-AFWCGPWL.mjs} +1 -1
- package/dist/{chunk-AQQCH7Z2.mjs → chunk-AGWQ5S2Z.mjs} +1 -1
- package/dist/{chunk-SKTNOZL2.mjs → chunk-AZ4L74IK.mjs} +1 -1
- package/dist/{chunk-TCZNV2C2.mjs → chunk-B3XGJ6ZE.mjs} +1 -1
- package/dist/{chunk-PAERB6R2.mjs → chunk-BAR6C7TR.mjs} +1 -1
- package/dist/{chunk-5ISPA3SI.mjs → chunk-BJ4PT44N.mjs} +1 -1
- package/dist/{chunk-ABWLO5GA.mjs → chunk-BYZHOMNP.mjs} +1 -1
- package/dist/{chunk-TGJ74O6U.mjs → chunk-C2MKUCGW.mjs} +1 -1
- package/dist/{chunk-5NIEZE7A.mjs → chunk-CNCT3JZV.mjs} +1 -1
- package/dist/{chunk-BQJDTDBP.mjs → chunk-CUVUHOBI.mjs} +1 -1
- package/dist/{chunk-CDVRH3MC.mjs → chunk-D44OXIPN.mjs} +1 -1
- package/dist/{chunk-M3DLWHPQ.mjs → chunk-DDISU7MD.mjs} +1 -1
- package/dist/{chunk-HCHZUZUK.mjs → chunk-DHYTERFI.mjs} +1 -1
- package/dist/{chunk-JGKLAY6J.mjs → chunk-DP6Q6ZTN.mjs} +1 -1
- package/dist/{chunk-UE66RIJN.mjs → chunk-EKN35OCW.mjs} +1 -1
- package/dist/{chunk-WAM7RYAU.mjs → chunk-ESDGVG7N.mjs} +1 -1
- package/dist/chunk-EXKTW5PC.mjs +4 -0
- package/dist/{chunk-3MK7GU65.mjs → chunk-FPPA6M6A.mjs} +1 -1
- package/dist/{chunk-MQ7ZFZRG.mjs → chunk-FQ56UUMT.mjs} +1 -1
- package/dist/{chunk-UG7FEEFM.mjs → chunk-GEPYRPWO.mjs} +1 -1
- package/dist/{chunk-T23BJQBB.mjs → chunk-GT4Z7A36.mjs} +1 -1
- package/dist/{chunk-LMDGHBG2.mjs → chunk-HCOFGI23.mjs} +1 -1
- package/dist/{chunk-XTUH2DJE.mjs → chunk-HQSF6B4Y.mjs} +1 -1
- package/dist/{chunk-2OGUZJVD.mjs → chunk-IDAR2QUA.mjs} +1 -1
- package/dist/{chunk-G5UB3YKZ.mjs → chunk-JWNXNIO4.mjs} +1 -1
- package/dist/{chunk-PG4VW7VP.mjs → chunk-KBFRFIHJ.mjs} +1 -1
- package/dist/{chunk-LL7CRB4U.mjs → chunk-KZXYV2BA.mjs} +1 -1
- package/dist/{chunk-QDK5I675.mjs → chunk-L3ICD2EI.mjs} +1 -1
- package/dist/{chunk-6A2O63AU.mjs → chunk-LV23ARQV.mjs} +1 -1
- package/dist/{chunk-EVQAIFAP.mjs → chunk-LZVWXI54.mjs} +1 -1
- package/dist/{chunk-DZDMH6IZ.mjs → chunk-N4GZJH6H.mjs} +1 -1
- package/dist/{chunk-4KVVVRGU.mjs → chunk-NMHAXHKJ.mjs} +1 -1
- package/dist/{chunk-VR75QVWG.mjs → chunk-NOQV2M2B.mjs} +1 -1
- package/dist/{chunk-GFYO6B7H.mjs → chunk-OM3GMTI3.mjs} +1 -1
- package/dist/{chunk-RIRZRO6U.mjs → chunk-P55W6AFU.mjs} +1 -1
- package/dist/{chunk-DDYANYQB.mjs → chunk-PPZB3BIS.mjs} +1 -1
- package/dist/{chunk-TBKC2B4Z.mjs → chunk-PTRLJGWG.mjs} +1 -1
- package/dist/{chunk-ZFUP5NVF.mjs → chunk-PXLSH6S2.mjs} +1 -1
- package/dist/{chunk-LPCO4T25.mjs → chunk-Q3F3NCXM.mjs} +1 -1
- package/dist/{chunk-CGL3R3BQ.mjs → chunk-R66Z2H6V.mjs} +1 -1
- package/dist/{chunk-LHO4WFYP.mjs → chunk-REF6QD43.mjs} +1 -1
- package/dist/{chunk-S3OBSLA5.mjs → chunk-RJGEVXIX.mjs} +1 -1
- package/dist/{chunk-T5HJS6OF.mjs → chunk-RSDUFAIB.mjs} +1 -1
- package/dist/{chunk-KOLP657S.mjs → chunk-RUMNILUG.mjs} +1 -1
- package/dist/{chunk-WLI2YTOQ.mjs → chunk-RWVEYOUL.mjs} +1 -1
- package/dist/{chunk-ZKTIH47I.mjs → chunk-SCTFNADH.mjs} +1 -1
- package/dist/{chunk-7HIL4GBK.mjs → chunk-SYFFDRTC.mjs} +1 -1
- package/dist/{chunk-FNOAYUJ3.mjs → chunk-TPS5MBQJ.mjs} +1 -1
- package/dist/{chunk-ORCATWOS.mjs → chunk-UV4BI6Z2.mjs} +1 -1
- package/dist/{chunk-OAK45GQL.mjs → chunk-VCKKDEC5.mjs} +1 -1
- package/dist/{chunk-K7NFBXL3.mjs → chunk-VQW6XFMO.mjs} +1 -1
- package/dist/{chunk-QPGVTPZ4.mjs → chunk-VXBNQCXP.mjs} +1 -1
- package/dist/{chunk-VWHOSOCB.mjs → chunk-VYRUKO6X.mjs} +1 -1
- package/dist/{chunk-DLX4NQ3T.mjs → chunk-WII6OSS7.mjs} +1 -1
- package/dist/{chunk-UZSBX5GO.mjs → chunk-X3JZSN3W.mjs} +1 -1
- package/dist/{chunk-VNYUNZ3M.mjs → chunk-XGIYNUGC.mjs} +1 -1
- package/dist/{chunk-2AZMG5X5.mjs → chunk-XNLTHAQ7.mjs} +1 -1
- package/dist/{chunk-BEUDMDIW.mjs → chunk-YJNUFYR6.mjs} +1 -1
- package/dist/{chunk-IKVDX3WJ.mjs → chunk-YLUMGWDF.mjs} +1 -1
- package/dist/{chunk-FOO5RONL.mjs → chunk-ZBS7VPOI.mjs} +1 -1
- package/dist/{chunk-2LQLKZYT.mjs → chunk-ZW24FGHA.mjs} +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/EventCard.js +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
- package/dist/components/Foundary/Knowledge/manage-team-context.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/RichText/index.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/colleague-form.mjs +1 -1
- package/dist/components/Foundary/document-edit.mjs +1 -1
- package/dist/components/Foundary/document-preview-examples.mjs +1 -1
- package/dist/components/Foundary/document-preview.mjs +1 -1
- package/dist/components/Foundary/file-edit.mjs +1 -1
- package/dist/components/Foundary/foundary-layout.mjs +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/knowledge-browser.mjs +1 -1
- package/dist/components/Foundary/knowledge-search.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/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/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.js +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeftMulti.css +1 -0
- package/dist/components/Menus/SidebarLeftMulti.d.ts +42 -0
- package/dist/components/Menus/SidebarLeftMulti.js +4 -0
- package/dist/components/Menus/SidebarLeftMulti.mjs +2 -0
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.d.ts +1 -0
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/PayloadCard/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/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.js +22 -22
- 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/decorators/Intranet.css +1 -1
- package/dist/decorators/Intranet.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +37 -37
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BVFUCOCP.mjs +0 -3
package/dist/pages/IndexPage.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var oo=Object.create;var de=Object.defineProperty;var ro=Object.getOwnPropertyDescriptor;var ao=Object.getOwnPropertyNames;var no=Object.getPrototypeOf,so=Object.prototype.hasOwnProperty;var io=(e,t)=>{for(var o in t)de(e,o,{get:t[o],enumerable:!0})},st=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ao(t))!so.call(e,a)&&a!==o&&de(e,a,{get:()=>t[a],enumerable:!(r=ro(t,a))||r.enumerable});return e};var E=(e,t,o)=>(o=e!=null?oo(no(e)):{},st(t||!e||!e.__esModule?de(o,"default",{value:e,enumerable:!0}):o,e)),lo=e=>st(de({},"__esModule",{value:!0}),e);var xr={};io(xr,{default:()=>to});module.exports=lo(xr);var m=E(require("react")),X=require("@radix-ui/react-slot"),Lt=require("class-variance-authority"),Dt=require("lucide-react");var ce=require("react"),it=(e=768)=>{let[t,o]=(0,ce.useState)(!1);return(0,ce.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var gt=require("clsx");var Pe="-",co=e=>{let t=uo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(Pe);return s[0]===""&&s.length!==1&&s.shift(),ct(s,t)||po(l)},getConflictingClassGroupIds:(l,s)=>{let b=o[l]||[];return s&&r[l]?[...b,...r[l]]:b}}},ct=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?ct(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Pe);return t.validators.find(({validator:l})=>l(n))?.classGroupId},lt=/^\[(.+)\]$/,po=e=>{if(lt.test(e)){let t=lt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},uo=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return fo(Object.entries(e.classGroups),o).forEach(([n,l])=>{Ne(l,r,n,t)}),r},Ne=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:dt(t,a);n.classGroupId=o;return}if(typeof a=="function"){if(mo(a)){Ne(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([n,l])=>{Ne(l,dt(t,n),o,r)})})},dt=(e,t)=>{let o=e;return t.split(Pe).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},mo=e=>e.isThemeGetter,fo=(e,t)=>t?e.map(([o,r])=>{let a=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[t+l,s])):n);return[o,a]}):e,bo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(n,l)=>{o.set(n,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let l=o.get(n);if(l!==void 0)return l;if((l=r.get(n))!==void 0)return a(n,l),l},set(n,l){o.has(n)?o.set(n,l):a(n,l)}}},pt="!",go=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],n=t.length,l=s=>{let b=[],h=0,v=0,N;for(let w=0;w<s.length;w++){let I=s[w];if(h===0){if(I===a&&(r||s.slice(w,w+n)===t)){b.push(s.slice(v,w)),v=w+n;continue}if(I==="/"){N=w;continue}}I==="["?h++:I==="]"&&h--}let g=b.length===0?s:s.substring(v),T=g.startsWith(pt),M=T?g.substring(1):g,c=N&&N>v?N-v:void 0;return{modifiers:b,hasImportantModifier:T,baseClassName:M,maybePostfixModifierPosition:c}};return o?s=>o({className:s,parseClassName:l}):l},ho=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},vo=e=>({cache:bo(e.cacheSize),parseClassName:go(e),...co(e)}),xo=/\s+/,yo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,n=[],l=e.trim().split(xo),s="";for(let b=l.length-1;b>=0;b-=1){let h=l[b],{modifiers:v,hasImportantModifier:N,baseClassName:g,maybePostfixModifierPosition:T}=o(h),M=!!T,c=r(M?g.substring(0,T):g);if(!c){if(!M){s=h+(s.length>0?" "+s:s);continue}if(c=r(g),!c){s=h+(s.length>0?" "+s:s);continue}M=!1}let w=ho(v).join(":"),I=N?w+pt:w,S=I+c;if(n.includes(S))continue;n.push(S);let _=a(c,M);for(let $=0;$<_.length;++$){let se=_[$];n.push(I+se)}s=h+(s.length>0?" "+s:s)}return s};function wo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=ut(t))&&(r&&(r+=" "),r+=o);return r}var ut=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ut(e[r]))&&(o&&(o+=" "),o+=t);return o};function So(e,...t){let o,r,a,n=l;function l(b){let h=t.reduce((v,N)=>N(v),e());return o=vo(h),r=o.cache.get,a=o.cache.set,n=s,s(b)}function s(b){let h=r(b);if(h)return h;let v=yo(b,o);return a(b,v),v}return function(){return n(wo.apply(null,arguments))}}var y=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-yt-]+):)?(.+)\]$/yt,Ro=/^\d+\/\d+$/,To=new Set(["px","full","screen"]),No=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Po=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|yt|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mo=/^(inset_)?-?((\d+)?\.?(\d+)[a-yt]+|0)_-?((\d+)?\.?(\d+)[a-yt]+|0)/,ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>q(e)||To.has(e)||Ro.test(e),V=e=>K(e,"length",Bo),q=e=>!!e&&!Number.isNaN(Number(e)),Te=e=>K(e,"number",q),Z=e=>!!e&&Number.isInteger(Number(e)),Io=e=>e.endsWith("%")&&q(e.slice(0,-1)),p=e=>mt.test(e),W=e=>No.test(e),Ao=new Set(["length","size","percentage"]),Eo=e=>K(e,Ao,ft),zo=e=>K(e,"position",ft),Lo=new Set(["image","url"]),Do=e=>K(e,Lo,Ho),_o=e=>K(e,"",Oo),ee=()=>!0,K=(e,t,o)=>{let r=mt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Bo=e=>Po.test(e)&&!Co.test(e),ft=()=>!1,Oo=e=>Mo.test(e),Ho=e=>ko.test(e);var Go=()=>{let e=y("colors"),t=y("spacing"),o=y("blur"),r=y("brightness"),a=y("borderColor"),n=y("borderRadius"),l=y("borderSpacing"),s=y("borderWidth"),b=y("contrast"),h=y("grayscale"),v=y("hueRotate"),N=y("invert"),g=y("gap"),T=y("gradientColorStops"),M=y("gradientColorStopPositions"),c=y("inset"),w=y("margin"),I=y("opacity"),S=y("padding"),_=y("saturate"),$=y("scale"),se=y("sepia"),Ze=y("skew"),et=y("space"),tt=y("translate"),ye=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],Se=()=>["auto",p,t],R=()=>[p,t],ot=()=>["",O,V],ie=()=>["auto",q,p],rt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["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"],Re=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",p],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[q,p];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[O,V],blur:["none","",W,p],brightness:B(),borderColor:[e],borderRadius:["none","","full",W,p],borderSpacing:R(),borderWidth:ot(),contrast:B(),grayscale:J(),hueRotate:B(),invert:J(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Io,V],inset:Se(),margin:Se(),opacity:B(),padding:R(),saturate:B(),scale:B(),sepia:J(),skew:B(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[W]}],"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:[...rt(),p]}],overflow:[{overflow:we()}],"overflow-yt":[{"overflow-yt":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:ye()}],"overscroll-yt":[{"overscroll-yt":ye()}],"overscroll-y":[{"overscroll-y":ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-yt":[{"inset-yt":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],yt:[{yt:["auto",Z,p]}],basis:[{basis:Se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",Z,p]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,p]},p]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,p]},p]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-yt":[{"gap-yt":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-yt":[{"space-yt":[et]}],"space-yt-reverse":["space-yt-reverse"],"space-y":[{"space-y":[et]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Te]}],"font-family":[{font:[ee]}],"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",p]}],"line-clamp":[{"line-clamp":["none",q,Te]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,V]}],"underline-offset":[{"underline-offset":["auto",O,p]}],"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:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...rt(),zo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","yt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Eo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Do]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-yt":[{"border-yt":[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":[I]}],"border-style":[{border:[...le(),"hidden"]}],"divide-yt":[{"divide-yt":[s]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:le()}],"border-color":[{border:[a]}],"border-color-yt":[{"border-yt":[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:["",...le()]}],"outline-offset":[{"outline-offset":[O,p]}],"outline-w":[{outline:[O,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[O,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,_o]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",W,p]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[N]}],saturate:[{saturate:[_]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-yt":[{"border-spacing-yt":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-yt":[{"scale-yt":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[Z,p]}],"translate-yt":[{"translate-yt":[tt]}],"translate-y":[{"translate-y":[tt]}],"skew-yt":[{"skew-yt":[Ze]}],"skew-y":[{"skew-y":[Ze]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","yt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","yt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-yt":[{"touch-pan":["yt","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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,V,Te]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-yt","overflow-y"],overscroll:["overscroll-yt","overscroll-y"],inset:["inset-yt","inset-y","start","end","top","right","bottom","left"],"inset-yt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-yt","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-yt","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-yt":["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-yt":["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-yt","touch-y","touch-pz"],"touch-yt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var bt=So(Go);function d(...e){return bt((0,gt.clsx)(e))}var xt=E(require("react")),yt=require("react/jsx-runtime"),Vo=(0,Lt.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:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),Ce=xt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},n)=>(0,yt.jsx)(e?X.Slot:"button",{className:d(Vo({className:t,size:o,variant:r})),ref:n,...a}));Ce.displayName="Button";var wt=E(require("react"));var Me=wt.forwardRef(({className:e,type:t,...o},r)=>(0,yt.jsx)("input",{type:t,className:d("flex h-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:r,...o}));Me.displayName="Input";var Rt=E(require("react")),ke=E(require("@radix-ui/react-separator"));var Ie=Rt.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,yt.jsx)(ke.Root,{ref:a,decorative:o,orientation:t,className:d("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Ie.displayName=ke.Root.displayName;var te=E(require("react")),k=E(require("@radix-ui/react-dialog")),Nt=require("@radix-ui/react-icons");var Ct=k.Root;var Wo=k.Portal,Mt=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Overlay,{className:d("fixed inset-0 yt-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:o}));Mt.displayName=k.Overlay.displayName;var Fo=(0,Lt.cva)("fixed yt-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-yt-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-yt-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 h-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 h-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"}}),Ae=te.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,yt.jsxs)(Wo,{children:[(0,yt.jsx)(Mt,{}),(0,yt.jsxs)(k.Content,{ref:a,className:d(Fo({side:e}),t),...r,children:[(0,yt.jsxs)(k.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,yt.jsx)(Nt.Cross2Icon,{className:"h-4 w-4"}),(0,yt.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));Ae.displayName=k.Content.displayName;var $o=({className:e,...t})=>(0,yt.jsx)("div",{className:d("flex flex-col space-y-2 text-center sm:text-left",e),...t});$o.displayName="SheetHeader";var jo=({className:e,...t})=>(0,yt.jsx)("div",{className:d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-yt-2",e),...t});jo.displayName="SheetFooter";var Uo=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Title,{ref:o,className:d("text-lg font-semibold text-foreground",e),...t}));Uo.displayName=k.Title.displayName;var qo=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Description,{ref:o,className:d("text-sm text-muted-foreground",e),...t}));qo.displayName=k.Description.displayName;function A({className:e,...t}){return(0,yt.jsx)("div",{className:d("animate-pulse rounded-md bg-primary/10",e),...t})}var It=E(require("react")),D=E(require("@radix-ui/react-tooltip"));var At=D.Provider,Et=D.Root,zt=D.Trigger,ze=It.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,yt.jsx)(D.Portal,{children:(0,yt.jsx)(D.Content,{ref:r,sideOffset:t,className:d("yt-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),...o})}));ze.displayName=D.Content.displayName;var Ko="sidebar:state",Xo=60*60*24*7,Yo="16rem",Qo="18rem",Jo="3rem",Zo="b",_t=m.createContext(null);function pe(){let e=m.useContext(_t);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Le=m.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:n,...l},s)=>{let b=it(),[h,v]=m.useState(!1),[N,g]=m.useState(e),T=t??N,M=m.useCallback(S=>{if(o)return o?.(typeof S=="function"?S(T):S);g(S),document.cookie=`${Ko}=${T}; path=/; max-age=${Xo}`},[o,T]),c=m.useCallback(()=>b?v(S=>!S):M(S=>!S),[b,M,v]);m.useEffect(()=>{let S=_=>{_.key===Zo&&(_.metaKey||_.ctrlKey)&&(_.preventDefault(),c())};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[c]);let w=T?"expanded":"collapsed",I=m.useMemo(()=>({state:w,open:T,setOpen:M,isMobile:b,openMobile:h,setOpenMobile:v,toggleSidebar:c}),[w,T,M,b,h,v,c]);return(0,yt.jsx)(_t.Provider,{value:I,children:(0,yt.jsx)(At,{delayDuration:0,children:(0,yt.jsx)("div",{style:{"--sidebar-width":Yo,"--sidebar-width-icon":Jo,...a},className:d("group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:n})})})});Le.displayName="SidebarProvider";var De=m.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...n},l)=>{let{isMobile:s,state:b,openMobile:h,setOpenMobile:v}=pe();return o==="none"?(0,yt.jsx)("div",{className:d("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...n,children:a}):s?(0,yt.jsx)(Ct,{open:h,onOpenChange:v,...n,children:(0,yt.jsx)(Ae,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Qo},side:e,children:(0,yt.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,yt.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":b,"data-collapsible":b==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,yt.jsx)("div",{className:d("duration-200 relative h-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,yt.jsx)("div",{className:d("duration-200 fixed top-14 bottom-0 yt-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",r),...n,children:(0,yt.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-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})})]})});De.displayName="Sidebar";var er=m.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=pe();return(0,yt.jsxs)(Ce,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:d("h-7 w-7",e),onClick:n=>{t?.(n),a()},...o,children:[(0,yt.jsx)(Dt.PanelLeft,{}),(0,yt.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});er.displayName="SidebarTrigger";var tr=m.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=pe();return(0,yt.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:d("absolute inset-y-0 yt-20 hidden w-4 -translate-yt-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-yt-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})});tr.displayName="SidebarRail";var _e=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("main",{ref:o,className:d("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-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}));_e.displayName="SidebarInset";var or=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(Me,{ref:o,"data-sidebar":"input",className:d("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));or.displayName="SidebarInput";var Be=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"header",className:d("flex flex-col gap-2 p-2",e),...t}));Be.displayName="SidebarHeader";var Oe=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"footer",className:d("flex flex-col gap-2 p-2",e),...t}));Oe.displayName="SidebarFooter";var rr=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(Ie,{ref:o,"data-sidebar":"separator",className:d("mx-2 w-auto bg-sidebar-border",e),...t}));rr.displayName="SidebarSeparator";var ue=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"content",className:d("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));ue.displayName="SidebarContent";var me=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"group",className:d("relative flex w-full min-w-0 flex-col p-2",e),...t}));me.displayName="SidebarGroup";var ar=m.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,yt.jsx)(t?X.Slot:"div",{ref:r,"data-sidebar":"group-label",className:d("duration-200 flex h-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),...o}));ar.displayName="SidebarGroupLabel";var nr=m.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,yt.jsx)(t?X.Slot:"button",{ref:r,"data-sidebar":"group-action",className:d("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),...o}));nr.displayName="SidebarGroupAction";var He=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"group-content",className:d("w-full text-sm",e),...t}));He.displayName="SidebarGroupContent";var oe=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("ul",{ref:o,"data-sidebar":"menu",className:d("flex w-full min-w-0 flex-col gap-1",e),...t}));oe.displayName="SidebarMenu";var re=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:d("group/menu-item relative",e),...t}));re.displayName="SidebarMenuItem";var sr=(0,Lt.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:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),fe=m.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:n,...l},s)=>{let b=e?X.Slot:"button",{isMobile:h,state:v}=pe(),N=(0,yt.jsx)(b,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:d(sr({variant:o,size:r}),n),...l});return a?(typeof a=="string"&&(a={children:a}),(0,yt.jsxs)(Et,{children:[(0,yt.jsx)(zt,{asChild:!0,children:N}),(0,yt.jsx)(ze,{side:"right",align:"center",hidden:v!=="collapsed"||h,...a})]})):N});fe.displayName="SidebarMenuButton";var Ge=m.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,yt.jsx)(t?X.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:d("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",o&&"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),...r}));Ge.displayName="SidebarMenuAction";var ir=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:d("absolute right-1 flex h-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}));ir.displayName="SidebarMenuBadge";var lr=m.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=m.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,yt.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:d("rounded-md h-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,yt.jsx)(A,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,yt.jsx)(A,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});lr.displayName="SidebarMenuSkeleton";var Ve=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:d("mx-3.5 flex min-w-0 translate-yt-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));Ve.displayName="SidebarMenuSub";var We=m.forwardRef(({...e},t)=>(0,yt.jsx)("li",{ref:t,...e}));We.displayName="SidebarMenuSubItem";var Fe=m.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},n)=>(0,yt.jsx)(e?X.Slot:"a",{ref:n,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:d("flex h-7 min-w-0 -translate-yt-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",r),...a}));Fe.displayName="SidebarMenuSubButton";var Y=E(require("@radix-ui/react-collapsible")),$e=Y.Root,Bt=Y.CollapsibleTrigger,Ot=Y.CollapsibleContent;var je=E(require("clsx"));function Gt({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:n,onNavClick:l,loading:s=!1,LinkComponent:b,...h}){let N=b?g=>(0,yt.jsx)(b,{...g}):l?({href:g,children:T,...M})=>(0,yt.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:T}):g=>(0,yt.jsx)("a",{...g});return(0,yt.jsxs)(De,{...h,variant:"inset",children:[(0,yt.jsx)(Be,{children:(0,yt.jsx)(oe,{children:(0,yt.jsx)(re,{children:s?(0,yt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,yt.jsx)(A,{className:"bg-gray-200 my-2 w-full h-7"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,yt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,yt.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,yt.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,yt.jsxs)(ue,{children:[(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,yt.jsxs)(ue,{children:[e&&!s&&e.map((g,T)=>(0,yt.jsx)(dr,{subNav:g,pathName:a,Link:N},T)),(0,yt.jsx)(me,{className:"mt-auto",children:(0,yt.jsx)(He,{children:(0,yt.jsx)(oe,{children:t&&!s&&t.map(g=>(0,yt.jsx)(re,{children:(0,yt.jsx)(fe,{asChild:!0,size:"sm",children:(0,yt.jsxs)(N,{href:g.url||"",children:[g.icon&&(0,yt.jsx)(g.icon,{}),(0,yt.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,yt.jsx)(Oe,{})]})}function dr({subNav:e,pathName:t,Link:o}){let r=e,a=!1;return r.links&&r.links.map(n=>{n.url===t&&(a=!0)}),(0,yt.jsx)($e,{defaultOpen:!0,className:"group/collapsible",children:(0,yt.jsx)(me,{className:"py-0",children:(0,yt.jsx)(oe,{children:(0,yt.jsx)($e,{asChild:!0,defaultOpen:r.isActive,children:(0,yt.jsxs)(re,{children:[(0,yt.jsx)(fe,{asChild:!0,tooltip:r.label,className:(0,je.default)(a&&"font-bold text-accent"),children:(0,yt.jsxs)(o,{href:r.url,children:[r.icon&&(0,yt.jsx)(r.icon,{}),(0,yt.jsx)("span",{children:r.label})]})}),r.links?.length?(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Bt,{asChild:!0,children:(0,yt.jsxs)(Ge,{className:"data-[state=open]:rotate-90",children:[(0,yt.jsx)(Dt.ChevronRight,{}),(0,yt.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,yt.jsx)(Ot,{children:(0,yt.jsx)(Ve,{children:r.links?.map(n=>(0,yt.jsx)(We,{children:(0,yt.jsx)(Fe,{asChild:!0,className:(0,je.default)(n.url===t&&"font-bold text-accent"),children:(0,yt.jsx)(o,{href:n.url,children:(0,yt.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},r.label)})})})}var Vt=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",n="fa-"+t,l=r??"",s=a+n+" fa-"+o+" "+l;return(0,yt.jsx)("yt",{className:s})};var L=require("@headlessui/react"),ge=require("@heroicons/react/24/outline"),ae=require("@heroicons/react/20/solid");var cr=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,yt.jsx)("a",{href:r,className:"flex items-center gap-yt-1 text-sm text-foreground group",children:(0,yt.jsxs)("span",{className:"relative",children:[e,(0,yt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-yt-1/2 scale-yt-0 transition-transform duration-300 ease-in-out group-hover:scale-yt-100"})]})}):(0,yt.jsxs)(L.Popover,{children:[(0,yt.jsxs)(L.PopoverButton,{className:"flex items-center gap-yt-1 text-sm/6 text-foreground outline-none group",children:[(0,yt.jsxs)("span",{className:"relative",children:[e,(0,yt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-yt-1/2 scale-yt-0 transition-transform duration-300 ease-in-out group-hover:scale-yt-100"})]}),(0,yt.jsx)($t.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,yt.jsxs)(L.PopoverPanel,{transition:!0,className:"absolute inset-yt-0 top-0 -yt-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,yt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-yt-4 px-6 py-10 lg:px-8 xl:gap-yt-8 yt-50",children:t&&t.map(a=>(0,yt.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,yt.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:a.icon&&(0,yt.jsx)(Ft,{icon:a.icon,size:"4x"})}),(0,yt.jsxs)("a",{href:a.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[a.name,(0,yt.jsx)("span",{className:"absolute inset-0"})]}),(0,yt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,yt.jsx)("div",{className:"bg-gray-50",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsx)("div",{className:"grid grid-cols-3 divide-yt divide-gray-900/5 border-yt border-gray-900/5",children:o.map(a=>(0,yt.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-yt-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,yt.jsx)(Ft,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Ft=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,yt.jsx)(Vt,{...e,size:o});if("src"in e)return(0,yt.jsx)("div",{className:d(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,yt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},jt=cr;var be=["light","dark","green"];function Ut({title:e,logo:t,menuItems:o}){let[r,a]=(0,ce.useState)(!1),[n,l]=(0,ce.useState)(!1),[s,b]=(0,ce.useState)("light"),h=t?.split(".")[0],v=t?.split(".")[1],[N,g]=(0,ce.useState)(`${h}.${v}`),T=c=>{be.includes(c)?g(c==="light"?`${h}.${v}`:`${h}-${c}.${v}`):g(`${h}.${v}`)};(0,ce.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";b(c),document.documentElement.setAttribute("class",c),T(c)},[]);let M=()=>{let c=be[(be.indexOf(s)+1)%be.length];b(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),T(c)};return(0,yt.jsxs)("header",{className:"relative isolate yt-10 bg-background h-14",children:[(0,yt.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,yt.jsx)("div",{className:"flex lg:flex-1",children:(0,yt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:e}),(0,yt.jsx)("img",{alt:e,src:N,className:"h-9 w-auto"})]})}),(0,yt.jsx)("div",{className:"flex lg:hidden",children:(0,yt.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,yt.jsx)(ge.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,yt.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-yt-12",children:o.map(c=>(0,yt.jsx)(jt,{...c},c.name))}),(0,yt.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,yt.jsx)("button",{onClick:M,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,yt.jsx)(ae.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,yt.jsx)(ae.MoonIcon,{className:"h-6 w-6"}):(0,yt.jsx)(ae.SunIcon,{className:"h-6 w-6"})})})]}),(0,yt.jsxs)(L.Dialog,{open:r,onClose:a,className:"lg:hidden",children:[(0,yt.jsx)("div",{className:"fixed inset-0 yt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,yt.jsxs)(L.DialogPanel,{className:"fixed inset-y-0 right-0 yt-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,yt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,yt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,yt.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,yt.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,yt.jsx)(ge.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,yt.jsx)("div",{className:"mt-6 flow-root",children:(0,yt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,yt.jsx)("div",{className:"space-y-2 py-6",children:o.map(c=>(0,yt.jsx)(pr,{...c},c.name))})})})]})]})]})}function pr({name:e,items:t,actions:o,href:r}){return!t&&r?(0,yt.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,yt.jsxs)(L.Disclosure,{as:"div",className:"-mx-3",children:[(0,yt.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:e}),(0,yt.jsx)(L.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,yt.jsx)(L.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 xe=E(require("react")),ur=1,mr=1e6;var Ue=0;function fr(){return Ue=(Ue+1)%Number.MAX_SAFE_INTEGER,Ue.toString()}var qe=new Map,qt=e=>{if(qe.has(e))return;let t=setTimeout(()=>{qe.delete(e),ne({type:"REMOVE_TOAST",toastId:e})},mr);qe.set(e,t)},br=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ur)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?qt(o):e.toasts.forEach(r=>{qt(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},he=[],ve={toasts:[]};function ne(e){ve=br(ve,e),he.forEach(t=>{t(ve)})}function gr({...e}){let t=fr(),o=a=>ne({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>ne({type:"DISMISS_TOAST",toastId:t});return ne({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function Kt(){let[e,t]=xe.useState(ve);return xe.useEffect(()=>(he.push(t),()=>{let o=he.indexOf(t);o>-1&&he.splice(o,1)}),[e]),{...e,toast:gr,dismiss:o=>ne({type:"DISMISS_TOAST",toastId:o})}}var U=E(require("react")),C=E(require("@radix-ui/react-toast"));var Qt=C.Provider,Ke=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Viewport,{ref:o,className:d("fixed top-0 yt-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ke.displayName=C.Viewport.displayName;var hr=(0,Lt.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-yt-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-yt-0 data-[swipe=end]:translate-yt-[var(--radix-toast-swipe-end-yt)] data-[swipe=move]:translate-yt-[var(--radix-toast-swipe-move-yt)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Xe=U.forwardRef(({className:e,variant:t,...o},r)=>(0,yt.jsx)(C.Root,{ref:r,className:d(hr({variant:t}),e),...o}));Xe.displayName=C.Root.displayName;var vr=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Action,{ref:o,className:d("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));vr.displayName=C.Action.displayName;var Ye=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Close,{ref:o,className:d("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,yt.jsx)(Dt.X,{className:"h-4 w-4"})}));Ye.displayName=C.Close.displayName;var Qe=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Title,{ref:o,className:d("text-sm font-semibold [&+div]:text-xs",e),...t}));Qe.displayName=C.Title.displayName;var Je=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Description,{ref:o,className:d("text-sm opacity-90",e),...t}));Je.displayName=C.Description.displayName;function Jt(){let{toasts:e}=Kt();return(0,yt.jsxs)(Qt,{children:[e.map(function({id:t,title:o,description:r,action:a,...n}){return(0,yt.jsxs)(Xe,{...n,children:[(0,yt.jsxs)("div",{className:"grid gap-1",children:[o&&(0,yt.jsx)(Qe,{children:o}),r&&(0,yt.jsx)(Je,{children:r})]}),a,(0,yt.jsx)(Ye,{})]},t)}),(0,yt.jsx)(Ke,{})]})}var Zt=E(require("next/image"));function eo(e){let{url:t,mainImage:o,excerpt:r,title:a}=e;return(0,yt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,yt.jsx)(Zt.default,{alt:a||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,yt.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,yt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,yt.jsxs)("a",{href:t,children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,yt.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}function to({...e}){return(0,yt.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,yt.jsx)(Ut,{...e.header}),(0,yt.jsxs)(Le,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,yt.jsx)(Gt,{...e.sidebarLeft,className:"flex-none"}),(0,yt.jsx)(_e,{className:"grow overflow-hidden",children:(0,yt.jsxs)("div",{className:"max-h-full top-0 absolute max-w-full",children:[(0,yt.jsx)("div",{"aria-hidden":"true",className:"inset-yt-0 -yt-10 transform-gpu overflow-hidden blur-3xl",children:(0,yt.jsx)("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-yt-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),(0,yt.jsx)("div",{className:"absolute top-0 w-full",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsxs)("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[(0,yt.jsx)("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),(0,yt.jsx)("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),(0,yt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-yt-6",children:(0,yt.jsx)("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:e.tiles.map(t=>(0,yt.jsx)(eo,{url:t.slug,title:t.title,mainImage:t.mainImage,excerpt:t.excerpt},t.slug))})})]})})}),(0,yt.jsx)("div",{"aria-hidden":"true",className:"absolute inset-yt-0 top-[calc(100%-13rem)] -yt-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:(0,yt.jsx)("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-yt-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),(0,yt.jsx)(Jt,{})]})}
|
|
4
|
+
"use strict";"use client";var oo=Object.create;var de=Object.defineProperty;var ro=Object.getOwnPropertyDescriptor;var ao=Object.getOwnPropertyNames;var no=Object.getPrototypeOf,so=Object.prototype.hasOwnProperty;var io=(e,t)=>{for(var o in t)de(e,o,{get:t[o],enumerable:!0})},st=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ao(t))!so.call(e,a)&&a!==o&&de(e,a,{get:()=>t[a],enumerable:!(r=ro(t,a))||r.enumerable});return e};var E=(e,t,o)=>(o=e!=null?oo(no(e)):{},st(t||!e||!e.__esModule?de(o,"default",{value:e,enumerable:!0}):o,e)),lo=e=>st(de({},"__esModule",{value:!0}),e);var xr={};io(xr,{default:()=>to});module.exports=lo(xr);var m=E(require("react")),X=require("@radix-ui/react-slot"),Lt=require("class-variance-authority"),Dt=require("lucide-react");var ce=require("react"),it=(e=768)=>{let[t,o]=(0,ce.useState)(!1);return(0,ce.useEffect)(()=>{let r=()=>{o(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var gt=require("clsx");var Pe="-",co=e=>{let t=uo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let s=l.split(Pe);return s[0]===""&&s.length!==1&&s.shift(),ct(s,t)||po(l)},getConflictingClassGroupIds:(l,s)=>{let b=o[l]||[];return s&&r[l]?[...b,...r[l]]:b}}},ct=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),a=r?ct(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(Pe);return t.validators.find(({validator:l})=>l(n))?.classGroupId},lt=/^\[(.+)\]$/,po=e=>{if(lt.test(e)){let t=lt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},uo=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return fo(Object.entries(e.classGroups),o).forEach(([n,l])=>{Ne(l,r,n,t)}),r},Ne=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:dt(t,a);n.classGroupId=o;return}if(typeof a=="function"){if(mo(a)){Ne(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([n,l])=>{Ne(l,dt(t,n),o,r)})})},dt=(e,t)=>{let o=e;return t.split(Pe).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},mo=e=>e.isThemeGetter,fo=(e,t)=>t?e.map(([o,r])=>{let a=r.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[t+l,s])):n);return[o,a]}):e,bo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,a=(n,l)=>{o.set(n,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(n){let l=o.get(n);if(l!==void 0)return l;if((l=r.get(n))!==void 0)return a(n,l),l},set(n,l){o.has(n)?o.set(n,l):a(n,l)}}},pt="!",go=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],n=t.length,l=s=>{let b=[],h=0,v=0,N;for(let w=0;w<s.length;w++){let I=s[w];if(h===0){if(I===a&&(r||s.slice(w,w+n)===t)){b.push(s.slice(v,w)),v=w+n;continue}if(I==="/"){N=w;continue}}I==="["?h++:I==="]"&&h--}let g=b.length===0?s:s.substring(v),T=g.startsWith(pt),M=T?g.substring(1):g,c=N&&N>v?N-v:void 0;return{modifiers:b,hasImportantModifier:T,baseClassName:M,maybePostfixModifierPosition:c}};return o?s=>o({className:s,parseClassName:l}):l},ho=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},vo=e=>({cache:bo(e.cacheSize),parseClassName:go(e),...co(e)}),xo=/\s+/,yo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,n=[],l=e.trim().split(xo),s="";for(let b=l.length-1;b>=0;b-=1){let h=l[b],{modifiers:v,hasImportantModifier:N,baseClassName:g,maybePostfixModifierPosition:T}=o(h),M=!!T,c=r(M?g.substring(0,T):g);if(!c){if(!M){s=h+(s.length>0?" "+s:s);continue}if(c=r(g),!c){s=h+(s.length>0?" "+s:s);continue}M=!1}let w=ho(v).join(":"),I=N?w+pt:w,S=I+c;if(n.includes(S))continue;n.push(S);let _=a(c,M);for(let $=0;$<_.length;++$){let se=_[$];n.push(I+se)}s=h+(s.length>0?" "+s:s)}return s};function wo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=ut(t))&&(r&&(r+=" "),r+=o);return r}var ut=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ut(e[r]))&&(o&&(o+=" "),o+=t);return o};function So(e,...t){let o,r,a,n=l;function l(b){let h=t.reduce((v,N)=>N(v),e());return o=vo(h),r=o.cache.get,a=o.cache.set,n=s,s(b)}function s(b){let h=r(b);if(h)return h;let v=yo(b,o);return a(b,v),v}return function(){return n(wo.apply(null,arguments))}}var y=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-yt-]+):)?(.+)\]$/yt,Ro=/^\d+\/\d+$/,To=new Set(["px","full","screen"]),No=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Po=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|yt|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Co=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mo=/^(inset_)?-?((\d+)?\.?(\d+)[a-yt]+|0)_-?((\d+)?\.?(\d+)[a-yt]+|0)/,ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>q(e)||To.has(e)||Ro.test(e),V=e=>K(e,"length",Bo),q=e=>!!e&&!Number.isNaN(Number(e)),Te=e=>K(e,"number",q),Z=e=>!!e&&Number.isInteger(Number(e)),Io=e=>e.endsWith("%")&&q(e.slice(0,-1)),p=e=>mt.test(e),W=e=>No.test(e),Ao=new Set(["length","size","percentage"]),Eo=e=>K(e,Ao,ft),zo=e=>K(e,"position",ft),Lo=new Set(["image","url"]),Do=e=>K(e,Lo,Ho),_o=e=>K(e,"",Oo),ee=()=>!0,K=(e,t,o)=>{let r=mt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Bo=e=>Po.test(e)&&!Co.test(e),ft=()=>!1,Oo=e=>Mo.test(e),Ho=e=>ko.test(e);var Go=()=>{let e=y("colors"),t=y("spacing"),o=y("blur"),r=y("brightness"),a=y("borderColor"),n=y("borderRadius"),l=y("borderSpacing"),s=y("borderWidth"),b=y("contrast"),h=y("grayscale"),v=y("hueRotate"),N=y("invert"),g=y("gap"),T=y("gradientColorStops"),M=y("gradientColorStopPositions"),c=y("inset"),w=y("margin"),I=y("opacity"),S=y("padding"),_=y("saturate"),$=y("scale"),se=y("sepia"),Ze=y("skew"),et=y("space"),tt=y("translate"),ye=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],Se=()=>["auto",p,t],R=()=>[p,t],ot=()=>["",O,V],ie=()=>["auto",q,p],rt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["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"],Re=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",p],nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[q,p];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[O,V],blur:["none","",W,p],brightness:B(),borderColor:[e],borderRadius:["none","","full",W,p],borderSpacing:R(),borderWidth:ot(),contrast:B(),grayscale:J(),hueRotate:B(),invert:J(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Io,V],inset:Se(),margin:Se(),opacity:B(),padding:R(),saturate:B(),scale:B(),sepia:J(),skew:B(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[W]}],"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:[...rt(),p]}],overflow:[{overflow:we()}],"overflow-yt":[{"overflow-yt":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:ye()}],"overscroll-yt":[{"overscroll-yt":ye()}],"overscroll-y":[{"overscroll-y":ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-yt":[{"inset-yt":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],yt:[{yt:["auto",Z,p]}],basis:[{basis:Se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",Z,p]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,p]},p]}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,p]},p]}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-yt":[{"gap-yt":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-yt":[{"space-yt":[et]}],"space-yt-reverse":["space-yt-reverse"],"space-y":[{"space-y":[et]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Te]}],"font-family":[{font:[ee]}],"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",p]}],"line-clamp":[{"line-clamp":["none",q,Te]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,V]}],"underline-offset":[{"underline-offset":["auto",O,p]}],"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:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...rt(),zo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","yt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Eo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Do]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-yt":[{"border-yt":[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":[I]}],"border-style":[{border:[...le(),"hidden"]}],"divide-yt":[{"divide-yt":[s]}],"divide-yt-reverse":["divide-yt-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:le()}],"border-color":[{border:[a]}],"border-color-yt":[{"border-yt":[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:["",...le()]}],"outline-offset":[{"outline-offset":[O,p]}],"outline-w":[{outline:[O,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[O,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,_o]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...at(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":at()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",W,p]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[N]}],saturate:[{saturate:[_]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-yt":[{"border-spacing-yt":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-yt":[{"scale-yt":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[Z,p]}],"translate-yt":[{"translate-yt":[tt]}],"translate-y":[{"translate-y":[tt]}],"skew-yt":[{"skew-yt":[Ze]}],"skew-y":[{"skew-y":[Ze]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","yt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","yt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-yt":[{"touch-pan":["yt","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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,V,Te]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-yt","overflow-y"],overscroll:["overscroll-yt","overscroll-y"],inset:["inset-yt","inset-y","start","end","top","right","bottom","left"],"inset-yt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-yt","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-yt","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-yt":["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-yt":["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-yt","touch-y","touch-pz"],"touch-yt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var bt=So(Go);function d(...e){return bt((0,gt.clsx)(e))}var xt=E(require("react")),yt=require("react/jsx-runtime"),Vo=(0,Lt.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:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),Ce=xt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...a},n)=>(0,yt.jsx)(e?X.Slot:"button",{className:d(Vo({className:t,size:o,variant:r})),ref:n,...a}));Ce.displayName="Button";var wt=E(require("react"));var Me=wt.forwardRef(({className:e,type:t,...o},r)=>(0,yt.jsx)("input",{type:t,className:d("flex h-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:r,...o}));Me.displayName="Input";var Rt=E(require("react")),ke=E(require("@radix-ui/react-separator"));var Ie=Rt.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...r},a)=>(0,yt.jsx)(ke.Root,{ref:a,decorative:o,orientation:t,className:d("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Ie.displayName=ke.Root.displayName;var te=E(require("react")),k=E(require("@radix-ui/react-dialog")),Nt=require("@radix-ui/react-icons");var Ct=k.Root;var Wo=k.Portal,Mt=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Overlay,{className:d("fixed inset-0 yt-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:o}));Mt.displayName=k.Overlay.displayName;var Fo=(0,Lt.cva)("fixed yt-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-yt-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-yt-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 h-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 h-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"}}),Ae=te.forwardRef(({side:e="right",className:t,children:o,...r},a)=>(0,yt.jsxs)(Wo,{children:[(0,yt.jsx)(Mt,{}),(0,yt.jsxs)(k.Content,{ref:a,className:d(Fo({side:e}),t),...r,children:[(0,yt.jsxs)(k.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,yt.jsx)(Nt.Cross2Icon,{className:"h-4 w-4"}),(0,yt.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));Ae.displayName=k.Content.displayName;var $o=({className:e,...t})=>(0,yt.jsx)("div",{className:d("flex flex-col space-y-2 text-center sm:text-left",e),...t});$o.displayName="SheetHeader";var jo=({className:e,...t})=>(0,yt.jsx)("div",{className:d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-yt-2",e),...t});jo.displayName="SheetFooter";var Uo=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Title,{ref:o,className:d("text-lg font-semibold text-foreground",e),...t}));Uo.displayName=k.Title.displayName;var qo=te.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(k.Description,{ref:o,className:d("text-sm text-muted-foreground",e),...t}));qo.displayName=k.Description.displayName;function A({className:e,...t}){return(0,yt.jsx)("div",{className:d("animate-pulse rounded-md bg-primary/10",e),...t})}var It=E(require("react")),D=E(require("@radix-ui/react-tooltip"));var At=D.Provider,Et=D.Root,zt=D.Trigger,ze=It.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,yt.jsx)(D.Portal,{children:(0,yt.jsx)(D.Content,{ref:r,sideOffset:t,className:d("yt-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),...o})}));ze.displayName=D.Content.displayName;var Ko="sidebar:state",Xo=60*60*24*7,Yo="16rem",Qo="18rem",Jo="3rem",Zo="b",_t=m.createContext(null);function pe(){let e=m.useContext(_t);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Le=m.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:r,style:a,children:n,...l},s)=>{let b=it(),[h,v]=m.useState(!1),[N,g]=m.useState(e),T=t??N,M=m.useCallback(S=>{if(o)return o?.(typeof S=="function"?S(T):S);g(S),document.cookie=`${Ko}=${T}; path=/; max-age=${Xo}`},[o,T]),c=m.useCallback(()=>b?v(S=>!S):M(S=>!S),[b,M,v]);m.useEffect(()=>{let S=_=>{_.key===Zo&&(_.metaKey||_.ctrlKey)&&(_.preventDefault(),c())};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[c]);let w=T?"expanded":"collapsed",I=m.useMemo(()=>({state:w,open:T,setOpen:M,isMobile:b,openMobile:h,setOpenMobile:v,toggleSidebar:c}),[w,T,M,b,h,v,c]);return(0,yt.jsx)(_t.Provider,{value:I,children:(0,yt.jsx)(At,{delayDuration:0,children:(0,yt.jsx)("div",{style:{"--sidebar-width":Yo,"--sidebar-width-icon":Jo,...a},className:d("group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:s,...l,children:n})})})});Le.displayName="SidebarProvider";var De=m.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:r,children:a,...n},l)=>{let{isMobile:s,state:b,openMobile:h,setOpenMobile:v}=pe();return o==="none"?(0,yt.jsx)("div",{className:d("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...n,children:a}):s?(0,yt.jsx)(Ct,{open:h,onOpenChange:v,...n,children:(0,yt.jsx)(Ae,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Qo},side:e,children:(0,yt.jsx)("div",{className:"flex h-full w-full flex-col",children:a})})}):(0,yt.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":b,"data-collapsible":b==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,yt.jsx)("div",{className:d("duration-200 relative h-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,yt.jsx)("div",{className:d("duration-200 fixed top-14 bottom-0 yt-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",r),...n,children:(0,yt.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-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})})]})});De.displayName="Sidebar";var er=m.forwardRef(({className:e,onClick:t,...o},r)=>{let{toggleSidebar:a}=pe();return(0,yt.jsxs)(Ce,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:d("h-7 w-7",e),onClick:n=>{t?.(n),a()},...o,children:[(0,yt.jsx)(Dt.PanelLeft,{}),(0,yt.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});er.displayName="SidebarTrigger";var tr=m.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:r}=pe();return(0,yt.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:d("absolute inset-y-0 yt-20 hidden w-4 -translate-yt-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-yt-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})});tr.displayName="SidebarRail";var _e=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("main",{ref:o,className:d("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-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}));_e.displayName="SidebarInset";var or=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(Me,{ref:o,"data-sidebar":"input",className:d("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));or.displayName="SidebarInput";var Be=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"header",className:d("flex flex-col gap-2 p-2",e),...t}));Be.displayName="SidebarHeader";var Oe=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"footer",className:d("flex flex-col gap-2 p-2",e),...t}));Oe.displayName="SidebarFooter";var rr=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(Ie,{ref:o,"data-sidebar":"separator",className:d("mx-2 w-auto bg-sidebar-border",e),...t}));rr.displayName="SidebarSeparator";var ue=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"content",className:d("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));ue.displayName="SidebarContent";var me=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"group",className:d("relative flex w-full min-w-0 flex-col p-2",e),...t}));me.displayName="SidebarGroup";var ar=m.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,yt.jsx)(t?X.Slot:"div",{ref:r,"data-sidebar":"group-label",className:d("duration-200 flex h-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),...o}));ar.displayName="SidebarGroupLabel";var nr=m.forwardRef(({className:e,asChild:t=!1,...o},r)=>(0,yt.jsx)(t?X.Slot:"button",{ref:r,"data-sidebar":"group-action",className:d("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),...o}));nr.displayName="SidebarGroupAction";var He=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"group-content",className:d("w-full text-sm",e),...t}));He.displayName="SidebarGroupContent";var oe=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("ul",{ref:o,"data-sidebar":"menu",className:d("flex w-full min-w-0 flex-col gap-1",e),...t}));oe.displayName="SidebarMenu";var re=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:d("group/menu-item relative",e),...t}));re.displayName="SidebarMenuItem";var sr=(0,Lt.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:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),fe=m.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:r="default",tooltip:a,className:n,...l},s)=>{let b=e?X.Slot:"button",{isMobile:h,state:v}=pe(),N=(0,yt.jsx)(b,{ref:s,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:d(sr({variant:o,size:r}),n),...l});return a?(typeof a=="string"&&(a={children:a}),(0,yt.jsxs)(Et,{children:[(0,yt.jsx)(zt,{asChild:!0,children:N}),(0,yt.jsx)(ze,{side:"right",align:"center",hidden:v!=="collapsed"||h,...a})]})):N});fe.displayName="SidebarMenuButton";var Ge=m.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...r},a)=>(0,yt.jsx)(t?X.Slot:"button",{ref:a,"data-sidebar":"menu-action",className:d("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",o&&"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),...r}));Ge.displayName="SidebarMenuAction";var ir=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:d("absolute right-1 flex h-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}));ir.displayName="SidebarMenuBadge";var lr=m.forwardRef(({className:e,showIcon:t=!1,...o},r)=>{let a=m.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,yt.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:d("rounded-md h-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,yt.jsx)(A,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,yt.jsx)(A,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":a}})]})});lr.displayName="SidebarMenuSkeleton";var Ve=m.forwardRef(({className:e,...t},o)=>(0,yt.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:d("mx-3.5 flex min-w-0 translate-yt-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));Ve.displayName="SidebarMenuSub";var We=m.forwardRef(({...e},t)=>(0,yt.jsx)("li",{ref:t,...e}));We.displayName="SidebarMenuSubItem";var Fe=m.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:r,...a},n)=>(0,yt.jsx)(e?X.Slot:"a",{ref:n,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:d("flex h-7 min-w-0 -translate-yt-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",r),...a}));Fe.displayName="SidebarMenuSubButton";var Y=E(require("@radix-ui/react-collapsible")),$e=Y.Root,Bt=Y.CollapsibleTrigger,Ot=Y.CollapsibleContent;var je=E(require("clsx"));function Gt({mainNav:e,secondaryNav:t,title:o,subTitle:r,pathName:a,menuHeading:n,onNavClick:l,loading:s=!1,LinkComponent:b,...h}){let N=b?g=>(0,yt.jsx)(b,{...g}):l?({href:g,children:T,...M})=>(0,yt.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...M,children:T}):g=>(0,yt.jsx)("a",{...g});return(0,yt.jsxs)(De,{...h,variant:"inset",children:[(0,yt.jsx)(Be,{children:(0,yt.jsx)(oe,{children:(0,yt.jsx)(re,{children:s?(0,yt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,yt.jsx)(A,{className:"bg-gray-200 my-2 w-full h-7"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,yt.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,yt.jsx)("span",{className:"truncate font-semibold",children:o}),r&&(0,yt.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),s&&(0,yt.jsxs)(ue,{children:[(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"}),(0,yt.jsx)(A,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,yt.jsxs)(ue,{children:[e&&!s&&e.map((g,T)=>(0,yt.jsx)(dr,{subNav:g,pathName:a,Link:N},T)),(0,yt.jsx)(me,{className:"",children:(0,yt.jsx)(He,{children:(0,yt.jsx)(oe,{children:t&&!s&&t.map(g=>(0,yt.jsx)(re,{children:(0,yt.jsx)(fe,{asChild:!0,size:"sm",children:(0,yt.jsxs)(N,{href:g.url||"",children:[g.icon&&(0,yt.jsx)(g.icon,{}),(0,yt.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,yt.jsx)(Oe,{})]})}function dr({subNav:e,pathName:t,Link:o}){let r=e,a=!1;return r.links&&r.links.map(n=>{n.url===t&&(a=!0)}),(0,yt.jsx)($e,{defaultOpen:!0,className:"group/collapsible",children:(0,yt.jsx)(me,{className:"py-0",children:(0,yt.jsx)(oe,{children:(0,yt.jsx)($e,{asChild:!0,defaultOpen:r.isActive,children:(0,yt.jsxs)(re,{children:[(0,yt.jsx)(fe,{asChild:!0,tooltip:r.label,className:(0,je.default)(a&&"font-bold text-accent"),children:(0,yt.jsxs)(o,{href:r.url,children:[r.icon&&(0,yt.jsx)(r.icon,{}),(0,yt.jsx)("span",{children:r.label})]})}),r.links?.length?(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Bt,{asChild:!0,children:(0,yt.jsxs)(Ge,{className:"data-[state=open]:rotate-90",children:[(0,yt.jsx)(Dt.ChevronRight,{}),(0,yt.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,yt.jsx)(Ot,{children:(0,yt.jsx)(Ve,{children:r.links?.map(n=>(0,yt.jsx)(We,{children:(0,yt.jsx)(Fe,{asChild:!0,className:(0,je.default)(n.url===t&&"font-bold text-accent"),children:(0,yt.jsx)(o,{href:n.url,children:(0,yt.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},r.label)})})})}var Vt=({type:e="solid",iconName:t="cloud",size:o="lg",className:r})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",n="fa-"+t,l=r??"",s=a+n+" fa-"+o+" "+l;return(0,yt.jsx)("yt",{className:s})};var L=require("@headlessui/react"),ge=require("@heroicons/react/24/outline"),ae=require("@heroicons/react/20/solid");var cr=({name:e,items:t,actions:o=[],href:r})=>!t&&r?(0,yt.jsx)("a",{href:r,className:"flex items-center gap-yt-1 text-sm text-foreground group",children:(0,yt.jsxs)("span",{className:"relative",children:[e,(0,yt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-yt-1/2 scale-yt-0 transition-transform duration-300 ease-in-out group-hover:scale-yt-100"})]})}):(0,yt.jsxs)(L.Popover,{children:[(0,yt.jsxs)(L.PopoverButton,{className:"flex items-center gap-yt-1 text-sm/6 text-foreground outline-none group",children:[(0,yt.jsxs)("span",{className:"relative",children:[e,(0,yt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-yt-1/2 scale-yt-0 transition-transform duration-300 ease-in-out group-hover:scale-yt-100"})]}),(0,yt.jsx)($t.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,yt.jsxs)(L.PopoverPanel,{transition:!0,className:"absolute inset-yt-0 top-0 -yt-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,yt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-yt-4 px-6 py-10 lg:px-8 xl:gap-yt-8 yt-50",children:t&&t.map(a=>(0,yt.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,yt.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:a.icon&&(0,yt.jsx)(Ft,{icon:a.icon,size:"4x"})}),(0,yt.jsxs)("a",{href:a.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[a.name,(0,yt.jsx)("span",{className:"absolute inset-0"})]}),(0,yt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),o.length>0&&(0,yt.jsx)("div",{className:"bg-gray-50",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsx)("div",{className:"grid grid-cols-3 divide-yt divide-gray-900/5 border-yt border-gray-900/5",children:o.map(a=>(0,yt.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-yt-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,yt.jsx)(Ft,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),Ft=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,yt.jsx)(Vt,{...e,size:o});if("src"in e)return(0,yt.jsx)("div",{className:d(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,yt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},jt=cr;var be=["light","dark","green"];function Ut({title:e,logo:t,menuItems:o}){let[r,a]=(0,ce.useState)(!1),[n,l]=(0,ce.useState)(!1),[s,b]=(0,ce.useState)("light"),h=t?.split(".")[0],v=t?.split(".")[1],[N,g]=(0,ce.useState)(`${h}.${v}`),T=c=>{be.includes(c)?g(c==="light"?`${h}.${v}`:`${h}-${c}.${v}`):g(`${h}.${v}`)};(0,ce.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";b(c),document.documentElement.setAttribute("class",c),T(c)},[]);let M=()=>{let c=be[(be.indexOf(s)+1)%be.length];b(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),T(c)};return(0,yt.jsxs)("header",{className:"relative isolate yt-10 bg-background h-14",children:[(0,yt.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,yt.jsx)("div",{className:"flex lg:flex-1",children:(0,yt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:e}),(0,yt.jsx)("img",{alt:e,src:N,className:"h-9 w-auto"})]})}),(0,yt.jsx)("div",{className:"flex lg:hidden",children:(0,yt.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,yt.jsx)(ge.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,yt.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-yt-12",children:o.map(c=>(0,yt.jsx)(jt,{...c},c.name))}),(0,yt.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,yt.jsx)("button",{onClick:M,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,yt.jsx)(ae.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,yt.jsx)(ae.MoonIcon,{className:"h-6 w-6"}):(0,yt.jsx)(ae.SunIcon,{className:"h-6 w-6"})})})]}),(0,yt.jsxs)(L.Dialog,{open:r,onClose:a,className:"lg:hidden",children:[(0,yt.jsx)("div",{className:"fixed inset-0 yt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,yt.jsxs)(L.DialogPanel,{className:"fixed inset-y-0 right-0 yt-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,yt.jsxs)("div",{className:"flex items-center justify-between",children:[(0,yt.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,yt.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,yt.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,yt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,yt.jsx)(ge.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,yt.jsx)("div",{className:"mt-6 flow-root",children:(0,yt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,yt.jsx)("div",{className:"space-y-2 py-6",children:o.map(c=>(0,yt.jsx)(pr,{...c},c.name))})})})]})]})]})}function pr({name:e,items:t,actions:o,href:r}){return!t&&r?(0,yt.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,yt.jsxs)(L.Disclosure,{as:"div",className:"-mx-3",children:[(0,yt.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:e}),(0,yt.jsx)(L.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,yt.jsx)(L.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 xe=E(require("react")),ur=1,mr=1e6;var Ue=0;function fr(){return Ue=(Ue+1)%Number.MAX_SAFE_INTEGER,Ue.toString()}var qe=new Map,qt=e=>{if(qe.has(e))return;let t=setTimeout(()=>{qe.delete(e),ne({type:"REMOVE_TOAST",toastId:e})},mr);qe.set(e,t)},br=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ur)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?qt(o):e.toasts.forEach(r=>{qt(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},he=[],ve={toasts:[]};function ne(e){ve=br(ve,e),he.forEach(t=>{t(ve)})}function gr({...e}){let t=fr(),o=a=>ne({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>ne({type:"DISMISS_TOAST",toastId:t});return ne({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:o}}function Kt(){let[e,t]=xe.useState(ve);return xe.useEffect(()=>(he.push(t),()=>{let o=he.indexOf(t);o>-1&&he.splice(o,1)}),[e]),{...e,toast:gr,dismiss:o=>ne({type:"DISMISS_TOAST",toastId:o})}}var U=E(require("react")),C=E(require("@radix-ui/react-toast"));var Qt=C.Provider,Ke=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Viewport,{ref:o,className:d("fixed top-0 yt-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ke.displayName=C.Viewport.displayName;var hr=(0,Lt.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-yt-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-yt-0 data-[swipe=end]:translate-yt-[var(--radix-toast-swipe-end-yt)] data-[swipe=move]:translate-yt-[var(--radix-toast-swipe-move-yt)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Xe=U.forwardRef(({className:e,variant:t,...o},r)=>(0,yt.jsx)(C.Root,{ref:r,className:d(hr({variant:t}),e),...o}));Xe.displayName=C.Root.displayName;var vr=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Action,{ref:o,className:d("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));vr.displayName=C.Action.displayName;var Ye=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Close,{ref:o,className:d("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,yt.jsx)(Dt.X,{className:"h-4 w-4"})}));Ye.displayName=C.Close.displayName;var Qe=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Title,{ref:o,className:d("text-sm font-semibold [&+div]:text-xs",e),...t}));Qe.displayName=C.Title.displayName;var Je=U.forwardRef(({className:e,...t},o)=>(0,yt.jsx)(C.Description,{ref:o,className:d("text-sm opacity-90",e),...t}));Je.displayName=C.Description.displayName;function Jt(){let{toasts:e}=Kt();return(0,yt.jsxs)(Qt,{children:[e.map(function({id:t,title:o,description:r,action:a,...n}){return(0,yt.jsxs)(Xe,{...n,children:[(0,yt.jsxs)("div",{className:"grid gap-1",children:[o&&(0,yt.jsx)(Qe,{children:o}),r&&(0,yt.jsx)(Je,{children:r})]}),a,(0,yt.jsx)(Ye,{})]},t)}),(0,yt.jsx)(Ke,{})]})}var Zt=E(require("next/image"));function eo(e){let{url:t,mainImage:o,excerpt:r,title:a}=e;return(0,yt.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,yt.jsx)(Zt.default,{alt:a||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,yt.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,yt.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,yt.jsxs)("a",{href:t,children:[(0,yt.jsx)("span",{className:"absolute inset-0"}),a]})}),r&&(0,yt.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}function to({...e}){return(0,yt.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,yt.jsx)(Ut,{...e.header}),(0,yt.jsxs)(Le,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,yt.jsx)(Gt,{...e.sidebarLeft,className:"flex-none"}),(0,yt.jsx)(_e,{className:"grow overflow-hidden",children:(0,yt.jsxs)("div",{className:"max-h-full top-0 absolute max-w-full",children:[(0,yt.jsx)("div",{"aria-hidden":"true",className:"inset-yt-0 -yt-10 transform-gpu overflow-hidden blur-3xl",children:(0,yt.jsx)("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-yt-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),(0,yt.jsx)("div",{className:"absolute top-0 w-full",children:(0,yt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,yt.jsxs)("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[(0,yt.jsx)("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),(0,yt.jsx)("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),(0,yt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-yt-6",children:(0,yt.jsx)("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:e.tiles.map(t=>(0,yt.jsx)(eo,{url:t.slug,title:t.title,mainImage:t.mainImage,excerpt:t.excerpt},t.slug))})})]})})}),(0,yt.jsx)("div",{"aria-hidden":"true",className:"absolute inset-yt-0 top-[calc(100%-13rem)] -yt-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:(0,yt.jsx)("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-yt-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),(0,yt.jsx)(Jt,{})]})}
|
package/dist/pages/IndexPage.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import"../chunk-
|
|
4
|
+
"use client";import"../chunk-EPTHSTUM.mjs";import"../chunk-RVRIMD6M.mjs";import"../chunk-RULSHTXR.mjs";import"../chunk-XNLTHAQ7.mjs";import"../chunk-RSDUFAIB.mjs";import"../chunk-J4IHIM6A.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-RYZTCMVC.mjs";import"../chunk-WVP4YQCP.mjs";import"../chunk-23KBAZ3A.mjs";import"../chunk-YJNUFYR6.mjs";import"../chunk-C2MKUCGW.mjs";import"../chunk-VCKKDEC5.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-2QZUKVBA.mjs";import"../chunk-SRUG246N.mjs";import"../chunk-4CU7D3X2.mjs";import"../chunk-JYL3XIJX.mjs";import"../chunk-LVK4QE5D.mjs";import"../chunk-LKGCU7H6.mjs";import"../chunk-5WV5ZFEP.mjs";import"../chunk-LF55USCD.mjs";import"../chunk-LEC6GEWS.mjs";import"../chunk-GLKM2IVW.mjs";import"../chunk-3UMMMQEH.mjs";import"../chunk-X3JZSN3W.mjs";import"../chunk-XGIYNUGC.mjs";import"../chunk-2BR55L74.mjs";import"../chunk-TEB67NCD.mjs";import"../chunk-KFCSVEI6.mjs";import"../chunk-LXZAOORS.mjs";import"../chunk-MGYV46AJ.mjs";import"../chunk-CGDLOY7W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-22LHS2J6.mjs";import{a as s}from"../chunk-IC2ABKAM.mjs";import"../chunk-FHMQVAKQ.mjs";import"../chunk-7WIO2CIC.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-6C4WESLL.mjs";import"../chunk-ZW24FGHA.mjs";import"../chunk-DHYTERFI.mjs";import"../chunk-PDY7JYY3.mjs";import"../chunk-WISC5QJV.mjs";import"../chunk-Q5XT55O3.mjs";import"../chunk-FMJBJ3HN.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-IQPZEEYJ.mjs";import{a as l}from"../chunk-H7D3PZKE.mjs";import"../chunk-BG7QXNV5.mjs";import"../chunk-6A3V5BMY.mjs";import"../chunk-SOLZ4VQH.mjs";import"../chunk-CSBGSBEU.mjs";import"../chunk-YO3GQYRJ.mjs";import{a as d}from"../chunk-REF6QD43.mjs";import{a as m}from"../chunk-OYZDAMCS.mjs";import"../chunk-5NRGSTPV.mjs";import{b as i,f as o}from"../chunk-PXLSH6S2.mjs";import"../chunk-D4IMQTVU.mjs";import"../chunk-7GSXNSLD.mjs";import"../chunk-4UIARERB.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-L5JPAKPM.mjs";import"../chunk-KY7WQYN4.mjs";import"../chunk-ZUA4KNIR.mjs";import"../chunk-QTW33JYG.mjs";import"../chunk-MDJREBVI.mjs";import"../chunk-ZWHGOTSF.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-XGRRLABA.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-YEKQJ4YC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as default};
|