cortex-react-components 1.34.2 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2GYQYXLF.mjs +1 -0
- package/dist/chunk-65EMMROH.mjs +4 -0
- package/dist/{chunk-FOMIQYMA.mjs → chunk-6TGQ2756.mjs} +1 -1
- package/dist/{chunk-3PC5BLK7.mjs → chunk-7DYXQ6BN.mjs} +1 -1
- package/dist/{chunk-A2QVFCP5.mjs → chunk-7WPMELBG.mjs} +1 -1
- package/dist/{chunk-6ZXYKK6J.mjs → chunk-C7U6C7PB.mjs} +1 -1
- package/dist/{chunk-XKUS4OC7.mjs → chunk-CWNEDSLD.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-IMAQJ7N3.mjs → chunk-EMZQNDA7.mjs} +1 -1
- package/dist/chunk-HNZ74SX3.mjs +4 -0
- package/dist/{chunk-MZ45XGZG.mjs → chunk-HXJ67UB3.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-ULKXH4YN.mjs → chunk-MBCAGZ76.mjs} +1 -1
- package/dist/{chunk-VDSYKQJA.mjs → chunk-MGTUBWFI.mjs} +1 -1
- package/dist/chunk-PFG3VUW7.mjs +1 -0
- package/dist/{chunk-OVAOTY36.mjs → chunk-TO2JWPLJ.mjs} +1 -1
- package/dist/{chunk-VP7B5S7N.mjs → chunk-UQ3BPZ7T.mjs} +1 -1
- package/dist/chunk-WJP5QP2O.mjs +4 -0
- package/dist/{chunk-OBJPMP7L.mjs → chunk-WYGN4HPP.mjs} +1 -1
- package/dist/{chunk-LQZTCLMG.mjs → chunk-Y2KKUQDU.mjs} +2 -2
- package/dist/chunk-ZDYIZAK5.mjs +1 -0
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/EventCard.js +2 -2
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.js +2 -2
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.d.ts +8 -0
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.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.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- 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/globals.css +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.js +2 -2
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.js +2 -2
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +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/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3FTRFEVM.mjs +0 -4
- package/dist/chunk-3IHGGPRN.mjs +0 -1
- package/dist/chunk-456IOI6A.mjs +0 -1
- package/dist/chunk-AO2FTKDA.mjs +0 -1
- package/dist/chunk-GFTFZ7JY.mjs +0 -4
- package/dist/chunk-K6CEB2MJ.mjs +0 -4
- package/dist/chunk-S7CP4YF5.mjs +0 -1
|
@@ -436,4 +436,4 @@ Unable to find an `+(vx===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
436
436
|
`)),s+=p+vx[u+1]}),s}var iU=oU,Bd=(0,Qw.instrument)({...WE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Bd.screen=new Proxy(Bd.screen,{get(e,t,r){return nU.once.warn(iU`
|
|
437
437
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
438
438
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
439
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:aU,configure:sU,createEvent:lU,fireEvent:uU,findAllByAltText:cU,findAllByDisplayValue:dU,findAllByLabelText:pU,findAllByPlaceholderText:fU,findAllByRole:hU,findAllByTestId:mU,findAllByText:gU,findAllByTitle:yU,findByAltText:bU,findByDisplayValue:vU,findByLabelText:EU,findByPlaceholderText:_U,findByRole:wU,findByTestId:SU,findByText:CU,findByTitle:AU,getAllByAltText:TU,getAllByDisplayValue:RU,getAllByLabelText:xU,getAllByPlaceholderText:PU,getAllByRole:OU,getAllByTestId:NU,getAllByText:MU,getAllByTitle:IU,getByAltText:DU,getByDisplayValue:qU,getByLabelText:jU,getByPlaceholderText:BU,getByRole:kU,getByTestId:FU,getByText:LU,getByTitle:$U,getConfig:UU,getDefaultNormalizer:HU,getElementError:zU,getNodeText:GU,getQueriesForElement:VU,getRoles:WU,getSuggestedQuery:YU,isInaccessible:KU,logDOM:JU,logRoles:XU,prettyDOM:QU,queries:ZU,queryAllByAltText:e6,queryAllByAttribute:t6,queryAllByDisplayValue:r6,queryAllByLabelText:n6,queryAllByPlaceholderText:o6,queryAllByRole:i6,queryAllByTestId:a6,queryAllByText:s6,queryAllByTitle:l6,queryByAltText:u6,queryByAttribute:c6,queryByDisplayValue:d6,queryByLabelText:p6,queryByPlaceholderText:f6,queryByRole:h6,queryByTestId:m6,queryByText:g6,queryByTitle:y6,queryHelpers:b6,screen:v6,waitFor:E6,waitForElementToBeRemoved:_6,within:Zw,prettyFormat:w6}=Bd,{userEvent:S6}=(0,Qw.instrument)({userEvent:rU},{intercept:!0}),{expect:C6}=(0,Bq.instrument)({expect:LE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let vx=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?vx:[...vx,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),A6=({parameters:e})=>{var t,r,vx;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?GE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?zE():((vx=e==null?void 0:e.test)==null?void 0:vx.restoreMocks)!==!1&&VE()},nl=(e,t=0,r)=>{var vx;if(t>5||e==null)return e;if(kp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=UE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>nl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(vx=Object.getOwnPropertyDescriptor(e,o))!=null&&vx.writable&&(e[o]=nl(i,t,o));return e}return e},T6=({initialArgs:e})=>{nl(e)},R6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Zw(e.canvasElement))};sv.global.__STORYBOOK_TEST_LOADERS__=[A6,T6,R6];sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=$E});var k6={};jS(k6,{Default:()=>qa,HighImpactHero:()=>j6,LowImpactHero:()=>D6,MediumImpactHero:()=>q6,PostHero:()=>B6,default:()=>M6});module.exports=BS(k6);var xn=sr(require("react"));var gf=require("clsx");var Ll="-",kS=e=>{let t=LS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:vx}=e;return{getClassGroupId:s=>{let l=s.split(Ll);return l[0]===""&&l.length!==1&&l.shift(),cf(l,t)||FS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&vx[s]?[...u,...vx[s]]:u}}},cf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],vx=t.nextPart.get(r),o=vx?cf(e.slice(1),vx):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Ll);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},lf=/^\[(.+)\]$/,FS=e=>{if(lf.test(e)){let t=lf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},LS=e=>{let{theme:t,prefix:r}=e,vx={nextPart:new Map,validators:[]};return US(Object.entries(e.classGroups),r).forEach(([i,s])=>{Fl(s,vx,i,t)}),vx},Fl=(e,t,r,vx)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:uf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if($S(o)){Fl(o(vx),t,r,vx);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Fl(s,uf(t,i),r,vx)})})},uf=(e,t)=>{let r=e;return t.split(Ll).forEach(vx=>{r.nextPart.has(vx)||r.nextPart.set(vx,{nextPart:new Map,validators:[]}),r=r.nextPart.get(vx)}),r},$S=e=>e.isThemeGetter,US=(e,t)=>t?e.map(([r,vx])=>{let o=vx.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,HS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,vx=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,vx=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=vx.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},df="!",zS=e=>{let{separator:t,experimentalParseClassName:r}=e,vx=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(vx||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(df),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},GS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(vx=>{vx[0]==="["?(t.push(...r.sort(),vx),r=[]):r.push(vx)}),t.push(...r.sort()),t},VS=e=>({cache:HS(e.cacheSize),parseClassName:zS(e),...kS(e)}),WS=/\s+/,YS=(e,t)=>{let{parseClassName:r,getClassGroupId:vx,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(WS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=vx(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=vx(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=GS(c).join(":"),E=p?b+df:b,_=E+y;if(i.includes(_))continue;i.push(_);let P=o(y,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function KS(){let e=0,t,r,vx="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pf(t))&&(vx&&(vx+=" "),vx+=r);return vx}var pf=e=>{if(typeof e=="string")return e;let t,r="";for(let vx=0;vx<e.length;vx++)e[vx]&&(t=pf(e[vx]))&&(r&&(r+=" "),r+=t);return r};function JS(e,...t){let r,vx,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=VS(d),vx=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=vx(u);if(d)return d;let c=YS(u,r);return o(u,c),c}return function(){return i(KS.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ff=/^\[(?:([a-z-]+):)?(.+)\]$/i,XS=/^\d+\/\d+$/,QS=new Set(["px","full","screen"]),ZS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,e2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Pn|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,t2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,r2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,n2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lr=e=>to(e)||QS.has(e)||XS.test(e),tn=e=>ro(e,"length",d2),to=e=>!!e&&!Number.isNaN(Number(e)),kl=e=>ro(e,"number",to),Mi=e=>!!e&&Number.isInteger(Number(e)),o2=e=>e.endsWith("%")&&to(e.slice(0,-1)),Fe=e=>ff.test(e),rn=e=>ZS.test(e),i2=new Set(["length","size","percentage"]),a2=e=>ro(e,i2,hf),s2=e=>ro(e,"position",hf),l2=new Set(["image","url"]),u2=e=>ro(e,l2,f2),c2=e=>ro(e,"",p2),Ii=()=>!0,ro=(e,t,r)=>{let vx=ff.exec(e);return vx?vx[1]?typeof t=="string"?vx[1]===t:t.has(vx[1]):r(vx[2]):!1},d2=e=>e2.test(e)&&!t2.test(e),hf=()=>!1,p2=e=>r2.test(e),f2=e=>n2.test(e);var h2=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),vx=gt("brightness"),o=gt("borderColor"),i=gt("borderRadius"),s=gt("borderSpacing"),l=gt("borderWidth"),u=gt("contrast"),d=gt("grayscale"),c=gt("hueRotate"),p=gt("invert"),h=gt("gap"),m=gt("gradientColorStops"),g=gt("gradientColorStopPositions"),y=gt("inset"),b=gt("margin"),E=gt("opacity"),_=gt("padding"),P=gt("saturate"),C=gt("scale"),w=gt("sepia"),S=gt("skew"),T=gt("space"),A=gt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",Lr,tn],x=()=>["auto",to,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[to,Fe];return{cacheSize:500,separator:":",theme:{colors:[Ii],spacing:[Lr,tn],blur:["none","",rn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",rn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[o2,tn],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[rn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mi,Fe]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Mi,Fe]}],"grid-cols":[{"grid-cols":[Ii]}],"col-start-end":[{col:["auto",{span:["full",Mi,Fe]},Fe]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Ii]}],"row-start-end":[{row:["auto",{span:[Mi,Fe]},Fe]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],Pn:[{Pn:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[rn]},rn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",rn,tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kl]}],"font-family":[{font:[Ii]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",to,kl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lr,tn]}],"underline-offset":[{"underline-offset":["auto",Lr,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],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",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),s2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},u2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Lr,Fe]}],"outline-w":[{outline:[Lr,tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Lr,tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rn,c2]}],"shadow-color":[{shadow:[Ii]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[vx]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",rn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[vx]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Mi,Fe]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],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","vx-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-Pn":[{"scroll-Pn":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lr,tn,kl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","Pn","pr","pb","pl"],px:["pr","pl"],py:["Pn","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Pn","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Pn","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var mf=JS(h2);function ze(...e){return mf((0,gf.clsx)(e))}var Pn=require("react/jsx-runtime"),Ba=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ba.displayName="Card";var ka=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("flex flex-col space-y-1.5 p-6",e),...t}));ka.displayName="CardHeader";var Fa=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("font-semibold leading-none tracking-tight",e),...t}));Fa.displayName="CardTitle";var m2=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("text-sm text-muted-foreground",e),...t}));m2.displayName="CardDescription";var La=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("p-6 Pn-0",e),...t}));La.displayName="CardContent";var g2=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("flex items-center p-6 Pn-0",e),...t}));g2.displayName="CardFooter";var yf=require("@radix-ui/react-slot"),bf=require("class-variance-authority"),vf=sr(require("react")),y2=(0,bf.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"}}}),On=vf.forwardRef(({asChild:e=!1,className:t,size:r,variant:vx,...o},i)=>(0,Pn.jsx)(e?yf.Slot:"button",{className:ze(y2({className:t,size:r,variant:vx})),ref:i,...o}));On.displayName="Button";var Za=require("lucide-react");var _f=({className:e,content:t,style:r})=>(0,$a.jsx)("div",{className:ze("mx-auto my-8 w-full",e),children:(0,$a.jsx)("div",{className:ze("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,$a.jsx)(Ar,{content:t,enableGutter:!1,enableProse:!1})})});var $l=sr(require("next/link")),no=e=>{let{type:t,appearance:r="inline",children:vx,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Pn.jsxs)($l.default,{className:ze(o),href:c||d||"",...h,children:[i&&i,vx&&vx]}):(0,Pn.jsx)(On,{asChild:!0,className:o,size:p,variant:r,children:(0,Pn.jsxs)($l.default,{className:ze(o),href:c||d||"",...h,children:[i&&i,vx&&vx]})})};var wf=({links:e,richText:t})=>(0,Pn.jsx)("div",{className:"container",children:(0,Pn.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,Pn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pn.jsx)(Ar,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},vx)=>(0,Pn.jsx)(no,{size:"lg",...r},vx))})]})});var Ua=require("prism-react-renderer");var Cf=require("react");function Af({code:e}){let[t,r]=(0,Cf.useState)("Copy");function vx(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pn.jsxs)(On,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),vx()},children:[(0,Pn.jsx)("p",{children:t}),(0,Pn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Pn.jsx)(Za.ClipboardCopy,{})})]})})}var Tf=({code:e,language:t=""})=>e?(0,$r.jsx)(Ua.Highlight,{code:e,language:t,theme:Ua.themes.vsDark,children:({getLineProps:r,getTokenProps:vx,tokens:o})=>(0,$r.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,$r.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,$r.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$r.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,$r.jsx)("span",{...vx({token:l})},u))})]},s)),(0,$r.jsx)(Af,{code:e})]})}):null;var Rf=({className:e,code:t,language:r})=>(0,Pn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pn.jsx)(Tf,{code:t,language:r})});var Pf=sr(require("next/image"));var xf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ha=()=>{if(xf){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 b2={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},v2="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=",Of=e=>{let{alt:t,fill:r,imgClassName:vx,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:P}=i;d=P,c=E,p=y||"",h=`${Ha()}${_}`}let m=u||"lazy",g=s||Object.entries(b2).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Pn.jsx)("picture",{children:(0,Pn.jsx)(Pf.default,{alt:p||"",className:ze(vx),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:v2,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Nf=e=>{let{onClick:t,resource:r,videoClassName:vx}=e,o=(0,Cf.useRef)(null);if((0,Cf.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Pn.jsx)("video",{autoPlay:!0,className:ze(vx),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Pn.jsx)("source",{src:`${Ha()}/media/${i}`})})}return null};var Va=e=>{var s;let{className:t,htmlElement:r="div",resource:vx}=e,o=typeof vx=="object"&&((s=vx==null?void 0:vx.mimeType)==null?void 0:s.includes("video"));return(0,Pn.jsx)(r||Cf.Fragment,{...r!==null?{className:t}:{},children:o?(0,Pn.jsx)(Nf,{...e}):(0,Pn.jsx)(Of,{...e})})};var If=e=>{let{className:t,enableGutter:r=!0,imgClassName:vx,media:o,staticImage:i}=e;return(0,Pn.jsx)("div",{className:ze("",{container:r},t),children:(0,Pn.jsx)(Va,{imgClassName:ze("border border-border rounded-[0.8rem]",vx),resource:o,src:i})})};var Ya=sr(require("react"));function Wa({nodes:e}){return(0,Pn.jsx)(Ya.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pn.jsx)(Ya.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Pn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Pn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Pn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Pn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Pn.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,Pn.jsx)("table",{children:(0,Pn.jsx)("tbody",{children:t.children.map((i,s)=>(0,Pn.jsx)("tr",{children:i.children.map((l,u)=>(0,Pn.jsx)("td",{children:Wa({nodes:l.children})},u))},s))})},r);let vx=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Wa({nodes:i.children})},o="children"in t?vx(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Pn.jsx)(wf,{...i},r);case"mediaBlock":return(0,Pn.jsx)(If,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pn.jsx)(_f,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Pn.jsx)(Rf,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Pn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Pn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Pn.jsx)(no,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Ar=({className:e,content:t,enableGutter:r=!0,enableProse:vx=!0})=>{var o;return t?(0,Pn.jsx)("div",{className:ze({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":vx},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Wa({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var qf=({children:e,richText:t})=>(0,Pn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pn.jsx)("div",{className:"container",children:e||t&&(0,Pn.jsx)(Ar,{content:t,enableGutter:!1})})});var Vl=sr(require("next/image"));var E2=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:vx,url:o,width:i}=e;return(0,Pn.jsx)(Vl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:vx||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Vl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},jf=({links:e,media:t,children:r,richText:vx})=>(0,Pn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Pn-10",children:[t&&(0,Pn.jsx)(E2,{media:t}),(0,Pn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pn.jsx)("div",{className:"container text-brand-one-foreground",children:r||vx&&(0,Pn.jsx)(Ar,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:vx,enableProse:!0,enableGutter:!1})})})]});var Bf=sr(require("next/image"));var kf=({links:e,media:t,children:r,richText:vx})=>(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||vx&&(0,Pn.jsx)(Ar,{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:vx,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Pn.jsx)("li",{children:(0,Pn.jsx)(no,{...o})},i))})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pn.jsx)(Va,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Bf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ff=e=>{let r=new Date;e&&(r=new Date(e));let vx=r.getMonth(),o=r.getDate(),i=vx+1<10?`0${vx+1}`:vx+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var qi=sr(require("react"));var $f=(0,bf.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Wl({className:e,variant:t,...r}){return(0,Pn.jsx)("div",{className:ze($f({variant:t}),e),...r})}var Hf=sr(require("next/image")),zf=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:vx,publishedAt:o,title:i}=e;return(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pn.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Pn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,u)=>{if(typeof l=="object"&&l!==null){let{title:d}=l;return(0,Pn.jsx)(Wl,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,Pn.jsx)("div",{className:"",children:(0,Pn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pn.jsx)("div",{className:"flex flex-col gap-4",children:vx&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Author"}),vx.map((l,u)=>{let{name:d}=l,c=u===vx.length-1,p=u===vx.length-2;return(0,Pn.jsxs)(qi.default.Fragment,{children:[d,p&&vx.length>2&&(0,Pn.jsx)(qi.default.Fragment,{children:", "}),p&&vx.length===2&&(0,Pn.jsx)(qi.default.Fragment,{children:" "}),!c&&vx.length>1&&(0,Pn.jsx)(qi.default.Fragment,{children:"and "})]},u)})]})}),o&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Pn.jsx)("time",{dateTime:o,children:Ff(o)})]})]})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Hf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((s=r&&r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png"})}),(0,Pn.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 Mn=({type:e="solid",iconName:t="cloud",size:r="lg",className:vx})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=vx!=null?vx:"",l=o+i+" fa-"+r+" "+s;return(0,Pn.jsx)("i",{className:l})};var oo=require("@headlessui/react"),Wf=require("@heroicons/react/20/solid");var _2=({name:e,items:t,actions:r=[],href:vx})=>!t&&vx?(0,Pn.jsx)("a",{href:vx,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Pn.jsxs)(oo.Popover,{children:[(0,Pn.jsxs)(oo.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Pn.jsx)(Wf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Pn.jsxs)(oo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Pn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Pn.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,Pn.jsx)(Vf,{icon:o.icon,size:"4x"})}),(0,Pn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Pn.jsx)("span",{className:"absolute inset-0"})]}),(0,Pn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Pn.jsx)("div",{className:"bg-gray-50",children:(0,Pn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Pn.jsxs)("a",{href:o.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,Pn.jsx)(Vf,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Vf=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Pn.jsx)(Mn,{...e,size:r});if("src"in e)return(0,Pn.jsx)("div",{className:ze(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Pn.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Yf=_2;function Kf({children:e,isFluid:t=!1,isNoPadding:r=!1,className:vx=""}){let o=ze("container",t&&"full-width",r&&"no-padding",vx);return(0,Pn.jsx)("div",{className:o,children:e})}var Xf=sr(require("next/link"));function Qf({children:e,href:t,openNewTab:r,...vx}){return(0,Pn.jsx)(Xf.default,{href:t,target:r?"_blank":"_self",...vx,children:e})}var Yl=sr(require("next/image"));function Bi({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Pn.jsxs)(Qf,{href:"/",className:ze(r?"py-1":"py-2"),children:[(0,Pn.jsx)(Yl.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,Pn.jsx)(Yl.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}})]})}var eh=require("next-themes");function rh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx}){let[o,i]=(0,Cf.useState)(!1),[s,l]=(0,Cf.useState)(""),u=["light","dark"],{theme:d,setTheme:c}=(0,eh.useTheme)();(0,Cf.useEffect)(()=>{l(d||"dark")},[d]);let p=()=>{let h=u[(u.indexOf(s)+1)%u.length];l(h),c(h)};return(0,Cf.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,Pn.jsx)(Pn.Fragment,{children:(0,Pn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pn.jsx)(Kf,{className:"px-0",children:(0,Pn.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Pn.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,Pn.jsx)(Bi,{logoDark:r,logoLight:t}),(0,Pn.jsx)(oo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:vx&&vx.map(h=>(0,Pn.jsx)(Yf,{...h},h.name))}),(0,Pn.jsx)("div",{className:"flex items-center space-x-4",children:(0,Pn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:p,children:(0,Pn.jsxs)("div",{className:"relative",children:[(0,Pn.jsx)(Za.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pn.jsx)(Za.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Xa=require("@heroicons/react/24/outline");var Kl=["light","dark"];function oh({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:vx=!0}){let[o,i]=(0,Cf.useState)(!1),{theme:s,setTheme:l}=(0,eh.useTheme)(),[u,d]=(0,Cf.useState)(!1),[c,p]=(0,Cf.useState)("light");(0,Cf.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Cf.useEffect)(()=>{p(s||"dark")},[s]);let h=()=>{let m=Kl[(Kl.indexOf(c)+1)%Kl.length];p(m),l(m)};return(0,Pn.jsx)(Pn.Fragment,{children:(0,Pn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||vx?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pn.jsx)("nav",{className:ze("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,Pn.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,Pn.jsx)(Bi,{logoDark:t,logoLight:e,mobile:!0}),(0,Pn.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Pn.jsxs)("button",{type:"button",onClick:()=>d(!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,Pn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pn.jsx)(Xa.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Pn.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:h,children:(0,Pn.jsxs)("div",{className:"relative",children:[(0,Pn.jsx)(Za.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pn.jsx)(Za.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pn.jsxs)(oo.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,Pn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pn.jsxs)(oo.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,Pn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pn.jsx)(Bi,{logoDark:t,logoLight:e,mobile:!0}),(0,Pn.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pn.jsx)(Xa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Pn.jsx)("div",{className:"mt-6 flow-root",children:(0,Pn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,Pn.jsx)(w2,{...m},m.name))})})})]})]})]})})}function w2({name:e,items:t,actions:r,href:vx}){return!t&&vx?(0,Pn.jsx)("a",{href:vx,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,Pn.jsxs)(oo.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pn.jsx)(oo.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,Pn.jsx)(oo.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Pn.jsx)(oo.DisclosureButton,{as:"a",href:o.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:o.name},o.name))})]})}function ih({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx,className:o}){return(0,Pn.jsxs)("div",{className:ze("fixed top-0 left-0 right-0 z-50",o),children:[(0,Pn.jsx)(rh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx}),(0,Pn.jsx)(oh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx})]})}var ah="../cortex-reply-light-27IMI3G7.png";var sh="../cortex-reply-dark-XPAJJJYY.png";function es({...e}){return(0,Pn.jsxs)("div",{children:[(0,Pn.jsx)(ih,{isMenuOpen:!0,logoLight:ah,logoDark:sh,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Pn.jsx)(qf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Pn.jsx)(jf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Pn.jsx)(kf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Pn.jsx)(zf,{...e.hero}),(0,Pn.jsx)("div",{className:"container py-8",children:(0,Pn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Pn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Pn.jsxs)("div",{className:"space-y-6",children:[(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)(ka,{children:(0,Pn.jsx)(Fa,{children:"Quick Actions"})}),(0,Pn.jsxs)(La,{children:[(0,Pn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Pn.jsx)(On,{className:"w-full",children:"Create New"})]})]}),(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)(ka,{children:(0,Pn.jsx)(Fa,{children:"Resources"})}),(0,Pn.jsx)(La,{children:(0,Pn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var Dl=sr(eS());var x6=()=>(0,Pn.jsx)(Mn,{iconName:"github",size:"4x",type:"brands"});var P6=()=>(0,Pn.jsx)(Mn,{iconName:"people-sharing",size:"4x",type:"kit"}),O6=()=>(0,Pn.jsx)(Mn,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),N6=()=>(0,Pn.jsx)(Mn,{iconName:"development",size:"4x",type:"kit"}),M6={title:"Pages/Page",component:es,decorators:[e=>(0,Pn.jsx)("div",{className:"bg-sidebar",children:(0,Pn.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},I6=e=>(0,Pn.jsx)(es,{...e}),qa={render:I6,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Pn.jsxs)("div",{className:"prose max-w-none",children:[(0,Pn.jsx)("h2",{children:"How it works"}),(0,Pn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore Pn dolore magna aliqua."}),(0,Pn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Pn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:O6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:P6},{name:"Products",description:"Products that we sell",href:"#",icon:N6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Xa.ChartPieIcon},{name:"API Reference",href:"#",icon:Xa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:x6}],actions:[{name:"Watch demo",href:"#",icon:Wf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Wf.PhoneIcon},{name:"View all products",href:"#",icon:Wf.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Dl.fn)(),onEditDocument:(0,Dl.fn)(),onPrintDocument:(0,Dl.fn)()}}},D6={args:{...qa.args,hero:{type:"lowImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},q6={args:{...qa.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},j6={args:{...qa.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},B6={args:{...qa.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:aU,configure:sU,createEvent:lU,fireEvent:uU,findAllByAltText:cU,findAllByDisplayValue:dU,findAllByLabelText:pU,findAllByPlaceholderText:fU,findAllByRole:hU,findAllByTestId:mU,findAllByText:gU,findAllByTitle:yU,findByAltText:bU,findByDisplayValue:vU,findByLabelText:EU,findByPlaceholderText:_U,findByRole:wU,findByTestId:SU,findByText:CU,findByTitle:AU,getAllByAltText:TU,getAllByDisplayValue:RU,getAllByLabelText:xU,getAllByPlaceholderText:PU,getAllByRole:OU,getAllByTestId:NU,getAllByText:MU,getAllByTitle:IU,getByAltText:DU,getByDisplayValue:qU,getByLabelText:jU,getByPlaceholderText:BU,getByRole:kU,getByTestId:FU,getByText:LU,getByTitle:$U,getConfig:UU,getDefaultNormalizer:HU,getElementError:zU,getNodeText:GU,getQueriesForElement:VU,getRoles:WU,getSuggestedQuery:YU,isInaccessible:KU,logDOM:JU,logRoles:XU,prettyDOM:QU,queries:ZU,queryAllByAltText:e6,queryAllByAttribute:t6,queryAllByDisplayValue:r6,queryAllByLabelText:n6,queryAllByPlaceholderText:o6,queryAllByRole:i6,queryAllByTestId:a6,queryAllByText:s6,queryAllByTitle:l6,queryByAltText:u6,queryByAttribute:c6,queryByDisplayValue:d6,queryByLabelText:p6,queryByPlaceholderText:f6,queryByRole:h6,queryByTestId:m6,queryByText:g6,queryByTitle:y6,queryHelpers:b6,screen:v6,waitFor:E6,waitForElementToBeRemoved:_6,within:Zw,prettyFormat:w6}=Bd,{userEvent:S6}=(0,Qw.instrument)({userEvent:rU},{intercept:!0}),{expect:C6}=(0,Bq.instrument)({expect:LE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let vx=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?vx:[...vx,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),A6=({parameters:e})=>{var t,r,vx;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?GE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?zE():((vx=e==null?void 0:e.test)==null?void 0:vx.restoreMocks)!==!1&&VE()},nl=(e,t=0,r)=>{var vx;if(t>5||e==null)return e;if(kp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=UE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>nl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(vx=Object.getOwnPropertyDescriptor(e,o))!=null&&vx.writable&&(e[o]=nl(i,t,o));return e}return e},T6=({initialArgs:e})=>{nl(e)},R6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Zw(e.canvasElement))};sv.global.__STORYBOOK_TEST_LOADERS__=[A6,T6,R6];sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=$E});var k6={};jS(k6,{Default:()=>qa,HighImpactHero:()=>j6,LowImpactHero:()=>D6,MediumImpactHero:()=>q6,PostHero:()=>B6,default:()=>M6});module.exports=BS(k6);var xn=sr(require("react"));var gf=require("clsx");var Ll="-",kS=e=>{let t=LS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:vx}=e;return{getClassGroupId:s=>{let l=s.split(Ll);return l[0]===""&&l.length!==1&&l.shift(),cf(l,t)||FS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&vx[s]?[...u,...vx[s]]:u}}},cf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],vx=t.nextPart.get(r),o=vx?cf(e.slice(1),vx):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Ll);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},lf=/^\[(.+)\]$/,FS=e=>{if(lf.test(e)){let t=lf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},LS=e=>{let{theme:t,prefix:r}=e,vx={nextPart:new Map,validators:[]};return US(Object.entries(e.classGroups),r).forEach(([i,s])=>{Fl(s,vx,i,t)}),vx},Fl=(e,t,r,vx)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:uf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if($S(o)){Fl(o(vx),t,r,vx);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Fl(s,uf(t,i),r,vx)})})},uf=(e,t)=>{let r=e;return t.split(Ll).forEach(vx=>{r.nextPart.has(vx)||r.nextPart.set(vx,{nextPart:new Map,validators:[]}),r=r.nextPart.get(vx)}),r},$S=e=>e.isThemeGetter,US=(e,t)=>t?e.map(([r,vx])=>{let o=vx.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,HS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,vx=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,vx=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=vx.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},df="!",zS=e=>{let{separator:t,experimentalParseClassName:r}=e,vx=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(vx||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(df),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},GS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(vx=>{vx[0]==="["?(t.push(...r.sort(),vx),r=[]):r.push(vx)}),t.push(...r.sort()),t},VS=e=>({cache:HS(e.cacheSize),parseClassName:zS(e),...kS(e)}),WS=/\s+/,YS=(e,t)=>{let{parseClassName:r,getClassGroupId:vx,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(WS),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=vx(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=vx(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=GS(c).join(":"),E=p?b+df:b,_=E+y;if(i.includes(_))continue;i.push(_);let P=o(y,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function KS(){let e=0,t,r,vx="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pf(t))&&(vx&&(vx+=" "),vx+=r);return vx}var pf=e=>{if(typeof e=="string")return e;let t,r="";for(let vx=0;vx<e.length;vx++)e[vx]&&(t=pf(e[vx]))&&(r&&(r+=" "),r+=t);return r};function JS(e,...t){let r,vx,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=VS(d),vx=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=vx(u);if(d)return d;let c=YS(u,r);return o(u,c),c}return function(){return i(KS.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ff=/^\[(?:([a-z-]+):)?(.+)\]$/i,XS=/^\d+\/\d+$/,QS=new Set(["px","full","screen"]),ZS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,e2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Pn|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,t2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,r2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,n2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lr=e=>to(e)||QS.has(e)||XS.test(e),tn=e=>ro(e,"length",d2),to=e=>!!e&&!Number.isNaN(Number(e)),kl=e=>ro(e,"number",to),Mi=e=>!!e&&Number.isInteger(Number(e)),o2=e=>e.endsWith("%")&&to(e.slice(0,-1)),Fe=e=>ff.test(e),rn=e=>ZS.test(e),i2=new Set(["length","size","percentage"]),a2=e=>ro(e,i2,hf),s2=e=>ro(e,"position",hf),l2=new Set(["image","url"]),u2=e=>ro(e,l2,f2),c2=e=>ro(e,"",p2),Ii=()=>!0,ro=(e,t,r)=>{let vx=ff.exec(e);return vx?vx[1]?typeof t=="string"?vx[1]===t:t.has(vx[1]):r(vx[2]):!1},d2=e=>e2.test(e)&&!t2.test(e),hf=()=>!1,p2=e=>r2.test(e),f2=e=>n2.test(e);var h2=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),vx=gt("brightness"),o=gt("borderColor"),i=gt("borderRadius"),s=gt("borderSpacing"),l=gt("borderWidth"),u=gt("contrast"),d=gt("grayscale"),c=gt("hueRotate"),p=gt("invert"),h=gt("gap"),m=gt("gradientColorStops"),g=gt("gradientColorStopPositions"),y=gt("inset"),b=gt("margin"),E=gt("opacity"),_=gt("padding"),P=gt("saturate"),C=gt("scale"),w=gt("sepia"),S=gt("skew"),T=gt("space"),A=gt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",Lr,tn],x=()=>["auto",to,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[to,Fe];return{cacheSize:500,separator:":",theme:{colors:[Ii],spacing:[Lr,tn],blur:["none","",rn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",rn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[o2,tn],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[rn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mi,Fe]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Mi,Fe]}],"grid-cols":[{"grid-cols":[Ii]}],"col-start-end":[{col:["auto",{span:["full",Mi,Fe]},Fe]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Ii]}],"row-start-end":[{row:["auto",{span:[Mi,Fe]},Fe]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],Pn:[{Pn:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[rn]},rn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",rn,tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kl]}],"font-family":[{font:[Ii]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",to,kl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lr,tn]}],"underline-offset":[{"underline-offset":["auto",Lr,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],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",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),s2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},u2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Lr,Fe]}],"outline-w":[{outline:[Lr,tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Lr,tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rn,c2]}],"shadow-color":[{shadow:[Ii]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[vx]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",rn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[vx]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Mi,Fe]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],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","vx-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-Pn":[{"scroll-Pn":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lr,tn,kl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","Pn","pr","pb","pl"],px:["pr","pl"],py:["Pn","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Pn","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Pn","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var mf=JS(h2);function ze(...e){return mf((0,gf.clsx)(e))}var Pn=require("react/jsx-runtime"),Ba=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ba.displayName="Card";var ka=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("flex flex-col space-y-1.5 p-6",e),...t}));ka.displayName="CardHeader";var Fa=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("font-semibold leading-none tracking-tight",e),...t}));Fa.displayName="CardTitle";var m2=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("text-sm text-muted-foreground",e),...t}));m2.displayName="CardDescription";var La=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("p-6 Pn-0",e),...t}));La.displayName="CardContent";var g2=xn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:ze("flex items-center p-6 Pn-0",e),...t}));g2.displayName="CardFooter";var yf=require("@radix-ui/react-slot"),bf=require("class-variance-authority"),vf=sr(require("react")),y2=(0,bf.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"}}}),On=vf.forwardRef(({asChild:e=!1,className:t,size:r,variant:vx,...o},i)=>(0,Pn.jsx)(e?yf.Slot:"button",{className:ze(y2({className:t,size:r,variant:vx})),ref:i,...o}));On.displayName="Button";var Za=require("lucide-react");var _f=({className:e,content:t,style:r})=>(0,$a.jsx)("div",{className:ze("mx-auto my-8 w-full",e),children:(0,$a.jsx)("div",{className:ze("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,$a.jsx)(Ar,{content:t,enableGutter:!1,enableProse:!1})})});var $l=sr(require("next/link")),no=e=>{let{type:t,appearance:r="inline",children:vx,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Pn.jsxs)($l.default,{className:ze(o),href:c||d||"",...h,children:[i&&i,vx&&vx]}):(0,Pn.jsx)(On,{asChild:!0,className:o,size:p,variant:r,children:(0,Pn.jsxs)($l.default,{className:ze(o),href:c||d||"",...h,children:[i&&i,vx&&vx]})})};var wf=({links:e,richText:t})=>(0,Pn.jsx)("div",{className:"container",children:(0,Pn.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,Pn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pn.jsx)(Ar,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},vx)=>(0,Pn.jsx)(no,{size:"lg",...r},vx))})]})});var Ua=require("prism-react-renderer");var Cf=require("react");function Af({code:e}){let[t,r]=(0,Cf.useState)("Copy");function vx(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pn.jsxs)(On,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),vx()},children:[(0,Pn.jsx)("p",{children:t}),(0,Pn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Pn.jsx)(Za.ClipboardCopy,{})})]})})}var Tf=({code:e,language:t=""})=>e?(0,$r.jsx)(Ua.Highlight,{code:e,language:t,theme:Ua.themes.vsDark,children:({getLineProps:r,getTokenProps:vx,tokens:o})=>(0,$r.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,$r.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,$r.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$r.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,$r.jsx)("span",{...vx({token:l})},u))})]},s)),(0,$r.jsx)(Af,{code:e})]})}):null;var Rf=({className:e,code:t,language:r})=>(0,Pn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pn.jsx)(Tf,{code:t,language:r})});var Pf=sr(require("next/image"));var xf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ha=()=>{if(xf){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 b2={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},v2="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=",Of=e=>{let{alt:t,fill:r,imgClassName:vx,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:P}=i;d=P,c=E,p=y||"",h=`${Ha()}${_}`}let m=u||"lazy",g=s||Object.entries(b2).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Pn.jsx)("picture",{children:(0,Pn.jsx)(Pf.default,{alt:p||"",className:ze(vx),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:v2,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Nf=e=>{let{onClick:t,resource:r,videoClassName:vx}=e,o=(0,Cf.useRef)(null);if((0,Cf.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Pn.jsx)("video",{autoPlay:!0,className:ze(vx),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Pn.jsx)("source",{src:`${Ha()}/media/${i}`})})}return null};var Va=e=>{var s;let{className:t,htmlElement:r="div",resource:vx}=e,o=typeof vx=="object"&&((s=vx==null?void 0:vx.mimeType)==null?void 0:s.includes("video"));return(0,Pn.jsx)(r||Cf.Fragment,{...r!==null?{className:t}:{},children:o?(0,Pn.jsx)(Nf,{...e}):(0,Pn.jsx)(Of,{...e})})};var If=e=>{let{className:t,enableGutter:r=!0,imgClassName:vx,media:o,staticImage:i}=e;return(0,Pn.jsx)("div",{className:ze("",{container:r},t),children:(0,Pn.jsx)(Va,{imgClassName:ze("border border-border rounded-[0.8rem]",vx),resource:o,src:i})})};var Ya=sr(require("react"));function Wa({nodes:e}){return(0,Pn.jsx)(Ya.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pn.jsx)(Ya.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Pn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Pn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Pn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Pn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Pn.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,Pn.jsx)("table",{children:(0,Pn.jsx)("tbody",{children:t.children.map((i,s)=>(0,Pn.jsx)("tr",{children:i.children.map((l,u)=>(0,Pn.jsx)("td",{children:Wa({nodes:l.children})},u))},s))})},r);let vx=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Wa({nodes:i.children})},o="children"in t?vx(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Pn.jsx)(wf,{...i},r);case"mediaBlock":return(0,Pn.jsx)(If,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pn.jsx)(_f,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Pn.jsx)(Rf,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Pn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Pn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Pn.jsx)(no,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Ar=({className:e,content:t,enableGutter:r=!0,enableProse:vx=!0})=>{var o;return t?(0,Pn.jsx)("div",{className:ze({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":vx},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Wa({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var qf=({children:e,richText:t})=>(0,Pn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pn.jsx)("div",{className:"container",children:e||t&&(0,Pn.jsx)(Ar,{content:t,enableGutter:!1})})});var Vl=sr(require("next/image"));var E2=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:vx,url:o,width:i}=e;return(0,Pn.jsx)(Vl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:vx||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Vl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},jf=({links:e,media:t,children:r,richText:vx})=>(0,Pn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Pn-10",children:[t&&(0,Pn.jsx)(E2,{media:t}),(0,Pn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pn.jsx)("div",{className:"container text-brand-one-foreground",children:r||vx&&(0,Pn.jsx)(Ar,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:vx,enableProse:!0,enableGutter:!1})})})]});var Bf=sr(require("next/image"));var kf=({links:e,media:t,children:r,richText:vx})=>(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pn.jsxs)("div",{className:"text-center",children:[r||vx&&(0,Pn.jsx)(Ar,{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:vx,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Pn.jsx)("li",{children:(0,Pn.jsx)(no,{...o})},i))})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pn.jsx)(Va,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Bf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ff=e=>{let r=new Date;e&&(r=new Date(e));let vx=r.getMonth(),o=r.getDate(),i=vx+1<10?`0${vx+1}`:vx+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var qi=sr(require("react"));var $f=(0,bf.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Wl({className:e,variant:t,...r}){return(0,Pn.jsx)("div",{className:ze($f({variant:t}),e),...r})}var Hf=sr(require("next/image")),zf=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:vx,publishedAt:o,title:i}=e;return(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pn.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Pn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,u)=>{if(typeof l=="object"&&l!==null){let{title:d}=l;return(0,Pn.jsx)(Wl,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,Pn.jsx)("div",{className:"",children:(0,Pn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pn.jsx)("div",{className:"flex flex-col gap-4",children:vx&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Author"}),vx.map((l,u)=>{let{name:d}=l,c=u===vx.length-1,p=u===vx.length-2;return(0,Pn.jsxs)(qi.default.Fragment,{children:[d,p&&vx.length>2&&(0,Pn.jsx)(qi.default.Fragment,{children:", "}),p&&vx.length===2&&(0,Pn.jsx)(qi.default.Fragment,{children:" "}),!c&&vx.length>1&&(0,Pn.jsx)(qi.default.Fragment,{children:"and "})]},u)})]})}),o&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Pn.jsx)("time",{dateTime:o,children:Ff(o)})]})]})]})}),(0,Pn.jsxs)("div",{className:"min-h-[50vh] max-h-[50vh] select-none",children:[(0,Pn.jsx)("div",{children:(0,Pn.jsx)(Hf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((s=r&&r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png"})}),(0,Pn.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 Mn=({type:e="solid",iconName:t="cloud",size:r="lg",className:vx})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=vx!=null?vx:"",l=o+i+" fa-"+r+" "+s;return(0,Pn.jsx)("i",{className:l})};var oo=require("@headlessui/react"),Wf=require("@heroicons/react/20/solid");var _2=({name:e,items:t,actions:r=[],href:vx})=>!t&&vx?(0,Pn.jsx)("a",{href:vx,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Pn.jsxs)(oo.Popover,{children:[(0,Pn.jsxs)(oo.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Pn.jsx)(Wf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Pn.jsxs)(oo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Pn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Pn.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,Pn.jsx)(Vf,{icon:o.icon,size:"4x"})}),(0,Pn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Pn.jsx)("span",{className:"absolute inset-0"})]}),(0,Pn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Pn.jsx)("div",{className:"bg-gray-50",children:(0,Pn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Pn.jsxs)("a",{href:o.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,Pn.jsx)(Vf,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Vf=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Pn.jsx)(Mn,{...e,size:r});if("src"in e)return(0,Pn.jsx)("div",{className:ze(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Pn.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Yf=_2;function Kf({children:e,isFluid:t=!1,isNoPadding:r=!1,className:vx=""}){let o=ze("container",t&&"full-width",r&&"no-padding",vx);return(0,Pn.jsx)("div",{className:o,children:e})}var Xf=sr(require("next/link"));function Qf({children:e,href:t,openNewTab:r,...vx}){return(0,Pn.jsx)(Xf.default,{href:t,target:r?"_blank":"_self",...vx,children:e})}var Yl=sr(require("next/image"));function Bi({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Pn.jsxs)(Qf,{href:"/",className:ze(r?"py-1":"py-2"),children:[(0,Pn.jsx)(Yl.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,Pn.jsx)(Yl.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}})]})}var eh=require("next-themes");function rh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx}){let[o,i]=(0,Cf.useState)(!1),[s,l]=(0,Cf.useState)(""),u=["light","dark"],{theme:d,setTheme:c}=(0,eh.useTheme)();(0,Cf.useEffect)(()=>{l(d||"dark")},[d]);let p=()=>{let h=u[(u.indexOf(s)+1)%u.length];l(h),c(h)};return(0,Cf.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,Pn.jsx)(Pn.Fragment,{children:(0,Pn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pn.jsx)(Kf,{className:"px-0",children:(0,Pn.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Pn.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,Pn.jsx)(Bi,{logoDark:r,logoLight:t}),(0,Pn.jsx)(oo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:vx&&vx.map(h=>(0,Pn.jsx)(Yf,{...h},h.name))}),(0,Pn.jsx)("div",{className:"flex items-center space-x-4",children:(0,Pn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:p,children:(0,Pn.jsxs)("div",{className:"relative",children:[(0,Pn.jsx)(Za.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pn.jsx)(Za.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Xa=require("@heroicons/react/24/outline");var Kl=["light","dark"];function oh({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:vx=!0}){let[o,i]=(0,Cf.useState)(!1),{theme:s,setTheme:l}=(0,eh.useTheme)(),[u,d]=(0,Cf.useState)(!1),[c,p]=(0,Cf.useState)("light");(0,Cf.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Cf.useEffect)(()=>{p(s||"dark")},[s]);let h=()=>{let m=Kl[(Kl.indexOf(c)+1)%Kl.length];p(m),l(m)};return(0,Pn.jsx)(Pn.Fragment,{children:(0,Pn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||vx?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pn.jsx)("nav",{className:ze("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,Pn.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,Pn.jsx)(Bi,{logoDark:t,logoLight:e,mobile:!0}),(0,Pn.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Pn.jsxs)("button",{type:"button",onClick:()=>d(!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,Pn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pn.jsx)(Xa.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Pn.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:h,children:(0,Pn.jsxs)("div",{className:"relative",children:[(0,Pn.jsx)(Za.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pn.jsx)(Za.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pn.jsxs)(oo.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,Pn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pn.jsxs)(oo.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,Pn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pn.jsx)(Bi,{logoDark:t,logoLight:e,mobile:!0}),(0,Pn.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pn.jsx)(Xa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Pn.jsx)("div",{className:"mt-6 flow-root",children:(0,Pn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,Pn.jsx)(w2,{...m},m.name))})})})]})]})]})})}function w2({name:e,items:t,actions:r,href:vx}){return!t&&vx?(0,Pn.jsx)("a",{href:vx,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,Pn.jsxs)(oo.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pn.jsx)(oo.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,Pn.jsx)(oo.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Pn.jsx)(oo.DisclosureButton,{as:"a",href:o.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:o.name},o.name))})]})}function ih({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx,className:o}){return(0,Pn.jsxs)("div",{className:ze("fixed top-0 left-0 right-0 z-50",o),children:[(0,Pn.jsx)(rh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx}),(0,Pn.jsx)(oh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:vx})]})}var ah="../cortex-reply-light-27IMI3G7.png";var sh="../cortex-reply-dark-XPAJJJYY.png";function es({...e}){return(0,Pn.jsxs)("div",{children:[(0,Pn.jsx)(ih,{isMenuOpen:!0,logoLight:ah,logoDark:sh,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Pn.jsx)(qf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Pn.jsx)(jf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Pn.jsx)(kf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Pn.jsx)(zf,{...e.hero}),(0,Pn.jsx)("div",{className:"container py-8",children:(0,Pn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Pn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Pn.jsxs)("div",{className:"space-y-6",children:[(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)(ka,{children:(0,Pn.jsx)(Fa,{children:"Quick Actions"})}),(0,Pn.jsxs)(La,{children:[(0,Pn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Pn.jsx)(On,{className:"w-full",children:"Create New"})]})]}),(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)(ka,{children:(0,Pn.jsx)(Fa,{children:"Resources"})}),(0,Pn.jsx)(La,{children:(0,Pn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Pn.jsx)(Za.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var Dl=sr(eS());var x6=()=>(0,Pn.jsx)(Mn,{iconName:"github",size:"4x",type:"brands"});var P6=()=>(0,Pn.jsx)(Mn,{iconName:"people-sharing",size:"4x",type:"kit"}),O6=()=>(0,Pn.jsx)(Mn,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),N6=()=>(0,Pn.jsx)(Mn,{iconName:"development",size:"4x",type:"kit"}),M6={title:"Pages/Page",component:es,decorators:[e=>(0,Pn.jsx)("div",{className:"bg-sidebar",children:(0,Pn.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},I6=e=>(0,Pn.jsx)(es,{...e}),qa={render:I6,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Pn.jsxs)("div",{className:"prose max-w-none",children:[(0,Pn.jsx)("h2",{children:"How it works"}),(0,Pn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore Pn dolore magna aliqua."}),(0,Pn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Pn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:O6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:P6},{name:"Products",description:"Products that we sell",href:"#",icon:N6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Xa.ChartPieIcon},{name:"API Reference",href:"#",icon:Xa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:x6}],actions:[{name:"Watch demo",href:"#",icon:Wf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Wf.PhoneIcon},{name:"View all products",href:"#",icon:Wf.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Dl.fn)(),onEditDocument:(0,Dl.fn)(),onPrintDocument:(0,Dl.fn)()}}},D6={args:{...qa.args,hero:{type:"lowImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},q6={args:{...qa.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},j6={args:{...qa.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},B6={args:{...qa.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"../chunk-
|
|
1
|
+
import{a as n}from"../chunk-7WPMELBG.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import{a as l}from"../chunk-PAG346RY.mjs";import"../chunk-HNZ74SX3.mjs";import"../chunk-O2DBG3NV.mjs";import"../chunk-PIHQ5WLE.mjs";import"../chunk-CWNEDSLD.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BBLJ3L2P.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-D43ENVPX.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import{c as a}from"../chunk-D2WXBUVJ.mjs";var i=a(l());import{PhoneIcon as s,PlayCircleIcon as c,RectangleGroupIcon as d}from"@heroicons/react/20/solid";import{ChartPieIcon as m,CursorArrowRaysIcon as u}from"@heroicons/react/24/outline";import{jsx as e,jsxs as y}from"react/jsx-runtime";var p=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var h=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),g=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),f=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),x={title:"Pages/Page",component:n,decorators:[o=>e("div",{className:"bg-sidebar",children:e(o,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},w=o=>e(n,{...o}),r={render:w,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:y("div",{className:"prose max-w-none",children:[e("h2",{children:"How it works"}),e("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),e("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:e("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:g},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:h},{name:"Products",description:"Products that we sell",href:"#",icon:f}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:m},{name:"API Reference",href:"#",icon:u},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:s},{name:"View all products",href:"#",icon:d}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,i.fn)(),onEditDocument:(0,i.fn)(),onPrintDocument:(0,i.fn)()}}},C={args:{...r.args,hero:{type:"lowImpact",children:e("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},P={args:{...r.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:e("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},A={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},_={args:{...r.args,hero:{type:"highImpact",children:e("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};export{r as Default,A as HighImpactHero,C as LowImpactHero,P as MediumImpactHero,_ as PostHero,x as default};
|