cortex-react-components 1.56.0 → 1.56.2

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 (218) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-BXIDYE67.mjs → chunk-2GM7CZWD.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-GYUMEOL2.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-FYVORNBL.mjs → chunk-3KLULH4N.mjs} +1 -1
  6. package/dist/{chunk-GGDYYSFG.mjs → chunk-44AJHLZU.mjs} +1 -1
  7. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  8. package/dist/{chunk-HQOFQGRQ.mjs → chunk-4TUDI7KG.mjs} +1 -1
  9. package/dist/{chunk-WMVRW4SF.mjs → chunk-5V2ANAIN.mjs} +1 -1
  10. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  11. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  12. package/dist/{chunk-W5IV2HHX.mjs → chunk-7CLTFO4T.mjs} +1 -1
  13. package/dist/{chunk-BWRPSU6I.mjs → chunk-7US5HSR6.mjs} +1 -1
  14. package/dist/{chunk-OXFWH45D.mjs → chunk-AWF6XNYF.mjs} +1 -1
  15. package/dist/{chunk-KVA4UPK2.mjs → chunk-AZKUFDXP.mjs} +1 -1
  16. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  17. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  18. package/dist/{chunk-KQJLOUAU.mjs → chunk-D7A7EUEW.mjs} +1 -1
  19. package/dist/{chunk-IJT4XHN7.mjs → chunk-EB5N4KMF.mjs} +1 -1
  20. package/dist/{chunk-EML6AVUM.mjs → chunk-FKXXS744.mjs} +1 -1
  21. package/dist/chunk-FP5DGSVT.mjs +1 -0
  22. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  23. package/dist/{chunk-JXPOV3A4.mjs → chunk-IGCJJKUY.mjs} +1 -1
  24. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  25. package/dist/{chunk-KIAZOHM4.mjs → chunk-IR3E4BOR.mjs} +1 -1
  26. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  27. package/dist/{chunk-TV6WUXSN.mjs → chunk-KFSXGAAX.mjs} +1 -1
  28. package/dist/{chunk-S66RCEAN.mjs → chunk-KLNVCVT5.mjs} +1 -1
  29. package/dist/{chunk-IS27WYEV.mjs → chunk-LXHSPBVT.mjs} +1 -1
  30. package/dist/{chunk-UUQ4YJSJ.mjs → chunk-NW5BVAKO.mjs} +1 -1
  31. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  32. package/dist/{chunk-OUF4RW7E.mjs → chunk-Q5ID5CRA.mjs} +1 -1
  33. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  34. package/dist/{chunk-MIWMERSR.mjs → chunk-QRKTZ7BP.mjs} +1 -1
  35. package/dist/{chunk-26K34DNO.mjs → chunk-R2TZLS6H.mjs} +1 -1
  36. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  37. package/dist/{chunk-EOVMD5QE.mjs → chunk-RR4ZDHMW.mjs} +1 -1
  38. package/dist/{chunk-LLJZRF3C.mjs → chunk-S7I4XJS6.mjs} +1 -1
  39. package/dist/{chunk-C2WXWFU6.mjs → chunk-T4H7GMGO.mjs} +1 -1
  40. package/dist/{chunk-TT3GBHBO.mjs → chunk-TJXZHZ4B.mjs} +1 -1
  41. package/dist/{chunk-7IZ2X75V.mjs → chunk-TZE7RZAV.mjs} +1 -1
  42. package/dist/{chunk-S3GITHJW.mjs → chunk-VJ5BKDBD.mjs} +1 -1
  43. package/dist/{chunk-EEKDSPJW.mjs → chunk-WSR7WXCF.mjs} +1 -1
  44. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  45. package/dist/components/Blocks/Banner.js +1 -1
  46. package/dist/components/Blocks/Banner.mjs +1 -1
  47. package/dist/components/Blocks/CallToAction.js +1 -1
  48. package/dist/components/Blocks/CallToAction.mjs +1 -1
  49. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  51. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  55. package/dist/components/Blocks/Content.js +1 -1
  56. package/dist/components/Blocks/Content.mjs +1 -1
  57. package/dist/components/Blocks/Content.stories.js +1 -1
  58. package/dist/components/Blocks/Content.stories.mjs +1 -1
  59. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  63. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  64. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  65. package/dist/components/Blocks/RelatedPosts.js +1 -1
  66. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  67. package/dist/components/Blocks/RenderBlocks.js +1 -1
  68. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  69. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  70. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  71. package/dist/components/Blocks/index.js +1 -1
  72. package/dist/components/Blocks/index.mjs +1 -1
  73. package/dist/components/CRM/DealDetails.mjs +1 -1
  74. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  75. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  76. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  77. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  78. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  79. package/dist/components/CRM/NewDealForm.mjs +1 -1
  80. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  81. package/dist/components/CRM/index.mjs +1 -1
  82. package/dist/components/Cards/ContentCard.js +1 -1
  83. package/dist/components/Cards/ContentCard.mjs +1 -1
  84. package/dist/components/Cards/ContentCard.stories.js +1 -1
  85. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  86. package/dist/components/Cards/FeatureCard.js +1 -1
  87. package/dist/components/Cards/FeatureCard.mjs +1 -1
  88. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  89. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  90. package/dist/components/Cards/index.js +4 -4
  91. package/dist/components/Cards/index.mjs +1 -1
  92. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  93. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  94. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  95. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  96. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  97. package/dist/components/Heros/HighImpact/index.js +1 -1
  98. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  99. package/dist/components/Heros/LowImpact/index.js +1 -1
  100. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  101. package/dist/components/Heros/MediumImpact/index.js +1 -1
  102. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  103. package/dist/components/Heros/PostHero/index.mjs +1 -1
  104. package/dist/components/Heros/RenderHero.js +1 -1
  105. package/dist/components/Heros/RenderHero.mjs +1 -1
  106. package/dist/components/Heros/index.js +1 -1
  107. package/dist/components/Heros/index.mjs +1 -1
  108. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  110. package/dist/components/Holidays/index.mjs +1 -1
  111. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  112. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  113. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  114. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  115. package/dist/components/Layouts/Print.js +2 -2
  116. package/dist/components/Layouts/Print.mjs +1 -1
  117. package/dist/components/Layouts/Print.stories.js +1 -1
  118. package/dist/components/Layouts/Print.stories.mjs +1 -1
  119. package/dist/components/Layouts/SlideShow.js +3 -3
  120. package/dist/components/Layouts/SlideShow.mjs +1 -1
  121. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  122. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  123. package/dist/components/Layouts/index.js +5 -5
  124. package/dist/components/Layouts/index.mjs +1 -1
  125. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  126. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  127. package/dist/components/Menus/SidebarRight.mjs +1 -1
  128. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  129. package/dist/components/Menus/index.mjs +1 -1
  130. package/dist/components/Payload/Card/index.mjs +1 -1
  131. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  132. package/dist/components/Payload/Media/index.mjs +1 -1
  133. package/dist/components/Payload/RichText/index.js +1 -1
  134. package/dist/components/Payload/RichText/index.mjs +1 -1
  135. package/dist/components/Payload/RichText/serialize.js +1 -1
  136. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  137. package/dist/components/Payload/RichText.stories.js +1 -1
  138. package/dist/components/Payload/RichText.stories.mjs +1 -1
  139. package/dist/components/Payload/index.js +1 -1
  140. package/dist/components/Payload/index.mjs +1 -1
  141. package/dist/components/index.js +7 -7
  142. package/dist/components/index.mjs +1 -1
  143. package/dist/components/ui/index.mjs +1 -1
  144. package/dist/components/ui/sidebar.mjs +1 -1
  145. package/dist/index.js +11 -11
  146. package/dist/index.mjs +1 -1
  147. package/dist/metafile-cjs.json +1 -1
  148. package/dist/metafile-esm.json +1 -1
  149. package/dist/pages/Blog.js +1 -1
  150. package/dist/pages/Blog.mjs +1 -1
  151. package/dist/pages/Blog.stories.js +1 -1
  152. package/dist/pages/Blog.stories.mjs +1 -1
  153. package/dist/pages/Documentation.mjs +1 -1
  154. package/dist/pages/Documentation.stories.mjs +1 -1
  155. package/dist/pages/IndexPage.mjs +1 -1
  156. package/dist/pages/IndexPage.stories.mjs +1 -1
  157. package/dist/pages/Intranet.mjs +1 -1
  158. package/dist/pages/Intranet.stories.mjs +1 -1
  159. package/dist/pages/LandingPage.js +3 -3
  160. package/dist/pages/LandingPage.mjs +1 -1
  161. package/dist/pages/LandingPage.stories.js +3 -3
  162. package/dist/pages/LandingPage.stories.mjs +1 -1
  163. package/dist/pages/Page.js +1 -1
  164. package/dist/pages/Page.mjs +1 -1
  165. package/dist/pages/Page.stories.js +189 -189
  166. package/dist/pages/Page.stories.mjs +1 -1
  167. package/dist/pages/Printable.stories.js +4 -4
  168. package/dist/pages/Printable.stories.mjs +1 -1
  169. package/dist/pages/Publish.js +5 -5
  170. package/dist/pages/Publish.mjs +1 -1
  171. package/dist/pages/Publish.stories.js +4 -4
  172. package/dist/pages/Publish.stories.mjs +1 -1
  173. package/dist/pages/Website.js +1 -1
  174. package/dist/pages/Website.mjs +1 -1
  175. package/dist/pages/Website.stories.js +1 -1
  176. package/dist/pages/Website.stories.mjs +1 -1
  177. package/dist/sections/AboutSection.js +1 -1
  178. package/dist/sections/AboutSection.mjs +1 -1
  179. package/dist/sections/AboutSection.stories.js +1 -1
  180. package/dist/sections/AboutSection.stories.mjs +1 -1
  181. package/dist/sections/BlogDetail.js +1 -1
  182. package/dist/sections/BlogDetail.mjs +1 -1
  183. package/dist/sections/BlogDetail.stories.js +1 -1
  184. package/dist/sections/BlogDetail.stories.mjs +1 -1
  185. package/dist/sections/BlogList.js +3 -3
  186. package/dist/sections/BlogList.mjs +1 -1
  187. package/dist/sections/BlogList.stories.js +3 -3
  188. package/dist/sections/BlogList.stories.mjs +1 -1
  189. package/dist/sections/BlogListSection.mjs +1 -1
  190. package/dist/sections/BlogListSection.stories.mjs +1 -1
  191. package/dist/sections/ContactSection.js +1 -1
  192. package/dist/sections/ContactSection.mjs +1 -1
  193. package/dist/sections/ContactSection.stories.js +1 -1
  194. package/dist/sections/ContactSection.stories.mjs +1 -1
  195. package/dist/sections/ImageSection.stories.js +1 -1
  196. package/dist/sections/ImageSection.stories.mjs +1 -1
  197. package/dist/sections/PageSections.js +3 -3
  198. package/dist/sections/PageSections.mjs +1 -1
  199. package/dist/sections/PageSections.stories.js +3 -3
  200. package/dist/sections/PageSections.stories.mjs +1 -1
  201. package/dist/sections/PricingSection.js +1 -1
  202. package/dist/sections/PricingSection.mjs +1 -1
  203. package/dist/sections/PricingSection.stories.js +1 -1
  204. package/dist/sections/PricingSection.stories.mjs +1 -1
  205. package/dist/sections/ServiceDetailList.js +1 -1
  206. package/dist/sections/ServiceDetailList.mjs +1 -1
  207. package/dist/sections/ServiceDetailSection.js +1 -1
  208. package/dist/sections/ServiceDetailSection.mjs +1 -1
  209. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  210. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  211. package/dist/sections/ServiceSection.js +1 -1
  212. package/dist/sections/ServiceSection.mjs +1 -1
  213. package/dist/sections/ServiceSection.stories.js +1 -1
  214. package/dist/sections/ServiceSection.stories.mjs +1 -1
  215. package/dist/sections/index.js +3 -3
  216. package/dist/sections/index.mjs +1 -1
  217. package/package.json +1 -1
  218. package/dist/chunk-OIIEDD56.mjs +0 -1
