cortex-react-components 1.36.2 → 1.38.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.
Files changed (162) hide show
  1. package/dist/{chunk-LQCMGPNI.mjs → chunk-2AGDXJAU.mjs} +1 -1
  2. package/dist/{chunk-6IPL22A6.mjs → chunk-335BBTLI.mjs} +1 -1
  3. package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
  4. package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
  5. package/dist/{chunk-IE2A7UT3.mjs → chunk-4VDJWCUB.mjs} +1 -1
  6. package/dist/{chunk-AQZPHPWA.mjs → chunk-5FQFLE3Q.mjs} +1 -1
  7. package/dist/{chunk-ZDCRDIR5.mjs → chunk-5KYMCULO.mjs} +1 -1
  8. package/dist/{chunk-QYLUJ3PE.mjs → chunk-7T2EVGKB.mjs} +1 -1
  9. package/dist/{chunk-D43ENVPX.mjs → chunk-AFA6LBJ4.mjs} +1 -1
  10. package/dist/chunk-CL5QSCPX.mjs +4 -0
  11. package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
  12. package/dist/{chunk-GBN7ZEZT.mjs → chunk-DJ5BLICX.mjs} +1 -1
  13. package/dist/{chunk-FATM2COC.mjs → chunk-DQQJUG5B.mjs} +1 -1
  14. package/dist/chunk-DUMY24W2.mjs +1 -0
  15. package/dist/{chunk-YP7AKYLM.mjs → chunk-EZUTXJLA.mjs} +1 -1
  16. package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
  17. package/dist/{chunk-JSNGDKKX.mjs → chunk-I4PLJKG7.mjs} +1 -1
  18. package/dist/{chunk-QCGYFMHT.mjs → chunk-L3NNFUMD.mjs} +1 -1
  19. package/dist/{chunk-AHBJN3RM.mjs → chunk-P2TPII4E.mjs} +1 -1
  20. package/dist/{chunk-EMZQNDA7.mjs → chunk-QL74DMZ3.mjs} +1 -1
  21. package/dist/{chunk-YEL2YPS2.mjs → chunk-RGQIGJSO.mjs} +1 -1
  22. package/dist/{chunk-OLYQCZ7N.mjs → chunk-RRNFHKBK.mjs} +1 -1
  23. package/dist/chunk-RX3B4KLS.mjs +1 -0
  24. package/dist/{chunk-S2FHEYCB.mjs → chunk-TEASLXSL.mjs} +1 -1
  25. package/dist/{chunk-FGTZVVVF.mjs → chunk-TGMZKBPB.mjs} +1 -1
  26. package/dist/{chunk-Z4CK655R.mjs → chunk-UHY3OPNY.mjs} +1 -1
  27. package/dist/{chunk-UNEDT5KF.mjs → chunk-UUI4HUXR.mjs} +1 -1
  28. package/dist/{chunk-BXEEQFHL.mjs → chunk-W5LTMZ53.mjs} +1 -1
  29. package/dist/{chunk-WTT65H2O.mjs → chunk-YCOPE2XU.mjs} +1 -1
  30. package/dist/{chunk-TO2JWPLJ.mjs → chunk-YGQFXPN4.mjs} +1 -1
  31. package/dist/{chunk-Z2TMD5V7.mjs → chunk-YQ4NBKRG.mjs} +1 -1
  32. package/dist/components/Blocks/Banner.js +1 -1
  33. package/dist/components/Blocks/Banner.mjs +1 -1
  34. package/dist/components/Blocks/CallToAction.js +1 -1
  35. package/dist/components/Blocks/CallToAction.mjs +1 -1
  36. package/dist/components/Blocks/Content.js +1 -1
  37. package/dist/components/Blocks/Content.mjs +1 -1
  38. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  39. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  40. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  41. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  42. package/dist/components/Blocks/RelatedPosts.js +1 -1
  43. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  44. package/dist/components/Blocks/RenderBlocks.js +1 -1
  45. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  46. package/dist/components/Blocks/index.js +1 -1
  47. package/dist/components/Blocks/index.mjs +1 -1
  48. package/dist/components/Cards/index.mjs +1 -1
  49. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  50. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  51. package/dist/components/HeaderFooter/Header.mjs +1 -1
  52. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  53. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  54. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  55. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  56. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  57. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  58. package/dist/components/HeaderFooter/index.mjs +1 -1
  59. package/dist/components/Heros/HighImpact/index.js +1 -1
  60. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  61. package/dist/components/Heros/LowImpact/index.js +1 -1
  62. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  63. package/dist/components/Heros/MediumImpact/index.js +1 -1
  64. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  65. package/dist/components/Heros/PostHero/index.mjs +1 -1
  66. package/dist/components/Heros/RenderHero.js +1 -1
  67. package/dist/components/Heros/RenderHero.mjs +1 -1
  68. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  69. package/dist/components/Heros/index.js +1 -1
  70. package/dist/components/Heros/index.mjs +1 -1
  71. package/dist/components/Icons/ScrollDownIcon.d.ts +1 -2
  72. package/dist/components/Icons/ScrollDownIcon.js +1 -1
  73. package/dist/components/Icons/ScrollDownIcon.mjs +1 -1
  74. package/dist/components/Icons/ScrollDownIcon.stories.js +1 -1
  75. package/dist/components/Icons/ScrollDownIcon.stories.mjs +1 -1
  76. package/dist/components/Layouts/BlogList.js +1 -1
  77. package/dist/components/Layouts/BlogList.mjs +1 -1
  78. package/dist/components/Layouts/BlogList.stories.js +1 -1
  79. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  80. package/dist/components/Layouts/SlideShow.d.ts +5 -0
  81. package/dist/components/Layouts/SlideShow.js +4 -0
  82. package/dist/components/Layouts/SlideShow.mjs +2 -0
  83. package/dist/components/Layouts/SlideShow.stories.js +4 -0
  84. package/dist/components/Layouts/SlideShow.stories.mjs +4 -0
  85. package/dist/components/Layouts/index.d.ts +1 -1
  86. package/dist/components/Layouts/index.js +3 -3
  87. package/dist/components/Layouts/index.mjs +1 -1
  88. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  89. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  90. package/dist/components/Menus/SidebarRight.mjs +1 -1
  91. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  92. package/dist/components/Menus/index.mjs +1 -1
  93. package/dist/components/Payload/RichText/index.js +1 -1
  94. package/dist/components/Payload/RichText/index.mjs +1 -1
  95. package/dist/components/Payload/RichText/serialize.js +1 -1
  96. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  97. package/dist/components/Payload/RichText.stories.js +1 -1
  98. package/dist/components/Payload/RichText.stories.mjs +1 -1
  99. package/dist/components/Payload/index.js +1 -1
  100. package/dist/components/Payload/index.mjs +1 -1
  101. package/dist/components/index.js +6 -6
  102. package/dist/components/index.mjs +1 -1
  103. package/dist/components/ui/index.mjs +1 -1
  104. package/dist/components/ui/sidebar.mjs +1 -1
  105. package/dist/globals.css +1 -1
  106. package/dist/index.js +6 -6
  107. package/dist/index.mjs +1 -1
  108. package/dist/metafile-cjs.json +1 -1
  109. package/dist/metafile-esm.json +1 -1
  110. package/dist/pages/Blog.js +1 -1
  111. package/dist/pages/Blog.mjs +1 -1
  112. package/dist/pages/Blog.stories.js +1 -1
  113. package/dist/pages/Blog.stories.mjs +1 -1
  114. package/dist/pages/Documentation.mjs +1 -1
  115. package/dist/pages/Documentation.stories.mjs +1 -1
  116. package/dist/pages/IndexPage.mjs +1 -1
  117. package/dist/pages/IndexPage.stories.mjs +1 -1
  118. package/dist/pages/Intranet.mjs +1 -1
  119. package/dist/pages/Intranet.stories.mjs +1 -1
  120. package/dist/pages/LandingPage.mjs +1 -1
  121. package/dist/pages/LandingPage.stories.mjs +1 -1
  122. package/dist/pages/Page.js +1 -1
  123. package/dist/pages/Page.mjs +1 -1
  124. package/dist/pages/Page.stories.js +1 -1
  125. package/dist/pages/Page.stories.mjs +1 -1
  126. package/dist/pages/Publish.d.ts +8 -0
  127. package/dist/pages/Publish.js +4 -0
  128. package/dist/pages/Publish.mjs +1 -0
  129. package/dist/pages/Publish.stories.js +4 -0
  130. package/dist/pages/Publish.stories.mjs +1 -0
  131. package/dist/pages/Website.js +1 -1
  132. package/dist/pages/Website.mjs +1 -1
  133. package/dist/pages/Website.stories.js +1 -1
  134. package/dist/pages/Website.stories.mjs +1 -1
  135. package/dist/sections/AboutSection.js +1 -1
  136. package/dist/sections/AboutSection.mjs +1 -1
  137. package/dist/sections/AboutSection.stories.js +1 -1
  138. package/dist/sections/AboutSection.stories.mjs +1 -1
  139. package/dist/sections/BlogDetail.js +1 -1
  140. package/dist/sections/BlogDetail.mjs +1 -1
  141. package/dist/sections/BlogDetail.stories.js +1 -1
  142. package/dist/sections/BlogDetail.stories.mjs +1 -1
  143. package/dist/sections/BlogListSection.mjs +1 -1
  144. package/dist/sections/BlogListSection.stories.mjs +1 -1
  145. package/dist/sections/ContactSection.js +1 -1
  146. package/dist/sections/ContactSection.mjs +1 -1
  147. package/dist/sections/ContactSection.stories.js +1 -1
  148. package/dist/sections/ContactSection.stories.mjs +1 -1
  149. package/dist/sections/PricingSection.js +1 -1
  150. package/dist/sections/PricingSection.mjs +1 -1
  151. package/dist/sections/PricingSection.stories.js +1 -1
  152. package/dist/sections/PricingSection.stories.mjs +1 -1
  153. package/dist/sections/index.js +1 -1
  154. package/dist/sections/index.mjs +1 -1
  155. package/package.json +1 -1
  156. package/dist/chunk-DAMIHHNG.mjs +0 -4
  157. package/dist/chunk-FXMYCGIC.mjs +0 -1
  158. package/dist/components/Layouts/VerticalSlider.d.ts +0 -3
  159. package/dist/components/Layouts/VerticalSlider.js +0 -4
  160. package/dist/components/Layouts/VerticalSlider.mjs +0 -2
  161. package/dist/components/Layouts/VerticalSlider.stories.js +0 -4
  162. package/dist/components/Layouts/VerticalSlider.stories.mjs +0 -4
