cortex-react-components 1.22.2 → 1.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FD56GYLU.mjs → chunk-3UEZYNR7.mjs} +1 -1
- package/dist/{chunk-BA2R2HZQ.mjs → chunk-72WK7C3W.mjs} +1 -1
- package/dist/{chunk-YFEOMNAK.mjs → chunk-77CKHTBZ.mjs} +1 -1
- package/dist/{chunk-VIPFVWUR.mjs → chunk-AD7PG4E2.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-BQQYRB4K.mjs → chunk-DT4BKA5D.mjs} +1 -1
- package/dist/{chunk-5FFTSAM2.mjs → chunk-FXOSDDE3.mjs} +1 -1
- package/dist/{chunk-APJGF4AI.mjs → chunk-HOTJ3KYZ.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-4DKHBSMY.mjs → chunk-KHQHXFXT.mjs} +1 -1
- package/dist/{chunk-2SSVZSE4.mjs → chunk-OCZX7ASJ.mjs} +1 -1
- package/dist/chunk-YNNW2C2U.mjs +1 -0
- package/dist/chunk-Z4CK655R.mjs +1 -0
- package/dist/{chunk-GCBC75DA.mjs → chunk-ZDDN4BC5.mjs} +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/NewsList.js +1 -1
- package/dist/components/Layouts/NewsList.mjs +1 -1
- package/dist/components/Layouts/NewsList.stories.js +1 -1
- package/dist/components/Layouts/NewsList.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- 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 +1 -1
- 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 +71 -71
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/utils/formatDateTime.d.ts +1 -0
- package/dist/utils/formatDateTime.js +1 -1
- package/dist/utils/formatDateTime.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5DHGE4OD.mjs +0 -1
- package/dist/chunk-Y56OULXT.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Qt=Object.create;var de=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var $t=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var qt=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Ze=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Kt(t))!Wt.call(e,n)&&n!==r&&de(e,n,{get:()=>t[n],enumerable:!(a=Vt(t,n))||a.enumerable});return e};var B=(e,t,r)=>(r=e!=null?Qt($t(e)):{},Ze(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Zt=e=>Ze(de({},"__esModule",{value:!0}),e);var Jr={};qt(Jr,{default:()=>Xt});module.exports=Zt(Jr);var _=B(require("react"));var lt=require("clsx");var He="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),rt(s,t)||tr(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},rt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},et=/^\[(.+)\]$/,tr=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ar(Object.entries(e.classGroups),r).forEach(([o,i])=>{De(i,a,o,t)}),a},De=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(or(n)){De(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{De(i,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(He).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},or=e=>e.isThemeGetter,ar=(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,nr=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)}}},ot="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],g=0,l=0,N;for(let w=0;w<s.length;w++){let A=s[w];if(g===0){if(A===n&&(a||s.slice(w,w+o)===t)){d.push(s.slice(l,w)),l=w+o;continue}if(A==="/"){N=w;continue}}A==="["?g++:A==="]"&&g--}let C=d.length===0?s:s.substring(l),b=C.startsWith(ot),I=b?C.substring(1):C,v=N&&N>l?N-l:void 0;return{modifiers:d,hasImportantModifier:b,baseClassName:I,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},ir=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},lr=e=>({cache:nr(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(cr),s="";for(let d=i.length-1;d>=0;d-=1){let g=i[d],{modifiers:l,hasImportantModifier:N,baseClassName:C,maybePostfixModifierPosition:b}=r(g),I=!!b,v=a(I?C.substring(0,b):C);if(!v){if(!I){s=g+(s.length>0?" "+s:s);continue}if(v=a(C),!v){s=g+(s.length>0?" "+s:s);continue}I=!1}let w=ir(l).join(":"),A=N?w+ot:w,S=A+v;if(o.includes(S))continue;o.push(S);let J=n(v,I);for(let Y=0;Y<J.length;++Y){let ie=J[Y];o.push(A+ie)}s=g+(s.length>0?" "+s:s)}return s};function pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function mr(e,...t){let r,a,n,o=i;function i(d){let g=t.reduce((l,N)=>N(l),e());return r=lr(g),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let g=a(d);if(g)return g;let l=dr(d,r);return n(d,l),l}return function(){return o(pr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,gr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>K(e)||gr.has(e)||ur.test(e),z=e=>$(e,"length",Rr),K=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>$(e,"number",K),re=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&K(e.slice(0,-1)),c=e=>nt.test(e),G=e=>fr.test(e),wr=new Set(["length","size","percentage"]),kr=e=>$(e,wr,st),Nr=e=>$(e,"position",st),Cr=new Set(["image","url"]),Pr=e=>$(e,Cr,Tr),Ar=e=>$(e,"",Sr),oe=()=>!0,$=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Rr=e=>br.test(e)&&!hr.test(e),st=()=>!1,Sr=e=>yr.test(e),Tr=e=>xr.test(e);var Ir=()=>{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"),d=h("contrast"),g=h("grayscale"),l=h("hueRotate"),N=h("invert"),C=h("gap"),b=h("gradientColorStops"),I=h("gradientColorStopPositions"),v=h("inset"),w=h("margin"),A=h("opacity"),S=h("padding"),J=h("saturate"),Y=h("scale"),ie=h("sepia"),Xe=h("skew"),Qe=h("space"),Ve=h("translate"),Se=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",c,t],y=()=>[c,t],Ke=()=>["",F,z],le=()=>["auto",K,c],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],We=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",c],qe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[K,c];return{cacheSize:500,separator:":",theme:{colors:[oe],spacing:[F,z],blur:["none","",G,c],brightness:L(),borderColor:[e],borderRadius:["none","","full",G,c],borderSpacing:y(),borderWidth:Ke(),contrast:L(),grayscale:te(),hueRotate:L(),invert:te(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[vr,z],inset:Ie(),margin:Ie(),opacity:L(),padding:y(),saturate:L(),scale:L(),sepia:te(),skew:L(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":qe()}],"break-before":[{"break-before":qe()}],"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:[...$e(),c]}],overflow:[{overflow:Te()}],"overflow-j":[{"overflow-j":Te()}],"overflow-y":[{"overflow-y":Te()}],overscroll:[{overscroll:Se()}],"overscroll-j":[{"overscroll-j":Se()}],"overscroll-y":[{"overscroll-y":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-j":[{"inset-j":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,c]}],basis:[{basis:Ie()}],"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:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",re,c]}],"grid-cols":[{"grid-cols":[oe]}],"col-start-end":[{col:["auto",{span:["full",re,c]},c]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[oe]}],"row-start-end":[{row:["auto",{span:[re,c]},c]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"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:[C]}],"gap-j":[{"gap-j":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],j:[{j:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],j:[{j:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-j":[{"space-j":[Qe]}],"space-j-reverse":["space-j-reverse"],"space-y":[{"space-y":[Qe]}],"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:[G]},G]}],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",G,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[oe]}],"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",K,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,z]}],"underline-offset":[{"underline-offset":["auto",F,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:y()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),Nr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","j","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[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-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...ce(),"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":[A]}],"divide-style":[{divide:ce()}],"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-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[F,c]}],"outline-w":[{outline:[F,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ke()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[F,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Ar]}],"shadow-color":[{shadow:[oe]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...We(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":We()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",G,c]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[N]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ie]}],"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:L()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-j":[{"scale-j":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[re,c]}],"translate-j":[{"translate-j":[Ve]}],"translate-y":[{"translate-y":[Ve]}],"skew-j":[{"skew-j":[Xe]}],"skew-y":[{"skew-y":[Xe]}],"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","j-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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-j":[{"scroll-j":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-j":[{"scroll-j":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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:[F,z,Me]}],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"],j:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","j","mr","mb","ml"],mx:["mr","ml"],my:["j","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-j","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-j","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-j":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-j":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-j","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-j","scroll-mb"],"scroll-j":["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 it=mr(Ir);function m(...e){return it((0,lt.clsx)(e))}var j=require("react/jsx-runtime"),pe=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var me=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("flex flex-col space-y-1.5 j-6",e),...t}));me.displayName="CardHeader";var ue=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("font-semibold leading-none tracking-tight",e),...t}));ue.displayName="CardTitle";var Br=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("text-sm text-muted-foreground",e),...t}));Br.displayName="CardDescription";var ge=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("j-6 pt-0",e),...t}));ge.displayName="CardContent";var Mr=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:m("flex items-center j-6 pt-0",e),...t}));Mr.displayName="CardFooter";var ct=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),pt=B(require("react")),Dr=(0,dt.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"}}}),X=pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?ct.Slot:"button",{className:m(Dr({className:t,size:r,variant:a})),ref:o,...n}));X.displayName="Button";var Re=require("lucide-react");var W=require("@headlessui/react"),ut=require("@heroicons/react/20/solid"),Hr=({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)(W.Popover,{children:[(0,j.jsxs)(W.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)(ut.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(W.PopoverPanel,{transition:!0,className:"absolute inset-j-0 top-0 -z-10 bg-popover j-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 z-50",children:t&&t.map(n=>(0,j.jsxs)("div",{className:"group relative rounded-lg j-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:"j-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)("j",{className:"j-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 j-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))})})})]})]}),gt=Hr;var q=require("react");function fe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=m("container",t&&"full-width",r&&"no-padding",a);return(0,j.jsx)("div",{className:n,children:e})}var bt=B(require("next/link"));function be({children:e,href:t,openNewTab:r,...a}){return(0,j.jsx)(bt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Le=B(require("next/image"));function ne({logoLight:e,logoDark:t,mobile:r=!1}){return(0,j.jsxs)(be,{href:"/",className:m(r?"py-1":"py-2"),children:[(0,j.jsx)(Le.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,j.jsx)(Le.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function xt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,q.useState)(!1),[i,s]=(0,q.useState)("light"),d=["light","dark"];(0,q.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),s(l),document.documentElement.setAttribute("class",l)},[]);let g=()=>{let l=d[(d.indexOf(i)+1)%d.length];s(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l)};return(0,q.useEffect)(()=>{let l=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",l,{passive:!0}),()=>window.removeEventListener("scroll",l)},[]),(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,j.jsx)(fe,{className:"px-0",children:(0,j.jsx)("nav",{className:"backdrop-blur-sm text-white j-0 rounded-b-xl",children:(0,j.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,j.jsx)(ne,{logoDark:r,logoLight:t}),(0,j.jsx)(W.PopoverGroup,{className:"hidden lg:flex lg:gap-j-12",children:a&&a.map(l=>(0,j.jsx)(gt,{...l},l.name))}),(0,j.jsx)("div",{className:"flex items-center space-j-4",children:(0,j.jsx)("button",{className:"fixed right-4 z-[60] j-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:g,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Re.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Re.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ye=require("@heroicons/react/24/outline");var Fe=["light","dark"];function vt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,q.useState)(!1),[i,s]=(0,q.useState)(!1),[d,g]=(0,q.useState)(!1),[l,N]=(0,q.useState)("light");(0,q.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,q.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";N(b),document.documentElement.setAttribute("class",b)},[]);let C=()=>{let b=Fe[(Fe.indexOf(l)+1)%Fe.length];N(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b)};return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,j.jsx)("nav",{className:m("backdrop-blur-sm text-white j-0",i&&"hidden"),children:(0,j.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,j.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("div",{className:"flex items-center space-j-4",children:[(0,j.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] j-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(ye.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,j.jsx)("button",{className:"fixed right-16 z-[60] j-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:C,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Re.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Re.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,j.jsxs)(W.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(W.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,j.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md j-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(ye.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,j.jsx)("div",{className:"j-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 px-2 py-6",children:r&&r.map(b=>(0,j.jsx)(Lr,{...b},b.name))})})})]})]})]})})}function Lr({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 dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,j.jsxs)(W.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(W.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,j.jsx)(W.DisclosurePanel,{className:"j-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(W.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var wt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:m("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:m("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)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Ee=B(require("next/link")),Z=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:g}=e,l=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}`:g;if(!l)return null;let N=r==="link"?"clear":d,C=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Ee.default,{className:m(n),href:l||g||"",...C,children:[o&&o,a&&a]}):(0,j.jsx)(X,{asChild:!0,className:n,size:N,variant:r,children:(0,j.jsxs)(Ee.default,{className:m(n),href:l||g||"",...C,children:[o&&o,a&&a]})})};var kt=({links:e,richText:t})=>(0,j.jsx)("div",{className:"container",children:(0,j.jsxs)("div",{className:"bg-card rounded border-border border j-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)(D,{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)(Z,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function Pt({code:e}){let[t,r]=(0,q.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)(X,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,j.jsx)("j",{children:t}),(0,j.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,j.jsx)(Re.ClipboardCopy,{})})]})})}var At=({code:e,language:t=""})=>e?(0,j.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,j.jsxs)("pre",{className:"bg-black j-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,d)=>(0,j.jsx)("span",{...a({token:s})},d))})]},i)),(0,j.jsx)(Pt,{code:e})]})}):null;var Rt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(At,{code:t,language:r})});var Tt=B(require("next/image"));var St=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ke=()=>{if(St){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 Fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Er="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=",It=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,g,l,N=t,C=s||"";if(!C&&o&&typeof o=="object"){let{alt:v,filename:w,height:A,url:S,width:J}=o;g=J,l=A,N=v||"",C=`${ke()}${S}`}let b=d||"lazy",I=i||Object.entries(Fr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(Tt.default,{alt:N||"",className:m(a),fill:r,height:r?void 0:l,placeholder:"blur",blurDataURL:Er,priority:b!=="lazy"&&n,quality:100,loading:b,sizes:I,src:C,width:r?void 0:g})})};var Bt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,q.useRef)(null);if((0,q.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:m(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${ke()}/media/${o}`})})}return null};var ee=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||q.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(Bt,{...e}):(0,j.jsx)(It,{...e})})};var Dt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:m("",{container:r},t),children:(0,j.jsx)(ee,{imgClassName:m("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Pe=B(require("react"));function Je({nodes:e}){return(0,j.jsx)(Pe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,j.jsx)(Pe.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}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 Je({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)(kt,{...o},r);case"mediaBlock":return(0,j.jsx)(Dt,{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)(wt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(Rt,{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)("j",{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)(Z,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:m({"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&&Je({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Lt=({children:e,richText:t})=>(0,j.jsx)("div",{className:"min-w-full py-10 bg-muted j-24",children:(0,j.jsx)("div",{className:"container",children:e||t&&(0,j.jsx)(D,{content:t,enableGutter:!1})})});var Ye=B(require("next/image"));var zr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Ye.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)(Ye.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ft=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 j-20 pt-10",children:[t&&(0,j.jsx)(zr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(D,{className:"prose-headings:text-brand-one-foreground prose-j:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Et=B(require("next/image"));var zt=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative -j-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,j.jsx)("div",{className:"container mb-8 z-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)(D,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-j:text-white prose-j: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)(Z,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(ee,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Et.default,{className:"-z-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 Gt=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 V=B(require("react"));var Ut=B(require("next/image")),Ot=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:n,title:o}=e;return(0,j.jsxs)("div",{className:"relative -j-[10.4rem] flex items-end",children:[(0,j.jsx)("div",{className:"container z-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:d}=i,g=d||"Untitled category",l=s===t.length-1;return(0,j.jsxs)(V.default.Fragment,{children:[g,!l&&(0,j.jsx)(V.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)("j",{className:"text-sm",children:"Author"}),a.map((i,s)=>{let{name:d}=i,g=s===a.length-1,l=s===a.length-2;return(0,j.jsxs)(V.default.Fragment,{children:[d,l&&a.length>2&&(0,j.jsx)(V.default.Fragment,{children:", "}),l&&a.length===2&&(0,j.jsx)(V.default.Fragment,{children:" "}),!g&&a.length>1&&(0,j.jsx)(V.default.Fragment,{children:"and "})]},s)})]})}),n&&(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)("j",{className:"text-sm",children:"Date Published"}),(0,j.jsx)("time",{dateTime:n,children:Gt(n)})]})]})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,j.jsx)(ee,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Ut.default,{className:"-z-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"})]})]})};var Yt=B(require("next/image")),_t=B(require("react"));function jt({title:e,breadcrumbItems:t,image:r}){return(0,j.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-h-[250px] items-end",children:[(0,j.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,j.jsx)(Yt.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,j.jsx)(fe,{children:(0,j.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-j-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,j.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,j.jsx)(Gr,{breadcrumbItems:t})]})})]})}var Jt=m("h3 font-secondary");function Gr({breadcrumbItems:e}){return e&&e.length>0?(0,j.jsx)("nav",{"aria-label":"breadcrumb",children:(0,j.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,r)=>(0,j.jsx)(_t.default.Fragment,{children:t.href?(0,j.jsxs)("li",{className:Jt,children:[(0,j.jsx)(be,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,j.jsx)("span",{className:"ml-5",children:"/"})]}):(0,j.jsx)("li",{className:Jt,"aria-current":"page",children:t.label})},r))})}):(0,j.jsx)(j.Fragment,{})}var _e="../../cortex-reply-light-27IMI3G7.png";var je="../../cortex-reply-dark-XPAJJJYY.png";function Xt({...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.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,j.jsx)(xt,{isMenuOpen:!0,logoLight:_e,logoDark:je}),(0,j.jsx)(vt,{isMenuOpen:!0,logoLight:_e,logoDark:je,...e.header})]}),e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(Lt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(Ft,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(zt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(Ot,{...e.hero}),e.hero&&e.hero.type==="sectionHero"&&(0,j.jsx)(jt,{...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)(pe,{children:[(0,j.jsx)(me,{children:(0,j.jsx)(ue,{children:"Quick Actions"})}),(0,j.jsxs)(ge,{children:[(0,j.jsx)("j",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,j.jsx)(X,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),(0,j.jsxs)(pe,{children:[(0,j.jsx)(me,{children:(0,j.jsx)(ue,{children:"Resources"})}),(0,j.jsx)(ge,{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)(Re.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)(Re.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)(Re.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}
|
|
4
|
+
"use strict";var Qt=Object.create;var de=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Kt=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var qt=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Ze=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $t(t))!Wt.call(e,n)&&n!==r&&de(e,n,{get:()=>t[n],enumerable:!(a=Vt(t,n))||a.enumerable});return e};var B=(e,t,r)=>(r=e!=null?Qt(Kt(e)):{},Ze(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e)),Zt=e=>Ze(de({},"__esModule",{value:!0}),e);var Jr={};qt(Jr,{default:()=>Xt});module.exports=Zt(Jr);var _=B(require("react"));var lt=require("clsx");var He="-",er=e=>{let t=rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),rt(s,t)||tr(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},rt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},et=/^\[(.+)\]$/,tr=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return ar(Object.entries(e.classGroups),r).forEach(([o,i])=>{De(i,a,o,t)}),a},De=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(or(n)){De(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{De(i,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(He).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},or=e=>e.isThemeGetter,ar=(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,nr=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)}}},ot="!",sr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],g=0,l=0,N;for(let w=0;w<s.length;w++){let A=s[w];if(g===0){if(A===n&&(a||s.slice(w,w+o)===t)){d.push(s.slice(l,w)),l=w+o;continue}if(A==="/"){N=w;continue}}A==="["?g++:A==="]"&&g--}let C=d.length===0?s:s.substring(l),b=C.startsWith(ot),I=b?C.substring(1):C,v=N&&N>l?N-l:void 0;return{modifiers:d,hasImportantModifier:b,baseClassName:I,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},ir=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},lr=e=>({cache:nr(e.cacheSize),parseClassName:sr(e),...er(e)}),cr=/\s+/,dr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(cr),s="";for(let d=i.length-1;d>=0;d-=1){let g=i[d],{modifiers:l,hasImportantModifier:N,baseClassName:C,maybePostfixModifierPosition:b}=r(g),I=!!b,v=a(I?C.substring(0,b):C);if(!v){if(!I){s=g+(s.length>0?" "+s:s);continue}if(v=a(C),!v){s=g+(s.length>0?" "+s:s);continue}I=!1}let w=ir(l).join(":"),A=N?w+ot:w,R=A+v;if(o.includes(R))continue;o.push(R);let J=n(v,I);for(let Y=0;Y<J.length;++Y){let ie=J[Y];o.push(A+ie)}s=g+(s.length>0?" "+s:s)}return s};function mr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function pr(e,...t){let r,a,n,o=i;function i(d){let g=t.reduce((l,N)=>N(l),e());return r=lr(g),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let g=a(d);if(g)return g;let l=dr(d,r);return n(d,l),l}return function(){return o(mr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,ur=/^\d+\/\d+$/,gr=new Set(["px","full","screen"]),fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,br=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|j|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>$(e)||gr.has(e)||ur.test(e),z=e=>K(e,"length",Sr),$=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>K(e,"number",$),re=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&$(e.slice(0,-1)),c=e=>nt.test(e),G=e=>fr.test(e),wr=new Set(["length","size","percentage"]),kr=e=>K(e,wr,st),Nr=e=>K(e,"position",st),Cr=new Set(["image","url"]),Pr=e=>K(e,Cr,Tr),Ar=e=>K(e,"",Rr),oe=()=>!0,K=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Sr=e=>br.test(e)&&!hr.test(e),st=()=>!1,Rr=e=>yr.test(e),Tr=e=>xr.test(e);var Ir=()=>{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"),d=h("contrast"),g=h("grayscale"),l=h("hueRotate"),N=h("invert"),C=h("gap"),b=h("gradientColorStops"),I=h("gradientColorStopPositions"),v=h("inset"),w=h("margin"),A=h("opacity"),R=h("padding"),J=h("saturate"),Y=h("scale"),ie=h("sepia"),Xe=h("skew"),Qe=h("space"),Ve=h("translate"),Re=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",c,t],y=()=>[c,t],$e=()=>["",F,z],le=()=>["auto",$,c],Ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],We=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",c],qe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[$,c];return{cacheSize:500,separator:":",theme:{colors:[oe],spacing:[F,z],blur:["none","",G,c],brightness:L(),borderColor:[e],borderRadius:["none","","full",G,c],borderSpacing:y(),borderWidth:$e(),contrast:L(),grayscale:te(),hueRotate:L(),invert:te(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[vr,z],inset:Ie(),margin:Ie(),opacity:L(),padding:y(),saturate:L(),scale:L(),sepia:te(),skew:L(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":qe()}],"break-before":[{"break-before":qe()}],"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:[...Ke(),c]}],overflow:[{overflow:Te()}],"overflow-j":[{"overflow-j":Te()}],"overflow-y":[{"overflow-y":Te()}],overscroll:[{overscroll:Re()}],"overscroll-j":[{"overscroll-j":Re()}],"overscroll-y":[{"overscroll-y":Re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-j":[{"inset-j":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,c]}],basis:[{basis:Ie()}],"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:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",re,c]}],"grid-cols":[{"grid-cols":[oe]}],"col-start-end":[{col:["auto",{span:["full",re,c]},c]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[oe]}],"row-start-end":[{row:["auto",{span:[re,c]},c]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"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:[C]}],"gap-j":[{"gap-j":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],j:[{j:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],j:[{j:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-j":[{"space-j":[Qe]}],"space-j-reverse":["space-j-reverse"],"space-y":[{"space-y":[Qe]}],"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:[G]},G]}],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",G,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[oe]}],"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",$,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,z]}],"underline-offset":[{"underline-offset":["auto",F,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:y()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ke(),Nr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","j","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-j":[{"rounded-j":[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-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...ce(),"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":[A]}],"divide-style":[{divide:ce()}],"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-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[F,c]}],"outline-w":[{outline:[F,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[F,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Ar]}],"shadow-color":[{shadow:[oe]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...We(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":We()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",G,c]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[N]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ie]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ie]}],"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:L()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-j":[{"scale-j":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[re,c]}],"translate-j":[{"translate-j":[Ve]}],"translate-y":[{"translate-y":[Ve]}],"skew-j":[{"skew-j":[Xe]}],"skew-y":[{"skew-y":[Xe]}],"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","j-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-j":[{"scroll-j":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-j":[{"scroll-j":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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:[F,z,Me]}],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","j","pr","pb","pl"],px:["pr","pl"],py:["j","pb"],j:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-j","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-j","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-j","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-j":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-j":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-j":["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-j","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-j","scroll-pb"],touch:["touch-j","touch-y","touch-pz"],"touch-j":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=pr(Ir);function p(...e){return it((0,lt.clsx)(e))}var j=require("react/jsx-runtime"),me=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));me.displayName="Card";var pe=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("flex flex-col space-y-1.5 p-6",e),...t}));pe.displayName="CardHeader";var ue=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));ue.displayName="CardTitle";var Br=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));Br.displayName="CardDescription";var ge=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("p-6 j-0",e),...t}));ge.displayName="CardContent";var Mr=_.forwardRef(({className:e,...t},r)=>(0,j.jsx)("div",{ref:r,className:p("flex items-center p-6 j-0",e),...t}));Mr.displayName="CardFooter";var ct=require("@radix-ui/react-slot"),dt=require("class-variance-authority"),mt=B(require("react")),Dr=(0,dt.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"}}}),X=mt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,j.jsx)(e?ct.Slot:"button",{className:p(Dr({className:t,size:r,variant:a})),ref:o,...n}));X.displayName="Button";var Se=require("lucide-react");var W=require("@headlessui/react"),ut=require("@heroicons/react/20/solid"),Hr=({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)(W.Popover,{children:[(0,j.jsxs)(W.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)(ut.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,j.jsxs)(W.PopoverPanel,{transition:!0,className:"absolute inset-j-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,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 z-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))})})})]})]}),gt=Hr;var q=require("react");function fe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=p("container",t&&"full-width",r&&"no-padding",a);return(0,j.jsx)("div",{className:n,children:e})}var bt=B(require("next/link"));function be({children:e,href:t,openNewTab:r,...a}){return(0,j.jsx)(bt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Le=B(require("next/image"));function ne({logoLight:e,logoDark:t,mobile:r=!1}){return(0,j.jsxs)(be,{href:"/",className:p(r?"py-1":"py-2"),children:[(0,j.jsx)(Le.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,j.jsx)(Le.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function xt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,q.useState)(!1),[i,s]=(0,q.useState)("light"),d=["light","dark"];(0,q.useEffect)(()=>{let l=localStorage.getItem("theme")||"light";console.log("storedTheme",l),s(l),document.documentElement.setAttribute("class",l)},[]);let g=()=>{let l=d[(d.indexOf(i)+1)%d.length];s(l),document.documentElement.setAttribute("class",l),localStorage.setItem("theme",l)};return(0,q.useEffect)(()=>{let l=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",l,{passive:!0}),()=>window.removeEventListener("scroll",l)},[]),(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,j.jsx)(fe,{className:"px-0",children:(0,j.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,j.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,j.jsx)(ne,{logoDark:r,logoLight:t}),(0,j.jsx)(W.PopoverGroup,{className:"hidden lg:flex lg:gap-j-12",children:a&&a.map(l=>(0,j.jsx)(gt,{...l},l.name))}),(0,j.jsx)("div",{className:"flex items-center space-j-4",children:(0,j.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:g,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Se.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Se.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ye=require("@heroicons/react/24/outline");var Fe=["light","dark"];function vt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,q.useState)(!1),[i,s]=(0,q.useState)(!1),[d,g]=(0,q.useState)(!1),[l,N]=(0,q.useState)("light");(0,q.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,q.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";N(b),document.documentElement.setAttribute("class",b)},[]);let C=()=>{let b=Fe[(Fe.indexOf(l)+1)%Fe.length];N(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b)};return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,j.jsx)("nav",{className:p("backdrop-blur-sm text-white p-0",i&&"hidden"),children:(0,j.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,j.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("div",{className:"flex items-center space-j-4",children:[(0,j.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,j.jsx)(ye.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,j.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:C,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)(Se.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,j.jsx)(Se.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,j.jsxs)(W.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,j.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,j.jsxs)(W.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,j.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,j.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,j.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-j-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,j.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,j.jsx)(ye.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 px-2 py-6",children:r&&r.map(b=>(0,j.jsx)(Lr,{...b},b.name))})})})]})]})]})})}function Lr({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 dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,j.jsxs)(W.Disclosure,{as:"div",className:"-mx-3",children:[(0,j.jsx)(W.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,j.jsx)(W.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,j.jsx)(W.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var wt=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 kt=({className:e,content:t,style:r})=>(0,j.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,j.jsx)("div",{className:p("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)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Ee=B(require("next/link")),Z=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:g}=e,l=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}`:g;if(!l)return null;let N=r==="link"?"clear":d,C=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,j.jsxs)(Ee.default,{className:p(n),href:l||g||"",...C,children:[o&&o,a&&a]}):(0,j.jsx)(X,{asChild:!0,className:n,size:N,variant:r,children:(0,j.jsxs)(Ee.default,{className:p(n),href:l||g||"",...C,children:[o&&o,a&&a]})})};var Nt=({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)(D,{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)(Z,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function At({code:e}){let[t,r]=(0,q.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)(X,{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)(Se.ClipboardCopy,{})})]})})}var St=({code:e,language:t=""})=>e?(0,j.jsx)(we.Highlight,{code:e,language:t,theme:we.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,d)=>(0,j.jsx)("span",{...a({token:s})},d))})]},i)),(0,j.jsx)(At,{code:e})]})}):null;var Rt=({className:e,code:t,language:r})=>(0,j.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,j.jsx)(St,{code:t,language:r})});var It=B(require("next/image"));var Tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ke=()=>{if(Tt){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 Fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Er="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=",Bt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,g,l,N=t,C=s||"";if(!C&&o&&typeof o=="object"){let{alt:v,filename:w,height:A,url:R,width:J}=o;g=J,l=A,N=v||"",C=`${ke()}${R}`}let b=d||"lazy",I=i||Object.entries(Fr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,j.jsx)("picture",{children:(0,j.jsx)(It.default,{alt:N||"",className:p(a),fill:r,height:r?void 0:l,placeholder:"blur",blurDataURL:Er,priority:b!=="lazy"&&n,quality:100,loading:b,sizes:I,src:C,width:r?void 0:g})})};var Mt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,q.useRef)(null);if((0,q.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:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,j.jsx)("source",{src:`${ke()}/media/${o}`})})}return null};var ee=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||q.Fragment,{...r!==null?{className:t}:{},children:n?(0,j.jsx)(Mt,{...e}):(0,j.jsx)(Bt,{...e})})};var Ht=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,j.jsx)("div",{className:p("",{container:r},t),children:(0,j.jsx)(ee,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Pe=B(require("react"));function Je({nodes:e}){return(0,j.jsx)(Pe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,j.jsx)(Pe.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}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 Je({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)(Nt,{...o},r);case"mediaBlock":return(0,j.jsx)(Ht,{className:"col-start-1 col-span-3",imgClassName:"j-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,j.jsx)(kt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,j.jsx)(Rt,{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)(Z,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,j.jsx)("div",{className:p({"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&&Je({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Ft=({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)(D,{content:t,enableGutter:!1})})});var Ye=B(require("next/image"));var zr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,j.jsx)(Ye.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)(Ye.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Et=({links:e,media:t,children:r,richText:a})=>(0,j.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 j-10",children:[t&&(0,j.jsx)(zr,{media:t}),(0,j.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,j.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,j.jsx)(D,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var zt=B(require("next/image"));var Gt=({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 z-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)(D,{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)(Z,{...n})},o))})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,j.jsx)(ee,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(zt.default,{className:"-z-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 V=B(require("react"));var Ut=B(require("next/image")),Ot=({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 z-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:d}=i,g=d||"Untitled category",l=s===t.length-1;return(0,j.jsxs)(V.default.Fragment,{children:[g,!l&&(0,j.jsx)(V.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:d}=i,g=s===a.length-1,l=s===a.length-2;return(0,j.jsxs)(V.default.Fragment,{children:[d,l&&a.length>2&&(0,j.jsx)(V.default.Fragment,{children:", "}),l&&a.length===2&&(0,j.jsx)(V.default.Fragment,{children:" "}),!g&&a.length>1&&(0,j.jsx)(V.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:wt(n)})]})]})]})}),(0,j.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,j.jsx)(ee,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,j.jsx)("div",{children:(0,j.jsx)(Ut.default,{className:"-z-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"})]})]})};var Yt=B(require("next/image")),_t=B(require("react"));function jt({title:e,breadcrumbItems:t,image:r}){return(0,j.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-h-[250px] items-end",children:[(0,j.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,j.jsx)(Yt.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,j.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,j.jsx)(fe,{children:(0,j.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-j-20 gap-y-8 text-accent-900 dark:text-white lg:j-[40px] pb-5",children:[(0,j.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,j.jsx)(Gr,{breadcrumbItems:t})]})})]})}var Jt=p("h3 font-secondary");function Gr({breadcrumbItems:e}){return e&&e.length>0?(0,j.jsx)("nav",{"aria-label":"breadcrumb",children:(0,j.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,r)=>(0,j.jsx)(_t.default.Fragment,{children:t.href?(0,j.jsxs)("li",{className:Jt,children:[(0,j.jsx)(be,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,j.jsx)("span",{className:"ml-5",children:"/"})]}):(0,j.jsx)("li",{className:Jt,"aria-current":"page",children:t.label})},r))})}):(0,j.jsx)(j.Fragment,{})}var _e="../../cortex-reply-light-27IMI3G7.png";var je="../../cortex-reply-dark-XPAJJJYY.png";function Xt({...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.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,j.jsx)(xt,{isMenuOpen:!0,logoLight:_e,logoDark:je}),(0,j.jsx)(vt,{isMenuOpen:!0,logoLight:_e,logoDark:je,...e.header})]}),e.hero&&e.hero.type==="lowImpact"&&(0,j.jsx)(Ft,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,j.jsx)(Et,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,j.jsx)(Gt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,j.jsx)(Ot,{...e.hero}),e.hero&&e.hero.type==="sectionHero"&&(0,j.jsx)(jt,{...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)(me,{children:[(0,j.jsx)(pe,{children:(0,j.jsx)(ue,{children:"Quick Actions"})}),(0,j.jsxs)(ge,{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)(X,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),(0,j.jsxs)(me,{children:[(0,j.jsx)(pe,{children:(0,j.jsx)(ue,{children:"Resources"})}),(0,j.jsx)(ge,{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)(Se.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)(Se.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)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-3UEZYNR7.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-343CWVUF.mjs";import"../../chunk-FGJ675B5.mjs";import"../../chunk-456IOI6A.mjs";import"../../chunk-72WK7C3W.mjs";import"../../chunk-DSLEVJ5J.mjs";import"../../chunk-CLX23VLS.mjs";import"../../chunk-UJRNR62B.mjs";import"../../chunk-G3JKNT32.mjs";import"../../chunk-HGT54DGN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-I2GY5WTT.mjs";import"../../chunk-VQWGXZ5A.mjs";import"../../chunk-Z4CK655R.mjs";import"../../chunk-HAYRX2WO.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5O6DFU4X.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-O5BAW5XQ.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};
|