@@ -1 +1 @@
1
- import{c as e,d as a,e as r}from"../chunk-3TVLETYW.mjs";import{a as t}from"../chunk-MIWMERSR.mjs";import"../chunk-IJT4XHN7.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-S3GITHJW.mjs";import"../chunk-EML6AVUM.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-7XB4Y3U2.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-GYUMEOL2.mjs";import"../chunk-3GYJDXNA.mjs";import"../chunk-Z7P4QOKT.mjs";import"../chunk-OUKKI47A.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-EOVMD5QE.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-UUQ4YJSJ.mjs";import"../chunk-OUF4RW7E.mjs";import"../chunk-C2WXWFU6.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-BXIDYE67.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-26K34DNO.mjs";import"../chunk-FYVORNBL.mjs";import"../chunk-OXFWH45D.mjs";import"../chunk-OIIEDD56.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as o}from"react/jsx-runtime";var p={title:"Example Pages/Print",component:t},l=n=>o(t,{...n}),i={render:l,args:{type:"print",orientation:"portrait",page:{title:"Demo Page 1",hero:a.highImpactSimple,layout:[e.content.oneThirdWithImageThemeShort,e.content.oneThirdWithImageTheme3Collumns,e.content.headerAndTheme3Collumns,e.content.halfWithEmbeddedImage,e.content.media,e.content.boxesWithThreeColumns,{id:"67a74c276365f244c8b6d149",blockName:null,columns:[{id:"67a74ea16365f244c8b6d14b",size:"full",richText:{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}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"dark",background:"image",image:{id:1,alt:null,prefix:"media",updatedAt:"2025-02-08T12:27:55.461Z",createdAt:"2025-02-08T12:27:55.461Z",url:"/stock1.jpg",thumbnailURL:"/stock1.jpg",filename:"stock1.jpg",mimeType:"image/jpeg",filesize:346701,width:2190,height:1369,focalX:50,focalY:50,sizes:{thumbnail:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-300x188.jpg",width:300,height:188,mimeType:"image/jpeg",filesize:15812,filename:"etpN-LCfCvz_906z2BUPn-300x188.jpg"},square:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-500x500.jpg",width:500,height:500,mimeType:"image/jpeg",filesize:51438,filename:"etpN-LCfCvz_906z2BUPn-500x500.jpg"},small:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-600x375.jpg",width:600,height:375,mimeType:"image/jpeg",filesize:46315,filename:"etpN-LCfCvz_906z2BUPn-600x375.jpg"},medium:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-900x563.jpg",width:900,height:563,mimeType:"image/jpeg",filesize:88535,filename:"etpN-LCfCvz_906z2BUPn-900x563.jpg"},large:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1400x875.jpg",width:1400,height:875,mimeType:"image/jpeg",filesize:172764,filename:"etpN-LCfCvz_906z2BUPn-1400x875.jpg"},xlarge:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1920x1200.jpg",width:1920,height:1200,mimeType:"image/jpeg",filesize:279466,filename:"etpN-LCfCvz_906z2BUPn-1920x1200.jpg"}}}}}},{id:"67a7859083ee5e530f094671",blockName:null,columns:[{id:"67a7859883ee5e530f094673",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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},{tag:"h3",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Sed at eros vel lacus varius varius nec id metus. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Duis sed nisl euismod, ullamcorper augue at.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}]}}},d={args:{...i.args,orientation:"portrait"}},c={args:{...i.args,orientation:"landscape"}},g={args:{...i.args,orientation:"flow"}},f={args:{orientation:"flow",type:"print",page:r.digitalColleaguesOverview}};export{f as Complex,i as Default,g as Flow,c as Landscape,d as Portrait,p as default};
1
+ import{c as e,d as a,e as r}from"../chunk-3TVLETYW.mjs";import{a as t}from"../chunk-QRKTZ7BP.mjs";import"../chunk-EB5N4KMF.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-VJ5BKDBD.mjs";import"../chunk-FKXXS744.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-HER7J6HM.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-CSNKYRV5.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-2SU53XDR.mjs";import"../chunk-4TCLIMFP.mjs";import"../chunk-PIM2JQYT.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-6YWAX7NS.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-RR4ZDHMW.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-T4H7GMGO.mjs";import"../chunk-Q5ID5CRA.mjs";import"../chunk-NW5BVAKO.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-2GM7CZWD.mjs";import"../chunk-XXTN5HMN.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-R2TZLS6H.mjs";import"../chunk-AWF6XNYF.mjs";import"../chunk-3KLULH4N.mjs";import"../chunk-FP5DGSVT.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as o}from"react/jsx-runtime";var p={title:"Example Pages/Print",component:t},l=n=>o(t,{...n}),i={render:l,args:{type:"print",orientation:"portrait",page:{title:"Demo Page 1",hero:a.highImpactSimple,layout:[e.content.oneThirdWithImageThemeShort,e.content.oneThirdWithImageTheme3Collumns,e.content.headerAndTheme3Collumns,e.content.halfWithEmbeddedImage,e.content.media,e.content.boxesWithThreeColumns,{id:"67a74c276365f244c8b6d149",blockName:null,columns:[{id:"67a74ea16365f244c8b6d14b",size:"full",richText:{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}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"dark",background:"image",image:{id:1,alt:null,prefix:"media",updatedAt:"2025-02-08T12:27:55.461Z",createdAt:"2025-02-08T12:27:55.461Z",url:"/stock1.jpg",thumbnailURL:"/stock1.jpg",filename:"stock1.jpg",mimeType:"image/jpeg",filesize:346701,width:2190,height:1369,focalX:50,focalY:50,sizes:{thumbnail:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-300x188.jpg",width:300,height:188,mimeType:"image/jpeg",filesize:15812,filename:"etpN-LCfCvz_906z2BUPn-300x188.jpg"},square:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-500x500.jpg",width:500,height:500,mimeType:"image/jpeg",filesize:51438,filename:"etpN-LCfCvz_906z2BUPn-500x500.jpg"},small:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-600x375.jpg",width:600,height:375,mimeType:"image/jpeg",filesize:46315,filename:"etpN-LCfCvz_906z2BUPn-600x375.jpg"},medium:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-900x563.jpg",width:900,height:563,mimeType:"image/jpeg",filesize:88535,filename:"etpN-LCfCvz_906z2BUPn-900x563.jpg"},large:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1400x875.jpg",width:1400,height:875,mimeType:"image/jpeg",filesize:172764,filename:"etpN-LCfCvz_906z2BUPn-1400x875.jpg"},xlarge:{url:"/api/media/file/etpN-LCfCvz_906z2BUPn-1920x1200.jpg",width:1920,height:1200,mimeType:"image/jpeg",filesize:279466,filename:"etpN-LCfCvz_906z2BUPn-1920x1200.jpg"}}}}}},{id:"67a7859083ee5e530f094671",blockName:null,columns:[{id:"67a7859883ee5e530f094673",size:"full",richText:{root:{type:"root",format:"",indent:0,version:1,children:[{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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},{tag:"h3",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Sed at eros vel lacus varius varius nec id metus. ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Duis sed nisl euismod, ullamcorper augue at.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"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}],direction:"ltr"}},enableLink:null,link:{type:"reference",newTab:null,url:null,label:null,appearance:"default"}}],blockType:"content",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}]}}},d={args:{...i.args,orientation:"portrait"}},c={args:{...i.args,orientation:"landscape"}},g={args:{...i.args,orientation:"flow"}},f={args:{orientation:"flow",type:"print",page:r.digitalColleaguesOverview}};export{f as Complex,i as Default,g as Flow,c as Landscape,d as Portrait,p as default};
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var jt=Object.create;var Ta=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var $t=(t,a)=>{for(var o in a)Ta(t,o,{get:a[o],enumerable:!0})},Ka=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of Wt(a))!Vt.call(t,r)&&r!==o&&Ta(t,r,{get:()=>a[r],enumerable:!(s=Ot(a,r))||s.enumerable});return t};var V=(t,a,o)=>(o=t!=null?jt(qt(t)):{},Ka(a||!t||!t.__esModule?Ta(o,"default",{value:t,enumerable:!0}):o,t)),Yt=t=>Ka(Ta({},"__esModule",{value:!0}),t);var Do={};$t(Do,{Publish:()=>Lo});module.exports=Yt(Do);var Gt=require("react");var it=require("clsx");var Ua="-",Qt=t=>{let a=Jt(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:i=>{let n=i.split(Ua);return n[0]===""&&n.length!==1&&n.shift(),tt(n,a)||Xt(i)},getConflictingClassGroupIds:(i,n)=>{let d=o[i]||[];return n&&s[i]?[...d,...s[i]]:d}}},tt=(t,a)=>{var i;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),r=s?tt(t.slice(1),s):void 0;if(r)return r;if(a.validators.length===0)return;let e=t.join(Ua);return(i=a.validators.find(({validator:n})=>n(e)))==null?void 0:i.classGroupId},Za=/^\[(.+)\]$/,Xt=t=>{if(Za.test(t)){let a=Za.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},Jt=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return Kt(Object.entries(t.classGroups),o).forEach(([e,i])=>{Ga(i,s,e,a)}),s},Ga=(t,a,o,s)=>{t.forEach(r=>{if(typeof r=="string"){let e=r===""?a:at(a,r);e.classGroupId=o;return}if(typeof r=="function"){if(_t(r)){Ga(r(s),a,o,s);return}a.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([e,i])=>{Ga(i,at(a,e),o,s)})})},at=(t,a)=>{let o=t;return a.split(Ua).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},_t=t=>t.isThemeGetter,Kt=(t,a)=>a?t.map(([o,s])=>{let r=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([i,n])=>[a+i,n])):e);return[o,r]}):t,Zt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,r=(e,i)=>{o.set(e,i),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let i=o.get(e);if(i!==void 0)return i;if((i=s.get(e))!==void 0)return r(e,i),i},set(e,i){o.has(e)?o.set(e,i):r(e,i)}}},ot="!",ao=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,r=a[0],e=a.length,i=n=>{let d=[],p=0,l=0,c;for(let f=0;f<n.length;f++){let w=n[f];if(p===0){if(w===r&&(s||n.slice(f,f+e)===a)){d.push(n.slice(l,f)),l=f+e;continue}if(w==="/"){c=f;continue}}w==="["?p++:w==="]"&&p--}let g=d.length===0?n:n.substring(l),x=g.startsWith(ot),h=x?g.substring(1):g,u=c&&c>l?c-l:void 0;return{modifiers:d,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:u}};return o?n=>o({className:n,parseClassName:i}):i},to=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},oo=t=>({cache:Zt(t.cacheSize),parseClassName:ao(t),...Qt(t)}),eo=/\s+/,so=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:r}=a,e=[],i=t.trim().split(eo),n="";for(let d=i.length-1;d>=0;d-=1){let p=i[d],{modifiers:l,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:x}=o(p),h=!!x,u=s(h?g.substring(0,x):g);if(!u){if(!h){n=p+(n.length>0?" "+n:n);continue}if(u=s(g),!u){n=p+(n.length>0?" "+n:n);continue}h=!1}let f=to(l).join(":"),w=c?f+ot:f,R=w+u;if(e.includes(R))continue;e.push(R);let F=r(u,h);for(let L=0;L<F.length;++L){let oa=F[L];e.push(w+oa)}n=p+(n.length>0?" "+n:n)}return n};function ro(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=et(a))&&(s&&(s+=" "),s+=o);return s}var et=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=et(t[s]))&&(o&&(o+=" "),o+=a);return o};function no(t,...a){let o,s,r,e=i;function i(d){let p=a.reduce((l,c)=>c(l),t());return o=oo(p),s=o.cache.get,r=o.cache.set,e=n,n(d)}function n(d){let p=s(d);if(p)return p;let l=so(d,o);return r(d,l),l}return function(){return e(ro.apply(null,arguments))}}var N=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},st=/^\[(?:([a-z-]+):)?(.+)\]$/i,io=/^\d+\/\d+$/,lo=new Set(["px","full","screen"]),co=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mo=/\d+(%|px|r?em|[sdl]?mt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|mt|min|max))|\mt(calc|min|max|clamp)\(.+\)|^0$/,po=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=t=>la(t)||lo.has(t)||io.test(t),_=t=>ca(t,"length",ko),la=t=>!!t&&!Number.isNaN(Number(t)),Ha=t=>ca(t,"number",la),wa=t=>!!t&&Number.isInteger(Number(t)),go=t=>t.endsWith("%")&&la(t.slice(0,-1)),y=t=>st.test(t),K=t=>co.test(t),fo=new Set(["length","size","percentage"]),bo=t=>ca(t,fo,rt),ho=t=>ca(t,"position",rt),xo=new Set(["image","url"]),wo=t=>ca(t,xo,No),vo=t=>ca(t,"",Co),va=()=>!0,ca=(t,a,o)=>{let s=st.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},ko=t=>mo.test(t)&&!po.test(t),rt=()=>!1,Co=t=>uo.test(t),No=t=>yo.test(t);var Po=()=>{let t=N("colors"),a=N("spacing"),o=N("blur"),s=N("brightness"),r=N("borderColor"),e=N("borderRadius"),i=N("borderSpacing"),n=N("borderWidth"),d=N("contrast"),p=N("grayscale"),l=N("hueRotate"),c=N("invert"),g=N("gap"),x=N("gradientColorStops"),h=N("gradientColorStopPositions"),u=N("inset"),f=N("margin"),w=N("opacity"),R=N("padding"),F=N("saturate"),L=N("scale"),oa=N("sepia"),ea=N("skew"),D=N("space"),ha=N("translate"),ia=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",y,a],C=()=>[y,a],xa=()=>["",$,_],j=()=>["auto",la,y],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],da=()=>["solid","dashed","dotted","double","none"],Ra=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",y],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[la,y];return{cacheSize:500,separator:":",theme:{colors:[va],spacing:[$,_],blur:["none","",K,y],brightness:I(),borderColor:[t],borderRadius:["none","","full",K,y],borderSpacing:C(),borderWidth:xa(),contrast:I(),grayscale:W(),hueRotate:I(),invert:W(),gap:C(),gradientColorStops:[t],gradientColorStopPositions:[go,_],inset:U(),margin:U(),opacity:I(),padding:C(),saturate:I(),scale:I(),sepia:W(),skew:I(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:[...q(),y]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:ia()}],"overscroll-x":[{"overscroll-x":ia()}],"overscroll-y":[{"overscroll-y":ia()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wa,y]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",wa,y]}],"grid-cols":[{"grid-cols":[va]}],"col-start-end":[{col:["auto",{span:["full",wa,y]},y]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[va]}],"row-start-end":[{row:["auto",{span:[wa,y]},y]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-w":[{"min-w":[y,a,"min","max","fit"]}],"max-w":[{"max-w":[y,a,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",K,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ha]}],"font-family":[{font:[va]}],"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",y]}],"line-clamp":[{"line-clamp":["none",la,Ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...da(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,_]}],"underline-offset":[{"underline-offset":["auto",$,y]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),ho]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","mt","bl","l","tl"]},wo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-mt":[{"rounded-mt":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-mt":[{"border-mt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...da(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:da()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-mt":[{"border-mt":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...da()]}],"outline-offset":[{"outline-offset":[$,y]}],"outline-w":[{outline:[$,_]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xa()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[$,_]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",K,vo]}],"shadow-color":[{shadow:[va]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Ra(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ra()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",K,y]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[c]}],saturate:[{saturate:[F]}],sepia:[{sepia:[oa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[oa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",y]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[wa,y]}],"translate-x":[{"translate-x":[ha]}],"translate-y":[{"translate-y":[ha]}],"skew-x":[{"skew-x":[ea]}],"skew-y":[{"skew-y":[ea]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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-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","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",y]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$,_,Ha]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-mt","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-mt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-mt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-mt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-mt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-mt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=no(Po);function m(...t){return nt((0,it.clsx)(t))}function ka(t){let a=0,o=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,s=t.layout.flatMap(e=>{let i=[];return"title"in e&&e.title&&i.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(n=>{var d,p,l,c,g;if(n.title&&i.push({text:n.title,id:o(n.title,a++),tag:"h2"}),(p=(d=n.richText)==null?void 0:d.root)!=null&&p.children&&((c=(l=n.richText)==null?void 0:l.root)==null?void 0:c.children.length)===1){let x=n.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of x)h.children[0]&&i.push({text:(g=h.children[0].text)!=null?g:"",id:o(h.children[0].text,a++),tag:h.tag||"h2"})}}),i}),r=Ao(t.layout);return{tableOfContents:s,contentWithIds:r}}function Ao(t){let a=(s,r)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(r=>(r.title&&(r.id=a(r.title,o++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),r))),s))}var dt=require("@radix-ui/react-slot"),lt=require("class-variance-authority"),ct=V(require("react")),mt=require("react/jsx-runtime"),Bo=(0,lt.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-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),sa=ct.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...r},e)=>(0,mt.jsx)(t?dt.Slot:"button",{className:m(Bo({className:a,size:o,variant:s})),ref:e,...r}));sa.displayName="Button";var pt=({className:t,content:a,style:o})=>(0,mt.jsx)("div",{className:m("mx-auto my-8 w-full",t),children:(0,mt.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,mt.jsx)(M,{content:a,enableGutter:!1,enableProse:!1})})});var ja=V(require("next/link")),ra=t=>{let{type:a,appearance:o="inline",children:s,className:r,label:e,newTab:i,reference:n,size:d,url:p}=t,l=a==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!l)return null;let c=o==="link"?"clear":d,g=i?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]}):(0,mt.jsx)(sa,{asChild:!0,className:r,size:c,variant:o,children:(0,mt.jsxs)(ja.default,{className:m(r),href:l||p||"",...g,children:[e&&e,s&&s]})})};var ma=({links:t,richText:a})=>(0,mt.jsx)("div",{className:"container",children:(0,mt.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,mt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:a&&(0,mt.jsx)(M,{className:"mb-0",content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,mt.jsx)(ra,{size:"lg",...o},s))})]})});var Sa=require("prism-react-renderer");var ut=require("lucide-react");function gt({code:t}){let[a,o]=(0,Gt.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,mt.jsx)("div",{className:"flex justify-end align-middle",children:(0,mt.jsxs)(sa,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,mt.jsx)("p",{children:a}),(0,mt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,mt.jsx)(ut.ClipboardCopy,{})})]})})}var ft=({code:t,language:a=""})=>t?(0,mt.jsx)(Sa.Highlight,{code:t,language:a,theme:Sa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:r})=>(0,mt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((e,i)=>(0,mt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,mt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,mt.jsx)("span",{className:"table-cell pl-4",children:e.map((n,d)=>(0,mt.jsx)("span",{...s({token:n})},d))})]},i)),(0,mt.jsx)(gt,{code:t})]})}):null;var bt=({className:t,code:a,language:o})=>(0,mt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,mt.jsx)(ft,{code:a,language:o})});var xt=V(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ht="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=",wt=t=>{let{alt:a,fill:o,imgClassName:s,priority:r,resource:e,size:i,src:n,loading:d}=t,p,l,c=a,g=n||"";if(!g&&e&&typeof e=="object"){let{alt:u,filename:f,height:w,url:R,width:F}=e;if(w&&w>500){let L=500/w;p=F*L,l=w*L}else p=F,l=w;c=u||"",g=R||ht}let x=d||"lazy",h=i||Object.entries(Ro).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,mt.jsx)("picture",{children:(0,mt.jsx)(xt.default,{alt:c||"",className:m(s),fill:o,height:o?void 0:l,placeholder:"blur",blurDataURL:ht,priority:x!=="lazy"&&r,quality:100,loading:x,sizes:h,src:g,width:o?void 0:p})})};var vt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{if(vt){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ct=t=>{let{onClick:a,resource:o,videoClassName:s}=t,r=(0,Gt.useRef)(null);if((0,Gt.useEffect)(()=>{let{current:e}=r;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,mt.jsx)("video",{autoPlay:!0,className:m(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:r,children:(0,mt.jsx)("source",{src:`${kt()}/media/${e}`})})}return null};var Ea=t=>{var i;let{className:a,htmlElement:o="div",resource:s}=t,r=typeof s=="object"&&((i=s==null?void 0:s.mimeType)==null?void 0:i.includes("video"));return(0,mt.jsx)(o||Gt.Fragment,{...o!==null?{className:a}:{},children:r?(0,mt.jsx)(Ct,{...t}):(0,mt.jsx)(wt,{...t})})};var aa=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,mt.jsx)("div",{className:m("h-full ",{container:o},a),children:(0,mt.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),className:"flex justify-center",resource:r,src:e})})};var Pt=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:r,staticImage:e}=t;return(0,$a.jsx)("div",{className:m("",{container:o},a),children:(0,$a.jsx)(Ea,{imgClassName:m("rounded-[0.8rem]",s),resource:r,src:e})})};var pa=({title:t,description:a,features:o,id:s,nested:r=!1})=>(0,mt.jsxs)("section",{className:m(!r&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,mt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,mt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,mt.jsx)(M,{content:a,enableGutter:!1})}),(0,mt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,i)=>{var d,p,l,c,g;let n=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,iconName:e.icon.icon}};return(0,mt.jsx)(At,{variant:((d=e.settings)==null?void 0:d.card)==="default"?"light":((p=e.settings)==null?void 0:p.card)||"outline",icon:n()||void 0,iconSize:((l=e.settings)==null?void 0:l.iconSize)||"large",width:"auto",order:i,heading:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,buttonText:(c=e.link)!=null&&c.url?"Find out more":void 0,buttonHref:((g=e.link)==null?void 0:g.url)||void 0},i)})})]});var La=V(require("react"));function Na({nodes:t}){return(0,mt.jsx)(La.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,mt.jsx)(La.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,mt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,mt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,mt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,mt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,mt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,mt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,mt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,mt.jsx)("table",{children:(0,mt.jsx)("tbody",{children:a.children.map((e,i)=>(0,mt.jsx)("tr",{children:e.children.map((n,d)=>(0,mt.jsx)("td",{children:Na({nodes:n.children})},d))},i))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let i of e.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Na({nodes:e.children})},r="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,i=e==null?void 0:e.blockType;if(!e||!i)return null;switch(i){case"cta":return(0,mt.jsx)(ma,{...e},o);case"mediaBlock":return(0,mt.jsx)(aa,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,mt.jsx)(Pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,mt.jsx)(pt,{className:"col-start-2 mb-4",...e},o);case"code":return(0,mt.jsx)(bt,{className:"col-start-2",...e},o);case"features":return(0,mt.jsx)(pa,{...e,nested:!0},o);case"reusableContentBlock":Na({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,mt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,mt.jsx)("p",{className:"col-start-2",children:r},o);case"heading":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:r},o)}case"list":{let e=a==null?void 0:a.tag;return(0,mt.jsx)(e,{className:"list col-start-2",children:r},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,mt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:r},o):(0,mt.jsx)("li",{value:a==null?void 0:a.value,children:r},o);case"quote":return(0,mt.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}case"autolink":{let e=a.fields;return(0,mt.jsx)(ra,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:r},o)}default:return null}})})}var M=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var r;return a?(0,mt.jsx)("div",{className:m({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Na({nodes:(r=a==null?void 0:a.root)==null?void 0:r.children})}):null};var Ya=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let r=t.includes("Gt-")?t+" ":"Gt-"+t+" ",e="Gt-"+a,i=s!=null?s:"",n=r+e+" Gt-"+o+" "+i;return(0,mt.jsx)("i",{className:n})};function Tt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function At({variant:t="outline",className:a,icon:o,iconSize:s="large",width:r="auto",order:e=0,heading:i,subheading:n,content:d,statistic:p,buttonText:l,buttonHref:c}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,mt.jsxs)("div",{className:m("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",g[t],t==="outline"?"text-gray-900":"text-white",a,x[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${e+1}00`),children:[(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)(To,{icon:o,heading:i,variant:t,iconSize:s})}),p&&(0,mt.jsx)("div",{className:"mb-6",children:(0,mt.jsx)("div",{className:m("text-4xl text-wrap font-bold leading-none overflow-hidden",t==="outline"||t==="light"?"text-primary":"text-white"),children:p})}),n&&(0,mt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),d&&typeof d=="object"&&(0,mt.jsx)("div",{className:m("space-y-6"),children:(0,mt.jsx)(M,{enableGutter:!1,content:d,enableProse:!1,className:m(t==="outline"||t==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,mt.jsx)("div",{className:m("space-y-6",t==="outline"||t==="light"?"text-gray-900":"text-gray-100"),children:d}),l&&(0,mt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,mt.jsx)(sa,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,mt.jsx)("a",{href:c,children:l})})}),t==="radial"&&(0,mt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var To=({icon:t,heading:a,variant:o,iconSize:s})=>t&&s==="small"?(0,mt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"2x"})}),(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a})]}):t?(0,mt.jsxs)("div",{className:"flex flex-col gap-4",children:[Tt(t)&&(0,mt.jsx)("div",{className:m("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,mt.jsx)(Ya,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,mt.jsx)("h3",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,mt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,mt.jsx)("div",{className:m("font-semibold",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var Fa=t=>{var n;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},e=d=>{if(d.type&&d.type==="block"&&d.fields&&(d.fields.blockType==="imageBlock"||d.fields.blockType==="mediaBlock"))return!0;if(d.root&&d.root.children){for(let p of d.root.children)if(e(p))return!0}if(d.children){for(let p of d.children)if(e(p))return!0}return!1},i=(d,p,l)=>{if(p==="none"||l==="full")return{processedRichText:d,heading:null};let c=d,g=null;return d&&d.root&&d.root.children&&d.root.children[0].tag==="h2"&&(c={...d,root:{...d.root,children:d.root.children.slice(1)}},g=d.root.children[0]),{processedRichText:c,heading:g}};return(0,mt.jsx)("div",{className:"container my-6",children:(0,mt.jsx)("div",{className:m("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(n=o==null?void 0:o.settings)!=null&&n.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((d,p)=>{var f,w;let{enableLink:l,link:c,richText:g,size:x}=d,{processedRichText:h,heading:u}=i(g,((f=o==null?void 0:o.settings)==null?void 0:f.box)||"none",x||"full");return(0,mt.jsxs)("div",{className:m(`col-span-4 lg:col-span-${s[x]}`,{"md:col-span-2":x!=="full"},r[x!=="full"&&!e(g)&&((w=o==null?void 0:o.settings)==null?void 0:w.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${p+1}00`),children:[u&&(0,mt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),h&&(0,mt.jsx)(M,{content:h,enableGutter:!1,className:"rich-text"}),l&&(0,mt.jsx)(ra,{...c})]},p)})})})};var Ft=V(require("next/image"));var St=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,mt.jsx)(Io,{blocks:o.layout}):(0,mt.jsx)(mt.Fragment,{})},It={content:Fa,cta:ma,mediaBlock:aa,imageBlock:aa,features:pa},Io=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)(mt.Fragment,{children:a.map((s,r)=>{var n,d;let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in It){let p=It[e];if(p)return(0,mt.jsxs)("div",{className:"py-6 relative",children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m(((n=i==null?void 0:i.settings)==null?void 0:n.theme)==="dark"?"dark":((d=i==null?void 0:i.settings)==null?void 0:d.theme)==="green"?"green":""),children:(0,mt.jsx)(p,{...s})})]},r)}return null})}):null};var zt=V(require("react")),ua=V(require("@radix-ui/react-collapsible")),Da=require("@radix-ui/react-icons");var Mt=({title:t,richText:a})=>{let[o,s]=zt.default.useState(!1);return(0,mt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,mt.jsxs)(ua.Root,{className:m("w-full"),open:o,onOpenChange:s,children:[(0,mt.jsxs)(ua.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,mt.jsx)("h2",{className:"text-lg font-medium",children:t}),o?(0,mt.jsx)(Da.ChevronUpIcon,{className:"h-6 w-6"}):(0,mt.jsx)(Da.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,mt.jsx)(ua.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,mt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,mt.jsx)(M,{content:a||{},enableGutter:!1})})})]})})};var Et={content:Fa,cta:ma,mediaBlock:aa,collapsibleArea:Mt,imageBlock:aa,features:pa,reusableContentBlock:St},ya=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,mt.jsx)("section",{id:"render-blocks",className:m(t.fill?"h-full w-full":""),children:a.map((s,r)=>{var n;console.log("block",s);let{blockType:e}=s,i=s==null?void 0:s.theme;if(e&&e in Et){let d=Et[e];if(e==="reusableContentBlock")return(0,mt.jsx)(Gt.Fragment,{children:(0,mt.jsx)(ya,{blocks:s.reusableContent.layout})},r);if(d)return(0,mt.jsxs)("div",{className:m("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,mt.jsx)(Qa,{block:s,index:r}),(0,mt.jsx)("div",{className:m("container h-full relative",((n=i==null?void 0:i.settings)==null?void 0:n.theme)||"dark"),children:(0,mt.jsx)(d,{...s})})]},r)}return null})}):null},Qa=t=>{var o,s,r,e,i;if(!("theme"in t.block))return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let n={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,mt.jsxs)("div",{className:m("absolute inset-0 w-full h-full bg-background",a.settings.theme||"dark"),children:[(0,mt.jsx)(Ft.default,{src:((r=(s=a.settings)==null?void 0:s.image)==null?void 0:r.url)||"/placeholder.svg",alt:((i=(e=a.settings)==null?void 0:e.image)==null?void 0:i.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,mt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,mt.jsx)("div",{className:m("absolute inset-0 w-screen h-full bg-background",a.settings.theme||"dark")})};var ga=require("framer-motion");var Gs=require("pagedjs");var Xa=V(require("next/image")),Dt=({logoImage:t})=>(0,mt.jsxs)("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
5
- dark bg-background text-primary`,children:[(0,mt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[t&&(0,mt.jsx)("img",{src:t.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,mt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,mt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Pa=({title:t})=>(0,mt.jsx)("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,mt.jsx)("div",{className:"container",children:(0,mt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Aa=t=>{var r,e;let{title:a,hero:o,logoImage:s}=t;return(0,mt.jsxs)("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,mt.jsx)("div",{className:"absolute inset-0",children:(0,mt.jsx)(Xa.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(r=o.media.width)!=null?r:1920,height:o.media&&o.media.height&&(e=o.media.height)!=null?e:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,mt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&(0,mt.jsx)("div",{className:"h-24",children:(0,mt.jsx)(Xa.default,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),(0,mt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,mt.jsxs)("div",{className:"relative pl-24 z-10 max-w-3xl",children:[(0,mt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,mt.jsx)(M,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var Ja=t=>{let[a,o]=(0,Gt.useState)(0),{blocks:s,hero:r,logoImage:e}=t,i=s&&Array.isArray(s)&&s.length>0,d=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],p=u=>{o(u)},l=()=>{o(u=>(u+1)%d.length)},c=()=>{o(u=>(u-1+d.length)%d.length)},x=(0,Gt.useCallback)(((u,f)=>{let w;return(...R)=>{clearTimeout(w),w=setTimeout(()=>u(...R),f)}})(u=>{u.deltaY>0?l():c()},300),[]),h=u=>{u.key==="ArrowDown"?l():u.key==="ArrowUp"&&c()};return(0,Gt.useEffect)(()=>(window.addEventListener("wheel",x),window.addEventListener("keydown",h),()=>{window.removeEventListener("wheel",x),window.removeEventListener("keydown",h)}),[]),(0,mt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,mt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:i&&d.map((u,f)=>(0,mt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${a===f?"bg-accent":"bg-gray-600"}`,onClick:()=>p(f),children:(0,mt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:u.blockName})},u.id))}),(0,mt.jsx)(ga.AnimatePresence,{children:d.map((u,f)=>(0,mt.jsx)("div",{id:`slide-${f}`,className:"print-section",children:(0,mt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
6
- ${f===a?"opacity-100":"opacity-0"}
7
- w-full h-full bg-cover bg-center`,children:f===0?(0,mt.jsx)(Aa,{hero:r,title:t.title,logoImage:e}):(0,mt.jsxs)(mt.Fragment,{children:[u.blockName&&(0,mt.jsx)(Pa,{title:u.blockName}),(0,mt.jsx)(ya,{blocks:[u],fill:!0}),(0,mt.jsx)(Dt,{logoImage:e})]})})},f))}),(0,mt.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:l,children:(0,mt.jsx)(So,{})})]})},So=()=>(0,mt.jsx)(ga.AnimatePresence,{children:(0,mt.jsx)(ga.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:m("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,mt.jsx)(ga.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:m("w-[12px] h-[12px] rounded-full","bg-accent")})})});function zo(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var ba=t=>{let a=document.createElement("div");a.style.height="1mm",document.body.appendChild(a);let o=parseFloat(window.getComputedStyle(a).height);return document.body.removeChild(a),Math.floor(t/o)},Ht=({page:t,layout:a="portrait",logoImage:o})=>a==="flow"?(0,mt.jsx)(Mo,{page:t,layout:a,logoImage:o}):(0,mt.jsx)(Eo,{page:t,layout:a,logoImage:o}),Mo=({page:t,layout:a="portrait",logoImage:o})=>{let{contentWithIds:s}=ka(t),r=(0,Gt.useRef)(null),e=(0,Gt.useRef)(null),i=(0,Gt.useRef)(new Gs.Previewer),n={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,Gt.useEffect)(()=>{let l=document.getElementById("printable-content");if(l){let c=document.createElement("style");return c.textContent=`@page { size: ${ba(l.offsetWidth)}mm ${ba(l.offsetHeight)}mm ; margin: 0mm; width: ${ba(l.offsetWidth)}mm }; .container : { max-width: ${ba(l.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(c),()=>{document.head.removeChild(c)}}},[a]);let d=(0,Gt.useCallback)(()=>{if(!e.current)return;e.current&&(e.current.innerHTML="");let l=document.getElementById("printable-content");l&&i.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${ba(l.offsetWidth)}mm ${ba(l.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],e.current).catch(c=>console.error("Paged.js error:",c))},[a]);(0,Gt.useEffect)(()=>{i.current=new Gs.Previewer},[d,a]);let p=[n,...s];return(0,mt.jsxs)("div",{children:[(0,mt.jsx)("div",{className:"w-[1123px] print:w-[1123px]",children:(0,mt.jsxs)("div",{id:"printable-content",ref:r,children:[p.map((l,c)=>(0,mt.jsx)(mt.Fragment,{children:c===0?(0,mt.jsx)("section",{className:"title-page w-full h-full",children:(0,mt.jsx)(Aa,{hero:t.hero,title:t.title})},c):(0,mt.jsxs)("section",{className:"normal-page overflow-hidden",children:[l.blockName&&(0,mt.jsx)(Pa,{title:l.blockName}),(0,mt.jsx)(ya,{blocks:[l],fill:!0})]},c)})),(0,mt.jsx)("section",{className:"normal-page",children:(0,mt.jsxs)("div",{className:`w-full py-2 px-8 flex justify-between items-center
8
- dark bg-background text-primary`,children:[(0,mt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[o&&(0,mt.jsx)("img",{src:o.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,mt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,mt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),(0,mt.jsx)("div",{ref:e,className:"preview-container"})]})},Eo=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=ka(t),s=(0,Gt.useRef)(null),r=(0,Gt.useRef)(null),e=(0,Gt.useRef)(new Gs.Previewer),[i,n]=(0,Gt.useState)(0),p=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],l=(0,Gt.useCallback)(()=>{s.current&&(s.current&&(s.current.innerHTML=""),e.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",a==="landscape"?"./landscape.css":"./portrait.css"],s.current).then(c=>n(c.pageCount)).catch(c=>console.error("Paged.js error:",c)))},[a]);return(0,Gt.useEffect)(()=>{e.current=new Gs.Previewer,l()},[l,a]),(0,Gt.useEffect)(()=>{let c=document.createElement("style");return c.textContent=`@page { size: A4 ${a} ; margin: 0mm; };`,document.head.appendChild(c),()=>{document.head.removeChild(c)}},[]),(0,mt.jsxs)("div",{className:"pagedjs-container",children:[(0,mt.jsx)("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:p.map((c,g)=>{var x,h;return(0,mt.jsx)(mt.Fragment,{children:g===0?(0,mt.jsx)("section",{className:"pagedjs-section title-page w-full h-full",children:(0,mt.jsx)(Aa,{hero:t.hero,title:t.title})},g):(0,mt.jsxs)("section",{className:m("pagedjs-section normal-page h-[699px]",`h-[${zo("185mm")}px]`,((h=(x=c.theme)==null?void 0:x.settings)==null?void 0:h.theme)==="dark"?"dark":"light"),children:[c.blockName&&(0,mt.jsx)(Pa,{title:c.blockName}),(0,mt.jsx)(ya,{blocks:[c],fill:!0})]},g)})})}),(0,mt.jsx)("div",{ref:s,className:"preview-container"})]})};var Ut=V(require("html2canvas")),_a=require("jspdf");function Lo({type:t="slideshow",orientation:a="landscape",...o}){let s=o.page,[r,e]=(0,Gt.useState)(a),{contentWithIds:i,tableOfContents:n}=ka(s);if(t==="slideshow")return(0,mt.jsx)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,mt.jsx)(Ja,{blocks:i,hero:o.hero,title:o.page.title,logoImage:o.logoImage})});if(t==="print")return(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(Fo,{layout:r,changeLayout:e}),(0,mt.jsx)(Ht,{page:o.page,layout:r,logoImage:o.logoImage})]})}var Fo=({changeLayout:t,layout:a="landscape"})=>{let o=async()=>{var i;if(a==="flow"){let n=(i=document.getElementById("printable-content"))==null?void 0:i.innerHTML;if(n){var e=window.document.body.innerHTML;window.document.body.innerHTML=n,window.print(),window.document.body.innerHTML=e}}else await new Promise(n=>setTimeout(n,300)),window.print()},s=e=>{t&&t(e)},r=async e=>{let i=document.getElementById(e);if(!i)throw new Error(`Element with id ${e} not found`);let n=document.createElement("canvas"),d=window.devicePixelRatio;n.width=Math.max(i.clientWidth||0)*d,n.height=Math.max(i.clientHeight||0)*d+100;let p=n.getContext("2d");if(!p)throw new Error("Failed to get 2D context");let l=p.drawImage,c=Array.from(i.getElementsByTagName("img")).reduce((ea,D)=>(ea[D.src]=D,ea),{});p.drawImage=function(...ea){let[D,ha,ia,G,U,C,xa,j,q]=ea;if(D instanceof HTMLImageElement){let da=c[D.src].style.objectFit||"fill",Ra=c[D.src].style.objectPosition||"center center";U=D.height,G=D.width;let X=G/U,W=j/q,[J,I]=Ra.split(" ");switch(I||(I=J),da){case"cover":if(X>W){let S=U*W,z=(G-S)/2;J==="left"&&(z=0),J==="right"&&(z=G-S),ha+=z,G=S}else{let S=G/W,z=(U-S)/2;I==="top"&&(z=0),I==="bottom"&&(z=U-S),ia+=z,U=S}break;case"contain":if(X>W){let S=j/X,z=(q-S)/2;I==="top"&&(z=0),I==="bottom"&&(z=q-S),xa+=z,q=S}else{let S=q*X,z=(j-S)/2;J==="left"&&(z=0),J==="right"&&(z=j-S),C+=z,j=S}break;case"fill":break}}return l.call(p,D,ha,ia,G,U,C,xa,j,q)};let g=document.getElementById(e);if(!g)throw new Error(`Element with id ${e} not found`);var x=n.width,h=n.height;let f=(await(0,Ut.default)(g,{canvas:n,windowHeight:h,windowWidth:x,scale:window.devicePixelRatio})).toDataURL("image/png"),R=new _a.jsPDF({}).getImageProperties(f),F=297,L=F*(R.height/R.width),oa=new _a.jsPDF({unit:"mm",format:[F,L]});oa.addImage(f,"PNG",0,0,F,L),oa.save("print.pdf")};return(0,mt.jsx)("div",{className:m("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:(0,mt.jsx)("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:(0,mt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,mt.jsxs)("a",{onClick:o,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,mt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,mt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,mt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,mt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,mt.jsxs)("a",{onClick:()=>s("portrait"),className:m("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="portrait"?"text-accent":"hover:text-accent"),children:[(0,mt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,mt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,mt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,mt.jsxs)("a",{onClick:()=>s("landscape"),className:m("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="landscape"?"text-accent":"hover:text-accent"),children:[(0,mt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,mt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,mt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,mt.jsxs)("a",{onClick:()=>s("flow"),className:m("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="flow"?"text-accent":"hover:text-accent"),children:[(0,mt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,mt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,mt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={Publish});
4
+ "use strict";"use client";var Ot=Object.create;var Ra=Object.defineProperty;var Wt=Object.getOwnPropertyDescriptor;var qt=Object.getOwnPropertyNames;var Vt=Object.getPrototypeOf,$t=Object.prototype.hasOwnProperty;var Yt=(t,a)=>{for(var o in a)Ra(t,o,{get:a[o],enumerable:!0})},Za=(t,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of qt(a))!$t.call(t,n)&&n!==o&&Ra(t,n,{get:()=>a[n],enumerable:!(s=Wt(a,n))||s.enumerable});return t};var q=(t,a,o)=>(o=t!=null?Ot(Vt(t)):{},Za(a||!t||!t.__esModule?Ra(o,"default",{value:t,enumerable:!0}):o,t)),Qt=t=>Za(Ra({},"__esModule",{value:!0}),t);var Ho={};Yt(Ho,{Publish:()=>Lo});module.exports=Qt(Ho);var Ut=require("react");var it=require("clsx");var Ua="-",Xt=t=>{let a=_t(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:r=>{let d=r.split(Ua);return d[0]===""&&d.length!==1&&d.shift(),ot(d,a)||Jt(r)},getConflictingClassGroupIds:(r,d)=>{let i=o[r]||[];return d&&s[r]?[...i,...s[r]]:i}}},ot=(t,a)=>{var r;if(t.length===0)return a.classGroupId;let o=t[0],s=a.nextPart.get(o),n=s?ot(t.slice(1),s):void 0;if(n)return n;if(a.validators.length===0)return;let e=t.join(Ua);return(r=a.validators.find(({validator:d})=>d(e)))==null?void 0:r.classGroupId},at=/^\[(.+)\]$/,Jt=t=>{if(at.test(t)){let a=at.exec(t)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},_t=t=>{let{theme:a,prefix:o}=t,s={nextPart:new Map,validators:[]};return Zt(Object.entries(t.classGroups),o).forEach(([e,r])=>{Ga(r,s,e,a)}),s},Ga=(t,a,o,s)=>{t.forEach(n=>{if(typeof n=="string"){let e=n===""?a:tt(a,n);e.classGroupId=o;return}if(typeof n=="function"){if(Kt(n)){Ga(n(s),a,o,s);return}a.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([e,r])=>{Ga(r,tt(a,e),o,s)})})},tt=(t,a)=>{let o=t;return a.split(Ua).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},Kt=t=>t.isThemeGetter,Zt=(t,a)=>a?t.map(([o,s])=>{let n=s.map(e=>typeof e=="string"?a+e:typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,d])=>[a+r,d])):e);return[o,n]}):t,ao=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,s=new Map,n=(e,r)=>{o.set(e,r),a++,a>t&&(a=0,s=o,o=new Map)};return{get(e){let r=o.get(e);if(r!==void 0)return r;if((r=s.get(e))!==void 0)return n(e,r),r},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},et="!",to=t=>{let{separator:a,experimentalParseClassName:o}=t,s=a.length===1,n=a[0],e=a.length,r=d=>{let i=[],p=0,c=0,m;for(let b=0;b<d.length;b++){let x=d[b];if(p===0){if(x===n&&(s||d.slice(b,b+e)===a)){i.push(d.slice(c,b)),c=b+e;continue}if(x==="/"){m=b;continue}}x==="["?p++:x==="]"&&p--}let f=i.length===0?d:d.substring(c),k=f.startsWith(et),h=k?f.substring(1):f,u=m&&m>c?m-c:void 0;return{modifiers:i,hasImportantModifier:k,baseClassName:h,maybePostfixModifierPosition:u}};return o?d=>o({className:d,parseClassName:r}):r},oo=t=>{if(t.length<=1)return t;let a=[],o=[];return t.forEach(s=>{s[0]==="["?(a.push(...o.sort(),s),o=[]):o.push(s)}),a.push(...o.sort()),a},eo=t=>({cache:ao(t.cacheSize),parseClassName:to(t),...Xt(t)}),so=/\s+/,ro=(t,a)=>{let{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=a,e=[],r=t.trim().split(so),d="";for(let i=r.length-1;i>=0;i-=1){let p=r[i],{modifiers:c,hasImportantModifier:m,baseClassName:f,maybePostfixModifierPosition:k}=o(p),h=!!k,u=s(h?f.substring(0,k):f);if(!u){if(!h){d=p+(d.length>0?" "+d:d);continue}if(u=s(f),!u){d=p+(d.length>0?" "+d:d);continue}h=!1}let b=oo(c).join(":"),x=m?b+et:b,T=x+u;if(e.includes(T))continue;e.push(T);let L=n(u,h);for(let F=0;F<L.length;++F){let oa=L[F];e.push(x+oa)}d=p+(d.length>0?" "+d:d)}return d};function no(){let t=0,a,o,s="";for(;t<arguments.length;)(a=arguments[t++])&&(o=st(a))&&(s&&(s+=" "),s+=o);return s}var st=t=>{if(typeof t=="string")return t;let a,o="";for(let s=0;s<t.length;s++)t[s]&&(a=st(t[s]))&&(o&&(o+=" "),o+=a);return o};function io(t,...a){let o,s,n,e=r;function r(i){let p=a.reduce((c,m)=>m(c),t());return o=eo(p),s=o.cache.get,n=o.cache.set,e=d,d(i)}function d(i){let p=s(i);if(p)return p;let c=ro(i,o);return n(i,c),c}return function(){return e(no.apply(null,arguments))}}var P=t=>{let a=o=>o[t]||[];return a.isThemeGetter=!0,a},rt=/^\[(?:([a-z-]+):)?(.+)\]$/i,lo=/^\d+\/\d+$/,co=new Set(["px","full","screen"]),mo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,po=/\d+(%|px|r?em|[sdl]?pt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(pt|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=t=>ia(t)||co.has(t)||lo.test(t),_=t=>la(t,"length",Co),ia=t=>!!t&&!Number.isNaN(Number(t)),Ha=t=>la(t,"number",ia),xa=t=>!!t&&Number.isInteger(Number(t)),bo=t=>t.endsWith("%")&&ia(t.slice(0,-1)),y=t=>rt.test(t),K=t=>mo.test(t),go=new Set(["length","size","percentage"]),ho=t=>la(t,go,nt),xo=t=>la(t,"position",nt),vo=new Set(["image","url"]),wo=t=>la(t,vo,Po),ko=t=>la(t,"",No),va=()=>!0,la=(t,a,o)=>{let s=rt.exec(t);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):o(s[2]):!1},Co=t=>po.test(t)&&!uo.test(t),nt=()=>!1,No=t=>yo.test(t),Po=t=>fo.test(t);var Ao=()=>{let t=P("colors"),a=P("spacing"),o=P("blur"),s=P("brightness"),n=P("borderColor"),e=P("borderRadius"),r=P("borderSpacing"),d=P("borderWidth"),i=P("contrast"),p=P("grayscale"),c=P("hueRotate"),m=P("invert"),f=P("gap"),k=P("gradientColorStops"),h=P("gradientColorStopPositions"),u=P("inset"),b=P("margin"),x=P("opacity"),T=P("padding"),L=P("saturate"),F=P("scale"),oa=P("sepia"),ea=P("skew"),D=P("space"),ga=P("translate"),na=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",y,a],C=()=>[y,a],ha=()=>["",$,_],j=()=>["auto",ia,y],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],da=()=>["solid","dashed","dotted","double","none"],Ta=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",y],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[ia,y];return{cacheSize:500,separator:":",theme:{colors:[va],spacing:[$,_],blur:["none","",K,y],brightness:I(),borderColor:[t],borderRadius:["none","","full",K,y],borderSpacing:C(),borderWidth:ha(),contrast:I(),grayscale:W(),hueRotate:I(),invert:W(),gap:C(),gradientColorStops:[t],gradientColorStopPositions:[bo,_],inset:U(),margin:U(),opacity:I(),padding:C(),saturate:I(),scale:I(),sepia:W(),skew:I(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",y]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:[...V(),y]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:na()}],"overscroll-x":[{"overscroll-x":na()}],"overscroll-y":[{"overscroll-y":na()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xa,y]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",y]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",xa,y]}],"grid-cols":[{"grid-cols":[va]}],"col-start-end":[{col:["auto",{span:["full",xa,y]},y]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[va]}],"row-start-end":[{row:["auto",{span:[xa,y]},y]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",y]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],pt:[{pt:["auto","min","max","fit","svw","lvw","dvw",y,a]}],"min-pt":[{"min-pt":[y,a,"min","max","fit"]}],"max-pt":[{"max-pt":[y,a,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[y,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[y,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[y,a,"auto","min","max","fit"]}],"font-size":[{text:["base",K,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ha]}],"font-family":[{font:[va]}],"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",y]}],"line-clamp":[{"line-clamp":["none",ia,Ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,y]}],"list-image":[{"list-image":["none",y]}],"list-style-type":[{list:["none","disc","decimal",y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...da(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,_]}],"underline-offset":[{"underline-offset":["auto",$,y]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",y]}],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",y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),xo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ho]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wo]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[e]}],"rounded-s":[{"rounded-s":[e]}],"rounded-e":[{"rounded-e":[e]}],"rounded-t":[{"rounded-t":[e]}],"rounded-r":[{"rounded-r":[e]}],"rounded-b":[{"rounded-b":[e]}],"rounded-l":[{"rounded-l":[e]}],"rounded-ss":[{"rounded-ss":[e]}],"rounded-se":[{"rounded-se":[e]}],"rounded-ee":[{"rounded-ee":[e]}],"rounded-es":[{"rounded-es":[e]}],"rounded-tl":[{"rounded-tl":[e]}],"rounded-tr":[{"rounded-tr":[e]}],"rounded-br":[{"rounded-br":[e]}],"rounded-bl":[{"rounded-bl":[e]}],"border-pt":[{border:[d]}],"border-pt-x":[{"border-x":[d]}],"border-pt-y":[{"border-y":[d]}],"border-pt-s":[{"border-s":[d]}],"border-pt-e":[{"border-e":[d]}],"border-pt-t":[{"border-t":[d]}],"border-pt-r":[{"border-r":[d]}],"border-pt-b":[{"border-b":[d]}],"border-pt-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...da(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:da()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...da()]}],"outline-offset":[{"outline-offset":[$,y]}],"outline-pt":[{outline:[$,_]}],"outline-color":[{outline:[t]}],"ring-pt":[{ring:ha()}],"ring-pt-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-pt":[{"ring-offset":[$,_]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",K,ko]}],"shadow-color":[{shadow:[va]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ta(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ta()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",K,y]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[m]}],saturate:[{saturate:[L]}],sepia:[{sepia:[oa]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[oa]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",y]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",y]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[xa,y]}],"translate-x":[{"translate-x":[ga]}],"translate-y":[{"translate-y":[ga]}],"skew-x":[{"skew-x":[ea]}],"skew-y":[{"skew-y":[ea]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",y]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","pt-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",y]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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-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","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",y]}],fill:[{fill:[t,"none"]}],"stroke-pt":[{stroke:[$,_,Ha]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["pt","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-pt":["border-pt-s","border-pt-e","border-pt-t","border-pt-r","border-pt-b","border-pt-l"],"border-pt-x":["border-pt-r","border-pt-l"],"border-pt-y":["border-pt-t","border-pt-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var dt=io(Ao);function l(...t){return dt((0,it.clsx)(t))}function wa(t){let a=0,o=(e,r)=>`${e.toLowerCase().replace(/\s+/pt,"-").replace(/[^\pt-]/pt,"")}-${r}`,s=t.layout.flatMap(e=>{let r=[];return"title"in e&&e.title&&r.push({text:e.title,id:o(e.title,a++),tag:"h2"}),"columns"in e&&Array.isArray(e.columns)&&e.columns.forEach(d=>{var i,p,c,m,f;if(d.title&&r.push({text:d.title,id:o(d.title,a++),tag:"h2"}),(p=(i=d.richText)==null?void 0:i.root)!=null&&p.children&&((m=(c=d.richText)==null?void 0:c.root)==null?void 0:m.children.length)===1){let k=d.richText.root.children.filter(h=>h!==void 0&&h.type==="heading");for(let h of k)h.children[0]&&r.push({text:(f=h.children[0].text)!=null?f:"",id:o(h.children[0].text,a++),tag:h.tag||"h2"})}}),r}),n=Bo(t.layout);return{tableOfContents:s,contentWithIds:n}}function Bo(t){let a=(s,n)=>`${s.toLowerCase().replace(/\s+/pt,"-").replace(/[^\pt-]/pt,"")}-${n}`,o=0;return t.map(s=>(s.title&&(s.id=a(s.title,o++)),s.columns&&(s.columns=s.columns.map(n=>(n.title&&(n.id=a(n.title,o++)),n.richText&&(n.richText.root.children=n.richText.root.children.filter(e=>e!==void 0).filter(e=>e.children!==void 0&&e.children.length>0).map(e=>(e.type==="heading"&&e.children[0].text&&(e.id=a(e.children[0].text,o++)),e))),n))),s))}var lt=require("@radix-ui/react-slot"),ct=require("class-variance-authority"),mt=q(require("react")),pt=require("react/jsx-runtime"),To=(0,ct.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 pt-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),ka=mt.forwardRef(({asChild:t=!1,className:a,size:o,variant:s,...n},e)=>(0,pt.jsx)(t?lt.Slot:"button",{className:l(To({className:a,size:o,variant:s})),ref:e,...n}));ka.displayName="Button";var ut=({className:t,content:a,style:o})=>(0,pt.jsx)("div",{className:l("mx-auto my-8 pt-full",t),children:(0,pt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,pt.jsx)(M,{content:a,enableGutter:!1,enableProse:!1})})});var ja=q(require("next/link")),sa=t=>{let{type:a,appearance:o="inline",children:s,className:n,label:e,newTab:r,reference:d,size:i,url:p}=t,c=a==="reference"&&typeof(d==null?void 0:d.value)=="object"&&d.value.slug?`${(d==null?void 0:d.relationTo)!=="pages"?`/${d==null?void 0:d.relationTo}`:""}/${d.value.slug}`:p;if(!c)return null;let m=o==="link"?"clear":i,f=r?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,pt.jsxs)(ja.default,{className:l(n),href:c||p||"",...f,children:[e&&e,s&&s]}):(0,pt.jsx)(ka,{asChild:!0,className:n,size:m,variant:o,children:(0,pt.jsxs)(ja.default,{className:l(n),href:c||p||"",...f,children:[e&&e,s&&s]})})};var ca=({links:t,richText:a})=>(0,pt.jsx)("div",{className:"container",children:(0,pt.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,pt.jsx)("div",{className:"max-pt-[48rem] flex items-center",children:a&&(0,pt.jsx)(M,{className:"mb-0",content:a,enableGutter:!1})}),(0,pt.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:o},s)=>(0,pt.jsx)(sa,{size:"lg",...o},s))})]})});var Sa=require("prism-react-renderer");var yt=require("lucide-react");function bt({code:t}){let[a,o]=(0,Ut.useState)("Copy");function s(){a==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,pt.jsx)("div",{className:"flex justify-end align-middle",children:(0,pt.jsxs)(ka,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),s()},children:[(0,pt.jsx)("p",{children:a}),(0,pt.jsx)("div",{className:"pt-6 h-6 dark:invert",children:(0,pt.jsx)(yt.ClipboardCopy,{})})]})})}var gt=({code:t,language:a=""})=>t?(0,pt.jsx)(Sa.Highlight,{code:t,language:a,theme:Sa.themes.vsDark,children:({getLineProps:o,getTokenProps:s,tokens:n})=>(0,pt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((e,r)=>(0,pt.jsxs)("div",{...o({className:"table-row",line:e}),children:[(0,pt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:r+1}),(0,pt.jsx)("span",{className:"table-cell pl-4",children:e.map((d,i)=>(0,pt.jsx)("span",{...s({token:d})},i))})]},r)),(0,pt.jsx)(bt,{code:t})]})}):null;var ht=({className:t,code:a,language:o})=>(0,pt.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,pt.jsx)(gt,{code:a,language:o})});var vt=q(require("next/image")),Ro={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},xt="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=",wt=t=>{let{alt:a,fill:o,imgClassName:s,priority:n,resource:e,size:r,src:d,loading:i}=t,p,c,m=a,f=d||"";if(!f&&e&&typeof e=="object"){let{alt:u,filename:b,height:x,url:T,width:L}=e;if(x&&x>500){let F=500/x;p=L*F,c=x*F}else p=L,c=x;m=u||"",f=T||xt}let k=i||"lazy",h=r||Object.entries(Ro).map(([,u])=>`(max-width: ${u}px) ${u*2}pt`).join(", ");return(0,pt.jsx)("picture",{children:(0,pt.jsx)(vt.default,{alt:m||"",className:l(s),fill:o,height:o?void 0:c,placeholder:"blur",blurDataURL:xt,priority:k!=="lazy"&&n,quality:100,loading:k,sizes:h,src:f,width:o?void 0:p})})};var kt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ct=()=>{if(kt){let t=window.location.protocol,a=window.location.hostname,o=window.location.port;return`${t}//${a}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Nt=t=>{let{onClick:a,resource:o,videoClassName:s}=t,n=(0,Ut.useRef)(null);if((0,Ut.useEffect)(()=>{let{current:e}=n;e&&e.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:e}=o;return(0,pt.jsx)("video",{autoPlay:!0,className:l(s),controls:!1,loop:!0,muted:!0,onClick:a,playsInline:!0,ref:n,children:(0,pt.jsx)("source",{src:`${Ct()}/media/${e}`})})}return null};var Ea=t=>{var r;let{className:a,htmlElement:o="div",resource:s}=t,n=typeof s=="object"&&((r=s==null?void 0:s.mimeType)==null?void 0:r.includes("video"));return(0,pt.jsx)(o||Ut.Fragment,{...o!==null?{className:a}:{},children:n?(0,pt.jsx)(Nt,{...t}):(0,pt.jsx)(wt,{...t})})};var aa=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:n,staticImage:e}=t;return(0,pt.jsx)("div",{className:l("h-full ",{container:o},a),children:(0,pt.jsx)(Ea,{imgClassName:l("rounded-[0.8rem]",s),className:"flex justify-center",resource:n,src:e})})};var At=t=>{let{className:a,enableGutter:o=!0,imgClassName:s,media:n,staticImage:e}=t;return(0,$a.jsx)("div",{className:l("",{container:o},a),children:(0,$a.jsx)(Ea,{imgClassName:l("rounded-[0.8rem]",s),resource:n,src:e})})};var ma=({title:t,description:a,features:o,id:s,nested:n=!1})=>(0,pt.jsxs)("section",{className:l(!n&&"container","pt-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,pt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:t}),a&&typeof a=="string"&&(0,pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:a}),a&&typeof a=="object"&&(0,pt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,pt.jsx)(M,{content:a,enableGutter:!1})}),(0,pt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((e,r)=>{var i;let d=()=>{if(e.icon&&"type"in e.icon&&e.icon.type!=="none")return{type:e.icon.type,icon:e.icon.icon}};return(0,pt.jsx)(Ya,{title:e.title||"",content:e.content||void 0,statistic:e.statistic||void 0,settings:{...e.settings,width:"auto",order:r},link:e.link?{...e.link,label:"Learn more"}:void 0,icon:(i=d())!=null?i:{type:"none",icon:null}},r)})})]});var Fa=q(require("react"));function Na({nodes:t}){return(0,pt.jsx)(Fa.Fragment,{children:t==null?void 0:t.map((a,o)=>{if(a==null)return null;if(a.type==="text"&&a.text){let e=(0,pt.jsx)(Fa.default.Fragment,{children:a.text},o);return a.format&1&&(e=(0,pt.jsx)("strong",{children:e},o)),a.format&2&&(e=(0,pt.jsx)("em",{children:e},o)),a.format&4&&(e=(0,pt.jsx)("span",{style:{textDecoration:"line-through"},children:e},o)),a.format&8&&(e=(0,pt.jsx)("span",{style:{textDecoration:"underline"},children:e},o)),a.format&16&&(e=(0,pt.jsx)("code",{children:a.text},o)),a.format&32&&(e=(0,pt.jsx)("sub",{children:e},o)),a.format&64&&(e=(0,pt.jsx)("sup",{children:e},o)),e}if(a.type==="table")return(0,pt.jsx)("table",{children:(0,pt.jsx)("tbody",{children:a.children.map((e,r)=>(0,pt.jsx)("tr",{children:e.children.map((d,i)=>(0,pt.jsx)("td",{children:Na({nodes:d.children})},i))},r))})},o);let s=e=>{if(e.children==null)return null;if((e==null?void 0:e.type)==="list"&&(e==null?void 0:e.listType)==="check")for(let r of e.children)"checked"in r&&(r!=null&&r.checked||(r.checked=!1));return Na({nodes:e.children})},n="children"in a?s(a):"";if(a.type==="block"){let e=a.fields,r=e==null?void 0:e.blockType;if(!e||!r)return null;switch(r){case"cta":return(0,pt.jsx)(ca,{...e},o);case"mediaBlock":return(0,pt.jsx)(aa,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,pt.jsx)(At,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-pt-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,pt.jsx)(ut,{className:"col-start-2 mb-4",...e},o);case"code":return(0,pt.jsx)(ht,{className:"col-start-2",...e},o);case"features":return(0,pt.jsx)(ma,{...e,nested:!0},o);case"reusableContentBlock":Na({nodes:e.reusableContent.layout});default:return null}}else switch(a.type){case"linebreak":return(0,pt.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,pt.jsx)("p",{className:"col-start-2",children:n},o);case"heading":{let e=a==null?void 0:a.tag;return(0,pt.jsx)(e,{className:"col-start-2",id:(a==null?void 0:a.id)||"",children:n},o)}case"list":{let e=a==null?void 0:a.tag;return(0,pt.jsx)(e,{className:"list col-start-2",children:n},o)}case"listitem":return(a==null?void 0:a.checked)!=null?(0,pt.jsx)("li",{"aria-checked":a.checked?"true":"false",className:` ${a.checked,""}`,role:"checkbox",tabIndex:-1,value:a==null?void 0:a.value,children:n},o):(0,pt.jsx)("li",{value:a==null?void 0:a.value,children:n},o);case"quote":return(0,pt.jsx)("blockquote",{className:"col-start-2",children:n},o);case"link":{let e=a.fields;return(0,pt.jsx)(sa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:n},o)}case"autolink":{let e=a.fields;return(0,pt.jsx)(sa,{newTab:!!(e!=null&&e.newTab),reference:e.doc,type:e.linkType==="internal"?"reference":"custom",url:e.url,children:n},o)}default:return null}})})}var M=({className:t,content:a,enableGutter:o=!0,enableProse:s=!0})=>{var n;return a?(0,pt.jsx)("div",{className:l({"container ":o,"max-pt-none":!o,"mx-auto prose dark:prose-invert ":s},t),children:a&&!Array.isArray(a)&&typeof a=="object"&&"root"in a&&Na({nodes:(n=a==null?void 0:a.root)==null?void 0:n.children})}):null};var Qa=({type:t="solid",iconName:a="cloud",size:o="lg",className:s})=>{let n=t.includes("Ut-")?t+" ":"Ut-"+t+" ",e="Ut-"+a,r=s!=null?s:"",d=n+e+" Ut-"+o+" "+r;return(0,pt.jsx)("i",{className:d})};var It=q(require("next/image"));function Rt(t){return t&&typeof t=="object"&&"type"in t&&"iconName"in t}function Ya({image:t,icon:a,title:o,subtitle:s,content:n,statistic:e,settings:r,link:d,className:i}){var m,f;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},c={"1/4":"pt-1/4","1/3":"pt-1/3","1/2":"pt-1/2",full:"pt-full",auto:"pt-full"};return(0,pt.jsxs)("div",{className:l("min-pt-56 max-pt-xl h-full flex flex-col group",t?"p-0 md:p-0":"p-8 md:p-8",r&&!t&&p[(r==null?void 0:r.card)==="default"?"solid":r==null?void 0:r.card],t&&"bg-foreground",r&&(r==null?void 0:r.card)==="outline"?"text-gray-900":"text-white",c[(m=r==null?void 0:r.width)!=null?m:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",r&&`intersect:animate-delay-${r.order||1}00`,i),children:[t&&(0,pt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 pt-full mb-0",children:(0,pt.jsx)(It.default,{src:t.url||"/placeholder.svg",alt:t.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,pt.jsxs)("div",{className:l(t?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[s&&(0,pt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:s}),(0,pt.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,pt.jsx)(Io,{icon:{type:(a==null?void 0:a.type)||"Ut-light",iconName:(a==null?void 0:a.icon)||"no-icon-error"},heading:o!=null?o:"",variant:(r==null?void 0:r.card)==="default"?"solid":(f=r==null?void 0:r.card)!=null?f:"solid",iconSize:(r==null?void 0:r.iconSize)||"large"})}),e&&(0,pt.jsx)("div",{className:"mb-6",children:(0,pt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(r==null?void 0:r.card)==="outline"||(r==null?void 0:r.card)==="light"?"text-brand-green":"text-white"),children:e})}),n&&typeof n=="object"&&(0,pt.jsx)(M,{enableGutter:!1,content:n,enableProse:!1,className:l("space-y-6",(r==null?void 0:r.card)==="outline"||(r==null?void 0:r.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",t&&"prose prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,pt.jsx)("div",{className:l("space-y-6",(r==null?void 0:r.card)==="outline"||(r==null?void 0:r.card)==="light"?"prose text-foreground":"prose text-gray-100",t&&"prose text-background"),children:n}),d&&d.url&&(0,pt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,pt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:d.url||"#",children:(d==null?void 0:d.label)||"Find out more"})}),(r==null?void 0:r.card)==="radial"&&(0,pt.jsx)("div",{className:"absolute bottom-0 right-0 pt-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var Io=({icon:t,heading:a,variant:o,iconSize:s,subtitle:n})=>t&&s==="small"&&t.iconName!="no-icon-error"?(0,pt.jsxs)("div",{className:"flex items-start justify-between pt-full mb-2",children:[(0,pt.jsx)("div",{className:l("font-semibold",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:a}),Rt(t)&&(0,pt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:(0,pt.jsx)(Qa,{type:t.type,iconName:t.iconName,size:"2x"})})]}):t&&t.iconName!="no-icon-error"?(0,pt.jsxs)("div",{className:"flex flex-col gap-4",children:[Rt(t)&&(0,pt.jsx)("div",{className:l("h-12 pt-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,pt.jsx)(Qa,{type:t.type,iconName:t.iconName,size:"4x"})}),(0,pt.jsx)("h3",{className:l("font-normal",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})]}):(0,pt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,pt.jsx)("div",{className:l("font-regular",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:a})});var La=t=>{var d;let{columns:a,theme:o}=t,s={full:"12",half:"6",oneThird:"4",twoThirds:"8"},n={none:"",line:"border border-primary p-4 rounded-lg"},e=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let p of i.root.children)if(e(p))return!0}if(i.children){for(let p of i.children)if(e(p))return!0}return!1},r=(i,p,c)=>{if(p==="none"||c==="full")return{processedRichText:i,heading:null};let m=i,f=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(m={...i,root:{...i.root,children:i.root.children.slice(1)}},f=i.root.children[0]),{processedRichText:m,heading:f}};return(0,pt.jsx)("div",{className:"container my-6",children:(0,pt.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",(d=o==null?void 0:o.settings)!=null&&d.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((i,p)=>{var b,x;let{enableLink:c,link:m,richText:f,size:k}=i,{processedRichText:h,heading:u}=r(f,((b=o==null?void 0:o.settings)==null?void 0:b.box)||"none",k||"full");return(0,pt.jsxs)("div",{className:l(`col-span-4 lg:col-span-${s[k]}`,{"md:col-span-2":k!=="full"},n[k!=="full"&&!e(f)&&((x=o==null?void 0:o.settings)==null?void 0:x.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${p+1}00`),children:[u&&(0,pt.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:u.children[0].text}),h&&(0,pt.jsx)(M,{content:h,enableGutter:!1,className:"rich-text"}),c&&(0,pt.jsx)(sa,{...m})]},p)})})})};var Dt=q(require("next/image"));var zt=t=>{let{customId:a,reusableContent:o}=t;return typeof o=="object"&&o!==null?(0,pt.jsx)(So,{blocks:o.layout}):(0,pt.jsx)(pt.Fragment,{})},St={content:La,cta:ca,mediaBlock:aa,imageBlock:aa,features:ma},So=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,pt.jsx)(pt.Fragment,{children:a.map((s,n)=>{var d,i;let{blockType:e}=s,r=s==null?void 0:s.theme;if(e&&e in St){let p=St[e];if(p)return(0,pt.jsxs)("div",{className:"py-6 relative",children:[(0,pt.jsx)(Xa,{block:s,index:n}),(0,pt.jsx)("div",{className:l(((d=r==null?void 0:r.settings)==null?void 0:d.theme)==="dark"?"dark":((i=r==null?void 0:r.settings)==null?void 0:i.theme)==="green"?"green":""),children:(0,pt.jsx)(p,{...s})})]},n)}return null})}):null};var Mt=q(require("react")),pa=q(require("@radix-ui/react-collapsible")),Da=require("@radix-ui/react-icons");var Et=({title:t,richText:a})=>{let[o,s]=Mt.default.useState(!1);return(0,pt.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,pt.jsxs)(pa.Root,{className:l("pt-full"),open:o,onOpenChange:s,children:[(0,pt.jsxs)(pa.Trigger,{className:"flex pt-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,pt.jsx)("h2",{className:"text-lg font-medium",children:t}),o?(0,pt.jsx)(Da.ChevronUpIcon,{className:"h-6 pt-6"}):(0,pt.jsx)(Da.ChevronDownIcon,{className:"h-6 pt-6"})]}),(0,pt.jsx)(pa.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,pt.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,pt.jsx)(M,{content:a||{},enableGutter:!1})})})]})})};var Ft={content:La,cta:ca,mediaBlock:aa,collapsibleArea:Et,imageBlock:aa,features:ma,reusableContentBlock:zt},ua=t=>{let{blocks:a}=t;return a&&Array.isArray(a)&&a.length>0?(0,pt.jsx)("section",{id:"render-blocks",className:l(t.fill?"h-full pt-full":""),children:a.map((s,n)=>{var d;console.log("block",s);let{blockType:e}=s,r=s==null?void 0:s.theme;if(e&&e in Ft){let i=Ft[e];if(e==="reusableContentBlock")return(0,pt.jsx)(Ut.Fragment,{children:(0,pt.jsx)(ua,{blocks:s.reusableContent.layout})},n);if(i)return(0,pt.jsxs)("div",{className:l("py-6 relative",t.fill&&"flex h-full items-center justify-center"),children:[(0,pt.jsx)(Xa,{block:s,index:n}),(0,pt.jsx)("div",{className:l("container h-full relative",((d=r==null?void 0:r.settings)==null?void 0:d.theme)||"dark"),children:(0,pt.jsx)(i,{...s})})]},n)}return null})}):null},Xa=t=>{var o,s,n,e,r;if(!("theme"in t.block))return(0,pt.jsx)("div",{className:l("absolute inset-0 pt-screen h-full dark bg-background")});let a=(o=t.block)==null?void 0:o.theme;if(a.settings.background==="image"){let d={imagePosition:a.settings.imagePosition||"left",overlay:a.settings.overlay!==void 0?a.settings.overlay:!0};return(0,pt.jsxs)("div",{className:l("absolute inset-0 pt-full h-full bg-background",a.settings.theme||"dark"),children:[(0,pt.jsx)(Dt.default,{src:((n=(s=a.settings)==null?void 0:s.image)==null?void 0:n.url)||"/placeholder.svg",alt:((r=(e=a.settings)==null?void 0:e.image)==null?void 0:r.alt)||"",fill:!0,className:"object-cover",priority:!0}),a.settings.overlay&&(0,pt.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,pt.jsx)("div",{className:l("absolute inset-0 pt-screen h-full bg-background",a.settings.theme||"dark")})};var ya=require("framer-motion");var $s=require("pagedjs");var Ja=q(require("next/image")),Ht=({logoImage:t})=>(0,pt.jsxs)("footer",{className:`absolute bottom-0 left-0 pt-full py-2 px-8 flex justify-between items-center transition-colors duration-300
5
+ dark bg-background text-primary`,children:[(0,pt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[t&&(0,pt.jsx)("img",{src:t.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,pt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,pt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),Pa=({title:t})=>(0,pt.jsx)("header",{className:"absolute top-0 left-0 pt-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:(0,pt.jsx)("div",{className:"container",children:(0,pt.jsx)("span",{className:"container text-4xl px-6",children:t})})}),Aa=t=>{var n,e;let{title:a,hero:o,logoImage:s}=t;return(0,pt.jsxs)("div",{className:"relative pt-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[(0,pt.jsx)("div",{className:"absolute inset-0",children:(0,pt.jsx)(Ja.default,{src:o.media&&o.media.url?o.media.url:"/hero.png",alt:"Background",width:o.media&&o.media.width&&(n=o.media.width)!=null?n:1920,height:o.media&&o.media.height&&(e=o.media.height)!=null?e:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),(0,pt.jsx)("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&(0,pt.jsx)("div",{className:"h-24",children:(0,pt.jsx)(Ja.default,{src:s.src,alt:"Company logo",className:"h-full pt-full object-contain",width:192,height:96})})}),(0,pt.jsx)("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),(0,pt.jsxs)("div",{className:"relative pl-24 z-10 max-pt-3xl",children:[(0,pt.jsx)("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:a}),o.richText&&(0,pt.jsx)(M,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};var _a=t=>{let[a,o]=(0,Ut.useState)(0),{blocks:s,hero:n,logoImage:e}=t,r=s&&Array.isArray(s)&&s.length>0,i=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...s],p=u=>{o(u)},c=()=>{o(u=>(u+1)%i.length)},m=()=>{o(u=>(u-1+i.length)%i.length)},k=(0,Ut.useCallback)(((u,b)=>{let x;return(...T)=>{clearTimeout(x),x=setTimeout(()=>u(...T),b)}})(u=>{u.deltaY>0?c():m()},300),[]),h=u=>{u.key==="ArrowDown"?c():u.key==="ArrowUp"&&m()};return(0,Ut.useEffect)(()=>(window.addEventListener("wheel",k),window.addEventListener("keydown",h),()=>{window.removeEventListener("wheel",k),window.removeEventListener("keydown",h)}),[]),(0,pt.jsxs)("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[(0,pt.jsx)("div",{className:"fixed left-0 top-0 flex h-screen pt-9 z-10 flex-col items-center justify-center bg-gray-900",children:r&&i.map((u,b)=>(0,pt.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 pt-4 rounded-full transition-all hover:bg-accent duration-300 ${a===b?"bg-accent":"bg-gray-600"}`,onClick:()=>p(b),children:(0,pt.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:u.blockName})},u.id))}),(0,pt.jsx)(ya.AnimatePresence,{children:i.map((u,b)=>(0,pt.jsx)("div",{id:`slide-${b}`,className:"print-section",children:(0,pt.jsx)("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
6
+ ${b===a?"opacity-100":"opacity-0"}
7
+ pt-full h-full bg-cover bg-center`,children:b===0?(0,pt.jsx)(Aa,{hero:n,title:t.title,logoImage:e}):(0,pt.jsxs)(pt.Fragment,{children:[u.blockName&&(0,pt.jsx)(Pa,{title:u.blockName}),(0,pt.jsx)(ua,{blocks:[u],fill:!0}),(0,pt.jsx)(Ht,{logoImage:e})]})})},b))}),(0,pt.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:c,children:(0,pt.jsx)(zo,{})})]})},zo=()=>(0,pt.jsx)(ya.AnimatePresence,{children:(0,pt.jsx)(ya.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("pt-fit min-h-[50px] min-pt-[20px] p-1 border-2 rounded-full","border-accent"),children:(0,pt.jsx)(ya.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("pt-[12px] h-[12px] rounded-full","bg-accent")})})});function Mo(t){var a=document.createElement("div");a.style.display="block",a.style.height=t,document.body.appendChild(a);var o=parseFloat(window.getComputedStyle(a,null).height);return a.parentNode&&a.parentNode.removeChild(a),Math.floor(o)}var ba=t=>{let a=document.createElement("div");a.style.height="1mm",document.body.appendChild(a);let o=parseFloat(window.getComputedStyle(a).height);return document.body.removeChild(a),Math.floor(t/o)},Gt=({page:t,layout:a="portrait",logoImage:o})=>a==="flow"?(0,pt.jsx)(Eo,{page:t,layout:a,logoImage:o}):(0,pt.jsx)(Fo,{page:t,layout:a,logoImage:o}),Eo=({page:t,layout:a="portrait",logoImage:o})=>{let{contentWithIds:s}=wa(t),n=(0,Ut.useRef)(null),e=(0,Ut.useRef)(null),r=(0,Ut.useRef)(new $s.Previewer),d={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};(0,Ut.useEffect)(()=>{let c=document.getElementById("printable-content");if(c){let m=document.createElement("style");return m.textContent=`@page { size: ${ba(c.offsetWidth)}mm ${ba(c.offsetHeight)}mm ; margin: 0mm; width: ${ba(c.offsetWidth)}mm }; .container : { max-width: ${ba(c.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(m),()=>{document.head.removeChild(m)}}},[a]);let i=(0,Ut.useCallback)(()=>{if(!e.current)return;e.current&&(e.current.innerHTML="");let c=document.getElementById("printable-content");c&&r.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${ba(c.offsetWidth)}mm ${ba(c.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],e.current).catch(m=>console.error("Paged.js error:",m))},[a]);(0,Ut.useEffect)(()=>{r.current=new $s.Previewer},[i,a]);let p=[d,...s];return(0,pt.jsxs)("div",{children:[(0,pt.jsx)("div",{className:"pt-[1123px] print:pt-[1123px]",children:(0,pt.jsxs)("div",{id:"printable-content",ref:n,children:[p.map((c,m)=>(0,pt.jsx)(pt.Fragment,{children:m===0?(0,pt.jsx)("section",{className:"title-page pt-full h-full",children:(0,pt.jsx)(Aa,{hero:t.hero,title:t.title})},m):(0,pt.jsxs)("section",{className:"normal-page overflow-hidden",children:[c.blockName&&(0,pt.jsx)(Pa,{title:c.blockName}),(0,pt.jsx)(ua,{blocks:[c],fill:!0})]},m)})),(0,pt.jsx)("section",{className:"normal-page",children:(0,pt.jsxs)("div",{className:`pt-full py-2 px-8 flex justify-between items-center
8
+ dark bg-background text-primary`,children:[(0,pt.jsxs)("div",{className:"flex px-6 items-center space-x-2",children:[o&&(0,pt.jsx)("img",{src:o.src,alt:"Cortex Reply Logo",className:"h-8"}),(0,pt.jsx)("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),(0,pt.jsx)("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),(0,pt.jsx)("div",{ref:e,className:"preview-container"})]})},Fo=({page:t,layout:a="portrait"})=>{let{contentWithIds:o}=wa(t),s=(0,Ut.useRef)(null),n=(0,Ut.useRef)(null),e=(0,Ut.useRef)(new $s.Previewer),[r,d]=(0,Ut.useState)(0),p=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],c=(0,Ut.useCallback)(()=>{s.current&&(s.current&&(s.current.innerHTML=""),e.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",a==="landscape"?"./landscape.css":"./portrait.css"],s.current).then(m=>d(m.pageCount)).catch(m=>console.error("Paged.js error:",m)))},[a]);return(0,Ut.useEffect)(()=>{e.current=new $s.Previewer,c()},[c,a]),(0,Ut.useEffect)(()=>{let m=document.createElement("style");return m.textContent=`@page { size: A4 ${a} ; margin: 0mm; };`,document.head.appendChild(m),()=>{document.head.removeChild(m)}},[]),(0,pt.jsxs)("div",{className:"pagedjs-container",children:[(0,pt.jsx)("div",{id:"printable-content",ref:n,style:{display:"none"},className:"pagedjs-content",children:p.map((m,f)=>{var k,h;return(0,pt.jsx)(pt.Fragment,{children:f===0?(0,pt.jsx)("section",{className:"pagedjs-section title-page pt-full h-full",children:(0,pt.jsx)(Aa,{hero:t.hero,title:t.title})},f):(0,pt.jsxs)("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${Mo("185mm")}px]`,((h=(k=m.theme)==null?void 0:k.settings)==null?void 0:h.theme)==="dark"?"dark":"light"),children:[m.blockName&&(0,pt.jsx)(Pa,{title:m.blockName}),(0,pt.jsx)(ua,{blocks:[m],fill:!0})]},f)})})}),(0,pt.jsx)("div",{ref:s,className:"preview-container"})]})};var jt=q(require("html2canvas")),Ka=require("jspdf");function Lo({type:t="slideshow",orientation:a="landscape",...o}){let s=o.page,[n,e]=(0,Ut.useState)(a),{contentWithIds:r,tableOfContents:d}=wa(s);if(t==="slideshow")return(0,pt.jsx)("div",{className:"flex fixed flex-col pt-screen h-screen max-h-screen overflow-auto overscroll-contain",children:(0,pt.jsx)(_a,{blocks:r,hero:o.hero,title:o.page.title,logoImage:o.logoImage})});if(t==="print")return(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(Do,{layout:n,changeLayout:e}),(0,pt.jsx)(Gt,{page:o.page,layout:n,logoImage:o.logoImage})]})}var Do=({changeLayout:t,layout:a="landscape"})=>{let o=async()=>{var r;if(a==="flow"){let d=(r=document.getElementById("printable-content"))==null?void 0:r.innerHTML;if(d){var e=window.document.body.innerHTML;window.document.body.innerHTML=d,window.print(),window.document.body.innerHTML=e}}else await new Promise(d=>setTimeout(d,300)),window.print()},s=e=>{t&&t(e)},n=async e=>{let r=document.getElementById(e);if(!r)throw new Error(`Element with id ${e} not found`);let d=document.createElement("canvas"),i=window.devicePixelRatio;d.width=Math.max(r.clientWidth||0)*i,d.height=Math.max(r.clientHeight||0)*i+100;let p=d.getContext("2d");if(!p)throw new Error("Failed to get 2D context");let c=p.drawImage,m=Array.from(r.getElementsByTagName("img")).reduce((ea,D)=>(ea[D.src]=D,ea),{});p.drawImage=function(...ea){let[D,ga,na,G,U,C,ha,j,V]=ea;if(D instanceof HTMLImageElement){let da=m[D.src].style.objectFit||"fill",Ta=m[D.src].style.objectPosition||"center center";U=D.height,G=D.width;let X=G/U,W=j/V,[J,I]=Ta.split(" ");switch(I||(I=J),da){case"cover":if(X>W){let S=U*W,z=(G-S)/2;J==="left"&&(z=0),J==="right"&&(z=G-S),ga+=z,G=S}else{let S=G/W,z=(U-S)/2;I==="top"&&(z=0),I==="bottom"&&(z=U-S),na+=z,U=S}break;case"contain":if(X>W){let S=j/X,z=(V-S)/2;I==="top"&&(z=0),I==="bottom"&&(z=V-S),ha+=z,V=S}else{let S=V*X,z=(j-S)/2;J==="left"&&(z=0),J==="right"&&(z=j-S),C+=z,j=S}break;case"fill":break}}return c.call(p,D,ga,na,G,U,C,ha,j,V)};let f=document.getElementById(e);if(!f)throw new Error(`Element with id ${e} not found`);var k=d.width,h=d.height;let b=(await(0,jt.default)(f,{canvas:d,windowHeight:h,windowWidth:k,scale:window.devicePixelRatio})).toDataURL("image/png"),T=new Ka.jsPDF({}).getImageProperties(b),L=297,F=L*(T.height/T.width),oa=new Ka.jsPDF({unit:"mm",format:[L,F]});oa.addImage(b,"PNG",0,0,L,F),oa.save("print.pdf")};return(0,pt.jsx)("div",{className:l("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:(0,pt.jsx)("div",{className:"flex flex-row-reverse z-20 min-pt-70 gap-4",children:(0,pt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-pt-[54px] flex-col rounded-lg border",children:[(0,pt.jsxs)("a",{onClick:o,className:"flex aspect-square min-h-[25px] pt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,pt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,pt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,pt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]}),(0,pt.jsx)("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),(0,pt.jsxs)("a",{onClick:()=>s("portrait"),className:l("flex aspect-square min-h-[25px] pt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="portrait"?"text-accent":"hover:text-accent"),children:[(0,pt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,pt.jsx)("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),(0,pt.jsx)("small",{className:"text-xs",children:"Portrait"})]}),(0,pt.jsxs)("a",{onClick:()=>s("landscape"),className:l("flex aspect-square min-h-[25px] pt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="landscape"?"text-accent":"hover:text-accent"),children:[(0,pt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,pt.jsx)("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),(0,pt.jsx)("small",{className:"text-xs",children:"Landscape"})]}),(0,pt.jsxs)("a",{onClick:()=>s("flow"),className:l("flex aspect-square min-h-[25px] pt-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",a==="flow"?"text-accent":"hover:text-accent"),children:[(0,pt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,pt.jsx)("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),(0,pt.jsx)("small",{className:"text-xs",children:"Continuous"})]})]})})})};0&&(module.exports={Publish});
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../chunk-MIWMERSR.mjs";import"../chunk-IJT4XHN7.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-S3GITHJW.mjs";import"../chunk-EML6AVUM.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-7XB4Y3U2.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-GYUMEOL2.mjs";import"../chunk-3GYJDXNA.mjs";import"../chunk-Z7P4QOKT.mjs";import"../chunk-OUKKI47A.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-EOVMD5QE.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-UUQ4YJSJ.mjs";import"../chunk-OUF4RW7E.mjs";import"../chunk-C2WXWFU6.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-BXIDYE67.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-26K34DNO.mjs";import"../chunk-FYVORNBL.mjs";import"../chunk-OXFWH45D.mjs";import"../chunk-OIIEDD56.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as Publish};
2
+ "use strict";import{a}from"../chunk-QRKTZ7BP.mjs";import"../chunk-EB5N4KMF.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-VJ5BKDBD.mjs";import"../chunk-FKXXS744.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-HER7J6HM.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-CSNKYRV5.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-2SU53XDR.mjs";import"../chunk-4TCLIMFP.mjs";import"../chunk-PIM2JQYT.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-6YWAX7NS.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-RR4ZDHMW.mjs";import"../chunk-S5VKLW23.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-T4H7GMGO.mjs";import"../chunk-Q5ID5CRA.mjs";import"../chunk-NW5BVAKO.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-2GM7CZWD.mjs";import"../chunk-XXTN5HMN.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-R2TZLS6H.mjs";import"../chunk-AWF6XNYF.mjs";import"../chunk-3KLULH4N.mjs";import"../chunk-FP5DGSVT.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-43TBC2ZH.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as Publish};