@@ -436,4 +436,4 @@ Unable to find an `+(_x===!1?"accessible ":"")+'element with the role "'+t+'"'+u
436
436
  `)),s+=p+_x[u+1]}),s}var sU=aU,kd=(0,eS.instrument)({...KE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});kd.screen=new Proxy(kd.screen,{get(e,t,r){return iU.once.warn(sU`
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:lU,configure:uU,createEvent:cU,fireEvent:dU,findAllByAltText:pU,findAllByDisplayValue:fU,findAllByLabelText:hU,findAllByPlaceholderText:mU,findAllByRole:gU,findAllByTestId:yU,findAllByText:bU,findAllByTitle:vU,findByAltText:EU,findByDisplayValue:_U,findByLabelText:wU,findByPlaceholderText:SU,findByRole:CU,findByTestId:AU,findByText:TU,findByTitle:RU,getAllByAltText:xU,getAllByDisplayValue:PU,getAllByLabelText:OU,getAllByPlaceholderText:NU,getAllByRole:MU,getAllByTestId:IU,getAllByText:DU,getAllByTitle:qU,getByAltText:jU,getByDisplayValue:BU,getByLabelText:kU,getByPlaceholderText:FU,getByRole:LU,getByTestId:$U,getByText:UU,getByTitle:HU,getConfig:zU,getDefaultNormalizer:GU,getElementError:VU,getNodeText:WU,getQueriesForElement:YU,getRoles:KU,getSuggestedQuery:JU,isInaccessible:XU,logDOM:QU,logRoles:ZU,prettyDOM:e6,queries:t6,queryAllByAltText:r6,queryAllByAttribute:n6,queryAllByDisplayValue:o6,queryAllByLabelText:i6,queryAllByPlaceholderText:a6,queryAllByRole:s6,queryAllByTestId:l6,queryAllByText:u6,queryAllByTitle:c6,queryByAltText:d6,queryByAttribute:p6,queryByDisplayValue:f6,queryByLabelText:h6,queryByPlaceholderText:m6,queryByRole:g6,queryByTestId:y6,queryByText:b6,queryByTitle:v6,queryHelpers:E6,screen:_6,waitFor:w6,waitForElementToBeRemoved:S6,within:tS,prettyFormat:C6}=kd,{userEvent:A6}=(0,eS.instrument)({userEvent:oU},{intercept:!0}),{expect:T6}=(0,Fq.instrument)({expect:UE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let _x=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?_x:[..._x,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),R6=({parameters:e})=>{var t,r,_x;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?WE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?VE():((_x=e==null?void 0:e.test)==null?void 0:_x.restoreMocks)!==!1&&YE()},ol=(e,t=0,r)=>{var _x;if(t>5||e==null)return e;if(Fp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=zE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>ol(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(_x=Object.getOwnPropertyDescriptor(e,o))!=null&&_x.writable&&(e[o]=ol(i,t,o));return e}return e},x6=({initialArgs:e})=>{ol(e)},P6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=tS(e.canvasElement))};uv.global.__STORYBOOK_TEST_LOADERS__=[R6,x6,P6];uv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=HE});var L6={};kS(L6,{Default:()=>ja,HighImpactHero:()=>k6,LowImpactHero:()=>j6,MediumImpactHero:()=>B6,PostHero:()=>F6,default:()=>D6});module.exports=FS(L6);var Pn=ur(require("react"));var yf=require("clsx");var $l="-",LS=e=>{let t=US(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:_x}=e;return{getClassGroupId:s=>{let l=s.split($l);return l[0]===""&&l.length!==1&&l.shift(),df(l,t)||$S(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&_x[s]?[...u,..._x[s]]:u}}},df=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],_x=t.nextPart.get(r),o=_x?df(e.slice(1),_x):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join($l);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},uf=/^\[(.+)\]$/,$S=e=>{if(uf.test(e)){let t=uf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},US=e=>{let{theme:t,prefix:r}=e,_x={nextPart:new Map,validators:[]};return zS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Ll(s,_x,i,t)}),_x},Ll=(e,t,r,_x)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:cf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(HS(o)){Ll(o(_x),t,r,_x);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Ll(s,cf(t,i),r,_x)})})},cf=(e,t)=>{let r=e;return t.split($l).forEach(_x=>{r.nextPart.has(_x)||r.nextPart.set(_x,{nextPart:new Map,validators:[]}),r=r.nextPart.get(_x)}),r},HS=e=>e.isThemeGetter,zS=(e,t)=>t?e.map(([r,_x])=>{let o=_x.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,GS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,_x=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,_x=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=_x.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},pf="!",VS=e=>{let{separator:t,experimentalParseClassName:r}=e,_x=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&&(_x||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(pf),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},WS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(_x=>{_x[0]==="["?(t.push(...r.sort(),_x),r=[]):r.push(_x)}),t.push(...r.sort()),t},YS=e=>({cache:GS(e.cacheSize),parseClassName:VS(e),...LS(e)}),KS=/\s+/,JS=(e,t)=>{let{parseClassName:r,getClassGroupId:_x,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(KS),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=_x(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=_x(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=WS(c).join(":"),E=p?b+pf: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 XS(){let e=0,t,r,_x="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ff(t))&&(_x&&(_x+=" "),_x+=r);return _x}var ff=e=>{if(typeof e=="string")return e;let t,r="";for(let _x=0;_x<e.length;_x++)e[_x]&&(t=ff(e[_x]))&&(r&&(r+=" "),r+=t);return r};function QS(e,...t){let r,_x,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=YS(d),_x=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=_x(u);if(d)return d;let c=JS(u,r);return o(u,c),c}return function(){return i(XS.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},hf=/^\[(?:([a-z-]+):)?(.+)\]$/i,ZS=/^\d+\/\d+$/,e2=new Set(["px","full","screen"]),t2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,r2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|On|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,n2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,o2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,i2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$r=e=>ro(e)||e2.has(e)||ZS.test(e),rn=e=>no(e,"length",f2),ro=e=>!!e&&!Number.isNaN(Number(e)),Fl=e=>no(e,"number",ro),Ii=e=>!!e&&Number.isInteger(Number(e)),a2=e=>e.endsWith("%")&&ro(e.slice(0,-1)),Fe=e=>hf.test(e),nn=e=>t2.test(e),s2=new Set(["length","size","percentage"]),l2=e=>no(e,s2,mf),u2=e=>no(e,"position",mf),c2=new Set(["image","url"]),d2=e=>no(e,c2,m2),p2=e=>no(e,"",h2),Di=()=>!0,no=(e,t,r)=>{let _x=hf.exec(e);return _x?_x[1]?typeof t=="string"?_x[1]===t:t.has(_x[1]):r(_x[2]):!1},f2=e=>r2.test(e)&&!n2.test(e),mf=()=>!1,h2=e=>o2.test(e),m2=e=>i2.test(e);var g2=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),_x=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=()=>["",$r,rn],x=()=>["auto",ro,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=()=>[ro,Fe];return{cacheSize:500,separator:":",theme:{colors:[Di],spacing:[$r,rn],blur:["none","",nn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",nn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[a2,rn],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:[nn]}],"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",Ii,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",Ii,Fe]}],"grid-cols":[{"grid-cols":[Di]}],"col-start-end":[{col:["auto",{span:["full",Ii,Fe]},Fe]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Di]}],"row-start-end":[{row:["auto",{span:[Ii,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:[_]}],On:[{On:[_]}],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:[nn]},nn]}],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",nn,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fl]}],"font-family":[{font:[Di]}],"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",ro,Fl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$r,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",$r,rn]}],"underline-offset":[{"underline-offset":["auto",$r,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(),u2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",l2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},d2]}],"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":[$r,Fe]}],"outline-w":[{outline:[$r,rn]}],"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":[$r,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",nn,p2]}],"shadow-color":[{shadow:[Di]}],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:[_x]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",nn,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":[_x]}],"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:[Ii,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","_x-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-On":[{"scroll-On":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:[$r,rn,Fl]}],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","On","pr","pb","pl"],px:["pr","pl"],py:["On","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-On","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-On","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gf=QS(g2);function $e(...e){return gf((0,yf.clsx)(e))}var On=require("react/jsx-runtime"),ka=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ka.displayName="Card";var Fa=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("flex flex-col space-y-1.5 p-6",e),...t}));Fa.displayName="CardHeader";var La=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("font-semibold leading-none tracking-tight",e),...t}));La.displayName="CardTitle";var y2=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("text-sm text-muted-foreground",e),...t}));y2.displayName="CardDescription";var $a=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("p-6 On-0",e),...t}));$a.displayName="CardContent";var b2=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("flex items-center p-6 On-0",e),...t}));b2.displayName="CardFooter";var bf=require("@radix-ui/react-slot"),vf=require("class-variance-authority"),Ef=ur(require("react")),v2=(0,vf.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"}}}),Nn=Ef.forwardRef(({asChild:e=!1,className:t,size:r,variant:_x,...o},i)=>(0,On.jsx)(e?bf.Slot:"button",{className:$e(v2({className:t,size:r,variant:_x})),ref:i,...o}));Nn.displayName="Button";var es=require("lucide-react");var wf=({className:e,content:t,style:r})=>(0,On.jsx)("div",{className:$e("mx-auto my-8 w-full",e),children:(0,On.jsx)("div",{className:$e("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,On.jsx)(nr,{content:t,enableGutter:!1,enableProse:!1})})});var Ul=ur(require("next/link")),oo=e=>{let{type:t,appearance:r="inline",children:_x,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,On.jsxs)(Ul.default,{className:$e(o),href:c||d||"",...h,children:[i&&i,_x&&_x]}):(0,On.jsx)(Nn,{asChild:!0,className:o,size:p,variant:r,children:(0,On.jsxs)(Ul.default,{className:$e(o),href:c||d||"",...h,children:[i&&i,_x&&_x]})})};var Sf=({links:e,richText:t})=>(0,On.jsx)("div",{className:"container",children:(0,On.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,On.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,On.jsx)(nr,{className:"mb-0",content:t,enableGutter:!1})}),(0,On.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},_x)=>(0,On.jsx)(oo,{size:"lg",...r},_x))})]})});var Ha=require("prism-react-renderer");var Af=require("react");function Tf({code:e}){let[t,r]=(0,Af.useState)("Copy");function _x(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,On.jsx)("div",{className:"flex justify-end align-middle",children:(0,On.jsxs)(Nn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),_x()},children:[(0,On.jsx)("p",{children:t}),(0,On.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,On.jsx)(es.ClipboardCopy,{})})]})})}var Rf=({code:e,language:t=""})=>e?(0,On.jsx)(Ha.Highlight,{code:e,language:t,theme:Ha.themes.vsDark,children:({getLineProps:r,getTokenProps:_x,tokens:o})=>(0,On.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,On.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,On.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,On.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,On.jsx)("span",{..._x({token:l})},u))})]},s)),(0,On.jsx)(Tf,{code:e})]})}):null;var xf=({className:e,code:t,language:r})=>(0,On.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,On.jsx)(Rf,{code:t,language:r})});var Of=ur(require("next/image"));var Pf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var za=()=>{if(Pf){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 E2={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_2="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=",Nf=e=>{let{alt:t,fill:r,imgClassName:_x,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=`${za()}${_}`}let m=u||"lazy",g=s||Object.entries(E2).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,On.jsx)("picture",{children:(0,On.jsx)(Of.default,{alt:p||"",className:$e(_x),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:_2,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Mf=e=>{let{onClick:t,resource:r,videoClassName:_x}=e,o=(0,Af.useRef)(null);if((0,Af.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,On.jsx)("video",{autoPlay:!0,className:$e(_x),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,On.jsx)("source",{src:`${za()}/media/${i}`})})}return null};var Wa=e=>{var s;let{className:t,htmlElement:r="div",resource:_x}=e,o=typeof _x=="object"&&((s=_x==null?void 0:_x.mimeType)==null?void 0:s.includes("video"));return(0,On.jsx)(r||Af.Fragment,{...r!==null?{className:t}:{},children:o?(0,On.jsx)(Mf,{...e}):(0,On.jsx)(Nf,{...e})})};var Df=e=>{let{className:t,enableGutter:r=!0,imgClassName:_x,media:o,staticImage:i}=e;return(0,On.jsx)("div",{className:$e("",{container:r},t),children:(0,On.jsx)(Wa,{imgClassName:$e("border border-border rounded-[0.8rem]",_x),resource:o,src:i})})};var qf=({title:e,description:t,features:r,id:_x})=>(0,On.jsxs)("section",{className:$e("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,On.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:_x||"",children:e}),t&&typeof t=="string"&&(0,On.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,On.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,On.jsx)(nr,{content:t,enableGutter:!1})}),(0,On.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{let s=(0,On.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,On.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,On.jsx)("i",{className:`${o.icon.type} fa-${o.icon.icon} fa-4x`})}),(0,On.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:o.title}),o.content&&typeof o.content!="object"&&(0,On.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),o.content&&typeof o.content=="object"&&(0,On.jsx)("div",{className:"text-lg opacity-80",children:(0,On.jsx)(nr,{content:o.content,enableGutter:!1})})]},i);return console.log("link",o.link),o.link?(0,On.jsx)("a",{href:o.link.url?o.link.url:"#",className:"no-underline group",children:s},i):s})})]});var Ka=ur(require("react"));function Ya({nodes:e}){return(0,On.jsx)(Ka.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,On.jsx)(Ka.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,On.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,On.jsx)("em",{children:i},r)),t.format&4&&(i=(0,On.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,On.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,On.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,On.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,On.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,On.jsx)("table",{children:(0,On.jsx)("tbody",{children:t.children.map((i,s)=>(0,On.jsx)("tr",{children:i.children.map((l,u)=>(0,On.jsx)("td",{children:Ya({nodes:l.children})},u))},s))})},r);let _x=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 Ya({nodes:i.children})},o="children"in t?_x(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,On.jsx)(Sf,{...i},r);case"mediaBlock":return(0,On.jsx)(Df,{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,On.jsx)(wf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,On.jsx)(xf,{className:"col-start-2",...i},r);case"features":return(0,On.jsx)(qf,{...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,On.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,On.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,On.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,On.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,On.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,On.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,On.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,On.jsx)(oo,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var nr=({className:e,content:t,enableGutter:r=!0,enableProse:_x=!0})=>{var o;return t?(0,On.jsx)("div",{className:$e({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":_x},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ya({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Bf=({children:e,richText:t})=>(0,On.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,On.jsx)("div",{className:"container",children:e||t&&(0,On.jsx)(nr,{content:t,enableGutter:!1})})});var Wl=ur(require("next/image"));var w2=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:_x,url:o,width:i}=e;return(0,On.jsx)(Wl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:_x||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,On.jsx)("div",{children:(0,On.jsx)(Wl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},kf=({links:e,media:t,children:r,richText:_x})=>(0,On.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 On-10",children:[t&&(0,On.jsx)(w2,{media:t}),(0,On.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,On.jsx)("div",{className:"container text-brand-one-foreground",children:r||_x&&(0,On.jsx)(nr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:_x,enableProse:!0,enableGutter:!1})})})]});var Ff=ur(require("next/image"));var Lf=({links:e,media:t,children:r,richText:_x})=>(0,On.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,On.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,On.jsxs)("div",{className:"text-center",children:[r||_x&&(0,On.jsx)(nr,{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:_x,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,On.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,On.jsx)("li",{children:(0,On.jsx)(oo,{...o})},i))})]})}),(0,On.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,On.jsx)(Wa,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,On.jsx)("div",{children:(0,On.jsx)(Ff.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,On.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var $f=e=>{let r=new Date;e&&(r=new Date(e));let _x=r.getMonth(),o=r.getDate(),i=_x+1<10?`0${_x+1}`:_x+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var ji=ur(require("react"));var Hf=(0,vf.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 Yl({className:e,variant:t,...r}){return(0,On.jsx)("div",{className:$e(Hf({variant:t}),e),...r})}var Gf=ur(require("next/image")),Vf=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:_x,publishedAt:o,title:i}=e;return(0,On.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,On.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,On.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,On.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,On.jsx)(Yl,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,On.jsx)("div",{className:"",children:(0,On.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,On.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,On.jsx)("div",{className:"flex flex-col gap-4",children:_x&&(0,On.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,On.jsx)("p",{className:"text-sm",children:"Author"}),_x.map((l,u)=>{let{name:d}=l,c=u===_x.length-1,p=u===_x.length-2;return(0,On.jsxs)(ji.default.Fragment,{children:[d,p&&_x.length>2&&(0,On.jsx)(ji.default.Fragment,{children:", "}),p&&_x.length===2&&(0,On.jsx)(ji.default.Fragment,{children:" "}),!c&&_x.length>1&&(0,On.jsx)(ji.default.Fragment,{children:"and "})]},u)})]})}),o&&(0,On.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,On.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,On.jsx)("time",{dateTime:o,children:$f(o)})]})]})]})}),(0,On.jsxs)("div",{className:"min-h-[50vh] max-h-[50vh] select-none",children:[(0,On.jsx)("div",{children:(0,On.jsx)(Gf.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,On.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 In=({type:e="solid",iconName:t="cloud",size:r="lg",className:_x})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=_x!=null?_x:"",l=o+i+" fa-"+r+" "+s;return(0,On.jsx)("i",{className:l})};var io=require("@headlessui/react"),Kf=require("@heroicons/react/20/solid");var S2=({name:e,items:t,actions:r=[],href:_x})=>!t&&_x?(0,On.jsx)("a",{href:_x,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,On.jsxs)("span",{className:"relative",children:[e,(0,On.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,On.jsxs)(io.Popover,{children:[(0,On.jsxs)(io.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,On.jsxs)("span",{className:"relative",children:[e,(0,On.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,On.jsx)(Kf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,On.jsxs)(io.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,On.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,On.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,On.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,On.jsx)(Yf,{icon:o.icon,size:"4x"})}),(0,On.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,On.jsx)("span",{className:"absolute inset-0"})]}),(0,On.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,On.jsx)("div",{className:"bg-gray-50",children:(0,On.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,On.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,On.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,On.jsx)(Yf,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Yf=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,On.jsx)(In,{...e,size:r});if("src"in e)return(0,On.jsx)("div",{className:$e(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,On.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Jf=S2;function Xf({children:e,isFluid:t=!1,isNoPadding:r=!1,className:_x=""}){let o=$e("container",t&&"full-width",r&&"no-padding",_x);return(0,On.jsx)("div",{className:o,children:e})}var Zf=ur(require("next/link"));function eh({children:e,href:t,openNewTab:r,..._x}){return(0,On.jsx)(Zf.default,{href:t,target:r?"_blank":"_self",..._x,children:e})}var Kl=ur(require("next/image"));function ki({logoLight:e,logoDark:t,mobile:r=!1}){return(0,On.jsxs)(eh,{href:"/",className:$e(r?"py-1":"py-2"),children:[(0,On.jsx)(Kl.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,On.jsx)(Kl.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 rh=require("next-themes");function oh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x}){let[o,i]=(0,Af.useState)(!1),[s,l]=(0,Af.useState)(""),u=["light","dark"],{theme:d,setTheme:c}=(0,rh.useTheme)();(0,Af.useEffect)(()=>{l(d||"dark")},[d]);let p=()=>{let h=u[(u.indexOf(s)+1)%u.length];l(h),c(h)};return(0,Af.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,On.jsx)(On.Fragment,{children:(0,On.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,On.jsx)(Xf,{className:"px-0",children:(0,On.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,On.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,On.jsx)(ki,{logoDark:r,logoLight:t}),(0,On.jsx)(io.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:_x&&_x.map(h=>(0,On.jsx)(Jf,{...h},h.name))}),(0,On.jsx)("div",{className:"flex items-center space-x-4",children:(0,On.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,On.jsxs)("div",{className:"relative",children:[(0,On.jsx)(es.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,On.jsx)(es.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Qa=require("@heroicons/react/24/outline");var Jl=["light","dark"];function ah({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:_x=!0}){let[o,i]=(0,Af.useState)(!1),{theme:s,setTheme:l}=(0,rh.useTheme)(),[u,d]=(0,Af.useState)(!1),[c,p]=(0,Af.useState)("light");(0,Af.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Af.useEffect)(()=>{p(s||"dark")},[s]);let h=()=>{let m=Jl[(Jl.indexOf(c)+1)%Jl.length];p(m),l(m)};return(0,On.jsx)(On.Fragment,{children:(0,On.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||_x?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,On.jsx)("nav",{className:$e("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,On.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,On.jsx)(ki,{logoDark:t,logoLight:e,mobile:!0}),(0,On.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,On.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,On.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,On.jsx)(Qa.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,On.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,On.jsxs)("div",{className:"relative",children:[(0,On.jsx)(es.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,On.jsx)(es.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,On.jsxs)(io.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,On.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,On.jsxs)(io.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,On.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,On.jsx)(ki,{logoDark:t,logoLight:e,mobile:!0}),(0,On.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,On.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,On.jsx)(Qa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,On.jsx)("div",{className:"mt-6 flow-root",children:(0,On.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,On.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,On.jsx)(C2,{...m},m.name))})})})]})]})]})})}function C2({name:e,items:t,actions:r,href:_x}){return!t&&_x?(0,On.jsx)("a",{href:_x,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,On.jsxs)(io.Disclosure,{as:"div",className:"-mx-3",children:[(0,On.jsx)(io.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,On.jsx)(io.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,On.jsx)(io.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 sh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x,className:o}){return(0,On.jsxs)("div",{className:$e("fixed top-0 left-0 right-0 z-50",o),children:[(0,On.jsx)(oh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x}),(0,On.jsx)(ah,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x})]})}var lh="../cortex-reply-light-27IMI3G7.png";var uh="../cortex-reply-dark-XPAJJJYY.png";function ts({...e}){return(0,On.jsxs)("div",{children:[(0,On.jsx)(sh,{isMenuOpen:!0,logoLight:lh,logoDark:uh,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,On.jsx)(Bf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,On.jsx)(kf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,On.jsx)(Lf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,On.jsx)(Vf,{...e.hero}),(0,On.jsx)("div",{className:"container py-8",children:(0,On.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,On.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,On.jsxs)("div",{className:"space-y-6",children:[(0,On.jsxs)(ka,{children:[(0,On.jsx)(Fa,{children:(0,On.jsx)(La,{children:"Quick Actions"})}),(0,On.jsxs)($a,{children:[(0,On.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,On.jsx)(Nn,{className:"w-full",children:"Create New"})]})]}),(0,On.jsxs)(ka,{children:[(0,On.jsx)(Fa,{children:(0,On.jsx)(La,{children:"Resources"})}),(0,On.jsx)($a,{children:(0,On.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var ql=ur(rS());var O6=()=>(0,On.jsx)(In,{iconName:"github",size:"4x",type:"brands"});var N6=()=>(0,On.jsx)(In,{iconName:"people-sharing",size:"4x",type:"kit"}),M6=()=>(0,On.jsx)(In,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),I6=()=>(0,On.jsx)(In,{iconName:"development",size:"4x",type:"kit"}),D6={title:"Pages/Page",component:ts,decorators:[e=>(0,On.jsx)("div",{className:"bg-sidebar",children:(0,On.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},q6=e=>(0,On.jsx)(ts,{...e}),ja={render:q6,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,On.jsxs)("div",{className:"prose max-w-none",children:[(0,On.jsx)("h2",{children:"How it works"}),(0,On.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore On dolore magna aliqua."}),(0,On.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,On.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:M6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:N6},{name:"Products",description:"Products that we sell",href:"#",icon:I6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Qa.ChartPieIcon},{name:"API Reference",href:"#",icon:Qa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:O6}],actions:[{name:"Watch demo",href:"#",icon:Kf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Kf.PhoneIcon},{name:"View all products",href:"#",icon:Kf.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,ql.fn)(),onEditDocument:(0,ql.fn)(),onPrintDocument:(0,ql.fn)()}}},j6={args:{...ja.args,hero:{type:"lowImpact",children:(0,On.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},B6={args:{...ja.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,On.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},k6={args:{...ja.args,hero:{type:"highImpact",children:(0,On.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"}},F6={args:{...ja.args,hero:{type:"highImpact",children:(0,On.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:lU,configure:uU,createEvent:cU,fireEvent:dU,findAllByAltText:pU,findAllByDisplayValue:fU,findAllByLabelText:hU,findAllByPlaceholderText:mU,findAllByRole:gU,findAllByTestId:yU,findAllByText:bU,findAllByTitle:vU,findByAltText:EU,findByDisplayValue:_U,findByLabelText:wU,findByPlaceholderText:SU,findByRole:CU,findByTestId:AU,findByText:TU,findByTitle:RU,getAllByAltText:xU,getAllByDisplayValue:PU,getAllByLabelText:OU,getAllByPlaceholderText:NU,getAllByRole:MU,getAllByTestId:IU,getAllByText:DU,getAllByTitle:qU,getByAltText:jU,getByDisplayValue:BU,getByLabelText:kU,getByPlaceholderText:FU,getByRole:LU,getByTestId:$U,getByText:UU,getByTitle:HU,getConfig:zU,getDefaultNormalizer:GU,getElementError:VU,getNodeText:WU,getQueriesForElement:YU,getRoles:KU,getSuggestedQuery:JU,isInaccessible:XU,logDOM:QU,logRoles:ZU,prettyDOM:e6,queries:t6,queryAllByAltText:r6,queryAllByAttribute:n6,queryAllByDisplayValue:o6,queryAllByLabelText:i6,queryAllByPlaceholderText:a6,queryAllByRole:s6,queryAllByTestId:l6,queryAllByText:u6,queryAllByTitle:c6,queryByAltText:d6,queryByAttribute:p6,queryByDisplayValue:f6,queryByLabelText:h6,queryByPlaceholderText:m6,queryByRole:g6,queryByTestId:y6,queryByText:b6,queryByTitle:v6,queryHelpers:E6,screen:_6,waitFor:w6,waitForElementToBeRemoved:S6,within:tS,prettyFormat:C6}=kd,{userEvent:A6}=(0,eS.instrument)({userEvent:oU},{intercept:!0}),{expect:T6}=(0,Fq.instrument)({expect:UE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let _x=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?_x:[..._x,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),R6=({parameters:e})=>{var t,r,_x;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?WE():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?VE():((_x=e==null?void 0:e.test)==null?void 0:_x.restoreMocks)!==!1&&YE()},ol=(e,t=0,r)=>{var _x;if(t>5||e==null)return e;if(Fp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=zE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>ol(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(_x=Object.getOwnPropertyDescriptor(e,o))!=null&&_x.writable&&(e[o]=ol(i,t,o));return e}return e},x6=({initialArgs:e})=>{ol(e)},P6=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=tS(e.canvasElement))};uv.global.__STORYBOOK_TEST_LOADERS__=[R6,x6,P6];uv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=HE});var L6={};kS(L6,{Default:()=>ja,HighImpactHero:()=>k6,LowImpactHero:()=>j6,MediumImpactHero:()=>B6,PostHero:()=>F6,default:()=>D6});module.exports=FS(L6);var Pn=ur(require("react"));var yf=require("clsx");var $l="-",LS=e=>{let t=US(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:_x}=e;return{getClassGroupId:s=>{let l=s.split($l);return l[0]===""&&l.length!==1&&l.shift(),df(l,t)||$S(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&_x[s]?[...u,..._x[s]]:u}}},df=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],_x=t.nextPart.get(r),o=_x?df(e.slice(1),_x):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join($l);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},uf=/^\[(.+)\]$/,$S=e=>{if(uf.test(e)){let t=uf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},US=e=>{let{theme:t,prefix:r}=e,_x={nextPart:new Map,validators:[]};return zS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Ll(s,_x,i,t)}),_x},Ll=(e,t,r,_x)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:cf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(HS(o)){Ll(o(_x),t,r,_x);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Ll(s,cf(t,i),r,_x)})})},cf=(e,t)=>{let r=e;return t.split($l).forEach(_x=>{r.nextPart.has(_x)||r.nextPart.set(_x,{nextPart:new Map,validators:[]}),r=r.nextPart.get(_x)}),r},HS=e=>e.isThemeGetter,zS=(e,t)=>t?e.map(([r,_x])=>{let o=_x.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,GS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,_x=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,_x=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=_x.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},pf="!",VS=e=>{let{separator:t,experimentalParseClassName:r}=e,_x=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&&(_x||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(pf),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},WS=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(_x=>{_x[0]==="["?(t.push(...r.sort(),_x),r=[]):r.push(_x)}),t.push(...r.sort()),t},YS=e=>({cache:GS(e.cacheSize),parseClassName:VS(e),...LS(e)}),KS=/\s+/,JS=(e,t)=>{let{parseClassName:r,getClassGroupId:_x,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(KS),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=_x(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=_x(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=WS(c).join(":"),E=p?b+pf: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 XS(){let e=0,t,r,_x="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ff(t))&&(_x&&(_x+=" "),_x+=r);return _x}var ff=e=>{if(typeof e=="string")return e;let t,r="";for(let _x=0;_x<e.length;_x++)e[_x]&&(t=ff(e[_x]))&&(r&&(r+=" "),r+=t);return r};function QS(e,...t){let r,_x,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=YS(d),_x=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=_x(u);if(d)return d;let c=JS(u,r);return o(u,c),c}return function(){return i(XS.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},hf=/^\[(?:([a-z-]+):)?(.+)\]$/i,ZS=/^\d+\/\d+$/,e2=new Set(["px","full","screen"]),t2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,r2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|On|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,n2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,o2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,i2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$r=e=>ro(e)||e2.has(e)||ZS.test(e),rn=e=>no(e,"length",f2),ro=e=>!!e&&!Number.isNaN(Number(e)),Fl=e=>no(e,"number",ro),Ii=e=>!!e&&Number.isInteger(Number(e)),a2=e=>e.endsWith("%")&&ro(e.slice(0,-1)),Fe=e=>hf.test(e),nn=e=>t2.test(e),s2=new Set(["length","size","percentage"]),l2=e=>no(e,s2,mf),u2=e=>no(e,"position",mf),c2=new Set(["image","url"]),d2=e=>no(e,c2,m2),p2=e=>no(e,"",h2),Di=()=>!0,no=(e,t,r)=>{let _x=hf.exec(e);return _x?_x[1]?typeof t=="string"?_x[1]===t:t.has(_x[1]):r(_x[2]):!1},f2=e=>r2.test(e)&&!n2.test(e),mf=()=>!1,h2=e=>o2.test(e),m2=e=>i2.test(e);var g2=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),_x=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=()=>["",$r,rn],x=()=>["auto",ro,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=()=>[ro,Fe];return{cacheSize:500,separator:":",theme:{colors:[Di],spacing:[$r,rn],blur:["none","",nn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",nn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[a2,rn],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:[nn]}],"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",Ii,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",Ii,Fe]}],"grid-cols":[{"grid-cols":[Di]}],"col-start-end":[{col:["auto",{span:["full",Ii,Fe]},Fe]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Di]}],"row-start-end":[{row:["auto",{span:[Ii,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:[_]}],On:[{On:[_]}],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:[nn]},nn]}],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",nn,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fl]}],"font-family":[{font:[Di]}],"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",ro,Fl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$r,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",$r,rn]}],"underline-offset":[{"underline-offset":["auto",$r,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(),u2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",l2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},d2]}],"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":[$r,Fe]}],"outline-w":[{outline:[$r,rn]}],"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":[$r,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",nn,p2]}],"shadow-color":[{shadow:[Di]}],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:[_x]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",nn,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":[_x]}],"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:[Ii,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","_x-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-On":[{"scroll-On":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:[$r,rn,Fl]}],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","On","pr","pb","pl"],px:["pr","pl"],py:["On","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-On","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-On","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gf=QS(g2);function $e(...e){return gf((0,yf.clsx)(e))}var On=require("react/jsx-runtime"),ka=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ka.displayName="Card";var Fa=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("flex flex-col space-y-1.5 p-6",e),...t}));Fa.displayName="CardHeader";var La=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("font-semibold leading-none tracking-tight",e),...t}));La.displayName="CardTitle";var y2=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("text-sm text-muted-foreground",e),...t}));y2.displayName="CardDescription";var $a=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("p-6 On-0",e),...t}));$a.displayName="CardContent";var b2=Pn.forwardRef(({className:e,...t},r)=>(0,On.jsx)("div",{ref:r,className:$e("flex items-center p-6 On-0",e),...t}));b2.displayName="CardFooter";var bf=require("@radix-ui/react-slot"),vf=require("class-variance-authority"),Ef=ur(require("react")),v2=(0,vf.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"}}}),Nn=Ef.forwardRef(({asChild:e=!1,className:t,size:r,variant:_x,...o},i)=>(0,On.jsx)(e?bf.Slot:"button",{className:$e(v2({className:t,size:r,variant:_x})),ref:i,...o}));Nn.displayName="Button";var es=require("lucide-react");var wf=({className:e,content:t,style:r})=>(0,On.jsx)("div",{className:$e("mx-auto my-8 w-full",e),children:(0,On.jsx)("div",{className:$e("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,On.jsx)(nr,{content:t,enableGutter:!1,enableProse:!1})})});var Ul=ur(require("next/link")),oo=e=>{let{type:t,appearance:r="inline",children:_x,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,On.jsxs)(Ul.default,{className:$e(o),href:c||d||"",...h,children:[i&&i,_x&&_x]}):(0,On.jsx)(Nn,{asChild:!0,className:o,size:p,variant:r,children:(0,On.jsxs)(Ul.default,{className:$e(o),href:c||d||"",...h,children:[i&&i,_x&&_x]})})};var Sf=({links:e,richText:t})=>(0,On.jsx)("div",{className:"container",children:(0,On.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,On.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,On.jsx)(nr,{className:"mb-0",content:t,enableGutter:!1})}),(0,On.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},_x)=>(0,On.jsx)(oo,{size:"lg",...r},_x))})]})});var Ha=require("prism-react-renderer");var Af=require("react");function Tf({code:e}){let[t,r]=(0,Af.useState)("Copy");function _x(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,On.jsx)("div",{className:"flex justify-end align-middle",children:(0,On.jsxs)(Nn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),_x()},children:[(0,On.jsx)("p",{children:t}),(0,On.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,On.jsx)(es.ClipboardCopy,{})})]})})}var Rf=({code:e,language:t=""})=>e?(0,On.jsx)(Ha.Highlight,{code:e,language:t,theme:Ha.themes.vsDark,children:({getLineProps:r,getTokenProps:_x,tokens:o})=>(0,On.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,On.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,On.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,On.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,On.jsx)("span",{..._x({token:l})},u))})]},s)),(0,On.jsx)(Tf,{code:e})]})}):null;var xf=({className:e,code:t,language:r})=>(0,On.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,On.jsx)(Rf,{code:t,language:r})});var Of=ur(require("next/image"));var Pf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var za=()=>{if(Pf){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 E2={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_2="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=",Nf=e=>{let{alt:t,fill:r,imgClassName:_x,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=`${za()}${_}`}let m=u||"lazy",g=s||Object.entries(E2).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,On.jsx)("picture",{children:(0,On.jsx)(Of.default,{alt:p||"",className:$e(_x),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:_2,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Mf=e=>{let{onClick:t,resource:r,videoClassName:_x}=e,o=(0,Af.useRef)(null);if((0,Af.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,On.jsx)("video",{autoPlay:!0,className:$e(_x),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,On.jsx)("source",{src:`${za()}/media/${i}`})})}return null};var Wa=e=>{var s;let{className:t,htmlElement:r="div",resource:_x}=e,o=typeof _x=="object"&&((s=_x==null?void 0:_x.mimeType)==null?void 0:s.includes("video"));return(0,On.jsx)(r||Af.Fragment,{...r!==null?{className:t}:{},children:o?(0,On.jsx)(Mf,{...e}):(0,On.jsx)(Nf,{...e})})};var Df=e=>{let{className:t,enableGutter:r=!0,imgClassName:_x,media:o,staticImage:i}=e;return(0,On.jsx)("div",{className:$e("",{container:r},t),children:(0,On.jsx)(Wa,{imgClassName:$e("border border-border rounded-[0.8rem]",_x),resource:o,src:i})})};var qf=({title:e,description:t,features:r,id:_x})=>(0,On.jsxs)("section",{className:$e("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,On.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:_x||"",children:e}),t&&typeof t=="string"&&(0,On.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,On.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,On.jsx)(nr,{content:t,enableGutter:!1})}),(0,On.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{let s=(0,On.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,On.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,On.jsx)("i",{className:`${o.icon.type} fa-${o.icon.icon} fa-4x`})}),(0,On.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:o.title}),o.content&&typeof o.content!="object"&&(0,On.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),o.content&&typeof o.content=="object"&&(0,On.jsx)("div",{className:"text-lg opacity-80",children:(0,On.jsx)(nr,{content:o.content,enableGutter:!1})})]},i);return o.link?(0,On.jsx)("a",{href:o.link.url?o.link.url:"#",className:"no-underline group",children:s},i):s})})]});var Ka=ur(require("react"));function Ya({nodes:e}){return(0,On.jsx)(Ka.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,On.jsx)(Ka.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,On.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,On.jsx)("em",{children:i},r)),t.format&4&&(i=(0,On.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,On.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,On.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,On.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,On.jsx)("sup",{children:i},r)),i}if(t.type==="table")return(0,On.jsx)("table",{children:(0,On.jsx)("tbody",{children:t.children.map((i,s)=>(0,On.jsx)("tr",{children:i.children.map((l,u)=>(0,On.jsx)("td",{children:Ya({nodes:l.children})},u))},s))})},r);let _x=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 Ya({nodes:i.children})},o="children"in t?_x(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,On.jsx)(Sf,{...i},r);case"mediaBlock":return(0,On.jsx)(Df,{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,On.jsx)(wf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,On.jsx)(xf,{className:"col-start-2",...i},r);case"features":return(0,On.jsx)(qf,{...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,On.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,On.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,On.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,On.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,On.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,On.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,On.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,On.jsx)(oo,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var nr=({className:e,content:t,enableGutter:r=!0,enableProse:_x=!0})=>{var o;return t?(0,On.jsx)("div",{className:$e({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":_x},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ya({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Bf=({children:e,richText:t})=>(0,On.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,On.jsx)("div",{className:"container",children:e||t&&(0,On.jsx)(nr,{content:t,enableGutter:!1})})});var Wl=ur(require("next/image"));var w2=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:_x,url:o,width:i}=e;return(0,On.jsx)(Wl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:_x||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,On.jsx)("div",{children:(0,On.jsx)(Wl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},kf=({links:e,media:t,children:r,richText:_x})=>(0,On.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 On-10",children:[t&&(0,On.jsx)(w2,{media:t}),(0,On.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,On.jsx)("div",{className:"container text-brand-one-foreground",children:r||_x&&(0,On.jsx)(nr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:_x,enableProse:!0,enableGutter:!1})})})]});var Ff=ur(require("next/image"));var Lf=({links:e,media:t,children:r,richText:_x})=>(0,On.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,On.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,On.jsxs)("div",{className:"text-center",children:[r||_x&&(0,On.jsx)(nr,{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:_x,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,On.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,On.jsx)("li",{children:(0,On.jsx)(oo,{...o})},i))})]})}),(0,On.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,On.jsx)(Wa,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,On.jsx)("div",{children:(0,On.jsx)(Ff.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,On.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var $f=e=>{let r=new Date;e&&(r=new Date(e));let _x=r.getMonth(),o=r.getDate(),i=_x+1<10?`0${_x+1}`:_x+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${s}/${i}/${l}`};var ji=ur(require("react"));var Hf=(0,vf.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 Yl({className:e,variant:t,...r}){return(0,On.jsx)("div",{className:$e(Hf({variant:t}),e),...r})}var Gf=ur(require("next/image")),Vf=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:_x,publishedAt:o,title:i}=e;return(0,On.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,On.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,On.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,On.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,On.jsx)(Yl,{className:"mx-2",children:d||"Untitled category"})}return null})}),(0,On.jsx)("div",{className:"",children:(0,On.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,On.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,On.jsx)("div",{className:"flex flex-col gap-4",children:_x&&(0,On.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,On.jsx)("p",{className:"text-sm",children:"Author"}),_x.map((l,u)=>{let{name:d}=l,c=u===_x.length-1,p=u===_x.length-2;return(0,On.jsxs)(ji.default.Fragment,{children:[d,p&&_x.length>2&&(0,On.jsx)(ji.default.Fragment,{children:", "}),p&&_x.length===2&&(0,On.jsx)(ji.default.Fragment,{children:" "}),!c&&_x.length>1&&(0,On.jsx)(ji.default.Fragment,{children:"and "})]},u)})]})}),o&&(0,On.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,On.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,On.jsx)("time",{dateTime:o,children:$f(o)})]})]})]})}),(0,On.jsxs)("div",{className:"min-h-[50vh] max-h-[50vh] select-none",children:[(0,On.jsx)("div",{children:(0,On.jsx)(Gf.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,On.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 In=({type:e="solid",iconName:t="cloud",size:r="lg",className:_x})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=_x!=null?_x:"",l=o+i+" fa-"+r+" "+s;return(0,On.jsx)("i",{className:l})};var io=require("@headlessui/react"),Kf=require("@heroicons/react/20/solid");var S2=({name:e,items:t,actions:r=[],href:_x})=>!t&&_x?(0,On.jsx)("a",{href:_x,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,On.jsxs)("span",{className:"relative",children:[e,(0,On.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,On.jsxs)(io.Popover,{children:[(0,On.jsxs)(io.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,On.jsxs)("span",{className:"relative",children:[e,(0,On.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,On.jsx)(Kf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,On.jsxs)(io.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,On.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,On.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,On.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,On.jsx)(Yf,{icon:o.icon,size:"4x"})}),(0,On.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,On.jsx)("span",{className:"absolute inset-0"})]}),(0,On.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,On.jsx)("div",{className:"bg-gray-50",children:(0,On.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,On.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,On.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,On.jsx)(Yf,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Yf=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,On.jsx)(In,{...e,size:r});if("src"in e)return(0,On.jsx)("div",{className:$e(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,On.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Jf=S2;function Xf({children:e,isFluid:t=!1,isNoPadding:r=!1,className:_x=""}){let o=$e("container",t&&"full-width",r&&"no-padding",_x);return(0,On.jsx)("div",{className:o,children:e})}var Zf=ur(require("next/link"));function eh({children:e,href:t,openNewTab:r,..._x}){return(0,On.jsx)(Zf.default,{href:t,target:r?"_blank":"_self",..._x,children:e})}var Kl=ur(require("next/image"));function ki({logoLight:e,logoDark:t,mobile:r=!1}){return(0,On.jsxs)(eh,{href:"/",className:$e(r?"py-1":"py-2"),children:[(0,On.jsx)(Kl.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,On.jsx)(Kl.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 rh=require("next-themes");function oh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x}){let[o,i]=(0,Af.useState)(!1),[s,l]=(0,Af.useState)(""),u=["light","dark"],{theme:d,setTheme:c}=(0,rh.useTheme)();(0,Af.useEffect)(()=>{l(d||"dark")},[d]);let p=()=>{let h=u[(u.indexOf(s)+1)%u.length];l(h),c(h)};return(0,Af.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,On.jsx)(On.Fragment,{children:(0,On.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,On.jsx)(Xf,{className:"px-0",children:(0,On.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,On.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,On.jsx)(ki,{logoDark:r,logoLight:t}),(0,On.jsx)(io.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:_x&&_x.map(h=>(0,On.jsx)(Jf,{...h},h.name))}),(0,On.jsx)("div",{className:"flex items-center space-x-4",children:(0,On.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,On.jsxs)("div",{className:"relative",children:[(0,On.jsx)(es.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,On.jsx)(es.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Qa=require("@heroicons/react/24/outline");var Jl=["light","dark"];function ah({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:_x=!0}){let[o,i]=(0,Af.useState)(!1),{theme:s,setTheme:l}=(0,rh.useTheme)(),[u,d]=(0,Af.useState)(!1),[c,p]=(0,Af.useState)("light");(0,Af.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Af.useEffect)(()=>{p(s||"dark")},[s]);let h=()=>{let m=Jl[(Jl.indexOf(c)+1)%Jl.length];p(m),l(m)};return(0,On.jsx)(On.Fragment,{children:(0,On.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||_x?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,On.jsx)("nav",{className:$e("backdrop-blur-sm text-white p-0",u&&"hidden"),children:(0,On.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,On.jsx)(ki,{logoDark:t,logoLight:e,mobile:!0}),(0,On.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,On.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,On.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,On.jsx)(Qa.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,On.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,On.jsxs)("div",{className:"relative",children:[(0,On.jsx)(es.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,On.jsx)(es.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,On.jsxs)(io.Dialog,{open:u,onClose:d,className:"lg:hidden",children:[(0,On.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,On.jsxs)(io.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,On.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,On.jsx)(ki,{logoDark:t,logoLight:e,mobile:!0}),(0,On.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,On.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,On.jsx)(Qa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,On.jsx)("div",{className:"mt-6 flow-root",children:(0,On.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,On.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,On.jsx)(C2,{...m},m.name))})})})]})]})]})})}function C2({name:e,items:t,actions:r,href:_x}){return!t&&_x?(0,On.jsx)("a",{href:_x,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,On.jsxs)(io.Disclosure,{as:"div",className:"-mx-3",children:[(0,On.jsx)(io.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,On.jsx)(io.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,On.jsx)(io.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 sh({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x,className:o}){return(0,On.jsxs)("div",{className:$e("fixed top-0 left-0 right-0 z-50",o),children:[(0,On.jsx)(oh,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x}),(0,On.jsx)(ah,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:_x})]})}var lh="../cortex-reply-light-27IMI3G7.png";var uh="../cortex-reply-dark-XPAJJJYY.png";function ts({...e}){return(0,On.jsxs)("div",{children:[(0,On.jsx)(sh,{isMenuOpen:!0,logoLight:lh,logoDark:uh,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,On.jsx)(Bf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,On.jsx)(kf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,On.jsx)(Lf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,On.jsx)(Vf,{...e.hero}),(0,On.jsx)("div",{className:"container py-8",children:(0,On.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,On.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,On.jsxs)("div",{className:"space-y-6",children:[(0,On.jsxs)(ka,{children:[(0,On.jsx)(Fa,{children:(0,On.jsx)(La,{children:"Quick Actions"})}),(0,On.jsxs)($a,{children:[(0,On.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,On.jsx)(Nn,{className:"w-full",children:"Create New"})]})]}),(0,On.jsxs)(ka,{children:[(0,On.jsx)(Fa,{children:(0,On.jsx)(La,{children:"Resources"})}),(0,On.jsx)($a,{children:(0,On.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,On.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,On.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var ql=ur(rS());var O6=()=>(0,On.jsx)(In,{iconName:"github",size:"4x",type:"brands"});var N6=()=>(0,On.jsx)(In,{iconName:"people-sharing",size:"4x",type:"kit"}),M6=()=>(0,On.jsx)(In,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),I6=()=>(0,On.jsx)(In,{iconName:"development",size:"4x",type:"kit"}),D6={title:"Pages/Page",component:ts,decorators:[e=>(0,On.jsx)("div",{className:"bg-sidebar",children:(0,On.jsx)(e,{})})],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}},q6=e=>(0,On.jsx)(ts,{...e}),ja={render:q6,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,On.jsxs)("div",{className:"prose max-w-none",children:[(0,On.jsx)("h2",{children:"How it works"}),(0,On.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore On dolore magna aliqua."}),(0,On.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,On.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:M6},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:N6},{name:"Products",description:"Products that we sell",href:"#",icon:I6}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Qa.ChartPieIcon},{name:"API Reference",href:"#",icon:Qa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:O6}],actions:[{name:"Watch demo",href:"#",icon:Kf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Kf.PhoneIcon},{name:"View all products",href:"#",icon:Kf.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,ql.fn)(),onEditDocument:(0,ql.fn)(),onPrintDocument:(0,ql.fn)()}}},j6={args:{...ja.args,hero:{type:"lowImpact",children:(0,On.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},B6={args:{...ja.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,On.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},k6={args:{...ja.args,hero:{type:"highImpact",children:(0,On.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"}},F6={args:{...ja.args,hero:{type:"highImpact",children:(0,On.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-QYLUJ3PE.mjs";import{a as l}from"../chunk-PAG346RY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-YP7AKYLM.mjs";import"../chunk-6IPL22A6.mjs";import"../chunk-OLYQCZ7N.mjs";import"../chunk-CWNEDSLD.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-FXMYCGIC.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-6FHLIH4J.mjs";import"../chunk-CW7WANDA.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.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-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-V7YLLLES.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-KAJDV47B.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-4BZYZZOG.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-CS77R54Z.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};
1
+ import{a as n}from"../chunk-7T2EVGKB.mjs";import{a as l}from"../chunk-PAG346RY.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-335BBTLI.mjs";import"../chunk-RRNFHKBK.mjs";import"../chunk-EZUTXJLA.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-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-DUMY24W2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-6FHLIH4J.mjs";import"../chunk-CW7WANDA.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-AFA6LBJ4.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-UHY3OPNY.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-YNNW2C2U.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};
@@ -0,0 +1,8 @@
1
+ import { Page } from '@/payload-types';
2
+ interface WebsiteSectionProps {
3
+ hero: any;
4
+ page: Page;
5
+ [key: string]: any;
6
+ }
7
+ export default function WebsiteSection({ ...args }: WebsiteSectionProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ "use strict";var dt=Object.create;var $=Object.defineProperty;var pt=Object.getOwnPropertyDescriptor;var ut=Object.getOwnPropertyNames;var mt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var ft=(t,e)=>{for(var r in e)$(t,r,{get:e[r],enumerable:!0})},Ie=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ut(e))!gt.call(t,n)&&n!==r&&$(t,n,{get:()=>e[n],enumerable:!(s=pt(e,n))||s.enumerable});return t};var q=(t,e,r)=>(r=t!=null?dt(mt(t)):{},Ie(e||!t||!t.__esModule?$(r,"default",{value:t,enumerable:!0}):r,t)),bt=t=>Ie($({},"__esModule",{value:!0}),t);var Zt={};ft(Zt,{default:()=>ct});module.exports=bt(Zt);var He=require("clsx");var be="-",yt=t=>{let e=xt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let a=i.split(be);return a[0]===""&&a.length!==1&&a.shift(),ze(a,e)||ht(i)},getConflictingClassGroupIds:(i,a)=>{let c=r[i]||[];return a&&s[i]?[...c,...s[i]]:c}}},ze=(t,e)=>{var i;if(t.length===0)return e.classGroupId;let r=t[0],s=e.nextPart.get(r),n=s?ze(t.slice(1),s):void 0;if(n)return n;if(e.validators.length===0)return;let o=t.join(be);return(i=e.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,ht=t=>{if(Me.test(t)){let e=Me.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},xt=t=>{let{theme:e,prefix:r}=t,s={nextPart:new Map,validators:[]};return vt(Object.entries(t.classGroups),r).forEach(([o,i])=>{fe(i,s,o,e)}),s},fe=(t,e,r,s)=>{t.forEach(n=>{if(typeof n=="string"){let o=n===""?e:Ee(e,n);o.classGroupId=r;return}if(typeof n=="function"){if(wt(n)){fe(n(s),e,r,s);return}e.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{fe(i,Ee(e,o),r,s)})})},Ee=(t,e)=>{let r=t;return e.split(be).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},wt=t=>t.isThemeGetter,vt=(t,e)=>e?t.map(([r,s])=>{let n=s.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[e+i,a])):o);return[r,n]}):t,kt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,s=new Map,n=(o,i)=>{r.set(o,i),e++,e>t&&(e=0,s=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=s.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Fe="!",Ct=t=>{let{separator:e,experimentalParseClassName:r}=t,s=e.length===1,n=e[0],o=e.length,i=a=>{let c=[],y=0,g=0,v;for(let u=0;u<a.length;u++){let w=a[u];if(y===0){if(w===n&&(s||a.slice(u,u+o)===e)){c.push(a.slice(g,u)),g=u+o;continue}if(w==="/"){v=u;continue}}w==="["?y++:w==="]"&&y--}let x=c.length===0?a:a.substring(g),A=x.startsWith(Fe),d=A?x.substring(1):x,p=v&&v>g?v-g:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:d,maybePostfixModifierPosition:p}};return r?a=>r({className:a,parseClassName:i}):i},At=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(s=>{s[0]==="["?(e.push(...r.sort(),s),r=[]):r.push(s)}),e.push(...r.sort()),e},Pt=t=>({cache:kt(t.cacheSize),parseClassName:Ct(t),...yt(t)}),Nt=/\s+/,Bt=(t,e)=>{let{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=e,o=[],i=t.trim().split(Nt),a="";for(let c=i.length-1;c>=0;c-=1){let y=i[c],{modifiers:g,hasImportantModifier:v,baseClassName:x,maybePostfixModifierPosition:A}=r(y),d=!!A,p=s(d?x.substring(0,A):x);if(!p){if(!d){a=y+(a.length>0?" "+a:a);continue}if(p=s(x),!p){a=y+(a.length>0?" "+a:a);continue}d=!1}let u=At(g).join(":"),w=v?u+Fe:u,P=w+p;if(o.includes(P))continue;o.push(P);let E=n(p,d);for(let z=0;z<E.length;++z){let K=E[z];o.push(w+K)}a=y+(a.length>0?" "+a:a)}return a};function Rt(){let t=0,e,r,s="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Le(e))&&(s&&(s+=" "),s+=r);return s}var Le=t=>{if(typeof t=="string")return t;let e,r="";for(let s=0;s<t.length;s++)t[s]&&(e=Le(t[s]))&&(r&&(r+=" "),r+=e);return r};function Tt(t,...e){let r,s,n,o=i;function i(c){let y=e.reduce((g,v)=>v(g),t());return r=Pt(y),s=r.cache.get,n=r.cache.set,o=a,a(c)}function a(c){let y=s(c);if(y)return y;let g=Bt(c,r);return n(c,g),g}return function(){return o(Rt.apply(null,arguments))}}var f=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,St=/^\d+\/\d+$/,It=new Set(["px","full","screen"]),Mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ft=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_e-?((\d+)?\.?(\d+)[a-z]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>G(t)||It.has(t)||St.test(t),S=t=>U(t,"length",Wt),G=t=>!!t&&!Number.isNaN(Number(t)),ge=t=>U(t,"number",G),V=t=>!!t&&Number.isInteger(Number(t)),Gt=t=>t.endsWith("%")&&G(t.slice(0,-1)),l=t=>Ge.test(t),I=t=>Mt.test(t),Ut=new Set(["length","size","percentage"]),Dt=t=>U(t,Ut,Ue),Ht=t=>U(t,"position",Ue),Ot=new Set(["image","url"]),Vt=t=>U(t,Ot,jt),Qt=t=>U(t,"",_t),Q=()=>!0,U=(t,e,r)=>{let s=Ge.exec(t);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):r(s[2]):!1},Wt=t=>Et.test(t)&&!zt.test(t),Ue=()=>!1,_t=t=>Ft.test(t),jt=t=>Lt.test(t);var Jt=()=>{let t=f("colors"),e=f("spacing"),r=f("blur"),s=f("brightness"),n=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),a=f("borderWidth"),c=f("contrast"),y=f("grayscale"),g=f("hueRotate"),v=f("invert"),x=f("gap"),A=f("gradientColorStops"),d=f("gradientColorStopPositions"),p=f("inset"),u=f("margin"),w=f("opacity"),P=f("padding"),E=f("saturate"),z=f("scale"),K=f("sepia"),Ae=f("skew"),Pe=f("space"),Ne=f("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",l,e],h=()=>[l,e],Be=()=>["",B,S],Y=()=>["auto",G,l],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",l],Se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[B,S],blur:["none","",I,l],brightness:N(),borderColor:[t],borderRadius:["none","","full",I,l],borderSpacing:h(),borderWidth:Be(),contrast:N(),grayscale:O(),hueRotate:N(),invert:O(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[Gt,S],inset:ue(),margin:ue(),opacity:N(),padding:h(),saturate:N(),scale:N(),sepia:O(),skew:N(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Se()}],"break-before":[{"break-before":Se()}],"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:[...Re(),l]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,l]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],_e:[{_e:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Pe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",I,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"font-family":[{font:[Q]}],"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",l]}],"line-clamp":[{"line-clamp":["none",G,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),Ht]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vt]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[d]}],"gradient-via-pos":[{via:[d]}],"gradient-to-pos":[{to:[d]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",I,Qt]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",I,l]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[K]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[V,l]}],"translate-x":[{"translate-x":[Ne]}],"translate-y":[{"translate-y":[Ne]}],"skew-x":[{"skew-x":[Ae]}],"skew-y":[{"skew-y":[Ae]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","_e-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-_e":[{"scroll-_e":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","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",l]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,S,ge]}],stroke:[{stroke:[t,"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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],_e:["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-_e":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var De=Tt(Jt);function b(...t){return De((0,He.clsx)(t))}function Oe(t){let e=0,r=(o,i)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,s=t.layout.flatMap(o=>{let i=[];return"title"in o&&o.title&&i.push({text:o.title,id:r(o.title,e++),tag:"h2"}),"columns"in o&&Array.isArray(o.columns)&&o.columns.forEach(a=>{a.title&&i.push({text:a.title,id:r(a.title,e++),tag:"h2"}),a.richText&&a.richText.root.children.filter(c=>c.type==="heading").forEach(c=>{i.push({text:c.children[0].text,id:r(c.children[0].text,e++),tag:c.tag||"h2"})})}),i}),n=Kt(t.layout);return{tableOfContents:s,contentWithIds:n}}function Kt(t){let e=(s,n)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,r=0;return t.map(s=>(s.title&&(s.id=e(s.title,r++)),s.columns&&(s.columns=s.columns.map(n=>(n.title&&(n.id=e(n.title,r++)),n.richText&&(n.richText.root.children=n.richText.root.children.map(o=>(o.type==="heading"&&(o.id=e(o.children[0].text,r++)),o))),n))),s))}var Ve=require("@radix-ui/react-slot"),Qe=require("class-variance-authority"),We=q(require("react")),_e=require("react/jsx-runtime"),Yt=(0,Qe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 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"}}}),W=We.forwardRef(({asChild:t=!1,className:e,size:r,variant:s,...n},o)=>(0,_e.jsx)(t?Ve.Slot:"button",{className:b(Yt({className:e,size:r,variant:s})),ref:o,...n}));W.displayName="Button";var H=require("react");var je=({className:t,content:e,style:r})=>(0,_e.jsx)("div",{className:b("mx-auto my-8 w-full",t),children:(0,_e.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_e.jsx)(R,{content:e,enableGutter:!1,enableProse:!1})})});var ye=q(require("next/link")),D=t=>{let{type:e,appearance:r="inline",children:s,className:n,label:o,newTab:i,reference:a,size:c,url:y}=t,g=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:y;if(!g)return null;let v=r==="link"?"clear":c,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(ye.default,{className:b(n),href:g||y||"",...x,children:[o&&o,s&&s]}):(0,_e.jsx)(W,{asChild:!0,className:n,size:v,variant:r,children:(0,_e.jsxs)(ye.default,{className:b(n),href:g||y||"",...x,children:[o&&o,s&&s]})})};var ee=({links:t,richText:e})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.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,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,_e.jsx)(R,{className:"mb-0",content:e,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},s)=>(0,_e.jsx)(D,{size:"lg",...r},s))})]})});var te=require("prism-react-renderer");var Je=require("lucide-react");function Ye({code:t}){let[e,r]=(0,H.useState)("Copy");function s(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(W,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,_e.jsx)("p",{children:e}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(Je.ClipboardCopy,{})})]})})}var Xe=({code:t,language:e=""})=>t?(0,_e.jsx)(te.Highlight,{code:t,language:e,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:s,tokens:n})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,_e.jsx)("span",{...s({token:a})},c))})]},i)),(0,_e.jsx)(Ye,{code:t})]})}):null;var $e=({className:t,code:e,language:r})=>(0,_e.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(Xe,{code:e,language:r})});var Ze=q(require("next/image"));var qe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var re=()=>{if(qe){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Xt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",et=t=>{let{alt:e,fill:r,imgClassName:s,priority:n,resource:o,size:i,src:a,loading:c}=t,y,g,v=e,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:p,filename:u,height:w,url:P,width:E}=o;y=E,g=w,v=p||"",x=`${re()}${P}`}let A=c||"lazy",d=i||Object.entries(Xt).map(([,p])=>`(max-width: ${p}px) ${p*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(Ze.default,{alt:v||"",className:b(s),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:$t,priority:A!=="lazy"&&n,quality:100,loading:A,sizes:d,src:x,width:r?void 0:y})})};var tt=t=>{let{onClick:e,resource:r,videoClassName:s}=t,n=(0,H.useRef)(null);if((0,H.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:b(s),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:n,children:(0,_e.jsx)("source",{src:`${re()}/media/${o}`})})}return null};var ot=t=>{var i;let{className:e,htmlElement:r="div",resource:s}=t,n=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||H.Fragment,{...r!==null?{className:e}:{},children:n?(0,_e.jsx)(tt,{...t}):(0,_e.jsx)(et,{...t})})};var j=t=>{let{className:e,enableGutter:r=!0,imgClassName:s,media:n,staticImage:o}=t;return(0,_e.jsx)("div",{className:b("",{container:r},e),children:(0,_e.jsx)(ot,{imgClassName:b("border border-border rounded-[0.8rem]",s),resource:n,src:o})})};var se=({title:t,description:e,features:r,id:s})=>(0,_e.jsxs)("section",{className:b("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,_e.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:s||"",children:t}),e&&typeof e=="string"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,_e.jsx)(R,{content:e,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,o)=>{let i=(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,_e.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,_e.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,_e.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:n.title}),n.content&&typeof n.content!="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),n.content&&typeof n.content=="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",children:(0,_e.jsx)(R,{content:n.content,enableGutter:!1})})]},o);return n.link?(0,_e.jsx)("a",{href:n.link.url?n.link.url:"#",className:"no-underline group",children:i},o):i})})]});var ie=q(require("react"));function ae({nodes:t}){return(0,_e.jsx)(ie.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,_e.jsx)(ie.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),e.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,_e.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:e.children.map((o,i)=>(0,_e.jsx)("tr",{children:o.children.map((a,c)=>(0,_e.jsx)("td",{children:ae({nodes:a.children})},c))},i))})},r);let s=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ae({nodes:o.children})},n="children"in e?s(e):"";if(e.type==="block"){let o=e.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(ee,{...o},r);case"mediaBlock":return(0,_e.jsx)(j,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(je,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)($e,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(se,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=e==null?void 0:e.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:n},r)}case"list":{let o=e==null?void 0:e.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,_e.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:n},r):(0,_e.jsx)("li",{value:e==null?void 0:e.value,children:n},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=e.fields;return(0,_e.jsx)(D,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var R=({className:t,content:e,enableGutter:r=!0,enableProse:s=!0})=>{var n;return e?(0,_e.jsx)("div",{className:b({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":s},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&ae({nodes:(n=e==null?void 0:e.root)==null?void 0:n.children})}):null};var st=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,_e.jsx)("div",{className:"container my-6",children:(0,_e.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((s,n)=>{let{enableLink:o,link:i,richText:a,size:c}=s;return(0,_e.jsxs)("div",{className:b(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,_e.jsx)(R,{content:a,enableGutter:!1}),o&&(0,_e.jsx)(D,{...i})]},n)})})})};var at={content:st,cta:ee,mediaBlock:j,imageBlock:j,features:se},it=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,_e.jsx)("section",{id:"render-blocks",children:e.map((s,n)=>{let{blockType:o}=s;if(o&&o in at){let i=at[o];if(i)return(0,_e.jsx)("div",{className:"my-6",children:(0,_e.jsx)(i,{...s})},n)}return null})}):null};var J=require("framer-motion");var lt=require("next/router"),ke=t=>{let[e,r]=(0,H.useState)(0),s=(0,lt.useRouter)(),{blocks:n}=t,o=n&&Array.isArray(n)&&n.length>0,i=d=>{console.log("sectionId",d),console.log("block",n[d]),r(d)},a=()=>{r(d=>(d+1)%n.length)},c=()=>{r(d=>(d-1+n.length)%n.length)},g=(0,H.useCallback)(((d,p)=>{let u;return(...w)=>{clearTimeout(u),u=setTimeout(()=>d(...w),p)}})(d=>{d.deltaY>0?a():c()},300),[]),v=d=>{d.key==="ArrowDown"?a():d.key==="ArrowUp"&&c()},x=()=>{let p=s.asPath.replace("/slides/","/print-slides/"),u=window.open(p,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");u&&u.focus()},A=()=>{s.back()};return(0,H.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",v),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",v)}),[]),(0,_e.jsxs)("div",{className:"flex h-screen relative",children:[(0,_e.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:o&&n.map((d,p)=>(0,_e.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===p?"bg-accent":"bg-gray-300"}`,onClick:()=>i(p),children:(0,_e.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:d.blockName})},d.id))}),n.map((d,p)=>(0,_e.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${p===e?"opacity-100":"opacity-0"}`,children:(0,_e.jsx)(it,{blocks:[d]})},p)),(0,_e.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:a,children:(0,_e.jsx)(qt,{})}),(0,_e.jsx)("button",{className:"absolute top-14 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:x,children:(0,_e.jsx)(Je.Printer,{})}),(0,_e.jsx)("button",{className:"absolute top-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:A,children:(0,_e.jsx)(Je.CircleX,{})})]})},qt=()=>(0,_e.jsx)(J.AnimatePresence,{children:(0,_e.jsx)(J.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:b("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,_e.jsx)(J.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:b("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});function ct({...t}){let e=t.page,{contentWithIds:r,tableOfContents:s}=Oe(e);return(0,_e.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,_e.jsx)(ke,{blocks:r})})}
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-RX3B4KLS.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-32GGKWGB.mjs";import"../chunk-MESSAICX.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-V7LBBZKS.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-CL5QSCPX.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-W5LTMZ53.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-P5NVJTJ5.mjs";import"../chunk-6ZNVXWZR.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-66ZAIUUI.mjs";import"../chunk-ETU7V76A.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-2AGDXJAU.mjs";import"../chunk-DQQJUG5B.mjs";import"../chunk-TST7OX5V.mjs";import"../chunk-335BBTLI.mjs";import"../chunk-RRNFHKBK.mjs";import"../chunk-EZUTXJLA.mjs";import"../chunk-QL74DMZ3.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-TEASLXSL.mjs";import"../chunk-CP6IA4YZ.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-5EX5KVLO.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-TGMZKBPB.mjs";import"../chunk-UUI4HUXR.mjs";import"../chunk-4VDJWCUB.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-65EMMROH.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-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-DUMY24W2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-NWW7KWJK.mjs";import"../chunk-6FHLIH4J.mjs";import"../chunk-CW7WANDA.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-AFA6LBJ4.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-UHY3OPNY.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as default};