cortex-react-components 1.32.1 → 1.34.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 (288) hide show
  1. package/dist/chunk-3FTRFEVM.mjs +4 -0
  2. package/dist/chunk-4BEPYHEG.mjs +1 -0
  3. package/dist/{chunk-OEM7RQ4Q.mjs → chunk-5EX5KVLO.mjs} +1 -1
  4. package/dist/{chunk-ODLDYXPZ.mjs → chunk-6FHLIH4J.mjs} +1 -1
  5. package/dist/chunk-6K2R3OAD.mjs +1 -0
  6. package/dist/chunk-77MZDWUP.mjs +1 -0
  7. package/dist/{chunk-NGAHEN2R.mjs → chunk-7QPNALSX.mjs} +1 -1
  8. package/dist/{chunk-2ZFONB6D.mjs → chunk-AYQM572B.mjs} +1 -1
  9. package/dist/{chunk-IB72MBM7.mjs → chunk-CP6IA4YZ.mjs} +1 -1
  10. package/dist/{chunk-QRNJ7O2L.mjs → chunk-CW7WANDA.mjs} +1 -1
  11. package/dist/chunk-FHE7LU6G.mjs +1 -0
  12. package/dist/chunk-HU2USG4O.mjs +1 -0
  13. package/dist/{chunk-WR4OEF6T.mjs → chunk-IIHBXLZQ.mjs} +1 -1
  14. package/dist/chunk-IPG2W7EV.mjs +4 -0
  15. package/dist/chunk-ITOI4U3L.mjs +4 -0
  16. package/dist/chunk-KAJDV47B.mjs +1 -0
  17. package/dist/{chunk-SGCPFH7R.mjs → chunk-KKDY7QXC.mjs} +1 -1
  18. package/dist/{chunk-WKQSTYZP.mjs → chunk-LHFBM5DP.mjs} +1 -1
  19. package/dist/{chunk-ZSC6OQH4.mjs → chunk-M3MMOJFM.mjs} +1 -1
  20. package/dist/{chunk-2JZGT4F6.mjs → chunk-MBCAGZ76.mjs} +1 -1
  21. package/dist/{chunk-HM23H5RT.mjs → chunk-MEBJNGL3.mjs} +1 -1
  22. package/dist/{chunk-63BUZTVI.mjs → chunk-MESSAICX.mjs} +1 -1
  23. package/dist/{chunk-2DFHHXVF.mjs → chunk-NW7VCO7D.mjs} +1 -1
  24. package/dist/{chunk-BG4CGVSG.mjs → chunk-NYGYSEK6.mjs} +1 -1
  25. package/dist/chunk-TST7OX5V.mjs +1 -0
  26. package/dist/{chunk-YIBBFV25.mjs → chunk-VDSYKQJA.mjs} +1 -1
  27. package/dist/chunk-VE7ZJ62Y.mjs +4 -0
  28. package/dist/{chunk-NH74CS36.mjs → chunk-WSXDK4KT.mjs} +1 -1
  29. package/dist/{chunk-ITU7C5FD.mjs → chunk-WY4P6RJP.mjs} +1 -1
  30. package/dist/chunk-XKUS4OC7.mjs +1 -0
  31. package/dist/{chunk-G474BW6A.mjs → chunk-XTFOVKFL.mjs} +1 -1
  32. package/dist/{chunk-3ULIS6GM.mjs → chunk-YOIWC7S2.mjs} +1 -1
  33. package/dist/{chunk-YH4LGOVO.mjs → chunk-ZFNSRYYX.mjs} +1 -1
  34. package/dist/components/Blocks/Banner.js +1 -1
  35. package/dist/components/Blocks/Banner.mjs +1 -1
  36. package/dist/components/Blocks/CallToAction.js +1 -1
  37. package/dist/components/Blocks/CallToAction.mjs +1 -1
  38. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  39. package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
  40. package/dist/components/Blocks/Code.client.mjs +1 -1
  41. package/dist/components/Blocks/Code.mjs +1 -1
  42. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  43. package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
  44. package/dist/components/Blocks/Content.js +1 -1
  45. package/dist/components/Blocks/Content.mjs +1 -1
  46. package/dist/components/Blocks/CopyButton.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.d.ts +1 -0
  48. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  52. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  53. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  54. package/dist/components/Blocks/ProposalSummary.js +1 -1
  55. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  56. package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
  57. package/dist/components/Blocks/RelatedPosts.js +1 -1
  58. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  59. package/dist/components/Blocks/RenderBlocks.js +1 -1
  60. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  61. package/dist/components/Blocks/index.js +1 -1
  62. package/dist/components/Blocks/index.mjs +1 -1
  63. package/dist/components/Cards/CustomerCard.mjs +1 -1
  64. package/dist/components/Cards/CustomerCard.stories.js +1 -1
  65. package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
  66. package/dist/components/Cards/EventCard.mjs +1 -1
  67. package/dist/components/Cards/EventCard.stories.mjs +1 -1
  68. package/dist/components/Cards/Image.mjs +1 -1
  69. package/dist/components/Cards/Image.stories.mjs +1 -1
  70. package/dist/components/Cards/PricingCard.mjs +1 -1
  71. package/dist/components/Cards/PricingCard.stories.mjs +1 -1
  72. package/dist/components/Cards/ServiceCard.mjs +1 -1
  73. package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
  74. package/dist/components/Cards/index.mjs +1 -1
  75. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  76. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  77. package/dist/components/HeaderFooter/Header.d.ts +2 -1
  78. package/dist/components/HeaderFooter/Header.js +1 -1
  79. package/dist/components/HeaderFooter/Header.mjs +1 -1
  80. package/dist/components/HeaderFooter/Header.stories.js +1 -1
  81. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  82. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  83. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  84. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  85. package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
  86. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  87. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  88. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  89. package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
  90. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  91. package/dist/components/HeaderFooter/index.js +1 -1
  92. package/dist/components/HeaderFooter/index.mjs +1 -1
  93. package/dist/components/Heros/HighImpact/index.js +1 -1
  94. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  95. package/dist/components/Heros/LowImpact/index.js +1 -1
  96. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  97. package/dist/components/Heros/MediumImpact/index.js +1 -1
  98. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  99. package/dist/components/Heros/PostHero/index.js +1 -1
  100. package/dist/components/Heros/PostHero/index.mjs +1 -1
  101. package/dist/components/Heros/RenderHero.js +1 -1
  102. package/dist/components/Heros/RenderHero.mjs +1 -1
  103. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  104. package/dist/components/Heros/index.js +1 -1
  105. package/dist/components/Heros/index.mjs +1 -1
  106. package/dist/components/Layouts/BlogList.js +1 -1
  107. package/dist/components/Layouts/BlogList.mjs +1 -1
  108. package/dist/components/Layouts/BlogList.stories.js +1 -1
  109. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  110. package/dist/components/Layouts/index.js +3 -3
  111. package/dist/components/Layouts/index.mjs +1 -1
  112. package/dist/components/Menus/Categories.js +1 -1
  113. package/dist/components/Menus/Categories.mjs +1 -1
  114. package/dist/components/Menus/Categories.stories.js +1 -1
  115. package/dist/components/Menus/Categories.stories.mjs +1 -1
  116. package/dist/components/Menus/Filter.mjs +1 -1
  117. package/dist/components/Menus/Filter.stories.mjs +1 -1
  118. package/dist/components/Menus/ProjectTeam.js +1 -1
  119. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  120. package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
  121. package/dist/components/Menus/RelatedContent.d.ts +1 -0
  122. package/dist/components/Menus/RelatedContent.js +1 -1
  123. package/dist/components/Menus/RelatedContent.mjs +1 -1
  124. package/dist/components/Menus/RelatedContent.stories.js +1 -1
  125. package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
  126. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  127. package/dist/components/Menus/SidebarLeft.stories.js +8 -8
  128. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  129. package/dist/components/Menus/SidebarRight.mjs +1 -1
  130. package/dist/components/Menus/SidebarRight.stories.js +8 -8
  131. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  132. package/dist/components/Menus/index.js +1 -1
  133. package/dist/components/Menus/index.mjs +1 -1
  134. package/dist/components/Other/Container.mjs +1 -1
  135. package/dist/components/Other/index.mjs +1 -1
  136. package/dist/components/Payload/Card/index.mjs +1 -1
  137. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  138. package/dist/components/Payload/Link/index.mjs +1 -1
  139. package/dist/components/Payload/Media/index.mjs +1 -1
  140. package/dist/components/Payload/Pagination/index.mjs +1 -1
  141. package/dist/components/Payload/RichText/index.js +1 -1
  142. package/dist/components/Payload/RichText/index.mjs +1 -1
  143. package/dist/components/Payload/RichText/serialize.d.ts +5 -2
  144. package/dist/components/Payload/RichText/serialize.js +1 -1
  145. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  146. package/dist/components/Payload/RichText.stories.js +1 -1
  147. package/dist/components/Payload/RichText.stories.mjs +1 -1
  148. package/dist/components/Payload/index.js +1 -1
  149. package/dist/components/Payload/index.mjs +1 -1
  150. package/dist/components/index.js +3 -3
  151. package/dist/components/index.mjs +1 -1
  152. package/dist/components/ui/alert.mjs +1 -1
  153. package/dist/components/ui/alert.stories.mjs +1 -1
  154. package/dist/components/ui/avatar.mjs +1 -1
  155. package/dist/components/ui/avatar.stories.mjs +1 -1
  156. package/dist/components/ui/badge.d.ts +1 -1
  157. package/dist/components/ui/badge.mjs +1 -1
  158. package/dist/components/ui/badge.stories.mjs +1 -1
  159. package/dist/components/ui/breadcrumb.mjs +1 -1
  160. package/dist/components/ui/breadcrumb.stories.mjs +1 -1
  161. package/dist/components/ui/button.d.ts +1 -1
  162. package/dist/components/ui/button.mjs +1 -1
  163. package/dist/components/ui/button.stories.mjs +1 -1
  164. package/dist/components/ui/card.js +1 -1
  165. package/dist/components/ui/card.mjs +1 -1
  166. package/dist/components/ui/card.stories.mjs +1 -1
  167. package/dist/components/ui/checkbox.mjs +1 -1
  168. package/dist/components/ui/command.d.ts +2 -2
  169. package/dist/components/ui/command.mjs +1 -1
  170. package/dist/components/ui/command.stories.mjs +1 -1
  171. package/dist/components/ui/dialog.mjs +1 -1
  172. package/dist/components/ui/dialog.stories.mjs +1 -1
  173. package/dist/components/ui/dropdown-menu.mjs +1 -1
  174. package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
  175. package/dist/components/ui/hover-card.mjs +1 -1
  176. package/dist/components/ui/hover-card.stories.mjs +1 -1
  177. package/dist/components/ui/index.mjs +1 -1
  178. package/dist/components/ui/input.mjs +1 -1
  179. package/dist/components/ui/input.stories.mjs +1 -1
  180. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  181. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  182. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  183. package/dist/components/ui/label.mjs +1 -1
  184. package/dist/components/ui/label.stories.mjs +1 -1
  185. package/dist/components/ui/pagination.mjs +1 -1
  186. package/dist/components/ui/popover.mjs +1 -1
  187. package/dist/components/ui/popover.stories.mjs +1 -1
  188. package/dist/components/ui/scroll-area.mjs +1 -1
  189. package/dist/components/ui/scroll-area.stories.mjs +1 -1
  190. package/dist/components/ui/select.mjs +1 -1
  191. package/dist/components/ui/separator.mjs +1 -1
  192. package/dist/components/ui/separator.stories.mjs +1 -1
  193. package/dist/components/ui/sheet.d.ts +1 -1
  194. package/dist/components/ui/sheet.mjs +1 -1
  195. package/dist/components/ui/sheet.stories.mjs +1 -1
  196. package/dist/components/ui/sidebar.mjs +1 -1
  197. package/dist/components/ui/skeleton.mjs +1 -1
  198. package/dist/components/ui/skeleton.stories.mjs +1 -1
  199. package/dist/components/ui/textarea.mjs +1 -1
  200. package/dist/components/ui/toast.mjs +1 -1
  201. package/dist/components/ui/toast.stories.mjs +1 -1
  202. package/dist/components/ui/toaster.mjs +1 -1
  203. package/dist/components/ui/toggle-group.mjs +1 -1
  204. package/dist/components/ui/toggle.mjs +1 -1
  205. package/dist/components/ui/toggle.stories.mjs +1 -1
  206. package/dist/components/ui/tooltip.mjs +1 -1
  207. package/dist/components/ui/tooltip.stories.mjs +1 -1
  208. package/dist/globals.css +1 -1
  209. package/dist/index.js +6 -6
  210. package/dist/index.mjs +1 -1
  211. package/dist/metafile-cjs.json +1 -1
  212. package/dist/metafile-esm.json +1 -1
  213. package/dist/pages/Blog.js +1 -1
  214. package/dist/pages/Blog.mjs +1 -1
  215. package/dist/pages/Blog.stories.js +1 -1
  216. package/dist/pages/Blog.stories.mjs +1 -1
  217. package/dist/pages/Documentation.js +1 -1
  218. package/dist/pages/Documentation.mjs +1 -1
  219. package/dist/pages/Documentation.stories.js +182 -182
  220. package/dist/pages/Documentation.stories.mjs +1 -1
  221. package/dist/pages/IndexPage.mjs +1 -1
  222. package/dist/pages/IndexPage.stories.js +8 -8
  223. package/dist/pages/IndexPage.stories.mjs +1 -1
  224. package/dist/pages/Intranet.mjs +1 -1
  225. package/dist/pages/Intranet.stories.mjs +1 -1
  226. package/dist/pages/LandingPage.mjs +1 -1
  227. package/dist/pages/LandingPage.stories.js +8 -8
  228. package/dist/pages/LandingPage.stories.mjs +1 -1
  229. package/dist/pages/Page.js +1 -1
  230. package/dist/pages/Page.mjs +1 -1
  231. package/dist/pages/Page.stories.js +192 -192
  232. package/dist/pages/Page.stories.mjs +1 -1
  233. package/dist/pages/Website.d.ts +8 -3
  234. package/dist/pages/Website.js +1 -1
  235. package/dist/pages/Website.mjs +1 -1
  236. package/dist/pages/Website.stories.js +1 -436
  237. package/dist/pages/Website.stories.mjs +1 -1
  238. package/dist/sections/AboutSection.js +1 -1
  239. package/dist/sections/AboutSection.mjs +1 -1
  240. package/dist/sections/AboutSection.stories.js +1 -1
  241. package/dist/sections/AboutSection.stories.mjs +1 -1
  242. package/dist/sections/BlogDetail.js +1 -1
  243. package/dist/sections/BlogDetail.mjs +1 -1
  244. package/dist/sections/BlogDetail.stories.js +1 -1
  245. package/dist/sections/BlogDetail.stories.mjs +1 -1
  246. package/dist/sections/BlogListSection.js +1 -1
  247. package/dist/sections/BlogListSection.mjs +1 -1
  248. package/dist/sections/BlogListSection.stories.js +1 -1
  249. package/dist/sections/BlogListSection.stories.mjs +1 -1
  250. package/dist/sections/ContactSection.js +1 -1
  251. package/dist/sections/ContactSection.mjs +1 -1
  252. package/dist/sections/ContactSection.stories.js +1 -1
  253. package/dist/sections/ContactSection.stories.mjs +1 -1
  254. package/dist/sections/MainPageSection.d.ts +16 -0
  255. package/dist/sections/MainPageSection.js +4 -0
  256. package/dist/sections/MainPageSection.mjs +2 -0
  257. package/dist/sections/PricingSection.js +1 -1
  258. package/dist/sections/PricingSection.mjs +1 -1
  259. package/dist/sections/PricingSection.stories.js +1 -1
  260. package/dist/sections/PricingSection.stories.mjs +1 -1
  261. package/dist/sections/ServiceSection.js +1 -1
  262. package/dist/sections/ServiceSection.mjs +1 -1
  263. package/dist/sections/ServiceSection.stories.js +1 -1
  264. package/dist/sections/ServiceSection.stories.mjs +1 -1
  265. package/dist/sections/form/index.mjs +1 -1
  266. package/dist/sections/index.d.ts +1 -0
  267. package/dist/sections/index.js +1 -1
  268. package/dist/sections/index.mjs +1 -1
  269. package/dist/styles/Colors.mjs +1 -1
  270. package/dist/styles/Colors.stories.js +1 -1
  271. package/dist/styles/Colors.stories.mjs +1 -1
  272. package/dist/utils/getTableOfContents.d.ts +11 -0
  273. package/dist/utils/getTableOfContents.js +1 -0
  274. package/dist/utils/getTableOfContents.mjs +1 -0
  275. package/dist/utils/index.d.ts +1 -0
  276. package/dist/utils/index.js +1 -1
  277. package/dist/utils/index.mjs +1 -1
  278. package/package.json +1 -1
  279. package/dist/chunk-4MNYZ3VG.mjs +0 -1
  280. package/dist/chunk-FNXBIW3Q.mjs +0 -1
  281. package/dist/chunk-FV54JBLJ.mjs +0 -4
  282. package/dist/chunk-J4WWW7JZ.mjs +0 -1
  283. package/dist/chunk-TMNLJHS2.mjs +0 -1
  284. package/dist/chunk-VZKLCHD4.mjs +0 -1
  285. package/dist/chunk-WZQ3UMEQ.mjs +0 -4
  286. package/dist/chunk-XHQLYY3W.mjs +0 -1
  287. package/dist/chunk-XVXQHP54.mjs +0 -4
  288. package/dist/chunk-YBNYR2ON.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var qt=Object.create;var ue=Object.defineProperty;var Zt=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var er=Object.getPrototypeOf,tr=Object.prototype.hasOwnProperty;var rr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},$e=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Wt(t))!tr.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=Zt(t,n))||a.enumerable});return e};var T=(e,t,r)=>(r=e!=null?qt(er(e)):{},$e(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),or=e=>$e(ue({},"__esModule",{value:!0}),e);var jr={};rr(jr,{AReallyLongTitle:()=>_r,Default:()=>Se,default:()=>Qr});module.exports=or(jr);var Ze=require("react/jsx-runtime"),qe=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Ze.jsx)("i",{className:s})};var V=require("@headlessui/react"),ct=require("@heroicons/react/20/solid");var it=require("clsx");var Le="-",ar=e=>{let t=sr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Le);return s[0]===""&&s.length!==1&&s.shift(),tt(s,t)||nr(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&a[i]?[...l,...a[i]]:l}}},tt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?tt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Le);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},We=/^\[(.+)\]$/,nr=e=>{if(We.test(e)){let t=We.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},sr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return lr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:et(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(ir(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,et(t,o),r,a)})})},et=(e,t)=>{let r=e;return t.split(Le).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},ir=e=>e.isThemeGetter,lr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,cr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},rt="!",dr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let l=[],d=0,g=0,b;for(let k=0;k<s.length;k++){let P=s[k];if(d===0){if(P===n&&(a||s.slice(k,k+o)===t)){l.push(s.slice(g,k)),g=k+o;continue}if(P==="/"){b=k;continue}}P==="["?d++:P==="]"&&d--}let u=l.length===0?s:s.substring(g),h=u.startsWith(rt),N=h?u.substring(1):u,v=b&&b>g?b-g:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},pr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},mr=e=>({cache:cr(e.cacheSize),parseClassName:dr(e),...ar(e)}),ur=/\s+/,gr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(ur),s="";for(let l=i.length-1;l>=0;l-=1){let d=i[l],{modifiers:g,hasImportantModifier:b,baseClassName:u,maybePostfixModifierPosition:h}=r(d),N=!!h,v=a(N?u.substring(0,h):u);if(!v){if(!N){s=d+(s.length>0?" "+s:s);continue}if(v=a(u),!v){s=d+(s.length>0?" "+s:s);continue}N=!1}let k=pr(g).join(":"),P=b?k+rt:k,I=P+v;if(o.includes(I))continue;o.push(I);let z=n(v,N);for(let G=0;G<z.length;++G){let de=z[G];o.push(P+de)}s=d+(s.length>0?" "+s:s)}return s};function fr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ot(t))&&(a&&(a+=" "),a+=r);return a}var ot=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ot(e[a]))&&(r&&(r+=" "),r+=t);return r};function br(e,...t){let r,a,n,o=i;function i(l){let d=t.reduce((g,b)=>b(g),e());return r=mr(d),a=r.cache.get,n=r.cache.set,o=s,s(l)}function s(l){let d=a(l);if(d)return d;let g=gr(l,r);return n(l,g),g}return function(){return o(fr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},at=/^\[(?:([a-z-]+):)?(.+)\]$/i,hr=/^\d+\/\d+$/,yr=new Set(["px","full","screen"]),xr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Ze|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>_(e)||yr.has(e)||hr.test(e),E=e=>j(e,"length",Br),_=e=>!!e&&!Number.isNaN(Number(e)),De=e=>j(e,"number",_),re=e=>!!e&&Number.isInteger(Number(e)),kr=e=>e.endsWith("%")&&_(e.slice(0,-1)),c=e=>at.test(e),F=e=>xr.test(e),Nr=new Set(["length","size","percentage"]),Pr=e=>j(e,Nr,nt),Sr=e=>j(e,"position",nt),Ir=new Set(["image","url"]),Tr=e=>j(e,Ir,Mr),Rr=e=>j(e,"",Dr),oe=()=>!0,j=(e,t,r)=>{let a=at.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Br=e=>vr.test(e)&&!wr.test(e),nt=()=>!1,Dr=e=>Ar.test(e),Mr=e=>Cr.test(e);var Lr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),d=w("grayscale"),g=w("hueRotate"),b=w("invert"),u=w("gap"),h=w("gradientColorStops"),N=w("gradientColorStopPositions"),v=w("inset"),k=w("margin"),P=w("opacity"),I=w("padding"),z=w("saturate"),G=w("scale"),de=w("sepia"),Ye=w("skew"),Ke=w("space"),Qe=w("translate"),Ie=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",c,t],C=()=>[c,t],_e=()=>["",M,E],pe=()=>["auto",_,c],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],Ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",c],Xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[_,c];return{cacheSize:500,separator:":",theme:{colors:[oe],spacing:[M,E],blur:["none","",F,c],brightness:D(),borderColor:[e],borderRadius:["none","","full",F,c],borderSpacing:C(),borderWidth:_e(),contrast:D(),grayscale:te(),hueRotate:D(),invert:te(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[kr,E],inset:Re(),margin:Re(),opacity:D(),padding:C(),saturate:D(),scale:D(),sepia:te(),skew:D(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":Xe()}],"break-before":[{"break-before":Xe()}],"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:[...je(),c]}],overflow:[{overflow:Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],overscroll:[{overscroll:Ie()}],"overscroll-Ze":[{"overscroll-Ze":Ie()}],"overscroll-Ze":[{"overscroll-Ze":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-Ze":[{"inset-Ze":[v]}],"inset-Ze":[{"inset-Ze":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",re,c]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",re,c]}],"grid-cols":[{"grid-cols":[oe]}],"col-start-end":[{col:["auto",{span:["full",re,c]},c]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[oe]}],"row-start-end":[{row:["auto",{span:[re,c]},c]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[u]}],"gap-Ze":[{"gap-Ze":[u]}],"gap-Ze":[{"gap-Ze":[u]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],Ze:[{Ze:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],Ze:[{Ze:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-Ze":[{"space-Ze":[Ke]}],"space-Ze-reverse":["space-Ze-reverse"],"space-Ze":[{"space-Ze":[Ke]}],"space-Ze-reverse":["space-Ze-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",F,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[oe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",_,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,E]}],"underline-offset":[{"underline-offset":["auto",M,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),Sr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ze","Ze","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Pr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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-Ze":[{"rounded-Ze":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...me(),"hidden"]}],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-Ze":[{"border-Ze":[n]}],"border-color-Ze":[{"border-Ze":[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:["",...me()]}],"outline-offset":[{"outline-offset":[M,c]}],"outline-w":[{outline:[M,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[M,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",F,Rr]}],"shadow-color":[{shadow:[oe]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ve()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",F,c]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[z]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-Ze":[{"scale-Ze":[G]}],"scale-Ze":[{"scale-Ze":[G]}],rotate:[{rotate:[re,c]}],"translate-Ze":[{"translate-Ze":[Qe]}],"translate-Ze":[{"translate-Ze":[Qe]}],"skew-Ze":[{"skew-Ze":[Ye]}],"skew-Ze":[{"skew-Ze":[Ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","Ze-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ze","Ze",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ze":[{"scroll-Ze":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-Ze":[{"scroll-Ze":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ze","Ze","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ze":[{"touch-pan":["Ze","left","right"]}],"touch-Ze":[{"touch-pan":["Ze","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,E,De]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ze","overflow-Ze"],overscroll:["overscroll-Ze","overscroll-Ze"],inset:["inset-Ze","inset-Ze","start","end","top","right","bottom","left"],"inset-Ze":["right","left"],"inset-Ze":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ze","gap-Ze"],p:["px","py","ps","pe","Ze","pr","pb","pl"],px:["pr","pl"],py:["Ze","pb"],Ze:["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-Ze","rounded-Ze","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ze","rounded-Ze"],"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-Ze","border-spacing-Ze"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ze":["border-w-r","border-w-l"],"border-w-Ze":["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-Ze":["border-color-r","border-color-l"],"border-color-Ze":["border-color-t","border-color-b"],"scroll-Ze":["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-Ze","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Ze","scroll-pb"],touch:["touch-Ze","touch-Ze","touch-pz"],"touch-Ze":["touch"],"touch-Ze":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=br(Lr);function p(...e){return st((0,it.clsx)(e))}var Er=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Ze.jsx)("a",{href:a,className:"flex items-center gap-Ze-1 text-sm font-semibold text-foreground group",children:(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]})}):(0,Ze.jsxs)(V.Popover,{children:[(0,Ze.jsxs)(V.PopoverButton,{className:"flex items-center gap-Ze-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]}),(0,Ze.jsx)(ct.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ze.jsxs)(V.PopoverPanel,{transition:!0,className:"absolute inset-Ze-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ze-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ze.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ze-4 px-6 py-10 lg:px-8 xl:gap-Ze-8 z-50",children:t&&t.map(n=>(0,Ze.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ze.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:n.icon&&(0,Ze.jsx)(lt,{icon:n.icon,size:"4x"})}),(0,Ze.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,Ze.jsx)("span",{className:"absolute inset-0"})]}),(0,Ze.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Ze.jsx)("div",{className:"bg-gray-50",children:(0,Ze.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ze.jsx)("div",{className:"grid grid-cols-3 divide-Ze divide-gray-900/5 border-Ze border-gray-900/5",children:r.map(n=>(0,Ze.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-Ze-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Ze.jsx)(lt,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),lt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Ze.jsx)(qe,{...e,size:r});if("src"in e)return(0,Ze.jsx)("div",{className:p(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ze.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},dt=Er;var X=require("react");function ge({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=p("container",t&&"full-width",r&&"no-padding",a);return(0,Ze.jsx)("div",{className:n,children:e})}var mt=T(require("next/link"));function fe({children:e,href:t,openNewTab:r,...a}){return(0,Ze.jsx)(mt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Ee=T(require("next/image"));function ne({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Ze.jsxs)(fe,{href:"/",className:p(r?"py-1":"py-2"),children:[(0,Ze.jsx)(Ee.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,Ze.jsx)(Ee.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 gt=require("next-themes"),be=require("lucide-react");function bt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,X.useState)(!1),[i,s]=(0,X.useState)(""),l=["light","dark"],{theme:d,setTheme:g}=(0,gt.useTheme)();(0,X.useEffect)(()=>{s(d||"dark")},[d]);let b=()=>{let u=l[(l.indexOf(i)+1)%l.length];s(u),g(u)};return(0,X.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:(0,Ze.jsx)(ge,{className:"px-0",children:(0,Ze.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Ze.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,Ze.jsx)(ne,{logoDark:r,logoLight:t}),(0,Ze.jsx)(V.PopoverGroup,{className:"hidden lg:flex lg:gap-Ze-12",children:a&&a.map(u=>(0,Ze.jsx)(dt,{...u},u.name))}),(0,Ze.jsx)("div",{className:"flex items-center space-Ze-4",children:(0,Ze.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:b,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(be.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(be.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var he=require("@heroicons/react/24/outline");var Fe=["light","dark"];function yt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,X.useState)(!1),{theme:i,setTheme:s}=(0,gt.useTheme)(),[l,d]=(0,X.useState)(!1),[g,b]=(0,X.useState)("light");(0,X.useEffect)(()=>{let h=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,X.useEffect)(()=>{b(i||"dark")},[i]);let u=()=>{let h=Fe[(Fe.indexOf(g)+1)%Fe.length];b(h),s(h)};return(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:[(0,Ze.jsx)("nav",{className:p("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,Ze.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,Ze.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("div",{className:"flex items-center space-Ze-4",children:[(0,Ze.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,Ze.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ze.jsx)(he.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Ze.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:u,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(be.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(be.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ze.jsxs)(V.Dialog,{open:l,onClose:d,className:"lg:hidden",children:[(0,Ze.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ze.jsxs)(V.DialogPanel,{className:"fixed inset-Ze-0 right-0 z-20 w-full overflow-Ze-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ze.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ze.jsx)(ne,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-Ze-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ze.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ze.jsx)(he.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ze.jsx)("div",{className:"mt-6 flow-root",children:(0,Ze.jsx)("div",{className:"-my-6 divide-Ze divide-gray-500/10",children:(0,Ze.jsx)("div",{className:"space-Ze-2 px-2 py-6",children:r&&r.map(h=>(0,Ze.jsx)(Fr,{...h},h.name))})})})]})]})]})})}function Fr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Ze.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ze.jsxs)(V.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ze.jsx)(V.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,Ze.jsx)(V.DisclosurePanel,{className:"mt-2 space-Ze-2",children:t&&t.map(n=>(0,Ze.jsx)(V.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var xt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};function vt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){return(0,Ze.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,Ze.jsx)(bt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,Ze.jsx)(yt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var O=T(require("react")),wt=T(require("next/image")),At=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Ze.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Ze.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Ze.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Ze.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:d}=s,g=d||"Untitled category",b=l===t.length-1;return(0,Ze.jsxs)(O.default.Fragment,{children:[g,!b&&(0,Ze.jsx)(O.default.Fragment,{children:", \xA0"})]},l)}return null})}),(0,Ze.jsx)("div",{className:"",children:(0,Ze.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,Ze.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Ze.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm",children:"Author"}),a.map((s,l)=>{let{name:d}=s,g=l===a.length-1,b=l===a.length-2;return(0,Ze.jsxs)(O.default.Fragment,{children:[d,b&&a.length>2&&(0,Ze.jsx)(O.default.Fragment,{children:", "}),b&&a.length===2&&(0,Ze.jsx)(O.default.Fragment,{children:" "}),!g&&a.length>1&&(0,Ze.jsx)(O.default.Fragment,{children:"and "})]},l)})]})}),n&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Ze.jsx)("time",{dateTime:n,children:xt(n)})]})]})]})}),(0,Ze.jsxs)("div",{className:"min-h-[80vh] select-none",children:[(0,Ze.jsx)("div",{children:(0,Ze.jsx)(wt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((i=r&&r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png"})}),(0,Ze.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 Ct="../cortex-reply-light-27IMI3G7.png";var kt="../cortex-reply-dark-XPAJJJYY.png";var Nt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var jt=T(require("next/image"));var Pt=({className:e,content:t,style:r})=>(0,Ze.jsx)("div",{className:p("mx-auto my-8 w-full",e),children:(0,Ze.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ze.jsx)($,{content:t,enableGutter:!1,enableProse:!1})})});var St=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Tt=T(require("react")),Gr=(0,It.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"}}}),J=Tt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Ze.jsx)(e?St.Slot:"button",{className:p(Gr({className:t,size:r,variant:a})),ref:o,...n}));J.displayName="Button";var He=T(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:l,url:d}=e,g=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:d;if(!g)return null;let b=r==="link"?"clear":l,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ze.jsxs)(He.default,{className:p(n),href:g||d||"",...u,children:[o&&o,a&&a]}):(0,Ze.jsx)(J,{asChild:!0,className:n,size:b,variant:r,children:(0,Ze.jsxs)(He.default,{className:p(n),href:g||d||"",...u,children:[o&&o,a&&a]})})};var Bt=({links:e,richText:t})=>(0,Ze.jsx)("div",{className:"container",children:(0,Ze.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,Ze.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ze.jsx)($,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ze.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ze.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function Lt({code:e}){let[t,r]=(0,X.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ze.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ze.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ze.jsx)("p",{children:t}),(0,Ze.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ze.jsx)(be.ClipboardCopy,{})})]})})}var Et=({code:e,language:t=""})=>e?(0,Ze.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Ze.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ze-auto",children:[n.map((o,i)=>(0,Ze.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ze.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ze.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,Ze.jsx)("span",{...a({token:s})},l))})]},i)),(0,Ze.jsx)(Lt,{code:e})]})}):null;var Ft=({className:e,code:t,language:r})=>(0,Ze.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ze.jsx)(Et,{code:t,language:r})});var zt=T(require("next/image"));var Ht=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ae=()=>{if(Ht){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 Ur={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Or="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Gt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:l}=e,d,g,b=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:P,url:I,width:z}=o;d=z,g=P,b=v||"",u=`${Ae()}${I}`}let h=l||"lazy",N=i||Object.entries(Ur).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Ze.jsx)("picture",{children:(0,Ze.jsx)(zt.default,{alt:b||"",className:p(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Or,priority:h!=="lazy"&&n,quality:100,loading:h,sizes:N,src:u,width:r?void 0:d})})};var Ut=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,X.useRef)(null);if((0,X.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ze.jsx)("video",{autoPlay:!0,className:p(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Ze.jsx)("source",{src:`${Ae()}/media/${o}`})})}return null};var Jt=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Ze.jsx)(r||X.Fragment,{...r!==null?{className:t}:{},children:n?(0,Ze.jsx)(Ut,{...e}):(0,Ze.jsx)(Gt,{...e})})};var Yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ze.jsx)("div",{className:p("",{container:r},t),children:(0,Ze.jsx)(Jt,{imgClassName:p("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Pe=T(require("react"));function Ne({nodes:e}){return(0,Ze.jsx)(Pe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,Ze.jsx)(Pe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ze.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ze.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ze.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ze.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ze.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ze.jsx)("table",{children:(0,Ze.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ze.jsx)("tr",{children:o.children.map((s,l)=>(0,Ze.jsx)("td",{children:Ne({nodes:s.children})},l))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ne({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ze.jsx)(Bt,{...o},r);case"mediaBlock":return(0,Ze.jsx)(Yt,{className:"col-start-1 col-span-3",imgClassName:"Ze-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ze.jsx)(Pt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ze.jsx)(Ft,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,Ze.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ze.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ze.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Ze.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Ze.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Ze.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var $=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Ze.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Vt=require("next/navigation");var K=T(require("react"));var q=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("rounded-xl border bg-card text-card-foreground shadow",e),...t}));q.displayName="Card";var le=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("flex flex-col space-Ze-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var Jr=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("text-sm text-muted-foreground",e),...t}));Jr.displayName="CardDescription";var Z=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("p-6 Ze-0",e),...t}));Z.displayName="CardContent";var Yr=K.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:p("flex items-center p-6 Ze-0",e),...t}));Yr.displayName="CardFooter";var La=p("transition-colors duration-400 hover:text-primary ease-in-out");function _t({title:e,links:t}){let r=(0,Vt.useSearchParams)(),a=(0,Vt.usePathname)(),{replace:n}=(0,Vt.useRouter)();function o(i){console.log(i);let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(le,{children:(0,Ze.jsx)(ce,{children:e&&e})}),(0,Ze.jsx)(Z,{children:t&&t.length>0&&(0,Ze.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ze.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,Ze.jsxs)("li",{className:"flex items-center text-sm text-accent first:Ze-0 hover:cursor-pointer",onClick:l=>{l.preventDefault(),o(i.href)},children:[i.label,(0,Ze.jsx)(be.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var Xt=T(require("next/link"));function Kr({image:e,name:t,about:r,socialLinks:a}){return(0,Ze.jsx)("div",{className:"mt-1 z-10 px-0 Ze-0 lg:px-10",children:(0,Ze.jsx)(q,{children:(0,Ze.jsxs)(Z,{children:[e&&e.src&&(0,Ze.jsx)(jt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Nt,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ze.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Ze.jsx)("p",{children:r}),a&&a.length>0&&(0,Ze.jsx)("nav",{"aria-label":"social links",children:(0,Ze.jsx)("ul",{className:"inline-flex items-center divide-Ze divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,Ze.jsx)("li",{children:(0,Ze.jsx)(fe,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Ze-1 hover:text-accents",children:(0,Ze.jsx)("span",{children:n.icon})})},o))})})]})})})}function $t({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,Vt.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:l,title:d}=e,g={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:d,description:(n==null?void 0:n.description)||""},b=i==null?void 0:i.map(h=>{var N,v;return{name:h.name||"",about:"",image:{src:h.profilePicture&&((v=(N=h.profilePicture.sizes)==null?void 0:N.small)==null?void 0:v.url)||"/assets/images/blog/author-1.png",alt:h.name||"blog author"},socialLinks:[]}});return(0,Ze.jsx)(ge,{children:(0,Ze.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ze.jsx)("div",{children:(0,Ze.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,Ze.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ze.jsx)($,{content:l,enableGutter:!1})]})}),(0,Ze.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ze.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 Ze-0 lg:px-10",children:(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(le,{children:(0,Ze.jsx)(ce,{children:"CMS Actions"})}),(0,Ze.jsxs)(Z,{children:[(0,Ze.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ze.jsx)(Xt.default,{href:`${a}${e.id}`,children:(0,Ze.jsx)(J,{className:"w-full",children:"Edit"})})]})]})}),b&&b.map((h,N)=>(0,Ze.jsx)(Kr,{...h},N)),t&&t.links&&(0,Ze.jsx)("div",{className:"mt-4 px-0 Ze-0 lg:px-10",children:(0,Ze.jsx)(_t,{links:t.links,title:t.title})})]})]})})}function Je({...e}){return(0,Ze.jsxs)("div",{children:[(0,Ze.jsx)(vt,{isMenuOpen:!0,logoLight:Ct,logoDark:kt}),(0,Ze.jsx)(At,{...e.hero}),(0,Ze.jsx)($t,{className:"!pb-0",...e.blog})]})}var Qr={title:"Pages/Blog",component:Je,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var Se={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean Ze ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},_r={args:{...Se.args,hero:{...Se.args.hero,post:{...Se.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};0&&(module.exports={AReallyLongTitle,Default});
4
+ "use strict";var tr=Object.create;var ue=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var or=Object.getOwnPropertyNames;var ar=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty;var sr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of or(t))!nr.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=rr(t,n))||a.enumerable});return e};var I=(e,t,r)=>(r=e!=null?tr(ar(e)):{},qe(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),ir=e=>qe(ue({},"__esModule",{value:!0}),e);var qr={};sr(qr,{AReallyLongTitle:()=>$r,Default:()=>Pe,default:()=>Xr});module.exports=ir(qr);var We=require("react/jsx-runtime"),Ze=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,We.jsx)("i",{className:s})};var _=require("@headlessui/react"),dt=require("@heroicons/react/20/solid");var lt=require("clsx");var Le="-",lr=e=>{let t=dr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Le);return s[0]===""&&s.length!==1&&s.shift(),rt(s,t)||cr(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&a[i]?[...l,...a[i]]:l}}},rt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Le);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},et=/^\[(.+)\]$/,cr=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return mr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(pr(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(Le).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},pr=e=>e.isThemeGetter,mr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,ur=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},ot="!",gr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let l=[],p=0,f=0,h;for(let k=0;k<s.length;k++){let N=s[k];if(p===0){if(N===n&&(a||s.slice(k,k+o)===t)){l.push(s.slice(f,k)),f=k+o;continue}if(N==="/"){h=k;continue}}N==="["?p++:N==="]"&&p--}let u=l.length===0?s:s.substring(f),b=u.startsWith(ot),S=b?u.substring(1):u,v=h&&h>f?h-f:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},fr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},br=e=>({cache:ur(e.cacheSize),parseClassName:gr(e),...lr(e)}),hr=/\s+/,xr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(hr),s="";for(let l=i.length-1;l>=0;l-=1){let p=i[l],{modifiers:f,hasImportantModifier:h,baseClassName:u,maybePostfixModifierPosition:b}=r(p),S=!!b,v=a(S?u.substring(0,b):u);if(!v){if(!S){s=p+(s.length>0?" "+s:s);continue}if(v=a(u),!v){s=p+(s.length>0?" "+s:s);continue}S=!1}let k=fr(f).join(":"),N=h?k+ot:k,T=N+v;if(o.includes(T))continue;o.push(T);let z=n(v,S);for(let G=0;G<z.length;++G){let de=z[G];o.push(N+de)}s=p+(s.length>0?" "+s:s)}return s};function yr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function vr(e,...t){let r,a,n,o=i;function i(l){let p=t.reduce((f,h)=>h(f),e());return r=br(p),a=r.cache.get,n=r.cache.set,o=s,s(l)}function s(l){let p=a(l);if(p)return p;let f=xr(l,r);return n(l,f),f}return function(){return o(yr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,wr=/^\d+\/\d+$/,Cr=new Set(["px","full","screen"]),Ar=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kr=/\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$/,Sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>Q(e)||Cr.has(e)||wr.test(e),E=e=>V(e,"length",Er),Q=e=>!!e&&!Number.isNaN(Number(e)),De=e=>V(e,"number",Q),te=e=>!!e&&Number.isInteger(Number(e)),Tr=e=>e.endsWith("%")&&Q(e.slice(0,-1)),c=e=>nt.test(e),H=e=>Ar.test(e),Ir=new Set(["length","size","percentage"]),Br=e=>V(e,Ir,st),Rr=e=>V(e,"position",st),Dr=new Set(["image","url"]),Mr=e=>V(e,Dr,Fr),Lr=e=>V(e,"",Hr),re=()=>!0,V=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Er=e=>kr.test(e)&&!Sr.test(e),st=()=>!1,Hr=e=>Nr.test(e),Fr=e=>Pr.test(e);var zr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),p=w("grayscale"),f=w("hueRotate"),h=w("invert"),u=w("gap"),b=w("gradientColorStops"),S=w("gradientColorStopPositions"),v=w("inset"),k=w("margin"),N=w("opacity"),T=w("padding"),z=w("saturate"),G=w("scale"),de=w("sepia"),Ke=w("skew"),Qe=w("space"),Ve=w("translate"),Te=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],Be=()=>["auto",c,t],C=()=>[c,t],_e=()=>["",M,E],pe=()=>["auto",Q,c],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],Xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",c],$e=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[Q,c];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[M,E],blur:["none","",H,c],brightness:D(),borderColor:[e],borderRadius:["none","","full",H,c],borderSpacing:C(),borderWidth:_e(),contrast:D(),grayscale:ee(),hueRotate:D(),invert:ee(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Tr,E],inset:Be(),margin:Be(),opacity:D(),padding:C(),saturate:D(),scale:D(),sepia:ee(),skew:D(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":$e()}],"break-before":[{"break-before":$e()}],"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:[...je(),c]}],overflow:[{overflow:Ie()}],"overflow-We":[{"overflow-We":Ie()}],"overflow-We":[{"overflow-We":Ie()}],overscroll:[{overscroll:Te()}],"overscroll-We":[{"overscroll-We":Te()}],"overscroll-We":[{"overscroll-We":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-We":[{"inset-We":[v]}],"inset-We":[{"inset-We":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",te,c]}],basis:[{basis:Be()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,c]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,c]},c]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,c]},c]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[u]}],"gap-We":[{"gap-We":[u]}],"gap-We":[{"gap-We":[u]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],We:[{We:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],We:[{We:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-We":[{"space-We":[Qe]}],"space-We-reverse":["space-We-reverse"],"space-We":[{"space-We":[Qe]}],"space-We-reverse":["space-We-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",H,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",Q,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,E]}],"underline-offset":[{"underline-offset":["auto",M,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),Rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","We","We","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Br]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-We":[{"border-We":[s]}],"border-w-We":[{"border-We":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...me(),"hidden"]}],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-We":[{"border-We":[n]}],"border-color-We":[{"border-We":[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:["",...me()]}],"outline-offset":[{"outline-offset":[M,c]}],"outline-w":[{outline:[M,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[M,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Lr]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",H,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-We":[{"scale-We":[G]}],"scale-We":[{"scale-We":[G]}],rotate:[{rotate:[te,c]}],"translate-We":[{"translate-We":[Ve]}],"translate-We":[{"translate-We":[Ve]}],"skew-We":[{"skew-We":[Ke]}],"skew-We":[{"skew-We":[Ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","We-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","We","We",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-We":[{"scroll-We":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-We":[{"scroll-We":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","We","We","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-We":[{"touch-pan":["We","left","right"]}],"touch-We":[{"touch-pan":["We","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,E,De]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-We","overflow-We"],overscroll:["overscroll-We","overscroll-We"],inset:["inset-We","inset-We","start","end","top","right","bottom","left"],"inset-We":["right","left"],"inset-We":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-We","gap-We"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],We:["mx","my","ms","me","We","mr","mb","ml"],mx:["mr","ml"],my:["We","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-We","border-spacing-We"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-We":["border-w-r","border-w-l"],"border-w-We":["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-We":["border-color-r","border-color-l"],"border-color-We":["border-color-t","border-color-b"],"scroll-We":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-We","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-We","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-We","touch-We","touch-pz"],"touch-We":["touch"],"touch-We":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=vr(zr);function d(...e){return it((0,lt.clsx)(e))}var Gr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,We.jsx)("a",{href:a,className:"flex items-center gap-We-1 text-sm font-semibold text-foreground group",children:(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]})}):(0,We.jsxs)(_.Popover,{children:[(0,We.jsxs)(_.PopoverButton,{className:"flex items-center gap-We-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]}),(0,We.jsx)(dt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,We.jsxs)(_.PopoverPanel,{transition:!0,className:"absolute inset-We-0 top-0 -z-10 bg-popover We-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-We-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,We.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-We-4 px-6 py-10 lg:px-8 xl:gap-We-8 z-50",children:t&&t.map(n=>(0,We.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,We.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:n.icon&&(0,We.jsx)(ct,{icon:n.icon,size:"4x"})}),(0,We.jsxs)("a",{href:n.href,className:"We-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,We.jsx)("span",{className:"absolute inset-0"})]}),(0,We.jsx)("p",{className:"We-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,We.jsx)("div",{className:"bg-gray-50",children:(0,We.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,We.jsx)("div",{className:"grid grid-cols-3 divide-We divide-gray-900/5 border-We border-gray-900/5",children:r.map(n=>(0,We.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-We-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,We.jsx)(ct,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),ct=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,We.jsx)(Ze,{...e,size:r});if("src"in e)return(0,We.jsx)("div",{className:d(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,We.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},pt=Gr;var j=require("react");function ge({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,We.jsx)("div",{className:n,children:e})}var ut=I(require("next/link"));function fe({children:e,href:t,openNewTab:r,...a}){return(0,We.jsx)(ut.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Ee=I(require("next/image"));function ae({logoLight:e,logoDark:t,mobile:r=!1}){return(0,We.jsxs)(fe,{href:"/",className:d(r?"py-1":"py-2"),children:[(0,We.jsx)(Ee.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,We.jsx)(Ee.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 ft=require("next-themes"),be=require("lucide-react");function ht({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,j.useState)(!1),[i,s]=(0,j.useState)(""),l=["light","dark"],{theme:p,setTheme:f}=(0,ft.useTheme)();(0,j.useEffect)(()=>{s(p||"dark")},[p]);let h=()=>{let u=l[(l.indexOf(i)+1)%l.length];s(u),f(u)};return(0,j.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,We.jsx)(We.Fragment,{children:(0,We.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-We-0":"-translate-We-full bg-transparent"}`,children:(0,We.jsx)(ge,{className:"px-0",children:(0,We.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,We.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,We.jsx)(ae,{logoDark:r,logoLight:t}),(0,We.jsx)(_.PopoverGroup,{className:"hidden lg:flex lg:gap-We-12",children:a&&a.map(u=>(0,We.jsx)(pt,{...u},u.name))}),(0,We.jsx)("div",{className:"flex items-center space-We-4",children:(0,We.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:h,children:(0,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var he=require("@heroicons/react/24/outline");var He=["light","dark"];function yt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,j.useState)(!1),{theme:i,setTheme:s}=(0,ft.useTheme)(),[l,p]=(0,j.useState)(!1),[f,h]=(0,j.useState)("light");(0,j.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,j.useEffect)(()=>{h(i||"dark")},[i]);let u=()=>{let b=He[(He.indexOf(f)+1)%He.length];h(b),s(b)};return(0,We.jsx)(We.Fragment,{children:(0,We.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-We-0":"-translate-We-full bg-transparent"}`,children:[(0,We.jsx)("nav",{className:d("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,We.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,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("div",{className:"flex items-center space-We-4",children:[(0,We.jsxs)("button",{type:"button",onClick:()=>p(!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,We.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,We.jsx)(he.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,We.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:u,children:(0,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,We.jsxs)(_.Dialog,{open:l,onClose:p,className:"lg:hidden",children:[(0,We.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,We.jsxs)(_.DialogPanel,{className:"fixed inset-We-0 right-0 z-20 w-full overflow-We-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,We.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-We-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,We.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,We.jsx)(he.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,We.jsx)("div",{className:"We-6 flow-root",children:(0,We.jsx)("div",{className:"-my-6 divide-We divide-gray-500/10",children:(0,We.jsx)("div",{className:"space-We-2 px-2 py-6",children:r&&r.map(b=>(0,We.jsx)(Ur,{...b},b.name))})})})]})]})]})})}function Ur({name:e,items:t,actions:r,href:a}){return!t&&a?(0,We.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,We.jsxs)(_.Disclosure,{as:"div",className:"-mx-3",children:[(0,We.jsx)(_.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,We.jsx)(_.DisclosurePanel,{className:"We-2 space-We-2",children:t&&t.map(n=>(0,We.jsx)(_.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var vt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};function wt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,We.jsxs)("div",{className:d("fixed top-0 left-0 right-0 z-50",n),children:[(0,We.jsx)(ht,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,We.jsx)(yt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var se=I(require("react"));var Ct=require("@radix-ui/react-slot"),At=require("class-variance-authority"),kt=I(require("react")),Or=(0,At.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"}}}),O=kt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,We.jsx)(e?Ct.Slot:"button",{className:d(Or({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var Pt=(0,At.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 Fe({className:e,variant:t,...r}){return(0,We.jsx)("div",{className:d(Pt({variant:t}),e),...r})}var It=I(require("next/image")),Bt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,We.jsxs)("div",{className:"relative -We-[10.4rem] flex items-end",children:[(0,We.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,We.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,We.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:p}=s;return(0,We.jsx)(Fe,{className:"mx-2",children:p||"Untitled category"})}return null})}),(0,We.jsx)("div",{className:"",children:(0,We.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,We.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,We.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Author"}),a.map((s,l)=>{let{name:p}=s,f=l===a.length-1,h=l===a.length-2;return(0,We.jsxs)(se.default.Fragment,{children:[p,h&&a.length>2&&(0,We.jsx)(se.default.Fragment,{children:", "}),h&&a.length===2&&(0,We.jsx)(se.default.Fragment,{children:" "}),!f&&a.length>1&&(0,We.jsx)(se.default.Fragment,{children:"and "})]},l)})]})}),n&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,We.jsx)("time",{dateTime:n,children:vt(n)})]})]})]})}),(0,We.jsxs)("div",{className:"min-h-[80vh] select-none",children:[(0,We.jsx)("div",{children:(0,We.jsx)(It.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((i=r&&r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png"})}),(0,We.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 Rt="../cortex-reply-light-27IMI3G7.png";var Dt="../cortex-reply-dark-XPAJJJYY.png";var Mt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Zt";var qt=I(require("next/image"));var Lt=({className:e,content:t,style:r})=>(0,We.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,We.jsx)("div",{className:d("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,We.jsx)(X,{content:t,enableGutter:!1,enableProse:!1})})});var ze=I(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:l,url:p}=e,f=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!f)return null;let h=r==="link"?"clear":l,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,We.jsxs)(ze.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,We.jsx)(O,{asChild:!0,className:n,size:h,variant:r,children:(0,We.jsxs)(ze.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Et=({links:e,richText:t})=>(0,We.jsx)("div",{className:"container",children:(0,We.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,We.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,We.jsx)(X,{className:"mb-0",content:t,enableGutter:!1})}),(0,We.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,We.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function zt({code:e}){let[t,r]=(0,j.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,We.jsx)("div",{className:"flex justify-end align-middle",children:(0,We.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,We.jsx)("p",{children:t}),(0,We.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,We.jsx)(be.ClipboardCopy,{})})]})})}var Gt=({code:e,language:t=""})=>e?(0,We.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,We.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-We-auto",children:[n.map((o,i)=>(0,We.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,We.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,We.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,We.jsx)("span",{...a({token:s})},l))})]},i)),(0,We.jsx)(zt,{code:e})]})}):null;var Ut=({className:e,code:t,language:r})=>(0,We.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,We.jsx)(Gt,{code:t,language:r})});var Jt=I(require("next/image"));var Ot=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ce=()=>{if(Ot){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 Kr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Yt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:l}=e,p,f,h=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:N,url:T,width:z}=o;p=z,f=N,h=v||"",u=`${Ce()}${T}`}let b=l||"lazy",S=i||Object.entries(Kr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,We.jsx)("picture",{children:(0,We.jsx)(Jt.default,{alt:h||"",className:d(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Qr,priority:b!=="lazy"&&n,quality:100,loading:b,sizes:S,src:u,width:r?void 0:p})})};var Kt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,j.useRef)(null);if((0,j.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,We.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,We.jsx)("source",{src:`${Ce()}/media/${o}`})})}return null};var Vt=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,We.jsx)(r||j.Fragment,{...r!==null?{className:t}:{},children:n?(0,We.jsx)(Kt,{...e}):(0,We.jsx)(Yt,{...e})})};var _t=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,We.jsx)("div",{className:d("",{container:r},t),children:(0,We.jsx)(Vt,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Ne=I(require("react"));function Se({nodes:e}){return(0,We.jsx)(Ne.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,We.jsx)(Ne.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,We.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,We.jsx)("em",{children:o},r)),t.format&4&&(o=(0,We.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,We.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,We.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,We.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,We.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,We.jsx)("table",{children:(0,We.jsx)("tbody",{children:t.children.map((o,i)=>(0,We.jsx)("tr",{children:o.children.map((s,l)=>(0,We.jsx)("td",{children:Se({nodes:s.children})},l))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Se({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,We.jsx)(Et,{...o},r);case"mediaBlock":return(0,We.jsx)(_t,{className:"col-start-1 col-span-3",imgClassName:"We-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,We.jsx)(Lt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,We.jsx)(Ut,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,We.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,We.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,We.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,We.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,We.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,We.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var X=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,We.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Se({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Zt=require("next/navigation");var Y=I(require("react"));var $=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));$.displayName="Card";var le=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex flex-col space-We-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var Vr=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Vr.displayName="CardDescription";var q=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));q.displayName="CardContent";var _r=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));_r.displayName="CardFooter";var ja=d("transition-colors duration-400 hover:text-primary ease-in-out");function $t({title:e,links:t}){let r=(0,Zt.useSearchParams)(),a=(0,Zt.usePathname)(),{replace:n}=(0,Zt.useRouter)();function o(i){console.log(i);let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,We.jsxs)($,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:e&&e})}),(0,We.jsx)(q,{children:t&&t.length>0&&(0,We.jsx)("nav",{"aria-label":"footer links navigation",children:(0,We.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,We.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:l=>{l.preventDefault(),o(i.href)},children:[i.label,(0,We.jsx)(be.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var Wt=I(require("next/link"));function jr({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,We.jsx)("div",{className:"We-1 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsx)($,{children:(0,We.jsxs)(q,{children:[e&&e.src&&(0,We.jsx)(qt.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Mt,className:"mx-auto We-6 rounded-full object-cover"}),(0,We.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,We.jsx)("p",{children:r}),a&&a.length>0&&(0,We.jsx)("nav",{"aria-label":"social links",children:(0,We.jsx)("ul",{className:"inline-flex items-center divide-We divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,We.jsx)("li",{children:(0,We.jsx)(fe,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-We-1 hover:text-accents",children:(0,We.jsx)("span",{children:n.icon})})},o))})})]})})})}function er({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,Zt.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:l,title:p}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},h=i==null?void 0:i.map(b=>{var S,v;return{name:b.name||"",about:"",image:{src:b.profilePicture&&((v=(S=b.profilePicture.sizes)==null?void 0:S.small)==null?void 0:v.url)||"",alt:b.name||"blog author"},socialLinks:[]}});return(0,We.jsx)(ge,{children:(0,We.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,We.jsx)("div",{children:(0,We.jsxs)("div",{className:"[&_p+We]:We-4",children:[(0,We.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,We.jsx)(X,{content:l,enableGutter:!1})]})}),(0,We.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,We.jsx)("div",{className:"We-4 lg:-We-10 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsxs)($,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:"CMS Actions"})}),(0,We.jsxs)(q,{children:[(0,We.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,We.jsx)(Wt.default,{href:`${a}${e.id}`,children:(0,We.jsx)(O,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),h&&h.map((b,S)=>(0,We.jsx)(jr,{...b},S)),t&&t.links&&(0,We.jsx)("div",{className:"We-4 px-0 pt-0 lg:px-10",children:(0,We.jsx)($t,{links:t.links,title:t.title})})]})]})})}function Ye({...e}){return(0,We.jsxs)("div",{children:[(0,We.jsx)(wt,{isMenuOpen:!0,logoLight:Rt,logoDark:Dt}),(0,We.jsx)(Bt,{...e.hero}),(0,We.jsx)(er,{className:"!pb-0",...e.blog})]})}var Xr={title:"Pages/Blog",component:Ye,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var Pe={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},$r={args:{...Pe.args,hero:{...Pe.args.hero,post:{...Pe.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};0&&(module.exports={AReallyLongTitle,Default});
@@ -1 +1 @@
1
- import{a as e}from"../chunk-G474BW6A.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-YBNYR2ON.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XVXQHP54.mjs";import"../chunk-FNXBIW3Q.mjs";import"../chunk-4MNYZ3VG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-ODLDYXPZ.mjs";import"../chunk-QRNJ7O2L.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-V7YLLLES.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-VZKLCHD4.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"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-D2WXBUVJ.mjs";import{jsx as l}from"react/jsx-runtime";var i={title:"Pages/Blog",component:e,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var t={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},r={args:{...t.args,hero:{...t.args.hero,post:{...t.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};export{r as AReallyLongTitle,t as Default,i as default};
1
+ import{a as e}from"../chunk-XTFOVKFL.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-HU2USG4O.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XKUS4OC7.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-4BEPYHEG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-YAH6C5YX.mjs";import"../chunk-6FHLIH4J.mjs";import"../chunk-CW7WANDA.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-7WBETZEV.mjs";import"../chunk-763KMQIQ.mjs";import"../chunk-J2VQUYES.mjs";import"../chunk-SJWGFZJ6.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.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"../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"../chunk-D2WXBUVJ.mjs";import{jsx as l}from"react/jsx-runtime";var i={title:"Pages/Blog",component:e,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var t={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},r={args:{...t.args,hero:{...t.args.hero,post:{...t.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};export{r as AReallyLongTitle,t as Default,i as default};