cortex-react-components 1.9.3 → 1.11.0
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-WBYDQI5A.mjs → chunk-3UMXC67W.mjs} +1 -1
- package/dist/chunk-3WPEAKCQ.mjs +4 -0
- package/dist/chunk-4DJ6HKHR.mjs +1 -0
- package/dist/{chunk-Q5YMFYZ3.mjs → chunk-5EX5KVLO.mjs} +1 -1
- package/dist/{chunk-EMAMVFAE.mjs → chunk-5TTFPIXL.mjs} +1 -1
- package/dist/chunk-6FHLIH4J.mjs +1 -0
- package/dist/chunk-7GHS5JRC.mjs +1 -0
- package/dist/chunk-A5OBDLSS.mjs +4 -0
- package/dist/{chunk-ADPXM7KO.mjs → chunk-CP6IA4YZ.mjs} +1 -1
- package/dist/{chunk-SEHMQA4F.mjs → chunk-CSUTG7F5.mjs} +1 -1
- package/dist/chunk-CW7WANDA.mjs +1 -0
- package/dist/chunk-DDEPPEJ7.mjs +1 -0
- package/dist/{chunk-SIAE3HCA.mjs → chunk-FXOJ7XKV.mjs} +1 -1
- package/dist/{chunk-I2PU2ABB.mjs → chunk-LBXZO7YT.mjs} +1 -1
- package/dist/{chunk-DSTBNR32.mjs → chunk-M5X4MWJX.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-MESSAICX.mjs} +1 -1
- package/dist/chunk-PTX3WDAE.mjs +4 -0
- package/dist/chunk-Q5NQ35NR.mjs +4 -0
- package/dist/chunk-SPDBC32Z.mjs +1 -0
- package/dist/{chunk-SEQK34KQ.mjs → chunk-VY32UTE2.mjs} +1 -1
- package/dist/{chunk-YW2XZEQD.mjs → chunk-WQF47M5N.mjs} +1 -1
- package/dist/chunk-YCT3EQRB.mjs +4 -0
- package/dist/{chunk-K6HG237V.mjs → chunk-YOB6PYJG.mjs} +1 -1
- package/dist/{chunk-NN3TSSQT.mjs → chunk-YPP62UKD.mjs} +1 -1
- package/dist/chunk-Z4MPZSVH.mjs +1 -0
- package/dist/chunk-ZVSS2NJE.mjs +4 -0
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/HeaderFooter/BrandLogo.d.ts +3 -2
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.d.ts +3 -2
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +4 -2
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.d.ts +6 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +1 -0
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +2 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.js +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +4 -4
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/AnimatedBorder.d.ts +10 -0
- package/dist/components/Other/AnimatedBorder.js +4 -0
- package/dist/components/Other/AnimatedBorder.mjs +2 -0
- package/dist/components/Other/AnimatedBorder.stories.js +4 -0
- package/dist/components/Other/AnimatedBorder.stories.mjs +1 -0
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.d.ts +3 -0
- package/dist/components/Pages/LandingPage.js +4 -0
- package/dist/components/Pages/LandingPage.mjs +2 -0
- package/dist/components/Pages/LandingPage.stories.js +439 -0
- package/dist/components/Pages/LandingPage.stories.mjs +1 -0
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +192 -192
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.d.ts +3 -0
- package/dist/components/Pages/Website.js +4 -0
- package/dist/components/Pages/Website.mjs +1 -0
- package/dist/components/Pages/Website.stories.js +439 -0
- package/dist/components/Pages/Website.stories.mjs +1 -0
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/images/cortex-reply-bw.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-3D4VGUVF.mjs +0 -4
- package/dist/chunk-5FLNXLSS.mjs +0 -1
- package/dist/chunk-6RTJNPLU.mjs +0 -1
- package/dist/chunk-CPKQIUX4.mjs +0 -1
- package/dist/chunk-HXVVB4BC.mjs +0 -4
- package/dist/chunk-KRCSP6XJ.mjs +0 -1
- package/dist/chunk-MPXKAAKQ.mjs +0 -4
- package/dist/chunk-OG6YNFOF.mjs +0 -1
- package/dist/chunk-YG4SM7B5.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"../../chunk-ZVSS2NJE.mjs";import{a as l}from"../../chunk-PAG346RY.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import{a as t}from"../../chunk-5VW5YOZB.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import{c as a}from"../../chunk-D2WXBUVJ.mjs";var i=a(l());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as k}from"react/jsx-runtime";var h=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var p=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/LandingPage",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:k("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:p},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:h}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Cr=Object.create;var ae=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var Nr=Object.getOwnPropertyNames;var Ar=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Rr=(e,r)=>{for(var t in r)ae(e,t,{get:r[t],enumerable:!0})},Fe=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of Nr(r))!Pr.call(e,s)&&s!==t&&ae(e,s,{get:()=>r[s],enumerable:!(a=kr(r,s))||a.enumerable});return e};var F=(e,r,t)=>(t=e!=null?Cr(Ar(e)):{},Fe(r||!e||!e.__esModule?ae(t,"default",{value:e,enumerable:!0}):t,e)),Tr=e=>Fe(ae({},"__esModule",{value:!0}),e);var ut={};Rr(ut,{default:()=>wr});module.exports=Tr(ut);var U=F(require("react"));var Ke=require("clsx");var Ae="-",Mr=e=>{let r=Br(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(Ae);return n[0]===""&&n.length!==1&&n.shift(),je(n,r)||Sr(i)},getConflictingClassGroupIds:(i,n)=>{let p=t[i]||[];return n&&a[i]?[...p,...a[i]]:p}}},je=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],a=r.nextPart.get(t),s=a?je(e.slice(1),a):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(Ae);return(i=r.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,Sr=e=>{if(Ue.test(e)){let r=Ue.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Br=e=>{let{theme:r,prefix:t}=e,a={nextPart:new Map,validators:[]};return Er(Object.entries(e.classGroups),t).forEach(([o,i])=>{Ne(i,a,o,r)}),a},Ne=(e,r,t,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:Oe(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(Ir(s)){Ne(s(a),r,t,a);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,i])=>{Ne(i,Oe(r,o),t,a)})})},Oe=(e,r)=>{let t=e;return r.split(Ae).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t},Ir=e=>e.isThemeGetter,Er=(e,r)=>r?e.map(([t,a])=>{let s=a.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[r+i,n])):o);return[t,s]}):e,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,a=new Map,s=(o,i)=>{t.set(o,i),r++,r>e&&(r=0,a=t,t=new Map)};return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){t.has(o)?t.set(o,i):s(o,i)}}},Ve="!",Hr=e=>{let{separator:r,experimentalParseClassName:t}=e,a=r.length===1,s=r[0],o=r.length,i=n=>{let p=[],u=0,f=0,C;for(let v=0;v<n.length;v++){let k=n[v];if(u===0){if(k===s&&(a||n.slice(v,v+o)===r)){p.push(n.slice(f,v)),f=v+o;continue}if(k==="/"){C=v;continue}}k==="["?u++:k==="]"&&u--}let y=p.length===0?n:n.substring(f),N=y.startsWith(Ve),A=N?y.substring(1):y,l=C&&C>f?C-f:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:A,maybePostfixModifierPosition:l}};return t?n=>t({className:n,parseClassName:i}):i},zr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(a=>{a[0]==="["?(r.push(...t.sort(),a),t=[]):t.push(a)}),r.push(...t.sort()),r},Dr=e=>({cache:Lr(e.cacheSize),parseClassName:Hr(e),...Mr(e)}),Gr=/\s+/,Fr=(e,r)=>{let{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:s}=r,o=[],i=e.trim().split(Gr),n="";for(let p=i.length-1;p>=0;p-=1){let u=i[p],{modifiers:f,hasImportantModifier:C,baseClassName:y,maybePostfixModifierPosition:N}=t(u),A=!!N,l=a(A?y.substring(0,N):y);if(!l){if(!A){n=u+(n.length>0?" "+n:n);continue}if(l=a(y),!l){n=u+(n.length>0?" "+n:n);continue}A=!1}let v=zr(f).join(":"),k=C?v+Ve:v,P=k+l;if(o.includes(P))continue;o.push(P);let D=s(l,A);for(let G=0;G<D.length;++G){let re=D[G];o.push(k+re)}n=u+(n.length>0?" "+n:n)}return n};function Ur(){let e=0,r,t,a="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Qe(r))&&(a&&(a+=" "),a+=t);return a}var Qe=e=>{if(typeof e=="string")return e;let r,t="";for(let a=0;a<e.length;a++)e[a]&&(r=Qe(e[a]))&&(t&&(t+=" "),t+=r);return t};function Or(e,...r){let t,a,s,o=i;function i(p){let u=r.reduce((f,C)=>C(f),e());return t=Dr(u),a=t.cache.get,s=t.cache.set,o=n,n(p)}function n(p){let u=a(p);if(u)return u;let f=Fr(p,t);return s(p,f),f}return function(){return o(Ur.apply(null,arguments))}}var g=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},_e=/^\[(?:([a-O-]+):)?(.+)\]$/i,jr=/^\O+\/\O+$/,Vr=new Set(["px","full","screen"]),Qr=/^(\O+(\.\O+)?)?(xs|sm|md|lg|xl)$/,_r=/\O+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(O|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Jr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Yr=/^(inset_)?-?((\O+)?\.?(\O+)[a-O]+|0)_-?((\O+)?\.?(\O+)[a-O]+|0)/,Kr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>_(e)||Vr.has(e)||jr.test(e),L=e=>J(e,"length",tt),_=e=>!!e&&!Number.isNaN(Number(e)),ke=e=>J(e,"number",_),$=e=>!!e&&Number.isInteger(Number(e)),Xr=e=>e.endsWith("%")&&_(e.slice(0,-1)),c=e=>_e.test(e),H=e=>Qr.test(e),qr=new Set(["length","size","percentage"]),$r=e=>J(e,qr,Je),Wr=e=>J(e,"position",Je),Zr=new Set(["image","url"]),et=e=>J(e,Zr,at),rt=e=>J(e,"",ot),W=()=>!0,J=(e,r,t)=>{let a=_e.exec(e);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):t(a[2]):!1},tt=e=>_r.test(e)&&!Jr.test(e),Je=()=>!1,ot=e=>Yr.test(e),at=e=>Kr.test(e);var st=()=>{let e=g("colors"),r=g("spacing"),t=g("blur"),a=g("brightness"),s=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),n=g("borderWidth"),p=g("contrast"),u=g("grayscale"),f=g("hueRotate"),C=g("invert"),y=g("gap"),N=g("gradientColorStops"),A=g("gradientColorStopPositions"),l=g("inset"),v=g("margin"),k=g("opacity"),P=g("padding"),D=g("saturate"),G=g("scale"),re=g("sepia"),Ie=g("skew"),Ee=g("space"),Le=g("translate"),ve=()=>["auto","contain","none"],xe=()=>["auto","hidden","clip","visible","scroll"],we=()=>["auto",c,r],h=()=>[c,r],He=()=>["",B,L],te=()=>["auto",_,c],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],De=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",c],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[_,c];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[B,L],blur:["none","",H,c],brightness:S(),borderColor:[e],borderRadius:["none","","full",H,c],borderSpacing:h(),borderWidth:He(),contrast:S(),grayscale:q(),hueRotate:S(),invert:q(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Xr,L],inset:we(),margin:we(),opacity:S(),padding:h(),saturate:S(),scale:S(),sepia:q(),skew:S(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...ze(),c]}],overflow:[{overflow:xe()}],"overflow-O":[{"overflow-O":xe()}],"overflow-y":[{"overflow-y":xe()}],overscroll:[{overscroll:ve()}],"overscroll-O":[{"overscroll-O":ve()}],"overscroll-y":[{"overscroll-y":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-O":[{"inset-O":[l]}],"inset-y":[{"inset-y":[l]}],start:[{start:[l]}],end:[{end:[l]}],top:[{top:[l]}],right:[{right:[l]}],bottom:[{bottom:[l]}],left:[{left:[l]}],visibility:["visible","invisible","collapse"],O:[{O:["auto",$,c]}],basis:[{basis:we()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",$,c]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",$,c]},c]}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[$,c]},c]}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[y]}],"gap-O":[{"gap-O":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...Ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],O:[{O:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],O:[{O:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-O":[{"space-O":[Ee]}],"space-O-reverse":["space-O-reverse"],"space-y":[{"space-y":[Ee]}],"space-y-reverse":["space-y-reverse"],O:[{O:["auto","min","max","fit","svw","lvw","dvw",c,r]}],"min-O":[{"min-O":[c,r,"min","max","fit"]}],"max-O":[{"max-O":[c,r,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[c,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,r,"auto","min","max","fit"]}],"font-size":[{text:["base",H,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ke]}],"font-family":[{font:[W]}],"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",c]}],"line-clamp":[{"line-clamp":["none",_,ke]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,L]}],"underline-offset":[{"underline-offset":["auto",B,c]}],"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:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ze(),Wr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","O","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$r]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-O":[{"rounded-O":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-O":[{border:[n]}],"border-O-O":[{"border-O":[n]}],"border-O-y":[{"border-y":[n]}],"border-O-s":[{"border-s":[n]}],"border-O-e":[{"border-e":[n]}],"border-O-t":[{"border-t":[n]}],"border-O-r":[{"border-r":[n]}],"border-O-b":[{"border-b":[n]}],"border-O-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-O":[{"divide-O":[n]}],"divide-O-reverse":["divide-O-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:oe()}],"border-color":[{border:[s]}],"border-color-O":[{"border-O":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[B,c]}],"outline-O":[{outline:[B,L]}],"outline-color":[{outline:[e]}],"ring-O":[{ring:He()}],"ring-O-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-O":[{"ring-offset":[B,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,rt]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...De(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":De()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",H,c]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[C]}],saturate:[{saturate:[D]}],sepia:[{sepia:[re]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[D]}],"backdrop-sepia":[{"backdrop-sepia":[re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-O":[{"border-spacing-O":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-O":[{"scale-O":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[$,c]}],"translate-O":[{"translate-O":[Le]}],"translate-y":[{"translate-y":[Le]}],"skew-O":[{"skew-O":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","O-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","O",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-O":[{"scroll-O":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-O":[{"scroll-O":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","O","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-O":[{"touch-pan":["O","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",c]}],fill:[{fill:[e,"none"]}],"stroke-O":[{stroke:[B,L,ke]}],stroke:[{stroke:[e,"none"]}],V:["V-only","not-V-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-O","overflow-y"],overscroll:["overscroll-O","overscroll-y"],inset:["inset-O","inset-y","start","end","top","right","bottom","left"],"inset-O":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-O","gap-y"],p:["px","py","ps","O","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],O:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["O","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-O","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-O"],"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-O","border-spacing-y"],"border-O":["border-O-s","border-O-e","border-O-t","border-O-r","border-O-b","border-O-l"],"border-O-O":["border-O-r","border-O-l"],"border-O-y":["border-O-t","border-O-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-O":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-O":["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-O","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-O","touch-y","touch-pz"],"touch-O":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ye=Or(st);function b(...e){return Ye((0,Ke.clsx)(e))}var O=require("react/jsx-runtime"),se=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("rounded-xl border bg-card text-card-foreground shadow",e),...r}));se.displayName="Card";var ne=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("flex flex-col space-y-1.5 p-6",e),...r}));ne.displayName="CardHeader";var ie=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("font-semibold leading-none tracking-tight",e),...r}));ie.displayName="CardTitle";var nt=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("text-sm text-muted-foreground",e),...r}));nt.displayName="CardDescription";var le=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("p-6 pt-0",e),...r}));le.displayName="CardContent";var it=U.forwardRef(({className:e,...r},t)=>(0,O.jsx)("div",{ref:t,className:b("flex items-center p-6 pt-0",e),...r}));it.displayName="CardFooter";var Xe=require("@radix-ui/react-slot"),qe=require("class-variance-authority"),$e=F(require("react")),lt=(0,qe.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 O-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),j=$e.forwardRef(({asChild:e=!1,className:r,size:t,variant:a,...s},o)=>(0,O.jsx)(e?Xe.Slot:"button",{className:b(lt({className:r,size:t,variant:a})),ref:o,...s}));j.displayName="Button";var ye=require("lucide-react");var V=require("react"),R=require("@headlessui/react"),de=require("@heroicons/react/24/outline"),Z=require("@heroicons/react/20/solid");var ct=({name:e,items:r,actions:t=[],href:a})=>!r&&a?(0,O.jsxs)("a",{href:a,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,O.jsx)("span",{className:"absolute bottom-0 left-1/2 O-1/2 h-0.5 bg-accent transform -translate-O-1/2 scale-O-0 transition-transform duration-300 ease-in-out group-hover:scale-O-100"})]}):(0,O.jsxs)(R.Popover,{children:[(0,O.jsxs)(R.PopoverButton,{className:"flex items-center gap-O-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,O.jsxs)("span",{className:"relative",children:[e,(0,O.jsx)("span",{className:"absolute bottom-0 left-1/2 O-1/2 h-0.5 bg-accent transform -translate-O-1/2 scale-O-0 transition-transform duration-300 ease-in-out group-hover:scale-O-100"})]}),(0,O.jsx)(Z.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 O-5 flex-none text-accent"})]}),(0,O.jsxs)(R.PopoverPanel,{transition:!0,className:"absolute inset-O-0 top-0 -O-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,O.jsx)("div",{className:"mx-auto grid max-O-7xl grid-cols-4 gap-O-4 px-6 py-10 lg:px-8 xl:gap-O-8 O-50",children:r&&r.map(s=>(0,O.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,O.jsx)("div",{className:"flex h-16 O-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,O.jsx)(s.icon,{"aria-hidden":"true",size:"6x"})}),(0,O.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,O.jsx)("span",{className:"absolute inset-0"})]}),(0,O.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),t.length>0&&(0,O.jsx)("div",{className:"bg-gray-50",children:(0,O.jsx)("div",{className:"mx-auto max-O-7xl px-6 lg:px-8",children:(0,O.jsx)("div",{className:"grid grid-cols-3 divide-O divide-gray-900/5 border-O border-gray-900/5",children:t.map(s=>(0,O.jsxs)("a",{href:s.href,className:"flex items-center justify-center gap-O-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,O.jsx)(s.icon,{"aria-hidden":"true",className:"h-5 O-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),er=ct;var ce=["light","dark","green"];function rr({title:e,logo:r,menuItems:t}){let[a,s]=(0,V.useState)(!1),[o,i]=(0,V.useState)(!1),[n,p]=(0,V.useState)("light"),u=r==null?void 0:r.split(".")[0],f=r==null?void 0:r.split(".")[1],[C,y]=(0,V.useState)(`${u}.${f}`),N=l=>{ce.includes(l)?y(l==="light"?`${u}.${f}`:`${u}-${l}.${f}`):y(`${u}.${f}`)};(0,V.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),p(l),document.documentElement.setAttribute("class",l),N(l)},[]);let A=()=>{let l=ce[(ce.indexOf(n)+1)%ce.length];p(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),N(l)};return(0,O.jsxs)("header",{className:"relative isolate O-10 bg-background h-14",children:[(0,O.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,O.jsx)("div",{className:"flex lg:flex-1",children:(0,O.jsxs)("a",{href:"#",className:"-O-1.5 p-1.5 outline-none",children:[(0,O.jsx)("span",{className:"V-only",children:e}),(0,O.jsx)("img",{alt:e,src:C,className:"h-9 O-auto"})]})}),(0,O.jsx)("div",{className:"flex lg:hidden",children:(0,O.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"-O-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,O.jsx)("span",{className:"V-only",children:"Open main menu"}),(0,O.jsx)(de.Bars3Icon,{"aria-hidden":"true",className:"h-6 O-6"})]})}),(0,O.jsx)(R.PopoverGroup,{className:"hidden lg:flex lg:gap-O-12",children:t.map(l=>(0,O.jsx)(er,{...l},l.name))}),(0,O.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,O.jsx)("button",{onClick:A,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,O.jsx)(Z.SunIcon,{className:"h-6 O-6"}):n==="green"?(0,O.jsx)(Z.MoonIcon,{className:"h-6 O-6"}):(0,O.jsx)(Z.SunIcon,{className:"h-6 O-6"})})})]}),(0,O.jsxs)(R.Dialog,{open:a,onClose:s,className:"lg:hidden",children:[(0,O.jsx)("div",{className:"fixed inset-0 O-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,O.jsxs)(R.DialogPanel,{className:"fixed inset-y-0 right-0 O-20 O-full overflow-y-auto bg-white px-6 py-6 sm:max-O-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,O.jsxs)("div",{className:"flex items-center justify-between",children:[(0,O.jsxs)("a",{href:"#",className:"-O-1.5 p-1.5 outline-none",children:[(0,O.jsx)("span",{className:"V-only",children:"Your Company"}),(0,O.jsx)("img",{alt:e,src:r,className:"h-8 O-auto"})]}),(0,O.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-O-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,O.jsx)("span",{className:"V-only",children:"Close menu"}),(0,O.jsx)(de.XMarkIcon,{"aria-hidden":"true",className:"h-6 O-6"})]})]}),(0,O.jsx)("div",{className:"mt-6 flow-root",children:(0,O.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,O.jsx)("div",{className:"space-y-2 py-6",children:t.map(l=>(0,O.jsx)(dt,{...l},l.name))})})})]})]})]})}function dt({name:e,items:r,actions:t,href:a}){return!r&&a?(0,O.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,O.jsxs)(R.Disclosure,{as:"div",className:"-mx-3",children:[(0,O.jsx)(R.DisclosureButton,{className:"group flex O-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,O.jsx)(R.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(s=>(0,O.jsx)(R.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:s.name},s.name))})]})}var tr=({className:e,content:r,style:t})=>(0,O.jsx)("div",{className:b("mx-auto my-8 O-full",e),children:(0,O.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,O.jsx)(M,{content:r,enableGutter:!1,enableProse:!1})})});var Pe=F(require("next/link")),K=e=>{let{type:r,appearance:t="inline",children:a,className:s,label:o,newTab:i,reference:n,size:p,url:u}=e,f=r==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:u;if(!f)return null;let C=t==="link"?"clear":p,y=i?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,O.jsxs)(Pe.default,{className:b(s),href:f||u||"",...y,children:[o&&o,a&&a]}):(0,O.jsx)(j,{asChild:!0,className:s,size:C,variant:t,children:(0,O.jsxs)(Pe.default,{className:b(s),href:f||u||"",...y,children:[o&&o,a&&a]})})};var or=({links:e,richText:r})=>(0,O.jsx)("div",{className:"container",children:(0,O.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,O.jsx)("div",{className:"max-O-[48rem] flex items-center",children:r&&(0,O.jsx)(M,{className:"mb-0",content:r,enableGutter:!1})}),(0,O.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},a)=>(0,O.jsx)(K,{size:"lg",...t},a))})]})});var me=require("prism-react-renderer");function nr({code:e}){let[r,t]=(0,V.useState)("Copy");function a(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,O.jsx)("div",{className:"flex justify-end align-middle",children:(0,O.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,O.jsx)("p",{children:r}),(0,O.jsx)("div",{className:"O-6 h-6 dark:invert",children:(0,O.jsx)(ye.ClipboardCopy,{})})]})})}var ir=({code:e,language:r=""})=>e?(0,O.jsx)(me.Highlight,{code:e,language:r,theme:me.themes.vsDark,children:({getLineProps:t,getTokenProps:a,tokens:s})=>(0,O.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-O-auto",children:[s.map((o,i)=>(0,O.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,O.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,O.jsx)("span",{className:"table-cell pl-4",children:o.map((n,p)=>(0,O.jsx)("span",{...a({token:n})},p))})]},i)),(0,O.jsx)(nr,{code:e})]})}):null;var lr=({className:e,code:r,language:t})=>(0,O.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,O.jsx)(ir,{code:r,language:t})});var dr=F(require("next/image"));var cr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ue=()=>{if(cr){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var pt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},mt="data:image/png;base64,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",pr=e=>{let{alt:r,fill:t,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:p}=e,u,f,C=r,y=n||"";if(!y&&o&&typeof o=="object"){let{alt:l,filename:v,height:k,url:P,width:D}=o;u=D,f=k,C=l||"",y=`${ue()}${P}`}let N=p||"lazy",A=i||Object.entries(pt).map(([,l])=>`(max-width: ${l}px) ${l*2}O`).join(", ");return(0,O.jsx)("picture",{children:(0,O.jsx)(dr.default,{alt:C||"",className:b(a),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:mt,priority:N!=="lazy"&&s,quality:100,loading:N,sizes:A,src:y,width:t?void 0:u})})};var mr=e=>{let{onClick:r,resource:t,videoClassName:a}=e,s=(0,V.useRef)(null);if((0,V.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,O.jsx)("video",{autoPlay:!0,className:b(a),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,O.jsx)("source",{src:`${ue()}/media/${o}`})})}return null};var X=e=>{var i;let{className:r,htmlElement:t="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,O.jsx)(t||V.Fragment,{...t!==null?{className:r}:{},children:s?(0,O.jsx)(mr,{...e}):(0,O.jsx)(pr,{...e})})};var fr=e=>{let{className:r,enableGutter:t=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,O.jsx)("div",{className:b("",{container:t},r),children:(0,O.jsx)(X,{imgClassName:b("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var be=F(require("react"));function Be({nodes:e}){return(0,O.jsx)(be.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,O.jsx)(be.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,O.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,O.jsx)("em",{children:o},t)),r.format&4&&(o=(0,O.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,O.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,O.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,O.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,O.jsx)("sup",{children:o},t)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Be({nodes:o.children})},s="children"in r?a(r):"";if(r.type==="block"){let o=r.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,O.jsx)(or,{...o},t);case"mediaBlock":return(0,O.jsx)(fr,{className:"col-start-1 col-span-3",imgClassName:"O-0",...o,captionClassName:"mx-auto max-O-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,O.jsx)(tr,{className:"col-start-2 mb-4",...o},t);case"code":return(0,O.jsx)(lr,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,O.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,O.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,O.jsx)(o,{className:"col-start-2",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,O.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,O.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,O.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,O.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,O.jsx)(K,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var M=({className:e,content:r,enableGutter:t=!0,enableProse:a=!0})=>{var s;return r?(0,O.jsx)("div",{className:b({"container ":t,"max-O-none":!t,"mx-auto prose dark:prose-invert ":a},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&Be({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null};var br=({children:e,richText:r})=>(0,O.jsx)("div",{className:"container mx-0 min-O-full py-8 bg-muted",children:(0,O.jsx)("div",{className:"max-O-[48rem] px-16",children:e||r&&(0,O.jsx)(M,{content:r,enableGutter:!1})})});var hr=F(require("next/image"));var yr=({links:e,media:r,children:t,richText:a})=>(0,O.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[r&&typeof r=="object"&&(0,O.jsx)(X,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:r}),r&&typeof r=="string"&&(0,O.jsx)("div",{children:(0,O.jsx)(hr.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:r})}),(0,O.jsx)("div",{className:"container mx-0 min-O-full relative O-9",children:(0,O.jsx)("div",{className:"text-brand-one-foreground px-16",children:t||a&&(0,O.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var vr=F(require("next/image"));var xr=({links:e,media:r,children:t,richText:a})=>(0,O.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[(0,O.jsx)("div",{className:"container mb-8 O-10 relative flex items-center justify-center",children:(0,O.jsxs)("div",{className:"max-O-[36.5rem] text-center",children:[t||a&&(0,O.jsx)(M,{className:"mb-6",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,O.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,O.jsx)("li",{children:(0,O.jsx)(K,{...s})},o))})]})}),(0,O.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r=="object"&&(0,O.jsx)(X,{fill:!0,imgClassName:"-O-10 object-cover",priority:!1,loading:"lazy",resource:r}),r&&typeof r=="string"&&(0,O.jsx)("div",{children:(0,O.jsx)(vr.default,{className:"-O-10 object-cover",alt:"",fill:!0,priority:!0,src:r})})]})]});function wr({...e}){return(0,O.jsxs)("div",{className:"flex fixed flex-col O-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,O.jsx)(rr,{...e.header}),(0,O.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,O.jsx)(br,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,O.jsx)(yr,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,O.jsx)(xr,{...e.hero}),(0,O.jsx)("div",{className:"container py-8",children:(0,O.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,O.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,O.jsxs)("div",{className:"space-y-6",children:[(0,O.jsxs)(se,{children:[(0,O.jsx)(ne,{children:(0,O.jsx)(ie,{children:"Quick Actions"})}),(0,O.jsxs)(le,{children:[(0,O.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,O.jsx)(j,{className:"O-full",children:"Create New"})]})]}),(0,O.jsxs)(se,{children:[(0,O.jsx)(ne,{children:(0,O.jsx)(ie,{children:"Resources"})}),(0,O.jsx)(le,{children:(0,O.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,O.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,O.jsx)(ye.ExternalLink,{className:"ml-1 h-3 O-3"})]}),(0,O.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,O.jsx)(ye.ExternalLink,{className:"ml-1 h-3 O-3"})]}),(0,O.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,O.jsx)(ye.ExternalLink,{className:"ml-1 h-3 O-3"})]})]})})]})]})]})})]})]})}
|
|
4
|
+
"use strict";"use client";var Pt=Object.create;var ne=Object.defineProperty;var Rt=Object.getOwnPropertyDescriptor;var Tt=Object.getOwnPropertyNames;var Mt=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)ne(e,r,{get:t[r],enumerable:!0})},Oe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Tt(t))!St.call(e,s)&&s!==r&&ne(e,s,{get:()=>t[s],enumerable:!(a=Rt(t,s))||a.enumerable});return e};var H=(e,t,r)=>(r=e!=null?Pt(Mt(e)):{},Oe(t||!e||!e.__esModule?ne(r,"default",{value:e,enumerable:!0}):r,e)),It=e=>Oe(ne({},"__esModule",{value:!0}),e);var hr={};Bt(hr,{default:()=>At});module.exports=It(hr);var j=H(require("react"));var Xe=require("clsx");var Re="-",Et=e=>{let t=Ht(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(Re);return n[0]===""&&n.length!==1&&n.shift(),Qe(n,t)||Lt(i)},getConflictingClassGroupIds:(i,n)=>{let p=r[i]||[];return n&&a[i]?[...p,...a[i]]:p}}},Qe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?Qe(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Re);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},je=/^\[(.+)\]$/,Lt=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ht=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Pe(i,a,o,t)}),a},Pe=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ve(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(zt(s)){Pe(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{Pe(i,Ve(t,o),r,a)})})},Ve=(e,t)=>{let r=e;return t.split(Re).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},zt=e=>e.isThemeGetter,Dt=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,Ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ye="!",Gt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let p=[],m=0,u=0,N;for(let x=0;x<n.length;x++){let k=n[x];if(m===0){if(k===s&&(a||n.slice(x,x+o)===t)){p.push(n.slice(u,x)),u=x+o;continue}if(k==="/"){N=x;continue}}k==="["?m++:k==="]"&&m--}let v=p.length===0?n:n.substring(u),A=v.startsWith(Ye),P=A?v.substring(1):v,l=N&&N>u?N-u:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:l}};return r?n=>r({className:n,parseClassName:i}):i},Ut=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Ot=e=>({cache:Ft(e.cacheSize),parseClassName:Gt(e),...Et(e)}),jt=/\s+/,Vt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(jt),n="";for(let p=i.length-1;p>=0;p-=1){let m=i[p],{modifiers:u,hasImportantModifier:N,baseClassName:v,maybePostfixModifierPosition:A}=r(m),P=!!A,l=a(P?v.substring(0,A):v);if(!l){if(!P){n=m+(n.length>0?" "+n:n);continue}if(l=a(v),!l){n=m+(n.length>0?" "+n:n);continue}P=!1}let x=Ut(u).join(":"),k=N?x+Ye:x,R=k+l;if(o.includes(R))continue;o.push(R);let U=s(l,P);for(let O=0;O<U.length;++O){let oe=U[O];o.push(k+oe)}n=m+(n.length>0?" "+n:n)}return n};function Qt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=_e(t))&&(a&&(a+=" "),a+=r);return a}var _e=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=_e(e[a]))&&(r&&(r+=" "),r+=t);return r};function Yt(e,...t){let r,a,s,o=i;function i(p){let m=t.reduce((u,N)=>N(u),e());return r=Ot(m),a=r.cache.get,s=r.cache.set,o=n,n(p)}function n(p){let m=a(p);if(m)return m;let u=Vt(p,r);return s(p,u),u}return function(){return o(Qt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-z-]+):)?(.+)\]$/i,_t=/^\V+\/\V+$/,Jt=new Set(["px","full","screen"]),$t=/^(\V+(\.\V+)?)?(xs|sm|md|lg|xl)$/,Kt=/\V+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(V|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\V+)?\.?(\V+)[a-z]+|0)V-?((\V+)?\.?(\V+)[a-z]+|0)/,Wt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>$(e)||Jt.has(e)||_t.test(e),z=e=>K(e,"length",nr),$=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>K(e,"number",$),Z=e=>!!e&&Number.isInteger(Number(e)),Zt=e=>e.endsWith("%")&&$(e.slice(0,-1)),c=e=>Je.test(e),D=e=>$t.test(e),er=new Set(["length","size","percentage"]),tr=e=>K(e,er,$e),rr=e=>K(e,"position",$e),or=new Set(["image","url"]),ar=e=>K(e,or,lr),sr=e=>K(e,"",ir),ee=()=>!0,K=(e,t,r)=>{let a=Je.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},nr=e=>Kt.test(e)&&!Xt.test(e),$e=()=>!1,ir=e=>qt.test(e),lr=e=>Wt.test(e);var cr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),s=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),n=g("borderWidth"),p=g("contrast"),m=g("grayscale"),u=g("hueRotate"),N=g("invert"),v=g("gap"),A=g("gradientColorStops"),P=g("gradientColorStopPositions"),l=g("inset"),x=g("margin"),k=g("opacity"),R=g("padding"),U=g("saturate"),O=g("scale"),oe=g("sepia"),Le=g("skew"),He=g("space"),ze=g("translate"),we=()=>["auto","contain","none"],Ce=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",c,t],h=()=>[c,t],De=()=>["",I,z],ae=()=>["auto",$,c],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],Ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",c],Ue=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[$,c];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[I,z],blur:["none","",D,c],brightness:B(),borderColor:[e],borderRadius:["none","","full",D,c],borderSpacing:h(),borderWidth:De(),contrast:B(),grayscale:W(),hueRotate:B(),invert:W(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Zt,z],inset:Ne(),margin:Ne(),opacity:B(),padding:h(),saturate:B(),scale:B(),sepia:W(),skew:B(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":Ue()}],"break-before":[{"break-before":Ue()}],"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:[...Fe(),c]}],overflow:[{overflow:Ce()}],"overflow-x":[{"overflow-x":Ce()}],"overflow-V":[{"overflow-V":Ce()}],overscroll:[{overscroll:we()}],"overscroll-x":[{"overscroll-x":we()}],"overscroll-V":[{"overscroll-V":we()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-x":[{"inset-x":[l]}],"inset-V":[{"inset-V":[l]}],start:[{start:[l]}],end:[{end:[l]}],top:[{top:[l]}],right:[{right:[l]}],bottom:[{bottom:[l]}],left:[{left:[l]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,c]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Z,c]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,c]},c]}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,c]},c]}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-V":[{"gap-V":[v]}],"justify-content":[{justify:["normal",...ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[He]}],"space-x-reverse":["space-x-reverse"],"space-V":[{"space-V":[He]}],"space-V-reverse":["space-V-reverse"],V:[{V:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-V":[{"min-V":[c,t,"min","max","fit"]}],"max-V":[{"max-V":[c,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ae]}],"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",c]}],"line-clamp":[{"line-clamp":["none",$,Ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,z]}],"underline-offset":[{"underline-offset":["auto",I,c]}],"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:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","V","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",tr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ar]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-V":[{border:[n]}],"border-V-x":[{"border-x":[n]}],"border-V-V":[{"border-V":[n]}],"border-V-s":[{"border-s":[n]}],"border-V-e":[{"border-e":[n]}],"border-V-t":[{"border-t":[n]}],"border-V-r":[{"border-r":[n]}],"border-V-b":[{"border-b":[n]}],"border-V-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...se(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-V":[{"divide-V":[n]}],"divide-V-reverse":["divide-V-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:se()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-V":[{"border-V":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[I,c]}],"outline-V":[{outline:[I,z]}],"outline-color":[{outline:[e]}],"ring-V":[{ring:De()}],"ring-V-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-V":[{"ring-offset":[I,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,sr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",D,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[N]}],saturate:[{saturate:[U]}],sepia:[{sepia:[oe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-V":[{"border-spacing-V":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-V":[{"scale-V":[O]}],rotate:[{rotate:[Z,c]}],"translate-x":[{"translate-x":[ze]}],"translate-V":[{"translate-V":[ze]}],"skew-x":[{"skew-x":[Le]}],"skew-V":[{"skew-V":[Le]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","V-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","V","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","V","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-V":[{"touch-pan":["V","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-V":[{stroke:[I,z,Ae]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-V"],overscroll:["overscroll-x","overscroll-V"],inset:["inset-x","inset-V","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-V":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-V"],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:["V","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-V"],"border-V":["border-V-s","border-V-e","border-V-t","border-V-r","border-V-b","border-V-l"],"border-V-x":["border-V-r","border-V-l"],"border-V-V":["border-V-t","border-V-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-V":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-V","touch-pz"],"touch-x":["touch"],"touch-V":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Yt(cr);function b(...e){return Ke((0,Xe.clsx)(e))}var V=require("react/jsx-runtime"),ie=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ie.displayName="Card";var le=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("flex flex-col space-V-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var dr=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("text-sm text-muted-foreground",e),...t}));dr.displayName="CardDescription";var de=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("p-6 pt-0",e),...t}));de.displayName="CardContent";var pr=j.forwardRef(({className:e,...t},r)=>(0,V.jsx)("div",{ref:r,className:b("flex items-center p-6 pt-0",e),...t}));pr.displayName="CardFooter";var qe=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ze=H(require("react")),mr=(0,We.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 V-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Q=Ze.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,V.jsx)(e?qe.Slot:"button",{className:b(mr({className:t,size:r,variant:a})),ref:o,...s}));Q.displayName="Button";var xe=require("lucide-react");var Y=require("react"),M=require("@headlessui/react"),me=require("@heroicons/react/24/outline"),te=require("@heroicons/react/20/solid");var ur=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,V.jsxs)("a",{href:a,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,V.jsx)("span",{className:"absolute bottom-0 left-1/2 V-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,V.jsxs)(M.Popover,{children:[(0,V.jsxs)(M.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,V.jsxs)("span",{className:"relative",children:[e,(0,V.jsx)("span",{className:"absolute bottom-0 left-1/2 V-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,V.jsx)(te.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 V-5 flex-none text-accent"})]}),(0,V.jsxs)(M.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-V-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,V.jsx)("div",{className:"mx-auto grid max-V-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(s=>(0,V.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,V.jsx)("div",{className:"flex h-16 V-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,V.jsx)(s.icon,{"aria-hidden":"true",size:"6x"})}),(0,V.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,V.jsx)("span",{className:"absolute inset-0"})]}),(0,V.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,V.jsx)("div",{className:"bg-gray-50",children:(0,V.jsx)("div",{className:"mx-auto max-V-7xl px-6 lg:px-8",children:(0,V.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,V.jsxs)("a",{href:s.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,V.jsx)(s.icon,{"aria-hidden":"true",className:"h-5 V-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),rt=ur;var pe=["light","dark","green"];function ot({title:e,logo:t,menuItems:r}){let[a,s]=(0,Y.useState)(!1),[o,i]=(0,Y.useState)(!1),[n,p]=(0,Y.useState)("light"),m=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[N,v]=(0,Y.useState)(`${m}.${u}`),A=l=>{pe.includes(l)?v(l==="light"?`${m}.${u}`:`${m}-${l}.${u}`):v(`${m}.${u}`)};(0,Y.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),p(l),document.documentElement.setAttribute("class",l),A(l)},[]);let P=()=>{let l=pe[(pe.indexOf(n)+1)%pe.length];p(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),A(l)};return(0,V.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,V.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,V.jsx)("div",{className:"flex lg:flex-1",children:(0,V.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,V.jsx)("span",{className:"sr-only",children:e}),(0,V.jsx)("img",{alt:e,src:N,className:"h-9 V-auto"})]})}),(0,V.jsx)("div",{className:"flex lg:hidden",children:(0,V.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,V.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,V.jsx)(me.Bars3Icon,{"aria-hidden":"true",className:"h-6 V-6"})]})}),(0,V.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(l=>(0,V.jsx)(rt,{...l},l.name))}),(0,V.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,V.jsx)("button",{onClick:P,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,V.jsx)(te.SunIcon,{className:"h-6 V-6"}):n==="green"?(0,V.jsx)(te.MoonIcon,{className:"h-6 V-6"}):(0,V.jsx)(te.SunIcon,{className:"h-6 V-6"})})})]}),(0,V.jsxs)(M.Dialog,{open:a,onClose:s,className:"lg:hidden",children:[(0,V.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,V.jsxs)(M.DialogPanel,{className:"fixed inset-V-0 right-0 z-20 V-full overflow-V-auto bg-white px-6 py-6 sm:max-V-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,V.jsxs)("div",{className:"flex items-center justify-between",children:[(0,V.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,V.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,V.jsx)("img",{alt:e,src:t,className:"h-8 V-auto"})]}),(0,V.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,V.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,V.jsx)(me.XMarkIcon,{"aria-hidden":"true",className:"h-6 V-6"})]})]}),(0,V.jsx)("div",{className:"mt-6 flow-root",children:(0,V.jsx)("div",{className:"-my-6 divide-V divide-gray-500/10",children:(0,V.jsx)("div",{className:"space-V-2 py-6",children:r.map(l=>(0,V.jsx)(fr,{...l},l.name))})})})]})]})]})}function fr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,V.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,V.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,V.jsx)(M.DisclosureButton,{className:"group flex V-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,V.jsx)(M.DisclosurePanel,{className:"mt-2 space-V-2",children:t&&t.map(s=>(0,V.jsx)(M.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:s.name},s.name))})]})}var at=({className:e,content:t,style:r})=>(0,V.jsx)("div",{className:b("mx-auto my-8 V-full",e),children:(0,V.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,V.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var Te=H(require("next/link")),q=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:p,url:m}=e,u=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:m;if(!u)return null;let N=r==="link"?"clear":p,v=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,V.jsxs)(Te.default,{className:b(s),href:u||m||"",...v,children:[o&&o,a&&a]}):(0,V.jsx)(Q,{asChild:!0,className:s,size:N,variant:r,children:(0,V.jsxs)(Te.default,{className:b(s),href:u||m||"",...v,children:[o&&o,a&&a]})})};var st=({links:e,richText:t})=>(0,V.jsx)("div",{className:"container",children:(0,V.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,V.jsx)("div",{className:"max-V-[48rem] flex items-center",children:t&&(0,V.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,V.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,V.jsx)(q,{size:"lg",...r},a))})]})});var fe=require("prism-react-renderer");function lt({code:e}){let[t,r]=(0,Y.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,V.jsx)("div",{className:"flex justify-end align-middle",children:(0,V.jsxs)(Q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,V.jsx)("p",{children:t}),(0,V.jsx)("div",{className:"V-6 h-6 dark:invert",children:(0,V.jsx)(xe.ClipboardCopy,{})})]})})}var ct=({code:e,language:t=""})=>e?(0,V.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,V.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,V.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,V.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,V.jsx)("span",{className:"table-cell pl-4",children:o.map((n,p)=>(0,V.jsx)("span",{...a({token:n})},p))})]},i)),(0,V.jsx)(lt,{code:e})]})}):null;var dt=({className:e,code:t,language:r})=>(0,V.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,V.jsx)(ct,{code:t,language:r})});var mt=H(require("next/image"));var pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ge=()=>{if(pt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var gr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},br="data:image/png;base64,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",ut=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:p}=e,m,u,N=t,v=n||"";if(!v&&o&&typeof o=="object"){let{alt:l,filename:x,height:k,url:R,width:U}=o;m=U,u=k,N=l||"",v=`${ge()}${R}`}let A=p||"lazy",P=i||Object.entries(gr).map(([,l])=>`(max-width: ${l}px) ${l*2}V`).join(", ");return(0,V.jsx)("picture",{children:(0,V.jsx)(mt.default,{alt:N||"",className:b(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:br,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:P,src:v,width:r?void 0:m})})};var ft=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,Y.useRef)(null);if((0,Y.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,V.jsx)("video",{autoPlay:!0,className:b(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,V.jsx)("source",{src:`${ge()}/media/${o}`})})}return null};var G=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,V.jsx)(r||Y.Fragment,{...r!==null?{className:t}:{},children:s?(0,V.jsx)(ft,{...e}):(0,V.jsx)(ut,{...e})})};var bt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,V.jsx)("div",{className:b("",{container:r},t),children:(0,V.jsx)(G,{imgClassName:b("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var ye=H(require("react"));function Ee({nodes:e}){return(0,V.jsx)(ye.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,V.jsx)(ye.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,V.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,V.jsx)("em",{children:o},r)),t.format&4&&(o=(0,V.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,V.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,V.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,V.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,V.jsx)("sup",{children:o},r)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ee({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,V.jsx)(st,{...o},r);case"mediaBlock":return(0,V.jsx)(bt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-V-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,V.jsx)(at,{className:"col-start-2 mb-4",...o},r);case"code":return(0,V.jsx)(dt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,V.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,V.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,V.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,V.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,V.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,V.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,V.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,V.jsx)(q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,V.jsx)("div",{className:b({"container ":r,"max-V-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ee({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var yt=({children:e,richText:t})=>(0,V.jsx)("div",{className:"min-V-full py-8 bg-muted",children:(0,V.jsx)("div",{className:"container",children:e||t&&(0,V.jsx)(S,{content:t,enableGutter:!1})})});var vt=H(require("next/image"));var xt=({links:e,media:t,children:r,richText:a})=>(0,V.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[t&&typeof t=="object"&&(0,V.jsx)(G,{imgClassName:"mix-blend-overlay opacity-50",fill:!0,priority:!0,resource:t}),t&&typeof t=="string"&&(0,V.jsx)("div",{children:(0,V.jsx)(vt.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:t})}),(0,V.jsx)("div",{className:"mx-0 min-V-full relative z-9",children:(0,V.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,V.jsx)(S,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var wt=H(require("next/image"));var Ct=({links:e,media:t,children:r,richText:a})=>(0,V.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-center justify-center text-white","data-theme":"dark",children:[(0,V.jsx)("div",{className:"container mb-8 z-10 relative flex items-center justify-center",children:(0,V.jsxs)("div",{className:"max-V-[36.5rem] text-center",children:[r||a&&(0,V.jsx)(S,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,V.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},o)=>(0,V.jsx)("li",{children:(0,V.jsx)(q,{...s})},o))})]})}),(0,V.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,V.jsx)(G,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,V.jsx)("div",{children:(0,V.jsx)(wt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,V.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-accent-900/0 dark:to-accent-900"})]})]});var Nt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),s=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=s<10?`0${s}`:s,n=r.getFullYear();return`${o}/${i}/${n}`};var J=H(require("react"));var kt=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:s,title:o}=e;return(0,V.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,V.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-white pb-8",children:(0,V.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,V.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((i,n)=>{if(typeof i=="object"&&i!==null){let{title:p}=i,m=p||"Untitled category",u=n===t.length-1;return(0,V.jsxs)(J.default.Fragment,{children:[m,!u&&(0,V.jsx)(J.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,V.jsx)("div",{className:"",children:(0,V.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,V.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,V.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,V.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,V.jsx)("p",{className:"text-sm",children:"Author"}),a.map((i,n)=>{let{name:p}=i,m=n===a.length-1,u=n===a.length-2;return(0,V.jsxs)(J.default.Fragment,{children:[p,u&&a.length>2&&(0,V.jsx)(J.default.Fragment,{children:", "}),u&&a.length===2&&(0,V.jsx)(J.default.Fragment,{children:" "}),!m&&a.length>1&&(0,V.jsx)(J.default.Fragment,{children:"and "})]},n)})]})}),s&&(0,V.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,V.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,V.jsx)("time",{dateTime:s,children:Nt(s)})]})]})]})}),(0,V.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,V.jsx)(G,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),(0,V.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 V-full h-1/2 bg-gradient-to-t from-black to-transparent"})]})]})};function At({...e}){return(0,V.jsxs)("div",{className:"flex fixed flex-col V-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,V.jsx)(ot,{...e.header}),(0,V.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,V.jsx)(yt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,V.jsx)(xt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,V.jsx)(Ct,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,V.jsx)(kt,{...e.hero}),(0,V.jsx)("div",{className:"container py-8",children:(0,V.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,V.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,V.jsxs)("div",{className:"space-V-6",children:[(0,V.jsxs)(ie,{children:[(0,V.jsx)(le,{children:(0,V.jsx)(ce,{children:"Quick Actions"})}),(0,V.jsxs)(de,{children:[(0,V.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,V.jsx)(Q,{className:"V-full",children:"Create New"})]})]}),(0,V.jsxs)(ie,{children:[(0,V.jsx)(le,{children:(0,V.jsx)(ce,{children:"Resources"})}),(0,V.jsx)(de,{children:(0,V.jsxs)("nav",{className:"flex flex-col space-V-2",children:[(0,V.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,V.jsx)(xe.ExternalLink,{className:"ml-1 h-3 V-3"})]}),(0,V.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,V.jsx)(xe.ExternalLink,{className:"ml-1 h-3 V-3"})]}),(0,V.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,V.jsx)(xe.ExternalLink,{className:"ml-1 h-3 V-3"})]})]})})]})]})]})})]})]})}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-A5OBDLSS.mjs";import"../../chunk-LBXZO7YT.mjs";import"../../chunk-SPDBC32Z.mjs";import"../../chunk-PTX3WDAE.mjs";import"../../chunk-Z4MPZSVH.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-Q5NQ35NR.mjs";import"../../chunk-YCT3EQRB.mjs";import"../../chunk-3ZEL6VBT.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-JUV4GZ2N.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|