cortex-react-components 1.25.2 → 1.26.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-NBRHJ7Y2.mjs → chunk-2XVPLL7I.mjs} +1 -1
- package/dist/{chunk-P37IFSET.mjs → chunk-3QUYIQID.mjs} +1 -1
- package/dist/chunk-3U4TZZH4.mjs +1 -0
- package/dist/{chunk-TDEZBNLK.mjs → chunk-7TWF6ZKG.mjs} +1 -1
- package/dist/{chunk-QKKUK5BA.mjs → chunk-AJJSMHCV.mjs} +1 -1
- package/dist/{chunk-VQWGXZ5A.mjs → chunk-CS77R54Z.mjs} +1 -1
- package/dist/{chunk-5SXGF2ZO.mjs → chunk-FIB3LSLI.mjs} +1 -1
- package/dist/{chunk-GCBC75DA.mjs → chunk-IMAQJ7N3.mjs} +1 -1
- package/dist/{chunk-C4W4JBZN.mjs → chunk-KUZI6GLM.mjs} +1 -1
- package/dist/{chunk-YNHFCSLI.mjs → chunk-LC33XSZX.mjs} +1 -1
- package/dist/{chunk-C6AJFTGS.mjs → chunk-MXCUC35X.mjs} +1 -1
- package/dist/{chunk-VWW6LZVB.mjs → chunk-PPSZJ5D7.mjs} +1 -1
- package/dist/{chunk-BQ3VPYUD.mjs → chunk-QUCLTQO6.mjs} +1 -1
- package/dist/{chunk-SABHLBUI.mjs → chunk-SFLOMJ2U.mjs} +1 -1
- package/dist/{chunk-343CWVUF.mjs → chunk-SYVKYRZO.mjs} +1 -1
- package/dist/{chunk-56XJMQVR.mjs → chunk-UZ2XYB7D.mjs} +1 -1
- package/dist/{chunk-CKWBZBCA.mjs → chunk-X6N2L5MB.mjs} +1 -1
- package/dist/{chunk-WWXGKYL4.mjs → chunk-ZWKWU7U4.mjs} +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/Insight.stories.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- 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/HeaderMenu.d.ts +3 -2
- package/dist/components/HeaderFooter/HeaderMenu.js +4 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Images/DynamicIcon.d.ts +1 -1
- package/dist/components/Images/DynamicIcon.js +1 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/DynamicIcon.stories.js +1 -1
- package/dist/components/Images/DynamicIcon.stories.mjs +1 -1
- package/dist/components/Images/index.js +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +179 -179
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +179 -179
- 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.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +191 -191
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +180 -180
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +180 -180
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-HGT54DGN.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../../chunk-
|
|
1
|
+
import{a as n}from"../../chunk-3QUYIQID.mjs";import{a as s}from"../../chunk-PAG346RY.mjs";import"../../chunk-4DJ6HKHR.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-SYVKYRZO.mjs";import"../../chunk-QUCLTQO6.mjs";import"../../chunk-AJJSMHCV.mjs";import"../../chunk-PPSZJ5D7.mjs";import"../../chunk-3U4TZZH4.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-I2GY5WTT.mjs";import"../../chunk-CS77R54Z.mjs";import"../../chunk-Z4CK655R.mjs";import"../../chunk-HAYRX2WO.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-YNNW2C2U.mjs";import{a as t}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import{c as a}from"../../chunk-D2WXBUVJ.mjs";var i=a(s());import{PhoneIcon as c,PlayCircleIcon as d,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{ChartPieIcon as u,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as e,jsxs as l}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var g=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),b=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),I={title:"Pages/LandingPage",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})]},y=o=>e(n,{...o}),r={render:y,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:l("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:"Storage Service",subtitle:"A scalable object storage service that offers industry-leading performance, security, and availability.",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:f},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:g},{name:"Products",description:"Products that we sell",href:"#",icon:b}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:u},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:c},{name:"View all products",href:"#",icon:m}]},{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)()}}},A={args:{...r.args,header:{title:"Page Title",subtitle:l("div",{children:[e("p",{className:"text-xl font-bold",children:"A load of text here"}),e("br",{}),e("p",{className:"text-2xl font-bold",children:"A load more text here"})]})}}},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"}},C={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,C as HighImpactHero,A as HtmlSubtitle,P as MediumImpactHero,_ as PostHero,I as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Tt=Object.create;var se=Object.defineProperty;var Rt=Object.getOwnPropertyDescriptor;var St=Object.getOwnPropertyNames;var Mt=Object.getPrototypeOf,Bt=Object.prototype.hasOwnProperty;var It=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},je=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of St(t))!Bt.call(e,n)&&n!==r&&se(e,n,{get:()=>t[n],enumerable:!(a=Rt(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?Tt(Mt(e)):{},je(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),Dt=e=>je(se({},"__esModule",{value:!0}),e);var vr={};It(vr,{default:()=>Pt});module.exports=Dt(vr);var O=D(require("react"));var We=require("clsx");var Re="-",Et=e=>{let t=Ft(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Re);return s[0]===""&&s.length!==1&&s.shift(),Qe(s,t)||Lt(i)},getConflictingClassGroupIds:(i,s)=>{let p=r[i]||[];return s&&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),n=a?Qe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Re);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},$e=/^\[(.+)\]$/,Lt=e=>{if($e.test(e)){let t=$e.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ft=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return zt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Te(i,a,o,t)}),a},Te=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ve(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ht(n)){Te(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Te(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},Ht=e=>e.isThemeGetter,zt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,Gt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(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 n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Ye="!",Ut=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let p=[],m=0,u=0,C;for(let k=0;k<s.length;k++){let N=s[k];if(m===0){if(N===n&&(a||s.slice(k,k+o)===t)){p.push(s.slice(u,k)),u=k+o;continue}if(N==="/"){C=k;continue}}N==="["?m++:N==="]"&&m--}let w=p.length===0?s:s.substring(u),A=w.startsWith(Ye),P=A?w.substring(1):w,l=C&&C>u?C-u:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:l}};return r?s=>r({className:s,parseClassName:i}):i},Ot=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},jt=e=>({cache:Gt(e.cacheSize),parseClassName:Ut(e),...Et(e)}),$t=/\s+/,Vt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split($t),s="";for(let p=i.length-1;p>=0;p-=1){let m=i[p],{modifiers:u,hasImportantModifier:C,baseClassName:w,maybePostfixModifierPosition:A}=r(m),P=!!A,l=a(P?w.substring(0,A):w);if(!l){if(!P){s=m+(s.length>0?" "+s:s);continue}if(l=a(w),!l){s=m+(s.length>0?" "+s:s);continue}P=!1}let k=Ot(u).join(":"),N=C?k+Ye:k,T=N+l;if(o.includes(T))continue;o.push(T);let G=n(l,P);for(let U=0;U<G.length;++U){let oe=G[U];o.push(N+oe)}s=m+(s.length>0?" "+s:s)}return s};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,n,o=i;function i(p){let m=t.reduce((u,C)=>C(u),e());return r=jt(m),a=r.cache.get,n=r.cache.set,o=s,s(p)}function s(p){let m=a(p);if(m)return m;let u=Vt(p,r);return n(p,u),u}return function(){return o(Qt.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-j-]+):)?(.+)\]$/i,_t=/^\j+\/\j+$/,Jt=new Set(["px","full","screen"]),Kt=/^(\j+(\.\j+)?)?(xs|sm|md|lg|xl)$/,Xt=/\j+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\j+)?\.?(\j+)[a-j]+|0)_-?((\j+)?\.?(\j+)[a-j]+|0)/,Zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>_(e)||Jt.has(e)||_t.test(e),F=e=>J(e,"length",ir),_=e=>!!e&&!Number.isNaN(Number(e)),Pe=e=>J(e,"number",_),Z=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&_(e.slice(0,-1)),c=e=>Je.test(e),H=e=>Kt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>J(e,tr,Ke),or=e=>J(e,"position",Ke),ar=new Set(["image","url"]),nr=e=>J(e,ar,cr),sr=e=>J(e,"",lr),ee=()=>!0,J=(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},ir=e=>Xt.test(e)&&!Wt.test(e),Ke=()=>!1,lr=e=>qt.test(e),cr=e=>Zt.test(e);var dr=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),a=h("brightness"),n=h("borderColor"),o=h("borderRadius"),i=h("borderSpacing"),s=h("borderWidth"),p=h("contrast"),m=h("grayscale"),u=h("hueRotate"),C=h("invert"),w=h("gap"),A=h("gradientColorStops"),P=h("gradientColorStopPositions"),l=h("inset"),k=h("margin"),N=h("opacity"),T=h("padding"),G=h("saturate"),U=h("scale"),oe=h("sepia"),Le=h("skew"),Fe=h("space"),He=h("translate"),ke=()=>["auto","contain","none"],Ce=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",c,t],v=()=>[c,t],ze=()=>["",E,F],ae=()=>["auto",_,c],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],Ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",c],Oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[_,c];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[E,F],blur:["none","",H,c],brightness:I(),borderColor:[e],borderRadius:["none","","full",H,c],borderSpacing:v(),borderWidth:ze(),contrast:I(),grayscale:q(),hueRotate:I(),invert:q(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[er,F],inset:Ne(),margin:Ne(),opacity:I(),padding:v(),saturate:I(),scale:I(),sepia:q(),skew:I(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":Oe()}],"break-before":[{"break-before":Oe()}],"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:[...Ge(),c]}],overflow:[{overflow:Ce()}],"overflow-j":[{"overflow-j":Ce()}],"overflow-y":[{"overflow-y":Ce()}],overscroll:[{overscroll:ke()}],"overscroll-j":[{"overscroll-j":ke()}],"overscroll-y":[{"overscroll-y":ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-j":[{"inset-j":[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"],j:[{j:["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:q()}],shrink:[{shrink:q()}],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:[w]}],"gap-j":[{"gap-j":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-j":[{"space-j":[Fe]}],"space-j-reverse":["space-j-reverse"],"space-y":[{"space-y":[Fe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],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",H,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pe]}],"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",_,Pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,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":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,F]}],"underline-offset":[{"underline-offset":["auto",E,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:v()}],"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":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","j","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},nr]}],"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-j":[{"rounded-j":[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-w":[{border:[s]}],"border-w-j":[{"border-j":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-j":[{"border-j":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-j":[{"divide-j":[s]}],"divide-j-reverse":["divide-j-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:ne()}],"border-color":[{border:[n]}],"border-color-j":[{"border-j":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[E,c]}],"outline-w":[{outline:[E,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[E,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,sr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",H,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[C]}],saturate:[{saturate:[G]}],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":[C]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-j":[{"border-spacing-j":[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:I()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-j":[{"scale-j":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[Z,c]}],"translate-j":[{"translate-j":[He]}],"translate-y":[{"translate-y":[He]}],"skew-j":[{"skew-j":[Le]}],"skew-y":[{"skew-y":[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","w-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","j",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","j","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-j":[{"touch-pan":["j","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-w":[{stroke:[E,F,Pe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-j","overflow-y"],overscroll:["overscroll-j","overscroll-y"],inset:["inset-j","inset-y","start","end","top","right","bottom","left"],"inset-j":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-j","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-j","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-j":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-j","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-j","border-w-l"],"border-w-j":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-j":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"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-j","touch-y","touch-pz"],"touch-j":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Xe=Yt(dr);function y(...e){return Xe((0,We.clsx)(e))}var j=require("react/jsx-runtime"),ie=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ie.displayName="Card";var le=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var pr=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));pr.displayName="CardDescription";var de=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("p-6 pt-0",e),...t}));de.displayName="CardContent";var mr=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:y("flex items-center p-6 pt-0",e),...t}));mr.displayName="CardFooter";var qe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),et=D(require("react")),ur=(0,Ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-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"}}}),$=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?qe.Slot:"button",{className:y(ur({className:t,size:r,variant:a})),ref:o,...n}));$.displayName="Button";var we=require("lucide-react");var V=require("react"),S=require("@headlessui/react"),me=require("@heroicons/react/24/outline"),te=require("@heroicons/react/20/solid");var fr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,j.jsx)("a",{href:a,className:"flex items-center gap-j-1 text-sm font-semibold text-foreground group",children:(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-j-1/2 scale-j-0 transition-transform duration-300 ease-in-out group-hover:scale-j-100"})]})}):(0,j.jsxs)(S.Popover,{children:[(0,j.jsxs)(S.PopoverButton,{className:"flex items-center gap-j-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-j-1/2 scale-j-0 transition-transform duration-300 ease-in-out group-hover:scale-j-100"})]}),(0,j.jsx)(te.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(S.PopoverPanel,{transition:!0,className:"absolute inset-j-0 top-0 -j-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,j.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-j-4 px-6 py-10 lg:px-8 xl:gap-j-8 j-50",children:t&&t.map(n=>(0,j.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,j.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,j.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,j.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,j.jsx)("span",{className:"absolute inset-0"})]}),(0,j.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,j.jsx)("div",{className:"bg-gray-50",children:(0,j.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,j.jsx)("div",{className:"grid grid-cols-3 divide-j divide-gray-900/5 border-j border-gray-900/5",children:r.map(n=>(0,j.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-j-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,j.jsx)(n.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),ot=fr;var pe=["light","dark","green"];function at({title:e,logo:t,menuItems:r}){let[a,n]=(0,V.useState)(!1),[o,i]=(0,V.useState)(!1),[s,p]=(0,V.useState)("light"),m=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[C,w]=(0,V.useState)(`${m}.${u}`),A=l=>{pe.includes(l)?w(l==="light"?`${m}.${u}`:`${m}-${l}.${u}`):w(`${m}.${u}`)};(0,V.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(s)+1)%pe.length];p(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),A(l)};return(0,j.jsxs)("header",{className:"relative isolate j-10 bg-background h-14",children:[(0,j.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,j.jsx)("div",{className:"flex lg:flex-1",children:(0,j.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:e}),(0,j.jsx)("img",{alt:e,src:C,className:"h-9 w-auto"})]})}),(0,j.jsx)("div",{className:"flex lg:hidden",children:(0,j.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(me.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,j.jsx)(S.PopoverGroup,{className:"hidden lg:flex lg:gap-j-12",children:r.map(l=>(0,j.jsx)(ot,{...l},l.name))}),(0,j.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,j.jsx)("button",{onClick:P,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,j.jsx)(te.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,j.jsx)(te.MoonIcon,{className:"h-6 w-6"}):(0,j.jsx)(te.SunIcon,{className:"h-6 w-6"})})})]}),(0,j.jsxs)(S.Dialog,{open:a,onClose:n,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 j-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(S.DialogPanel,{className:"fixed inset-y-0 right-0 j-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-center justify-between",children:[(0,j.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,j.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,j.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(me.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,j.jsx)("div",{className:"mt-6 flow-root",children:(0,j.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,j.jsx)("div",{className:"space-y-2 py-6",children:r.map(l=>(0,j.jsx)(gr,{...l},l.name))})})})]})]})]})}function gr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,j.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,j.jsxs)(S.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(S.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,j.jsx)(S.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(S.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var nt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var st=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:y("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:y("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,j.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Se=D(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:p,url:m}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:m;if(!u)return null;let C=r==="link"?"clear":p,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Se.default,{className:y(n),href:u||m||"",...w,children:[o&&o,a&&a]}):(0,j.jsx)($,{asChild:!0,className:n,size:C,variant:r,children:(0,j.jsxs)(Se.default,{className:y(n),href:u||m||"",...w,children:[o&&o,a&&a]})})};var it=({links:e,richText:t})=>(0,j.jsx)("div",{className:"container",children:(0,j.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,j.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,j.jsx)(M,{className:"mb-0",content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,j.jsx)(X,{size:"lg",...r},a))})]})});var fe=require("prism-react-renderer");function dt({code:e}){let[t,r]=(0,V.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)($,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,j.jsx)(we.ClipboardCopy,{})})]})})}var pt=({code:e,language:t=""})=>e?(0,j.jsx)(fe.Highlight,{code:e,language:t,theme:fe.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-j-auto",children:[n.map((o,i)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((s,p)=>(0,j.jsx)("span",{...a({token:s})},p))})]},i)),(0,j.jsx)(dt,{code:e})]})}):null;var mt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(pt,{code:t,language:r})});var ft=D(require("next/image"));var ut=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ge=()=>{if(ut){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 br={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},hr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:p}=e,m,u,C=t,w=s||"";if(!w&&o&&typeof o=="object"){let{alt:l,filename:k,height:N,url:T,width:G}=o;m=G,u=N,C=l||"",w=`${ge()}${T}`}let A=p||"lazy",P=i||Object.entries(br).map(([,l])=>`(max-width: ${l}px) ${l*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(ft.default,{alt:C||"",className:y(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:hr,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:P,src:w,width:r?void 0:m})})};var bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,V.useRef)(null);if((0,V.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:y(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${ge()}/media/${o}`})})}return null};var W=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,j.jsx)(r||V.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(bt,{...e}):(0,j.jsx)(gt,{...e})})};var yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:y("",{container:r},t),children:(0,j.jsx)(W,{imgClassName:y("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var ve=D(require("react"));function ye({nodes:e}){return(0,j.jsx)(ve.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,j.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,i)=>(0,j.jsx)("tr",{children:o.children.map((s,p)=>(0,j.jsx)("td",{children:ye({nodes:s.children})},p))},i))})},r);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 ye({nodes:o.children})},n="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,j.jsx)(it,{...o},r);case"mediaBlock":return(0,j.jsx)(yt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(st,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(mt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,j.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:y({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ye({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var xt=({children:e,richText:t})=>(0,j.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,j.jsx)("div",{className:"container",children:e||t&&(0,j.jsx)(M,{content:t,enableGutter:!1})})});var Ee=D(require("next/image"));var yr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Ee.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,j.jsx)("div",{children:(0,j.jsx)(Ee.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},wt=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,j.jsx)(yr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative j-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var kt=D(require("next/image"));var Ct=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,j.jsx)("div",{className:"container mb-8 j-10 relative flex items-end justify-center",children:(0,j.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||a&&(0,j.jsx)(M,{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,j.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,j.jsx)("li",{children:(0,j.jsx)(X,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(W,{fill:!0,imgClassName:"j-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(kt.default,{className:"-j-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Y=D(require("react"));var Nt=D(require("next/image")),At=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:n,title:o}=e;return(0,j.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,j.jsx)("div",{className:"container j-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,j.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,j.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((i,s)=>{if(typeof i=="object"&&i!==null){let{title:p}=i,m=p||"Untitled category",u=s===t.length-1;return(0,j.jsxs)(Y.default.Fragment,{children:[m,!u&&(0,j.jsx)(Y.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,j.jsx)("div",{className:"",children:(0,j.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,j.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,j.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Author"}),a.map((i,s)=>{let{name:p}=i,m=s===a.length-1,u=s===a.length-2;return(0,j.jsxs)(Y.default.Fragment,{children:[p,u&&a.length>2&&(0,j.jsx)(Y.default.Fragment,{children:", "}),u&&a.length===2&&(0,j.jsx)(Y.default.Fragment,{children:" "}),!m&&a.length>1&&(0,j.jsx)(Y.default.Fragment,{children:"and "})]},s)})]})}),n&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,j.jsx)("time",{dateTime:n,children:nt(n)})]})]})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,j.jsx)(W,{fill:!0,imgClassName:"-j-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Nt.default,{className:"-j-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,j.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};function Pt({...e}){return(0,j.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,j.jsx)(at,{...e.header}),(0,j.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(xt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(wt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(Ct,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(At,{...e.hero}),(0,j.jsx)("div",{className:"container py-8",children:(0,j.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,j.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,j.jsxs)("div",{className:"space-y-6",children:[(0,j.jsxs)(ie,{children:[(0,j.jsx)(le,{children:(0,j.jsx)(ce,{children:"Quick Actions"})}),(0,j.jsxs)(de,{children:[(0,j.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,j.jsx)($,{className:"w-full",children:"Create New"})]})]}),(0,j.jsxs)(ie,{children:[(0,j.jsx)(le,{children:(0,j.jsx)(ce,{children:"Resources"})}),(0,j.jsx)(de,{children:(0,j.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,j.jsx)(we.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,j.jsx)(we.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,j.jsx)(we.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}
|
|
4
|
+
"use strict";"use client";var Mt=Object.create;var se=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var Bt=Object.getOwnPropertyNames;var Dt=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Lt=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},je=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Bt(t))!Et.call(e,n)&&n!==r&&se(e,n,{get:()=>t[n],enumerable:!(a=It(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?Mt(Dt(e)):{},je(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>je(se({},"__esModule",{value:!0}),e);var kr={};Lt(kr,{default:()=>St});module.exports=Ft(kr);var O=D(require("react"));var We=require("clsx");var Re="-",Ht=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Re);return s[0]===""&&s.length!==1&&s.shift(),Qe(s,t)||zt(i)},getConflictingClassGroupIds:(i,s)=>{let p=r[i]||[];return s&&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),n=a?Qe(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Re);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},$e=/^\[(.+)\]$/,zt=e=>{if($e.test(e)){let t=$e.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Ot(Object.entries(e.classGroups),r).forEach(([o,i])=>{Te(i,a,o,t)}),a},Te=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ve(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ut(n)){Te(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Te(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},Ut=e=>e.isThemeGetter,Ot=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,jt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(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 n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Ye="!",$t=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let p=[],m=0,u=0,N;for(let k=0;k<s.length;k++){let C=s[k];if(m===0){if(C===n&&(a||s.slice(k,k+o)===t)){p.push(s.slice(u,k)),u=k+o;continue}if(C==="/"){N=k;continue}}C==="["?m++:C==="]"&&m--}let w=p.length===0?s:s.substring(u),A=w.startsWith(Ye),P=A?w.substring(1):w,l=N&&N>u?N-u:void 0;return{modifiers:p,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:l}};return r?s=>r({className:s,parseClassName:i}):i},Vt=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},Qt=e=>({cache:jt(e.cacheSize),parseClassName:$t(e),...Ht(e)}),Yt=/\s+/,_t=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Yt),s="";for(let p=i.length-1;p>=0;p-=1){let m=i[p],{modifiers:u,hasImportantModifier:N,baseClassName:w,maybePostfixModifierPosition:A}=r(m),P=!!A,l=a(P?w.substring(0,A):w);if(!l){if(!P){s=m+(s.length>0?" "+s:s);continue}if(l=a(w),!l){s=m+(s.length>0?" "+s:s);continue}P=!1}let k=Vt(u).join(":"),C=N?k+Ye:k,T=C+l;if(o.includes(T))continue;o.push(T);let G=n(l,P);for(let U=0;U<G.length;++U){let oe=G[U];o.push(C+oe)}s=m+(s.length>0?" "+s:s)}return s};function Jt(){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 Kt(e,...t){let r,a,n,o=i;function i(p){let m=t.reduce((u,N)=>N(u),e());return r=Qt(m),a=r.cache.get,n=r.cache.set,o=s,s(p)}function s(p){let m=a(p);if(m)return m;let u=_t(p,r);return n(p,u),u}return function(){return o(Jt.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Je=/^\[(?:([a-j-]+):)?(.+)\]$/i,Xt=/^\j+\/\j+$/,Wt=new Set(["px","full","screen"]),qt=/^(\j+(\.\j+)?)?(xs|sm|md|lg|xl)$/,Zt=/\j+(%|px|r?em|[sdl]?v([hwib]|min|max)|we|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|j|i|j|min|max))|\j(calc|min|max|clamp)\(.+\)|^0$/,er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tr=/^(inset_)?-?((\j+)?\.?(\j+)[a-j]+|0)_-?((\j+)?\.?(\j+)[a-j]+|0)/,rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>_(e)||Wt.has(e)||Xt.test(e),F=e=>J(e,"length",dr),_=e=>!!e&&!Number.isNaN(Number(e)),Pe=e=>J(e,"number",_),Z=e=>!!e&&Number.isInteger(Number(e)),or=e=>e.endsWith("%")&&_(e.slice(0,-1)),c=e=>Je.test(e),H=e=>qt.test(e),ar=new Set(["length","size","percentage"]),nr=e=>J(e,ar,Ke),sr=e=>J(e,"position",Ke),ir=new Set(["image","url"]),lr=e=>J(e,ir,mr),cr=e=>J(e,"",pr),ee=()=>!0,J=(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},dr=e=>Zt.test(e)&&!er.test(e),Ke=()=>!1,pr=e=>tr.test(e),mr=e=>rr.test(e);var ur=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),i=y("borderSpacing"),s=y("borderWidth"),p=y("contrast"),m=y("grayscale"),u=y("hueRotate"),N=y("invert"),w=y("gap"),A=y("gradientColorStops"),P=y("gradientColorStopPositions"),l=y("inset"),k=y("margin"),C=y("opacity"),T=y("padding"),G=y("saturate"),U=y("scale"),oe=y("sepia"),Le=y("skew"),Fe=y("space"),He=y("translate"),ke=()=>["auto","contain","none"],Ne=()=>["auto","hidden","clip","visible","scroll"],Ce=()=>["auto",c,t],v=()=>[c,t],ze=()=>["",E,F],ae=()=>["auto",_,c],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],Ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",c],Oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[_,c];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[E,F],blur:["none","",H,c],brightness:B(),borderColor:[e],borderRadius:["none","","full",H,c],borderSpacing:v(),borderWidth:ze(),contrast:B(),grayscale:q(),hueRotate:B(),invert:q(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[or,F],inset:Ce(),margin:Ce(),opacity:B(),padding:v(),saturate:B(),scale:B(),sepia:q(),skew:B(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":Oe()}],"break-before":[{"break-before":Oe()}],"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:[...Ge(),c]}],overflow:[{overflow:Ne()}],"overflow-x":[{"overflow-x":Ne()}],"overflow-y":[{"overflow-y":Ne()}],overscroll:[{overscroll:ke()}],"overscroll-x":[{"overscroll-x":ke()}],"overscroll-y":[{"overscroll-y":ke()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[l]}],"inset-x":[{"inset-x":[l]}],"inset-y":[{"inset-y":[l]}],start:[{start:[l]}],end:[{end:[l]}],top:[{top:[l]}],right:[{right:[l]}],bottom:[{bottom:[l]}],left:[{left:[l]}],visibility:["visible","invisible","collapse"],j:[{j:["auto",Z,c]}],basis:[{basis:Ce()}],"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",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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],we:[{we:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],V:[{V:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[Fe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Fe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],j:[{j:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-j":[{"min-j":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-j":[{"max-j":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",H,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pe]}],"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",_,Pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,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":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,F]}],"underline-offset":[{"underline-offset":["auto",E,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:v()}],"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":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),sr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","j","bl","l","tl"]},lr]}],"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-j":[{"rounded-j":[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-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-j":[{"border-j":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:ne()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-j":[{"border-j":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[E,c]}],"outline-w":[{outline:[E,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[E,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,cr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",H,c]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[N]}],saturate:[{saturate:[G]}],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":[C]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",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:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[Z,c]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[Le]}],"skew-y":[{"skew-y":[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","w-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","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-V":[{"scroll-V":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-we":[{"scroll-we":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,F,Pe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","we","pr","pb","pl"],px:["pr","pl"],py:["we","pb"],m:["mx","my","ms","me","V","mr","mb","ml"],mx:["mr","ml"],my:["V","mb"],size:["w","j"],"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-j","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-j":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-j","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-j"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-j","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-j"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-V","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-V","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-we","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-we","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Xe=Kt(ur);function x(...e){return Xe((0,We.clsx)(e))}var j=require("react/jsx-runtime"),ie=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ie.displayName="Card";var le=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var gr=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));gr.displayName="CardDescription";var de=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("p-6 we-0",e),...t}));de.displayName="CardContent";var fr=O.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:x("flex items-center p-6 we-0",e),...t}));fr.displayName="CardFooter";var qe=require("@radix-ui/react-slot"),Ze=require("class-variance-authority"),et=D(require("react")),br=(0,Ze.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:"j-10 px-4 py-2",icon:"j-10 w-10",lg:"j-11 rounded px-8",sm:"j-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"}}}),$=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?qe.Slot:"button",{className:x(br({className:t,size:r,variant:a})),ref:o,...n}));$.displayName="Button";var we=require("lucide-react");var rt=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,j.jsx)("i",{className:s})};var V=require("react"),S=require("@headlessui/react"),me=require("@heroicons/react/24/outline"),te=require("@heroicons/react/20/solid");var hr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,j.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 j-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,j.jsxs)(S.Popover,{children:[(0,j.jsxs)(S.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,j.jsxs)("span",{className:"relative",children:[e,(0,j.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 j-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,j.jsx)(te.ChevronDownIcon,{"aria-hidden":"true",className:"j-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(S.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -j-10 bg-popover V-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,j.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 j-50",children:t&&t.map(n=>(0,j.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,j.jsx)("div",{className:"flex j-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,j.jsx)(at,{icon:n.icon})}),(0,j.jsxs)("a",{href:n.href,className:"V-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,j.jsx)("span",{className:"absolute inset-0"})]}),(0,j.jsx)("p",{className:"V-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,j.jsx)("div",{className:"bg-gray-50",children:(0,j.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,j.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,j.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,j.jsx)(at,{icon:n.icon,className:"j-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),at=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,j.jsx)(rt,{...e,size:r});if("src"in e)return(0,j.jsx)("div",{className:t,style:{position:"relative",width:"100%",height:"100%"},children:e&&typeof e.src=="string"&&(0,j.jsx)("img",{src:e.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},st=hr;var pe=["light","dark","green"];function it({title:e,logo:t,menuItems:r}){let[a,n]=(0,V.useState)(!1),[o,i]=(0,V.useState)(!1),[s,p]=(0,V.useState)("light"),m=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[N,w]=(0,V.useState)(`${m}.${u}`),A=l=>{pe.includes(l)?w(l==="light"?`${m}.${u}`:`${m}-${l}.${u}`):w(`${m}.${u}`)};(0,V.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(s)+1)%pe.length];p(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l),A(l)};return(0,j.jsxs)("header",{className:"relative isolate j-10 bg-background j-14",children:[(0,j.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,j.jsx)("div",{className:"flex lg:flex-1",children:(0,j.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:e}),(0,j.jsx)("img",{alt:e,src:N,className:"j-9 w-auto"})]})}),(0,j.jsx)("div",{className:"flex lg:hidden",children:(0,j.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(me.Bars3Icon,{"aria-hidden":"true",className:"j-6 w-6"})]})}),(0,j.jsx)(S.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(l=>(0,j.jsx)(st,{...l},l.name))}),(0,j.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,j.jsx)("button",{onClick:P,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,j.jsx)(te.SunIcon,{className:"j-6 w-6"}):s==="green"?(0,j.jsx)(te.MoonIcon,{className:"j-6 w-6"}):(0,j.jsx)(te.SunIcon,{className:"j-6 w-6"})})})]}),(0,j.jsxs)(S.Dialog,{open:a,onClose:n,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 j-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(S.DialogPanel,{className:"fixed inset-y-0 right-0 j-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-center justify-between",children:[(0,j.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,j.jsx)("img",{alt:e,src:t,className:"j-8 w-auto"})]}),(0,j.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(me.XMarkIcon,{"aria-hidden":"true",className:"j-6 w-6"})]})]}),(0,j.jsx)("div",{className:"V-6 flow-root",children:(0,j.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,j.jsx)("div",{className:"space-y-2 py-6",children:r.map(l=>(0,j.jsx)(yr,{...l},l.name))})})})]})]})]})}function yr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,j.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,j.jsxs)(S.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(S.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,j.jsx)(S.DisclosurePanel,{className:"V-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(S.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var lt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var ct=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:x("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:x("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,j.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Se=D(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:p,url:m}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:m;if(!u)return null;let N=r==="link"?"clear":p,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Se.default,{className:x(n),href:u||m||"",...w,children:[o&&o,a&&a]}):(0,j.jsx)($,{asChild:!0,className:n,size:N,variant:r,children:(0,j.jsxs)(Se.default,{className:x(n),href:u||m||"",...w,children:[o&&o,a&&a]})})};var dt=({links:e,richText:t})=>(0,j.jsx)("div",{className:"container",children:(0,j.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,j.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,j.jsx)(M,{className:"mb-0",content:t,enableGutter:!1})}),(0,j.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,j.jsx)(X,{size:"lg",...r},a))})]})});var ge=require("prism-react-renderer");function ut({code:e}){let[t,r]=(0,V.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,j.jsx)("div",{className:"flex justify-end align-middle",children:(0,j.jsxs)($,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("p",{children:t}),(0,j.jsx)("div",{className:"w-6 j-6 dark:invert",children:(0,j.jsx)(we.ClipboardCopy,{})})]})})}var gt=({code:e,language:t=""})=>e?(0,j.jsx)(ge.Highlight,{code:e,language:t,theme:ge.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,j.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,j.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,j.jsx)("span",{className:"table-cell pl-4",children:o.map((s,p)=>(0,j.jsx)("span",{...a({token:s})},p))})]},i)),(0,j.jsx)(ut,{code:e})]})}):null;var ft=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(gt,{code:t,language:r})});var ht=D(require("next/image"));var bt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var fe=()=>{if(bt){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 xr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},vr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:p}=e,m,u,N=t,w=s||"";if(!w&&o&&typeof o=="object"){let{alt:l,filename:k,height:C,url:T,width:G}=o;m=G,u=C,N=l||"",w=`${fe()}${T}`}let A=p||"lazy",P=i||Object.entries(xr).map(([,l])=>`(max-width: ${l}px) ${l*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(ht.default,{alt:N||"",className:x(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:vr,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:P,src:w,width:r?void 0:m})})};var xt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,V.useRef)(null);if((0,V.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,j.jsx)("video",{autoPlay:!0,className:x(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${fe()}/media/${o}`})})}return null};var W=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,j.jsx)(r||V.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(xt,{...e}):(0,j.jsx)(yt,{...e})})};var wt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:x("",{container:r},t),children:(0,j.jsx)(W,{imgClassName:x("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var xe=D(require("react"));function ye({nodes:e}){return(0,j.jsx)(xe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,j.jsx)(xe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,j.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,j.jsx)("em",{children:o},r)),t.format&4&&(o=(0,j.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,j.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,j.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,j.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,j.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:t.children.map((o,i)=>(0,j.jsx)("tr",{children:o.children.map((s,p)=>(0,j.jsx)("td",{children:ye({nodes:s.children})},p))},i))})},r);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 ye({nodes:o.children})},n="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,j.jsx)(dt,{...o},r);case"mediaBlock":return(0,j.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(ct,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(ft,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,j.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,j.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,j.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,j.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,j.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,j.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,j.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:x({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ye({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Nt=({children:e,richText:t})=>(0,j.jsx)("div",{className:"min-w-full py-10 bg-muted V-24",children:(0,j.jsx)("div",{className:"container",children:e||t&&(0,j.jsx)(M,{content:t,enableGutter:!1})})});var Ee=D(require("next/image"));var wr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Ee.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,j.jsx)("div",{children:(0,j.jsx)(Ee.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ct=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 V-20 we-10",children:[t&&(0,j.jsx)(wr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative j-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var At=D(require("next/image"));var Pt=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative -V-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,j.jsx)("div",{className:"container mb-8 j-10 relative flex items-end justify-center",children:(0,j.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||a&&(0,j.jsx)(M,{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,j.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,j.jsx)("li",{children:(0,j.jsx)(X,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-j-[80vh] select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(W,{fill:!0,imgClassName:"j-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(At.default,{className:"-j-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Y=D(require("react"));var Tt=D(require("next/image")),Rt=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:n,title:o}=e;return(0,j.jsxs)("div",{className:"relative -V-[10.4rem] flex items-end",children:[(0,j.jsx)("div",{className:"container j-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,j.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,j.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((i,s)=>{if(typeof i=="object"&&i!==null){let{title:p}=i,m=p||"Untitled category",u=s===t.length-1;return(0,j.jsxs)(Y.default.Fragment,{children:[m,!u&&(0,j.jsx)(Y.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,j.jsx)("div",{className:"",children:(0,j.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,j.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,j.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Author"}),a.map((i,s)=>{let{name:p}=i,m=s===a.length-1,u=s===a.length-2;return(0,j.jsxs)(Y.default.Fragment,{children:[p,u&&a.length>2&&(0,j.jsx)(Y.default.Fragment,{children:", "}),u&&a.length===2&&(0,j.jsx)(Y.default.Fragment,{children:" "}),!m&&a.length>1&&(0,j.jsx)(Y.default.Fragment,{children:"and "})]},s)})]})}),n&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,j.jsx)("time",{dateTime:n,children:lt(n)})]})]})]})}),(0,j.jsxs)("div",{className:"min-j-[80vh] select-none",children:[r&&typeof r!="string"&&(0,j.jsx)(W,{fill:!0,imgClassName:"-j-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Tt.default,{className:"-j-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,j.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full j-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};function St({...e}){return(0,j.jsxs)("div",{className:"flex fixed flex-col w-screen j-screen max-j-screen overflow-auto overscroll-contain",children:[(0,j.jsx)(it,{...e.header}),(0,j.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(Nt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(Ct,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(Pt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(Rt,{...e.hero}),(0,j.jsx)("div",{className:"container py-8",children:(0,j.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,j.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,j.jsxs)("div",{className:"space-y-6",children:[(0,j.jsxs)(ie,{children:[(0,j.jsx)(le,{children:(0,j.jsx)(ce,{children:"Quick Actions"})}),(0,j.jsxs)(de,{children:[(0,j.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,j.jsx)($,{className:"w-full",children:"Create New"})]})]}),(0,j.jsxs)(ie,{children:[(0,j.jsx)(le,{children:(0,j.jsx)(ce,{children:"Resources"})}),(0,j.jsx)(de,{children:(0,j.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,j.jsx)(we.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,j.jsx)(we.ExternalLink,{className:"ml-1 j-3 w-3"})]}),(0,j.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,j.jsx)(we.ExternalLink,{className:"ml-1 j-3 w-3"})]})]})})]})]})]})})]})]})}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-MXCUC35X.mjs";import"../../chunk-SYVKYRZO.mjs";import"../../chunk-QUCLTQO6.mjs";import"../../chunk-4HRWWEM5.mjs";import"../../chunk-2ZFONB6D.mjs";import"../../chunk-YH4LGOVO.mjs";import"../../chunk-WR4OEF6T.mjs";import"../../chunk-AJJSMHCV.mjs";import"../../chunk-PPSZJ5D7.mjs";import"../../chunk-3U4TZZH4.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-I2GY5WTT.mjs";import"../../chunk-CS77R54Z.mjs";import"../../chunk-Z4CK655R.mjs";import"../../chunk-HAYRX2WO.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-4MNYZ3VG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|