@purpur/library 9.0.5 → 9.0.7

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 (255) hide show
  1. package/CHANGELOG.json +39 -0
  2. package/CHANGELOG.md +20 -1
  3. package/dist/{RichText-DRacgpis.mjs → RichText-Bi51HE6X.mjs} +3 -3
  4. package/dist/{RichText-DRacgpis.mjs.map → RichText-Bi51HE6X.mjs.map} +1 -1
  5. package/dist/{RichText-DMyGiMN0.js → RichText-DNroJJXv.js} +2 -2
  6. package/dist/{RichText-DMyGiMN0.js.map → RichText-DNroJJXv.js.map} +1 -1
  7. package/dist/{ThemeProvider-CrjMv3M8.mjs → ThemeProvider-BR1hJQOD.mjs} +85 -85
  8. package/dist/{ThemeProvider-CrjMv3M8.mjs.map → ThemeProvider-BR1hJQOD.mjs.map} +1 -1
  9. package/dist/{accordion-DWflnyWa.mjs → accordion-BKTz9DM6.mjs} +18 -18
  10. package/dist/{accordion-DWflnyWa.mjs.map → accordion-BKTz9DM6.mjs.map} +1 -1
  11. package/dist/{accordion-CF2fj2uq.js → accordion-DX8efWOt.js} +2 -2
  12. package/dist/{accordion-CF2fj2uq.js.map → accordion-DX8efWOt.js.map} +1 -1
  13. package/dist/accordion.cjs.js +1 -1
  14. package/dist/accordion.es.js +1 -1
  15. package/dist/{alert-badge-u7qAhYbR.mjs → alert-badge-DR8cigWu.mjs} +3 -3
  16. package/dist/{alert-badge-u7qAhYbR.mjs.map → alert-badge-DR8cigWu.mjs.map} +1 -1
  17. package/dist/alert-badge.es.js +1 -1
  18. package/dist/{autocomplete-yD0-1vlF.js → autocomplete-6qSqK3SI.js} +2 -2
  19. package/dist/{autocomplete-yD0-1vlF.js.map → autocomplete-6qSqK3SI.js.map} +1 -1
  20. package/dist/{autocomplete-0kGG_STe.mjs → autocomplete-B4dZx9zF.mjs} +3 -3
  21. package/dist/{autocomplete-0kGG_STe.mjs.map → autocomplete-B4dZx9zF.mjs.map} +1 -1
  22. package/dist/autocomplete.cjs.js +1 -1
  23. package/dist/autocomplete.es.js +1 -1
  24. package/dist/button-BfYKNBmC.mjs +102 -0
  25. package/dist/button-BfYKNBmC.mjs.map +1 -0
  26. package/dist/button-DDYGuqZ0.js +2 -0
  27. package/dist/button-DDYGuqZ0.js.map +1 -0
  28. package/dist/button.cjs.js +1 -1
  29. package/dist/button.es.js +1 -1
  30. package/dist/{calendar-pMM0fKEu.js → calendar-CxkJMONO.js} +2 -2
  31. package/dist/{calendar-pMM0fKEu.js.map → calendar-CxkJMONO.js.map} +1 -1
  32. package/dist/{calendar-DDie8jSH.mjs → calendar-vALLklKV.mjs} +2 -2
  33. package/dist/{calendar-DDie8jSH.mjs.map → calendar-vALLklKV.mjs.map} +1 -1
  34. package/dist/calendar.cjs.js +1 -1
  35. package/dist/calendar.es.js +1 -1
  36. package/dist/{card-DiMVw06l.mjs → card-CkZQZOz1.mjs} +9 -9
  37. package/dist/{card-DiMVw06l.mjs.map → card-CkZQZOz1.mjs.map} +1 -1
  38. package/dist/{card-B512KHpr.js → card-VMa3cGCP.js} +2 -2
  39. package/dist/{card-B512KHpr.js.map → card-VMa3cGCP.js.map} +1 -1
  40. package/dist/card.cjs.js +1 -1
  41. package/dist/card.es.js +1 -1
  42. package/dist/{checkbox-LYzMiXu7.mjs → checkbox-D6qWgpWR.mjs} +8 -8
  43. package/dist/{checkbox-LYzMiXu7.mjs.map → checkbox-D6qWgpWR.mjs.map} +1 -1
  44. package/dist/checkbox.es.js +1 -1
  45. package/dist/{chip-group-aj1fdnjC.js → chip-group-B775zvKD.js} +2 -2
  46. package/dist/{chip-group-aj1fdnjC.js.map → chip-group-B775zvKD.js.map} +1 -1
  47. package/dist/{chip-group-CJVvfl_J.mjs → chip-group-xuOe7nL3.mjs} +3 -3
  48. package/dist/{chip-group-CJVvfl_J.mjs.map → chip-group-xuOe7nL3.mjs.map} +1 -1
  49. package/dist/chip-group.cjs.js +1 -1
  50. package/dist/chip-group.es.js +1 -1
  51. package/dist/components/button/src/button.d.ts +1 -2
  52. package/dist/components/button/src/button.d.ts.map +1 -1
  53. package/dist/components/date-field/src/date-field.d.ts.map +1 -1
  54. package/dist/components/stepper/src/stepper-button.d.ts.map +1 -1
  55. package/dist/components/table/src/draggable-table.d.ts.map +1 -1
  56. package/dist/components/table/src/table-settings-drawer.d.ts.map +1 -1
  57. package/dist/components/table/src/table-toolbar.d.ts.map +1 -1
  58. package/dist/components/tabs/src/tab-content.d.ts.map +1 -1
  59. package/dist/components/tabs/src/tabs.d.ts.map +1 -1
  60. package/dist/{container-Bw12NgHN.mjs → container-DLjBTB_w.mjs} +3 -3
  61. package/dist/{container-Bw12NgHN.mjs.map → container-DLjBTB_w.mjs.map} +1 -1
  62. package/dist/container.es.js +1 -1
  63. package/dist/{content-block-DUcjAZgG.mjs → content-block-BMOvlH7a.mjs} +6 -6
  64. package/dist/{content-block-DUcjAZgG.mjs.map → content-block-BMOvlH7a.mjs.map} +1 -1
  65. package/dist/{content-block-kzdUWgvH.js → content-block-Cd7xSE8t.js} +2 -2
  66. package/dist/{content-block-kzdUWgvH.js.map → content-block-Cd7xSE8t.js.map} +1 -1
  67. package/dist/content-block.cjs.js +1 -1
  68. package/dist/content-block.es.js +1 -1
  69. package/dist/{countdown-DxAGVUFI.mjs → countdown-DZ4IwkNy.mjs} +12 -12
  70. package/dist/{countdown-DxAGVUFI.mjs.map → countdown-DZ4IwkNy.mjs.map} +1 -1
  71. package/dist/countdown.es.js +1 -1
  72. package/dist/date-field-CORqon6B.js +2 -0
  73. package/dist/{date-field-CPiTZqa0.js.map → date-field-CORqon6B.js.map} +1 -1
  74. package/dist/{date-field-D_6iP2fC.mjs → date-field-CTJB8O0e.mjs} +325 -310
  75. package/dist/{date-field-D_6iP2fC.mjs.map → date-field-CTJB8O0e.mjs.map} +1 -1
  76. package/dist/date-field.cjs.js +1 -1
  77. package/dist/date-field.es.js +1 -1
  78. package/dist/{date-picker-BRnwwZv1.mjs → date-picker-CJcIJ5VL.mjs} +5 -5
  79. package/dist/{date-picker-BRnwwZv1.mjs.map → date-picker-CJcIJ5VL.mjs.map} +1 -1
  80. package/dist/{date-picker-DlJGggam.js → date-picker-Dv3W05Hf.js} +2 -2
  81. package/dist/{date-picker-DlJGggam.js.map → date-picker-Dv3W05Hf.js.map} +1 -1
  82. package/dist/date-picker.cjs.js +1 -1
  83. package/dist/date-picker.es.js +1 -1
  84. package/dist/{dismissable-chip-group-DsO2cZaF.js → dismissable-chip-group-CnziecOt.js} +2 -2
  85. package/dist/{dismissable-chip-group-DsO2cZaF.js.map → dismissable-chip-group-CnziecOt.js.map} +1 -1
  86. package/dist/{dismissable-chip-group-Bl0D18qM.mjs → dismissable-chip-group-ZCYOt1sB.mjs} +2 -2
  87. package/dist/{dismissable-chip-group-Bl0D18qM.mjs.map → dismissable-chip-group-ZCYOt1sB.mjs.map} +1 -1
  88. package/dist/dismissable-chip-group.cjs.js +1 -1
  89. package/dist/dismissable-chip-group.es.js +1 -1
  90. package/dist/{drawer-nBpCtIdI.js → drawer-Ce5LNpU2.js} +2 -2
  91. package/dist/{drawer-nBpCtIdI.js.map → drawer-Ce5LNpU2.js.map} +1 -1
  92. package/dist/{drawer-Boqmgh-i.mjs → drawer-DSFZ61OH.mjs} +14 -14
  93. package/dist/{drawer-Boqmgh-i.mjs.map → drawer-DSFZ61OH.mjs.map} +1 -1
  94. package/dist/drawer.cjs.js +1 -1
  95. package/dist/drawer.es.js +1 -1
  96. package/dist/{floating-ui.react-dom-0ol4sFzt.mjs → floating-ui.react-dom-gsHLgcoR.mjs} +5 -5
  97. package/dist/{floating-ui.react-dom-0ol4sFzt.mjs.map → floating-ui.react-dom-gsHLgcoR.mjs.map} +1 -1
  98. package/dist/{footer-DrjAwjuL.js → footer-BL0ewBZT.js} +2 -2
  99. package/dist/{footer-DrjAwjuL.js.map → footer-BL0ewBZT.js.map} +1 -1
  100. package/dist/{footer-DcWsihxS.mjs → footer-cH07Xqil.mjs} +5 -5
  101. package/dist/{footer-DcWsihxS.mjs.map → footer-cH07Xqil.mjs.map} +1 -1
  102. package/dist/footer.cjs.js +1 -1
  103. package/dist/footer.es.js +1 -1
  104. package/dist/heading-drD5ugCC.js +2 -0
  105. package/dist/{heading-DLCdW6gx.js.map → heading-drD5ugCC.js.map} +1 -1
  106. package/dist/heading-xwBuT_-9.mjs +75 -0
  107. package/dist/{heading-gqtQNo5n.mjs.map → heading-xwBuT_-9.mjs.map} +1 -1
  108. package/dist/heading.cjs.js +1 -1
  109. package/dist/heading.es.js +1 -1
  110. package/dist/{hero-banner-B8fRHxXc.mjs → hero-banner-CkSSlxTW.mjs} +5 -5
  111. package/dist/{hero-banner-B8fRHxXc.mjs.map → hero-banner-CkSSlxTW.mjs.map} +1 -1
  112. package/dist/{hero-banner-D3peC1NR.js → hero-banner-JFaqW20R.js} +2 -2
  113. package/dist/{hero-banner-D3peC1NR.js.map → hero-banner-JFaqW20R.js.map} +1 -1
  114. package/dist/hero-banner.cjs.js +1 -1
  115. package/dist/hero-banner.es.js +1 -1
  116. package/dist/library.cjs.js +1 -1
  117. package/dist/library.es.js +44 -44
  118. package/dist/{listbox-u6__DsLw.mjs → listbox-oDeP8FvH.mjs} +2 -2
  119. package/dist/{listbox-u6__DsLw.mjs.map → listbox-oDeP8FvH.mjs.map} +1 -1
  120. package/dist/listbox.es.js +1 -1
  121. package/dist/{modal-C2UQsW-g.mjs → modal-2ymCXTup.mjs} +19 -19
  122. package/dist/{modal-C2UQsW-g.mjs.map → modal-2ymCXTup.mjs.map} +1 -1
  123. package/dist/{modal-nyhf5zxG.js → modal-CXi2xez5.js} +2 -2
  124. package/dist/{modal-nyhf5zxG.js.map → modal-CXi2xez5.js.map} +1 -1
  125. package/dist/modal.cjs.js +1 -1
  126. package/dist/modal.es.js +1 -1
  127. package/dist/{notification-C32wHljA.mjs → notification-BFSOuDp8.mjs} +22 -22
  128. package/dist/{notification-C32wHljA.mjs.map → notification-BFSOuDp8.mjs.map} +1 -1
  129. package/dist/{notification-Bg1vQkQ3.js → notification-DdnI2rOh.js} +2 -2
  130. package/dist/{notification-Bg1vQkQ3.js.map → notification-DdnI2rOh.js.map} +1 -1
  131. package/dist/{notification-banner-BY2iZOIa.mjs → notification-banner-CQvBezAL.mjs} +3 -3
  132. package/dist/{notification-banner-BY2iZOIa.mjs.map → notification-banner-CQvBezAL.mjs.map} +1 -1
  133. package/dist/{notification-banner-C8XsBDTq.js → notification-banner-CT4ew8IQ.js} +2 -2
  134. package/dist/{notification-banner-C8XsBDTq.js.map → notification-banner-CT4ew8IQ.js.map} +1 -1
  135. package/dist/notification-banner.cjs.js +1 -1
  136. package/dist/notification-banner.es.js +1 -1
  137. package/dist/notification.cjs.js +1 -1
  138. package/dist/notification.es.js +1 -1
  139. package/dist/{pagination-CVVCAQ65.mjs → pagination-BdCjh1Pi.mjs} +2 -2
  140. package/dist/{pagination-CVVCAQ65.mjs.map → pagination-BdCjh1Pi.mjs.map} +1 -1
  141. package/dist/pagination.es.js +1 -1
  142. package/dist/{paragraph-DNtj7OLr.mjs → paragraph-Ci50OF1u.mjs} +3 -3
  143. package/dist/{paragraph-DNtj7OLr.mjs.map → paragraph-Ci50OF1u.mjs.map} +1 -1
  144. package/dist/paragraph.es.js +1 -1
  145. package/dist/{popover-B1BgSoQx.js → popover-D3qWbbU4.js} +2 -2
  146. package/dist/popover-D3qWbbU4.js.map +1 -0
  147. package/dist/{popover-DBMI9Jy1.mjs → popover-ZeQKmyEb.mjs} +25 -25
  148. package/dist/popover-ZeQKmyEb.mjs.map +1 -0
  149. package/dist/popover.cjs.js +1 -1
  150. package/dist/popover.es.js +1 -1
  151. package/dist/{product-card-rfpJbzzV.mjs → product-card-BU1ThhCx.mjs} +12 -12
  152. package/dist/{product-card-rfpJbzzV.mjs.map → product-card-BU1ThhCx.mjs.map} +1 -1
  153. package/dist/{product-card-DOBHGAa2.js → product-card-CNBegEBW.js} +2 -2
  154. package/dist/{product-card-DOBHGAa2.js.map → product-card-CNBegEBW.js.map} +1 -1
  155. package/dist/product-card.cjs.js +1 -1
  156. package/dist/product-card.es.js +1 -1
  157. package/dist/{promotion-card-C7B5ZJaB.js → promotion-card-CXNhskRl.js} +2 -2
  158. package/dist/{promotion-card-C7B5ZJaB.js.map → promotion-card-CXNhskRl.js.map} +1 -1
  159. package/dist/{promotion-card-wGGt75eI.mjs → promotion-card-_bPyVr9t.mjs} +33 -33
  160. package/dist/{promotion-card-wGGt75eI.mjs.map → promotion-card-_bPyVr9t.mjs.map} +1 -1
  161. package/dist/promotion-card.cjs.js +1 -1
  162. package/dist/promotion-card.es.js +1 -1
  163. package/dist/purpur.css +1 -1
  164. package/dist/{quantity-selector-DPOTlMSq.js → quantity-selector-CjSAaj7d.js} +2 -2
  165. package/dist/{quantity-selector-DPOTlMSq.js.map → quantity-selector-CjSAaj7d.js.map} +1 -1
  166. package/dist/{quantity-selector-_VcZYLjR.mjs → quantity-selector-HvyYSKah.mjs} +5 -5
  167. package/dist/{quantity-selector-_VcZYLjR.mjs.map → quantity-selector-HvyYSKah.mjs.map} +1 -1
  168. package/dist/quantity-selector.cjs.js +1 -1
  169. package/dist/quantity-selector.es.js +1 -1
  170. package/dist/{radio-button-group-CZ_FnVAi.js → radio-button-group-BaFpGAcD.js} +2 -2
  171. package/dist/{radio-button-group-CZ_FnVAi.js.map → radio-button-group-BaFpGAcD.js.map} +1 -1
  172. package/dist/{radio-button-group-BnCPcmSN.mjs → radio-button-group-CFqPsu5A.mjs} +5 -5
  173. package/dist/{radio-button-group-BnCPcmSN.mjs.map → radio-button-group-CFqPsu5A.mjs.map} +1 -1
  174. package/dist/radio-button-group.cjs.js +1 -1
  175. package/dist/radio-button-group.es.js +1 -1
  176. package/dist/{radio-card-group-DkaMcmen.mjs → radio-card-group-BlRZBa-9.mjs} +16 -16
  177. package/dist/{radio-card-group-DkaMcmen.mjs.map → radio-card-group-BlRZBa-9.mjs.map} +1 -1
  178. package/dist/{radio-card-group-BT5pV3tA.js → radio-card-group-sYcfDPJq.js} +2 -2
  179. package/dist/{radio-card-group-BT5pV3tA.js.map → radio-card-group-sYcfDPJq.js.map} +1 -1
  180. package/dist/radio-card-group.cjs.js +1 -1
  181. package/dist/radio-card-group.es.js +1 -1
  182. package/dist/rich-text.cjs.js +1 -1
  183. package/dist/rich-text.es.js +1 -1
  184. package/dist/scss/heading.mixins.scss +1 -1
  185. package/dist/{search-field-DH0xeW_J.mjs → search-field-BOmCVr5b.mjs} +11 -11
  186. package/dist/{search-field-DH0xeW_J.mjs.map → search-field-BOmCVr5b.mjs.map} +1 -1
  187. package/dist/{search-field-CxX4BBcg.js → search-field-CanOlkIY.js} +2 -2
  188. package/dist/{search-field-CxX4BBcg.js.map → search-field-CanOlkIY.js.map} +1 -1
  189. package/dist/search-field.cjs.js +1 -1
  190. package/dist/search-field.es.js +1 -1
  191. package/dist/{stepper-BfIbJwZn.mjs → stepper-D7T0wed7.mjs} +68 -71
  192. package/dist/stepper-D7T0wed7.mjs.map +1 -0
  193. package/dist/stepper-DYjJgEHL.js +2 -0
  194. package/dist/stepper-DYjJgEHL.js.map +1 -0
  195. package/dist/stepper.cjs.js +1 -1
  196. package/dist/stepper.es.js +1 -1
  197. package/dist/{table-DvcpczWf.mjs → table-B4pts_r4.mjs} +181 -179
  198. package/dist/{table-DvcpczWf.mjs.map → table-B4pts_r4.mjs.map} +1 -1
  199. package/dist/{table-BNeo_B1h.js → table-Bv_BISXV.js} +4 -4
  200. package/dist/{table-BNeo_B1h.js.map → table-Bv_BISXV.js.map} +1 -1
  201. package/dist/table.cjs.js +1 -1
  202. package/dist/table.es.js +1 -1
  203. package/dist/tabs-Bye5lgZ1.mjs +424 -0
  204. package/dist/tabs-Bye5lgZ1.mjs.map +1 -0
  205. package/dist/tabs-D-nfZHIA.js +2 -0
  206. package/dist/tabs-D-nfZHIA.js.map +1 -0
  207. package/dist/tabs.cjs.js +1 -1
  208. package/dist/tabs.es.js +1 -1
  209. package/dist/{text-area-Cb9Hm2Z9.mjs → text-area-CpYWt99s.mjs} +3 -3
  210. package/dist/{text-area-Cb9Hm2Z9.mjs.map → text-area-CpYWt99s.mjs.map} +1 -1
  211. package/dist/text-area.es.js +1 -1
  212. package/dist/{text-field-PKAaXO1N.mjs → text-field-5rIuW8gc.mjs} +2 -2
  213. package/dist/{text-field-PKAaXO1N.mjs.map → text-field-5rIuW8gc.mjs.map} +1 -1
  214. package/dist/{text-field-B8a-NKm4.js → text-field-Xt6T3zjO.js} +2 -2
  215. package/dist/{text-field-B8a-NKm4.js.map → text-field-Xt6T3zjO.js.map} +1 -1
  216. package/dist/text-field.cjs.js +1 -1
  217. package/dist/text-field.es.js +1 -1
  218. package/dist/theme.es.js +2 -2
  219. package/dist/{toggle-Cezg5MUc.mjs → toggle-D23x1wWk.mjs} +9 -9
  220. package/dist/{toggle-Cezg5MUc.mjs.map → toggle-D23x1wWk.mjs.map} +1 -1
  221. package/dist/toggle.es.js +1 -1
  222. package/dist/tokens.es.js +3 -3
  223. package/dist/{tooltip-DXi7ikUT.mjs → tooltip-DkwyNxrQ.mjs} +12 -12
  224. package/dist/{tooltip-DXi7ikUT.mjs.map → tooltip-DkwyNxrQ.mjs.map} +1 -1
  225. package/dist/{tooltip-CLQLxoaf.js → tooltip-svlZkXBs.js} +2 -2
  226. package/dist/{tooltip-CLQLxoaf.js.map → tooltip-svlZkXBs.js.map} +1 -1
  227. package/dist/tooltip.cjs.js +1 -1
  228. package/dist/tooltip.es.js +1 -1
  229. package/dist/{useColorScheme-DRQcbSog.mjs → useColorScheme-9rgSgG0N.mjs} +2 -2
  230. package/dist/{useColorScheme-DRQcbSog.mjs.map → useColorScheme-9rgSgG0N.mjs.map} +1 -1
  231. package/dist/{variables-91UvS2rU.mjs → variables-BVgnpUH9.mjs} +253 -253
  232. package/dist/{variables-91UvS2rU.mjs.map → variables-BVgnpUH9.mjs.map} +1 -1
  233. package/dist/{variables-BSsIx39i.mjs → variables-DkCN2x27.mjs} +7 -7
  234. package/dist/{variables-BSsIx39i.mjs.map → variables-DkCN2x27.mjs.map} +1 -1
  235. package/dist/{variables-BUfnQw6H.mjs → variables-Dr3Hsdn-.mjs} +9 -9
  236. package/dist/{variables-BUfnQw6H.mjs.map → variables-Dr3Hsdn-.mjs.map} +1 -1
  237. package/package.json +27 -27
  238. package/scripts/generate.mts +4 -1
  239. package/vite-plugin-generate-components-metadata.js +4 -1
  240. package/dist/button-ChYUPi2k.js +0 -2
  241. package/dist/button-ChYUPi2k.js.map +0 -1
  242. package/dist/button-DBX_tvfJ.mjs +0 -105
  243. package/dist/button-DBX_tvfJ.mjs.map +0 -1
  244. package/dist/date-field-CPiTZqa0.js +0 -2
  245. package/dist/heading-DLCdW6gx.js +0 -2
  246. package/dist/heading-gqtQNo5n.mjs +0 -75
  247. package/dist/popover-B1BgSoQx.js.map +0 -1
  248. package/dist/popover-DBMI9Jy1.mjs.map +0 -1
  249. package/dist/stepper-B248FwO-.js +0 -2
  250. package/dist/stepper-B248FwO-.js.map +0 -1
  251. package/dist/stepper-BfIbJwZn.mjs.map +0 -1
  252. package/dist/tabs-CfHd4UQ2.js +0 -2
  253. package/dist/tabs-CfHd4UQ2.js.map +0 -1
  254. package/dist/tabs-CoXMAwMx.mjs +0 -396
  255. package/dist/tabs-CoXMAwMx.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"product-card-DOBHGAa2.js","sources":["../../../components/product-card/src/colors.tsx","../../../components/product-card/src/price.tsx","../../../components/product-card/src/product-header.tsx","../../../components/product-card/src/stock-status.tsx","../../../components/icon/dist/components/cart.es.js","../../../components/product-card/src/product-card.tsx"],"sourcesContent":["import React from \"react\";\nimport { ColorDot } from \"@purpur/color-dot\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./colors.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport type ColorsProps = {\n [\"aria-label\"]?: string;\n [\"data-testid\"]?: string;\n colors?: string[];\n colorDotAriaLabels?: string[];\n};\n\nconst rootClassName = \"purpur-colors\";\n\nexport const Colors = ({\n [\"aria-label\"]: ariaLabel,\n [\"data-testid\"]: dataTestId = \"purpur-colors\",\n colors,\n colorDotAriaLabels,\n}: ColorsProps) =>\n !!colors?.length && (\n <ul className={cx(rootClassName)} data-testid={dataTestId} aria-label={ariaLabel}>\n {colors.map((color: string, index: number) => (\n <li key={color}>\n <ColorDot\n data-testid={`${dataTestId}-color-dot`}\n withBorder\n color={color}\n size=\"xs\"\n aria-label={colorDotAriaLabels && colorDotAriaLabels[index]}\n />\n </li>\n ))}\n </ul>\n );\n","import React from \"react\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./price.module.scss\";\n\nconst cx = c.bind(styles);\n\nconst rootClassName = \"purpur-price\";\n\nexport type PriceProps = {\n [\"data-testid\"]?: string;\n regularPriceText?: string;\n priceDescription?: string;\n priceText?: string;\n pricePrefix?: string;\n};\n\nexport const Price = ({\n [\"data-testid\"]: dataTestId = \"purpur-price\",\n regularPriceText,\n priceDescription,\n priceText,\n pricePrefix,\n}: PriceProps) => {\n if (!regularPriceText && !priceText && !pricePrefix && !priceDescription) {\n return null;\n }\n\n return (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n {regularPriceText && (\n <Paragraph data-testid={`${dataTestId}-regular`} variant=\"additional-100\">\n {regularPriceText}\n </Paragraph>\n )}\n <div className={cx(`${rootClassName}__price-container`)}>\n {pricePrefix && (\n <Paragraph data-testid={`${dataTestId}-from`} variant=\"paragraph-200\">\n {pricePrefix}\n </Paragraph>\n )}\n {priceText && (\n <Paragraph\n className={cx(`${rootClassName}__price-text`, {\n [`${rootClassName}__price-text--discount`]: !!regularPriceText,\n })}\n data-testid={`${dataTestId}-actual`}\n variant=\"paragraph-100-bold\"\n >\n {priceText}\n </Paragraph>\n )}\n </div>\n {priceDescription && (\n <Paragraph data-testid={`${dataTestId}-description`} variant=\"additional-100\">\n {priceDescription}\n </Paragraph>\n )}\n </div>\n );\n};\n","import React, { type ReactNode } from \"react\";\nimport { Card } from \"@purpur/card\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./product-header.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport type HeaderChildren = {\n productImage: ReactNode | null;\n productInformation: ReactNode;\n};\n\nexport type HeaderProps = { [\"data-testid\"]?: string; children: HeaderChildren };\n\nconst rootClassName = \"purpur-product-header\";\n\nexport const ProductHeader = ({\n [\"data-testid\"]: dataTestId = \"purpur-product-header\",\n children,\n}: HeaderProps) =>\n children.productImage ? (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n <div className={cx(`${rootClassName}__product-image`)}>{children.productImage}</div>\n <div className={cx(`${rootClassName}__product-information`)}>\n <Card.Content>{children.productInformation}</Card.Content>\n </div>\n </div>\n ) : (\n children.productInformation\n );\n","import React from \"react\";\nimport { ALERT_BADGE_VARIANT, AlertBadge } from \"@purpur/alert-badge\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./stock-status.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport const STOCK_STATUS = {\n IN_STOCK: \"in-stock\",\n BACK_IN_STOCK: \"back-in-stock\",\n NOT_IN_STOCK: \"not-in-stock\",\n} as const;\n\nexport const StockStatusToAlertBadgeVariantMap = {\n [STOCK_STATUS.IN_STOCK]: ALERT_BADGE_VARIANT.SUCCESS,\n [STOCK_STATUS.BACK_IN_STOCK]: ALERT_BADGE_VARIANT.WARNING,\n [STOCK_STATUS.NOT_IN_STOCK]: ALERT_BADGE_VARIANT.ERROR,\n};\n\nexport type StockStatusVariants = (typeof STOCK_STATUS)[keyof typeof STOCK_STATUS];\n\nexport type StockStatusProps = {\n [\"data-testid\"]?: string;\n stockStatus?: StockStatusVariants;\n stockStatusText?: string;\n};\n\nconst rootClassName = \"purpur-stock-status\";\n\nexport const StockStatus = ({\n [\"data-testid\"]: dataTestId = \"purpur-stock-status\",\n stockStatus,\n stockStatusText,\n}: StockStatusProps) =>\n stockStatus &&\n stockStatusText && (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n <AlertBadge variant={StockStatusToAlertBadgeVariantMap[stockStatus]} />\n <Paragraph variant=\"paragraph-100-medium\">{stockStatusText}</Paragraph>\n </div>\n );\n","import { jsx as o } from \"react/jsx-runtime\";\nimport { I as r } from \"../icon-DNHpBTHs.mjs\";\nconst t = {\n name: \"cart\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M1.6 3a.9.9 0 0 1 .9-.9H5a.9.9 0 0 1 .88.713L8.275 14.1h10.54l2-7.2H10a.9.9 0 0 1 0-1.8h12a.9.9 0 0 1 .867 1.14l-2.5 9a.9.9 0 0 1-.867.66H8.656l.263 1.236a2.403 2.403 0 0 1 1.806 1.464h5.55a2.4 2.4 0 1 1 0 1.8h-5.55a2.4 2.4 0 1 1-3.567-2.89L4.27 3.9H2.5a.9.9 0 0 1-.9-.9Zm6.9 15.9a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2Zm10 0a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"cart\"],\n category: \"other\"\n}, e = (a) => /* @__PURE__ */ o(r, { ...a, svg: t });\ne.displayName = \"IconCart\";\nexport {\n e as IconCart\n};\n//# sourceMappingURL=cart.es.js.map\n","import React, {\n forwardRef,\n type ForwardRefExoticComponent,\n type PropsWithoutRef,\n type ReactNode,\n} from \"react\";\nimport type { BadgeVariant } from \"@purpur/badge\";\nimport type {\n CardHeadingButtonProps,\n CardHeadingDefaultProps,\n CardHeadingLinkProps,\n CardHeadingNonInteractiveProps,\n CardProps,\n} from \"@purpur/card\";\nimport { Card } from \"@purpur/card\";\nimport type { HeadingTagType } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport { Colors } from \"./colors\";\nimport { Price } from \"./price\";\nimport styles from \"./product-card.module.scss\";\nimport { ProductHeader } from \"./product-header\";\nimport { StockStatus } from \"./stock-status\";\nexport type { StockStatusVariants } from \"./stock-status\";\nimport { IconArrowRight } from \"@purpur/icon/arrow-right\";\nimport { IconCart } from \"@purpur/icon/cart\";\n\nimport type { StockStatusVariants } from \"./stock-status\";\n\nconst cx = c.bind(styles);\n\nexport type ProductCardProps = Omit<CardProps, \"children\"> &\n (CardHeadingLinkProps | CardHeadingButtonProps | CardHeadingNonInteractiveProps) & {\n /**\n * The text that will be in the badge in the top right corner of the card. This is coupled with the badgeVariant prop. Both needs to be set for the badge to be displayed.\n */\n badgeText?: string;\n /**\n * The variant (color) of the badge in the top right corner of the card. This is coupled with the badgeText prop. Both needs to be set for the badge to be displayed.\n */\n badgeVariant?: BadgeVariant;\n /**\n * This is the descriptive text about the product displayed under the product name.\n */\n bodyText?: string;\n /**\n * ReactNode in the default slot under the feature list\n */\n children?: ReactNode;\n /**\n * This is the color dots informing the customers about the available colors. Send in a list of colors e.g. [\"#000000\", \"#F0E68C\", \"#B0C4DE\", \"#EFD9F4\"].\n */\n colorVariants?: string[];\n colorNames?: string[];\n colorListAriaLabel?: string;\n ctaText?: string;\n /**\n * Determine if the card should take up the full height of the parent. Useful for getting equal height cards when used in a flex grid. Defaults to true.\n */\n fullHeight?: boolean;\n /**\n * Any ReactElement that you want to put in under the price.\n */\n footerContent?: ReactNode;\n /**\n * This is the heading tag used for the product name in the card. Defaults to h2.\n */\n headingTag?: HeadingTagType;\n /**\n * This is the feature list where each entry is preceded by a checkmark.\n */\n listItems?: string[];\n /**\n * This is a loading flag used when using the product card as a button (not setting a href). This is so that the user can do some work in the clickHandler and display a loading state in the card. Defaults to false.\n */\n loading?: boolean;\n /**\n * This is the text above the product name. Used to for example render the product brand name.\n */\n overline?: string;\n /**\n * The actual price the customer will pay without the \"from\"-prefix. E.g. \"799 kr/mån\"\n */\n priceText?: string;\n /**\n * Here you can type additional information that will be displayed below the price. E.g. \"VAT excluded\"\n */\n priceDescription?: string;\n /**\n * The first part of the price text before the actual price. E.g. From 799kr/mån. It's the \"From\" part.\n */\n pricePrefix?: string;\n /**\n * Provide an image to be displayed at the top of the card. The image container height is set to --purpur-spacing-1600 (128px). So try not to use to big images. The image in the example is 100px width and 128px height giving ~4:5 aspect ratio.\n */\n image?: ReactNode;\n imageSize?: \"sm\" | \"md\" | \"lg\";\n /**\n * The name of the product.\n */\n title: string;\n /**\n * This is used if there is a discount. The priceText will receive additional styling if this field is set. E.g. Regular price 999 kr/mån\n */\n regularPriceText?: string;\n /**\n * Use this to display the stock status. It has three statuses. in-stock, back-in-stock and not-in-stock. This is to be used together with stockStatus text to display stock status.\n */\n stockStatus?: StockStatusVariants;\n /**\n * The text for stock status. Could be e.g \"In stock\", \"Back in stock 2024-08-11\" or \"Not in stock\".\n */\n stockStatusText?: string;\n };\n\nconst rootClassName = \"purpur-product-card\";\n\ntype ProductCardStatic = {\n Colors: typeof Colors;\n Price: typeof Price;\n ProductHeader: typeof ProductHeader;\n StockStatus: typeof StockStatus;\n};\n\ntype ProductCardComponent = ForwardRefExoticComponent<PropsWithoutRef<ProductCardProps>> &\n ProductCardStatic;\n\nexport const ProductCard = forwardRef<HTMLDivElement, ProductCardProps>(\n (\n {\n [\"data-testid\"]: dataTestId = \"purpur-product-card\",\n badgeText,\n badgeVariant,\n bodyText,\n children,\n className,\n colorVariants,\n colorNames,\n colorListAriaLabel,\n ctaText,\n disabled,\n fullHeight = true,\n footerContent,\n headingTag = \"h2\",\n href,\n onClick,\n linkElement,\n listItems,\n loading = false,\n overline,\n priceText,\n priceDescription,\n pricePrefix,\n image,\n imageSize = \"sm\",\n title,\n regularPriceText,\n stockStatus,\n stockStatusText,\n ...props\n },\n ref\n ) => {\n const classes = cx(className, rootClassName);\n\n const headingProps: Pick<\n CardHeadingDefaultProps,\n \"title\" | \"titleTag\" | \"variant\" | \"data-testid\"\n > = {\n title,\n titleTag: headingTag,\n variant: \"title-200\",\n \"data-testid\": `${dataTestId}-product-name`,\n };\n\n return (\n <Card\n className={classes}\n data-testid={dataTestId}\n fullHeight={fullHeight}\n ref={ref}\n {...props}\n >\n <Card.Badge text={badgeText} variant={badgeVariant} data-testid={`${dataTestId}-badge`} />\n <Card.ContentContainer\n gapSize=\"lg\"\n className={cx(`${rootClassName}__content-container`)}\n fullHeight={fullHeight}\n >\n <Card.Content>\n <ProductHeader data-testid={`${dataTestId}-product-header`}>\n {{\n productImage: image ? (\n <div\n className={cx(\n `${rootClassName}__product-image`,\n `${rootClassName}__product-image--${imageSize}`\n )}\n data-testid={`${dataTestId}-product-image`}\n >\n {image}\n </div>\n ) : null,\n productInformation: (\n <>\n <div>\n <Card.Overline data-testid={`${dataTestId}-overline`} overline={overline} />\n {href && (\n <Card.Heading\n href={href}\n linkElement={linkElement}\n disabled={disabled}\n onClick={onClick}\n {...headingProps}\n />\n )}\n {onClick && !href && (\n <Card.Heading disabled={disabled} onClick={onClick} {...headingProps} />\n )}\n {!href && !onClick && <Card.Heading {...headingProps} />}\n </div>\n <Colors\n colors={colorVariants}\n colorDotAriaLabels={colorNames}\n aria-label={colorListAriaLabel}\n data-testid={`${dataTestId}-colors`}\n />\n </>\n ),\n }}\n </ProductHeader>\n {(bodyText || !!listItems?.length) && (\n <div className={cx(`${rootClassName}__body`)}>\n {bodyText && (\n <Paragraph data-testid={`${dataTestId}-body-text`}>{bodyText}</Paragraph>\n )}\n <Card.FeatureList\n data-testid={`${dataTestId}-feature-list`}\n listItems={listItems}\n />\n </div>\n )}\n </Card.Content>\n {children && (\n <Card.Content\n className={`${rootClassName}__children`}\n data-testid={`${dataTestId}-default-content`}\n >\n {children}\n </Card.Content>\n )}\n </Card.ContentContainer>\n <div>\n <Card.ContentContainer isFooter>\n <Card.Content>\n <div\n className={cx(`${rootClassName}__footer`, {\n [`${rootClassName}-with-cta-text`]: ctaText,\n })}\n >\n <Price\n data-testid={`${dataTestId}-price`}\n pricePrefix={pricePrefix}\n regularPriceText={regularPriceText}\n priceDescription={priceDescription}\n priceText={priceText}\n />\n {(href || onClick) && (\n <Card.Cta\n className={cx(`${rootClassName}__cta-button`)}\n data-testid={`${dataTestId}-cta-button`}\n disabled={disabled}\n iconPosition={ctaText ? (href ? \"right\" : \"left\") : undefined}\n loading={loading}\n text={ctaText}\n linkStyling={Boolean(href && !ctaText)}\n >\n {href ? <IconArrowRight size=\"sm\" /> : <IconCart size=\"sm\" />}\n </Card.Cta>\n )}\n </div>\n </Card.Content>\n {footerContent && (\n <Card.Content data-testid={`${dataTestId}-footer-content`}>\n {footerContent}\n </Card.Content>\n )}\n </Card.ContentContainer>\n <StockStatus\n data-testid={`${dataTestId}-stock-status`}\n stockStatus={stockStatus}\n stockStatusText={stockStatusText}\n />\n </div>\n </Card>\n );\n }\n) as ProductCardComponent;\n\nProductCard.Colors = Colors;\nProductCard.Price = Price;\nProductCard.ProductHeader = ProductHeader;\nProductCard.StockStatus = StockStatus;\nProductCard.displayName = \"ProductCard\";\n"],"names":["cx","c","styles","rootClassName","Colors","ariaLabel","dataTestId","colors","colorDotAriaLabels","color","index","jsx","ColorDot","Price","regularPriceText","priceDescription","priceText","pricePrefix","Paragraph","ProductHeader","children","jsxs","Card","STOCK_STATUS","StockStatusToAlertBadgeVariantMap","ALERT_BADGE_VARIANT","StockStatus","stockStatus","stockStatusText","AlertBadge","t","e","a","o","r","ProductCard","forwardRef","badgeText","badgeVariant","bodyText","className","colorVariants","colorNames","colorListAriaLabel","ctaText","disabled","fullHeight","footerContent","headingTag","href","onClick","linkElement","listItems","loading","overline","image","imageSize","title","props","ref","classes","headingProps","Fragment","IconArrowRight","IconCart"],"mappings":"wXAMMA,GAAKC,EAAAA,EAAE,KAAKC,EAAM,EASlBC,GAAgB,gBAETC,EAAS,CAAC,CACrB,CAAC,cAAeC,EAChB,CAAC,eAAgBC,EAAa,gBAC9B,OAAAC,EACA,mBAAAC,CACF,IACE,CAAC,CAACD,GAAQ,cACP,KAAA,CAAG,UAAWP,GAAGG,EAAa,EAAG,cAAaG,EAAY,aAAYD,EACpE,SAAAE,EAAO,I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AAa,gBAAgB,EAAGyC,CAAA,CACrC,EAED,SAAA,CAAAjC,EAAAA,IAACE,EAAA,CACC,cAAa,GAAGP,CAAU,SAC1B,YAAAW,EACA,iBAAAH,EACA,iBAAAC,EACA,UAAAC,CAAA,CAAA,GAEAiC,GAAQC,IACRvC,EAAAA,IAACW,EAAAA,KAAK,IAAL,CACC,UAAWtB,EAAG,GAAGG,CAAa,cAAc,EAC5C,cAAa,GAAGG,CAAU,cAC1B,SAAAuC,EACA,aAAcD,EAAWK,EAAO,QAAU,OAAU,OACpD,QAAAI,EACA,KAAMT,EACN,YAAa,GAAQK,GAAQ,CAACL,GAE7B,SAAAK,QAAQc,EAAAA,EAAA,CAAe,KAAK,KAAK,EAAKpD,EAAAA,IAACqD,EAAA,CAAS,KAAK,IAAA,CAAK,CAAA,CAAA,CAC7D,CAAA,CAAA,EAGN,EACCjB,SACEzB,OAAK,QAAL,CAAa,cAAa,GAAGhB,CAAU,kBACrC,SAAAyC,CAAA,CACH,CAAA,EAEJ,EACApC,EAAAA,IAACe,EAAA,CACC,cAAa,GAAGpB,CAAU,gBAC1B,YAAAqB,EACA,gBAAAC,CAAA,CAAA,CACF,CAAA,CACF,CAAA,CAAA,CAAA,CAGN,CACF,EAEAO,EAAY,OAAS/B,EACrB+B,EAAY,MAAQtB,EACpBsB,EAAY,cAAgBhB,EAC5BgB,EAAY,YAAcT,EAC1BS,EAAY,YAAc"}
1
+ {"version":3,"file":"product-card-CNBegEBW.js","sources":["../../../components/product-card/src/colors.tsx","../../../components/product-card/src/price.tsx","../../../components/product-card/src/product-header.tsx","../../../components/product-card/src/stock-status.tsx","../../../components/icon/dist/components/cart.es.js","../../../components/product-card/src/product-card.tsx"],"sourcesContent":["import React from \"react\";\nimport { ColorDot } from \"@purpur/color-dot\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./colors.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport type ColorsProps = {\n [\"aria-label\"]?: string;\n [\"data-testid\"]?: string;\n colors?: string[];\n colorDotAriaLabels?: string[];\n};\n\nconst rootClassName = \"purpur-colors\";\n\nexport const Colors = ({\n [\"aria-label\"]: ariaLabel,\n [\"data-testid\"]: dataTestId = \"purpur-colors\",\n colors,\n colorDotAriaLabels,\n}: ColorsProps) =>\n !!colors?.length && (\n <ul className={cx(rootClassName)} data-testid={dataTestId} aria-label={ariaLabel}>\n {colors.map((color: string, index: number) => (\n <li key={color}>\n <ColorDot\n data-testid={`${dataTestId}-color-dot`}\n withBorder\n color={color}\n size=\"xs\"\n aria-label={colorDotAriaLabels && colorDotAriaLabels[index]}\n />\n </li>\n ))}\n </ul>\n );\n","import React from \"react\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./price.module.scss\";\n\nconst cx = c.bind(styles);\n\nconst rootClassName = \"purpur-price\";\n\nexport type PriceProps = {\n [\"data-testid\"]?: string;\n regularPriceText?: string;\n priceDescription?: string;\n priceText?: string;\n pricePrefix?: string;\n};\n\nexport const Price = ({\n [\"data-testid\"]: dataTestId = \"purpur-price\",\n regularPriceText,\n priceDescription,\n priceText,\n pricePrefix,\n}: PriceProps) => {\n if (!regularPriceText && !priceText && !pricePrefix && !priceDescription) {\n return null;\n }\n\n return (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n {regularPriceText && (\n <Paragraph data-testid={`${dataTestId}-regular`} variant=\"additional-100\">\n {regularPriceText}\n </Paragraph>\n )}\n <div className={cx(`${rootClassName}__price-container`)}>\n {pricePrefix && (\n <Paragraph data-testid={`${dataTestId}-from`} variant=\"paragraph-200\">\n {pricePrefix}\n </Paragraph>\n )}\n {priceText && (\n <Paragraph\n className={cx(`${rootClassName}__price-text`, {\n [`${rootClassName}__price-text--discount`]: !!regularPriceText,\n })}\n data-testid={`${dataTestId}-actual`}\n variant=\"paragraph-100-bold\"\n >\n {priceText}\n </Paragraph>\n )}\n </div>\n {priceDescription && (\n <Paragraph data-testid={`${dataTestId}-description`} variant=\"additional-100\">\n {priceDescription}\n </Paragraph>\n )}\n </div>\n );\n};\n","import React, { type ReactNode } from \"react\";\nimport { Card } from \"@purpur/card\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./product-header.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport type HeaderChildren = {\n productImage: ReactNode | null;\n productInformation: ReactNode;\n};\n\nexport type HeaderProps = { [\"data-testid\"]?: string; children: HeaderChildren };\n\nconst rootClassName = \"purpur-product-header\";\n\nexport const ProductHeader = ({\n [\"data-testid\"]: dataTestId = \"purpur-product-header\",\n children,\n}: HeaderProps) =>\n children.productImage ? (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n <div className={cx(`${rootClassName}__product-image`)}>{children.productImage}</div>\n <div className={cx(`${rootClassName}__product-information`)}>\n <Card.Content>{children.productInformation}</Card.Content>\n </div>\n </div>\n ) : (\n children.productInformation\n );\n","import React from \"react\";\nimport { ALERT_BADGE_VARIANT, AlertBadge } from \"@purpur/alert-badge\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./stock-status.module.scss\";\n\nconst cx = c.bind(styles);\n\nexport const STOCK_STATUS = {\n IN_STOCK: \"in-stock\",\n BACK_IN_STOCK: \"back-in-stock\",\n NOT_IN_STOCK: \"not-in-stock\",\n} as const;\n\nexport const StockStatusToAlertBadgeVariantMap = {\n [STOCK_STATUS.IN_STOCK]: ALERT_BADGE_VARIANT.SUCCESS,\n [STOCK_STATUS.BACK_IN_STOCK]: ALERT_BADGE_VARIANT.WARNING,\n [STOCK_STATUS.NOT_IN_STOCK]: ALERT_BADGE_VARIANT.ERROR,\n};\n\nexport type StockStatusVariants = (typeof STOCK_STATUS)[keyof typeof STOCK_STATUS];\n\nexport type StockStatusProps = {\n [\"data-testid\"]?: string;\n stockStatus?: StockStatusVariants;\n stockStatusText?: string;\n};\n\nconst rootClassName = \"purpur-stock-status\";\n\nexport const StockStatus = ({\n [\"data-testid\"]: dataTestId = \"purpur-stock-status\",\n stockStatus,\n stockStatusText,\n}: StockStatusProps) =>\n stockStatus &&\n stockStatusText && (\n <div className={cx(rootClassName)} data-testid={dataTestId}>\n <AlertBadge variant={StockStatusToAlertBadgeVariantMap[stockStatus]} />\n <Paragraph variant=\"paragraph-100-medium\">{stockStatusText}</Paragraph>\n </div>\n );\n","import { jsx as o } from \"react/jsx-runtime\";\nimport { I as r } from \"../icon-DNHpBTHs.mjs\";\nconst t = {\n name: \"cart\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M1.6 3a.9.9 0 0 1 .9-.9H5a.9.9 0 0 1 .88.713L8.275 14.1h10.54l2-7.2H10a.9.9 0 0 1 0-1.8h12a.9.9 0 0 1 .867 1.14l-2.5 9a.9.9 0 0 1-.867.66H8.656l.263 1.236a2.403 2.403 0 0 1 1.806 1.464h5.55a2.4 2.4 0 1 1 0 1.8h-5.55a2.4 2.4 0 1 1-3.567-2.89L4.27 3.9H2.5a.9.9 0 0 1-.9-.9Zm6.9 15.9a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2Zm10 0a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"cart\"],\n category: \"other\"\n}, e = (a) => /* @__PURE__ */ o(r, { ...a, svg: t });\ne.displayName = \"IconCart\";\nexport {\n e as IconCart\n};\n//# sourceMappingURL=cart.es.js.map\n","import React, {\n forwardRef,\n type ForwardRefExoticComponent,\n type PropsWithoutRef,\n type ReactNode,\n} from \"react\";\nimport type { BadgeVariant } from \"@purpur/badge\";\nimport type {\n CardHeadingButtonProps,\n CardHeadingDefaultProps,\n CardHeadingLinkProps,\n CardHeadingNonInteractiveProps,\n CardProps,\n} from \"@purpur/card\";\nimport { Card } from \"@purpur/card\";\nimport type { HeadingTagType } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport c from \"classnames/bind\";\n\nimport { Colors } from \"./colors\";\nimport { Price } from \"./price\";\nimport styles from \"./product-card.module.scss\";\nimport { ProductHeader } from \"./product-header\";\nimport { StockStatus } from \"./stock-status\";\nexport type { StockStatusVariants } from \"./stock-status\";\nimport { IconArrowRight } from \"@purpur/icon/arrow-right\";\nimport { IconCart } from \"@purpur/icon/cart\";\n\nimport type { StockStatusVariants } from \"./stock-status\";\n\nconst cx = c.bind(styles);\n\nexport type ProductCardProps = Omit<CardProps, \"children\"> &\n (CardHeadingLinkProps | CardHeadingButtonProps | CardHeadingNonInteractiveProps) & {\n /**\n * The text that will be in the badge in the top right corner of the card. This is coupled with the badgeVariant prop. Both needs to be set for the badge to be displayed.\n */\n badgeText?: string;\n /**\n * The variant (color) of the badge in the top right corner of the card. This is coupled with the badgeText prop. Both needs to be set for the badge to be displayed.\n */\n badgeVariant?: BadgeVariant;\n /**\n * This is the descriptive text about the product displayed under the product name.\n */\n bodyText?: string;\n /**\n * ReactNode in the default slot under the feature list\n */\n children?: ReactNode;\n /**\n * This is the color dots informing the customers about the available colors. Send in a list of colors e.g. [\"#000000\", \"#F0E68C\", \"#B0C4DE\", \"#EFD9F4\"].\n */\n colorVariants?: string[];\n colorNames?: string[];\n colorListAriaLabel?: string;\n ctaText?: string;\n /**\n * Determine if the card should take up the full height of the parent. Useful for getting equal height cards when used in a flex grid. Defaults to true.\n */\n fullHeight?: boolean;\n /**\n * Any ReactElement that you want to put in under the price.\n */\n footerContent?: ReactNode;\n /**\n * This is the heading tag used for the product name in the card. Defaults to h2.\n */\n headingTag?: HeadingTagType;\n /**\n * This is the feature list where each entry is preceded by a checkmark.\n */\n listItems?: string[];\n /**\n * This is a loading flag used when using the product card as a button (not setting a href). This is so that the user can do some work in the clickHandler and display a loading state in the card. Defaults to false.\n */\n loading?: boolean;\n /**\n * This is the text above the product name. Used to for example render the product brand name.\n */\n overline?: string;\n /**\n * The actual price the customer will pay without the \"from\"-prefix. E.g. \"799 kr/mån\"\n */\n priceText?: string;\n /**\n * Here you can type additional information that will be displayed below the price. E.g. \"VAT excluded\"\n */\n priceDescription?: string;\n /**\n * The first part of the price text before the actual price. E.g. From 799kr/mån. It's the \"From\" part.\n */\n pricePrefix?: string;\n /**\n * Provide an image to be displayed at the top of the card. The image container height is set to --purpur-spacing-1600 (128px). So try not to use to big images. The image in the example is 100px width and 128px height giving ~4:5 aspect ratio.\n */\n image?: ReactNode;\n imageSize?: \"sm\" | \"md\" | \"lg\";\n /**\n * The name of the product.\n */\n title: string;\n /**\n * This is used if there is a discount. The priceText will receive additional styling if this field is set. E.g. Regular price 999 kr/mån\n */\n regularPriceText?: string;\n /**\n * Use this to display the stock status. It has three statuses. in-stock, back-in-stock and not-in-stock. This is to be used together with stockStatus text to display stock status.\n */\n stockStatus?: StockStatusVariants;\n /**\n * The text for stock status. Could be e.g \"In stock\", \"Back in stock 2024-08-11\" or \"Not in stock\".\n */\n stockStatusText?: string;\n };\n\nconst rootClassName = \"purpur-product-card\";\n\ntype ProductCardStatic = {\n Colors: typeof Colors;\n Price: typeof Price;\n ProductHeader: typeof ProductHeader;\n StockStatus: typeof StockStatus;\n};\n\ntype ProductCardComponent = ForwardRefExoticComponent<PropsWithoutRef<ProductCardProps>> &\n ProductCardStatic;\n\nexport const ProductCard = forwardRef<HTMLDivElement, ProductCardProps>(\n (\n {\n [\"data-testid\"]: dataTestId = \"purpur-product-card\",\n badgeText,\n badgeVariant,\n bodyText,\n children,\n className,\n colorVariants,\n colorNames,\n colorListAriaLabel,\n ctaText,\n disabled,\n fullHeight = true,\n footerContent,\n headingTag = \"h2\",\n href,\n onClick,\n linkElement,\n listItems,\n loading = false,\n overline,\n priceText,\n priceDescription,\n pricePrefix,\n image,\n imageSize = \"sm\",\n title,\n regularPriceText,\n stockStatus,\n stockStatusText,\n ...props\n },\n ref\n ) => {\n const classes = cx(className, rootClassName);\n\n const headingProps: Pick<\n CardHeadingDefaultProps,\n \"title\" | \"titleTag\" | \"variant\" | \"data-testid\"\n > = {\n title,\n titleTag: headingTag,\n variant: \"title-200\",\n \"data-testid\": `${dataTestId}-product-name`,\n };\n\n return (\n <Card\n className={classes}\n data-testid={dataTestId}\n fullHeight={fullHeight}\n ref={ref}\n {...props}\n >\n <Card.Badge text={badgeText} variant={badgeVariant} data-testid={`${dataTestId}-badge`} />\n <Card.ContentContainer\n gapSize=\"lg\"\n className={cx(`${rootClassName}__content-container`)}\n fullHeight={fullHeight}\n >\n <Card.Content>\n <ProductHeader data-testid={`${dataTestId}-product-header`}>\n {{\n productImage: image ? (\n <div\n className={cx(\n `${rootClassName}__product-image`,\n `${rootClassName}__product-image--${imageSize}`\n )}\n data-testid={`${dataTestId}-product-image`}\n >\n {image}\n </div>\n ) : null,\n productInformation: (\n <>\n <div>\n <Card.Overline data-testid={`${dataTestId}-overline`} overline={overline} />\n {href && (\n <Card.Heading\n href={href}\n linkElement={linkElement}\n disabled={disabled}\n onClick={onClick}\n {...headingProps}\n />\n )}\n {onClick && !href && (\n <Card.Heading disabled={disabled} onClick={onClick} {...headingProps} />\n )}\n {!href && !onClick && <Card.Heading {...headingProps} />}\n </div>\n <Colors\n colors={colorVariants}\n colorDotAriaLabels={colorNames}\n aria-label={colorListAriaLabel}\n data-testid={`${dataTestId}-colors`}\n />\n </>\n ),\n }}\n </ProductHeader>\n {(bodyText || !!listItems?.length) && (\n <div className={cx(`${rootClassName}__body`)}>\n {bodyText && (\n <Paragraph data-testid={`${dataTestId}-body-text`}>{bodyText}</Paragraph>\n )}\n <Card.FeatureList\n data-testid={`${dataTestId}-feature-list`}\n listItems={listItems}\n />\n </div>\n )}\n </Card.Content>\n {children && (\n <Card.Content\n className={`${rootClassName}__children`}\n data-testid={`${dataTestId}-default-content`}\n >\n {children}\n </Card.Content>\n )}\n </Card.ContentContainer>\n <div>\n <Card.ContentContainer isFooter>\n <Card.Content>\n <div\n className={cx(`${rootClassName}__footer`, {\n [`${rootClassName}-with-cta-text`]: ctaText,\n })}\n >\n <Price\n data-testid={`${dataTestId}-price`}\n pricePrefix={pricePrefix}\n regularPriceText={regularPriceText}\n priceDescription={priceDescription}\n priceText={priceText}\n />\n {(href || onClick) && (\n <Card.Cta\n className={cx(`${rootClassName}__cta-button`)}\n data-testid={`${dataTestId}-cta-button`}\n disabled={disabled}\n iconPosition={ctaText ? (href ? \"right\" : \"left\") : undefined}\n loading={loading}\n text={ctaText}\n linkStyling={Boolean(href && !ctaText)}\n >\n {href ? <IconArrowRight size=\"sm\" /> : <IconCart size=\"sm\" />}\n </Card.Cta>\n )}\n </div>\n </Card.Content>\n {footerContent && (\n <Card.Content data-testid={`${dataTestId}-footer-content`}>\n {footerContent}\n </Card.Content>\n )}\n </Card.ContentContainer>\n <StockStatus\n data-testid={`${dataTestId}-stock-status`}\n stockStatus={stockStatus}\n stockStatusText={stockStatusText}\n />\n </div>\n </Card>\n );\n }\n) as ProductCardComponent;\n\nProductCard.Colors = Colors;\nProductCard.Price = Price;\nProductCard.ProductHeader = ProductHeader;\nProductCard.StockStatus = StockStatus;\nProductCard.displayName = \"ProductCard\";\n"],"names":["cx","c","styles","rootClassName","Colors","ariaLabel","dataTestId","colors","colorDotAriaLabels","color","index","jsx","ColorDot","Price","regularPriceText","priceDescription","priceText","pricePrefix","Paragraph","ProductHeader","children","jsxs","Card","STOCK_STATUS","StockStatusToAlertBadgeVariantMap","ALERT_BADGE_VARIANT","StockStatus","stockStatus","stockStatusText","AlertBadge","t","e","a","o","r","ProductCard","forwardRef","badgeText","badgeVariant","bodyText","className","colorVariants","colorNames","colorListAriaLabel","ctaText","disabled","fullHeight","footerContent","headingTag","href","onClick","linkElement","listItems","loading","overline","image","imageSize","title","props","ref","classes","headingProps","Fragment","IconArrowRight","IconCart"],"mappings":"wXAMMA,GAAKC,EAAAA,EAAE,KAAKC,EAAM,EASlBC,GAAgB,gBAETC,EAAS,CAAC,CACrB,CAAC,cAAeC,EAChB,CAAC,eAAgBC,EAAa,gBAC9B,OAAAC,EACA,mBAAAC,CACF,IACE,CAAC,CAACD,GAAQ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SAAAD,EAAAA,KAAC,MAAA,CACC,UAAWrB,EAAG,GAAGG,CAAa,WAAY,CACxC,CAAC,GAAGA,CAAa,gBAAgB,EAAGyC,CAAA,CACrC,EAED,SAAA,CAAAjC,EAAAA,IAACE,EAAA,CACC,cAAa,GAAGP,CAAU,SAC1B,YAAAW,EACA,iBAAAH,EACA,iBAAAC,EACA,UAAAC,CAAA,CAAA,GAEAiC,GAAQC,IACRvC,EAAAA,IAACW,EAAAA,KAAK,IAAL,CACC,UAAWtB,EAAG,GAAGG,CAAa,cAAc,EAC5C,cAAa,GAAGG,CAAU,cAC1B,SAAAuC,EACA,aAAcD,EAAWK,EAAO,QAAU,OAAU,OACpD,QAAAI,EACA,KAAMT,EACN,YAAa,GAAQK,GAAQ,CAACL,GAE7B,SAAAK,QAAQc,EAAAA,EAAA,CAAe,KAAK,KAAK,EAAKpD,EAAAA,IAACqD,EAAA,CAAS,KAAK,IAAA,CAAK,CAAA,CAAA,CAC7D,CAAA,CAAA,EAGN,EACCjB,SACEzB,OAAK,QAAL,CAAa,cAAa,GAAGhB,CAAU,kBACrC,SAAAyC,CAAA,CACH,CAAA,EAEJ,EACApC,EAAAA,IAACe,EAAA,CACC,cAAa,GAAGpB,CAAU,gBAC1B,YAAAqB,EACA,gBAAAC,CAAA,CAAA,CACF,CAAA,CACF,CAAA,CAAA,CAAA,CAGN,CACF,EAEAO,EAAY,OAAS/B,EACrB+B,EAAY,MAAQtB,EACpBsB,EAAY,cAAgBhB,EAC5BgB,EAAY,YAAcT,EAC1BS,EAAY,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./product-card-DOBHGAa2.js");exports.ProductCard=r.ProductCard;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./product-card-CNBegEBW.js");exports.ProductCard=r.ProductCard;
2
2
  //# sourceMappingURL=product-card.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { P as a } from "./product-card-rfpJbzzV.mjs";
1
+ import { P as a } from "./product-card-BU1ThhCx.mjs";
2
2
  export {
3
3
  a as ProductCard
4
4
  };
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("react/jsx-runtime"),D=require("react"),I=require("./badge-CQ0SS_t8.js"),L=require("./card-B512KHpr.js"),Z=require("./heading-DLCdW6gx.js"),$=require("./paragraph-BsI53OR0.js"),b=require("./ThemeProvider-ipAIFRUi.js"),R=require("./bind-DeUYJ6m9.js"),q={"purpur-promotion-card":"_purpur-promotion-card_1gsgm_1","purpur-promotion-card__inner":"_purpur-promotion-card__inner_1gsgm_9","purpur-promotion-card__inner--without-image":"_purpur-promotion-card__inner--without-image_1gsgm_12","purpur-promotion-card__content":"_purpur-promotion-card__content_1gsgm_12","purpur-promotion-card__inner--with-image":"_purpur-promotion-card__inner--with-image_1gsgm_37","purpur-promotion-card__inner--media-position-left":"_purpur-promotion-card__inner--media-position-left_1gsgm_50","purpur-promotion-card__actions":"_purpur-promotion-card__actions_1gsgm_54","purpur-promotion-card__content--without-image":"_purpur-promotion-card__content--without-image_1gsgm_76","purpur-promotion-card__main-content":"_purpur-promotion-card__main-content_1gsgm_79","purpur-promotion-card__heading":"_purpur-promotion-card__heading_1gsgm_84","purpur-promotion-card__content--with-image":"_purpur-promotion-card__content--with-image_1gsgm_89","purpur-promotion-card__badge-wrapper":"_purpur-promotion-card__badge-wrapper_1gsgm_100","purpur-promotion-card__body":"_purpur-promotion-card__body_1gsgm_104","purpur-promotion-card__main-content--space-between":"_purpur-promotion-card__main-content--space-between_1gsgm_115","purpur-promotion-card__main-content--flex-end":"_purpur-promotion-card__main-content--flex-end_1gsgm_118","purpur-promotion-card__child-content":"_purpur-promotion-card__child-content_1gsgm_138","purpur-promotion-card__additional-text":"_purpur-promotion-card__additional-text_1gsgm_141","purpur-promotion-card__image-wrapper":"_purpur-promotion-card__image-wrapper_1gsgm_144","purpur-promotion-card__image-wrapper--decorative":"_purpur-promotion-card__image-wrapper--decorative_1gsgm_147","purpur-promotion-card__image-wrapper--product":"_purpur-promotion-card__image-wrapper--product_1gsgm_148"},P=["primary","secondary","quaternary"],j={primary:"var(--purpur-color-background-tone-on-tone-primary)",secondary:"var(--purpur-color-background-tone-on-tone-secondary)",quaternary:"var(--purpur-color-background-tone-on-tone-quaternary)"},p={primary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,secondary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},N={primary:p.secondary,secondary:p.primary,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_24984_14652)"><rect width="2000" height="1125" fill="url(%23paint0_linear_24984_14652)"/><g filter="url(%23filter0_d_24984_14652)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5808 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23FFF0E5"/></g><g filter="url(%23filter1_d_24984_14652)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3462 51.596 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_24984_14652)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_24984_14652)" stroke="url(%23paint3_linear_24984_14652)" stroke-width="0.488281"/><g filter="url(%23filter2_d_24984_14652)"><path d="M895.095 -81.1636L897.087 -83.483C2339.19 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.808 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23FFF0E5"/></g><g filter="url(%23filter3_d_24984_14652)"><path d="M892.877 -81.1462L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.598C521.196 351.573 686.155 159.524 892.877 -81.1462Z" fill="url(%23paint4_linear_24984_14652)"/></g><path d="M899.248 -92.33L901.24 -94.6492C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.34 899.248 -92.33Z" fill="url(%23paint5_linear_24984_14652)" stroke="url(%23paint6_linear_24984_14652)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_24984_14652" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter1_d_24984_14652" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter2_d_24984_14652" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter3_d_24984_14652" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><linearGradient id="paint0_linear_24984_14652" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%232C2520"/><stop offset="0.576094" stop-color="%2329221D"/><stop offset="1" stop-color="%2327211C"/></linearGradient><linearGradient id="paint1_linear_24984_14652" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2340362E"/><stop offset="0.265" stop-color="%23372E27"/><stop offset="0.385" stop-color="%232D2621"/><stop offset="0.720829" stop-color="%231E1916"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint2_linear_24984_14652" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.19574" stop-color="%232C2520"/><stop offset="1" stop-color="%23221D19"/></linearGradient><linearGradient id="paint3_linear_24984_14652" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23887363"/><stop offset="0.506509" stop-color="%233E342D"/><stop offset="1" stop-color="%23251F1A"/></linearGradient><linearGradient id="paint4_linear_24984_14652" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%233B312A"/><stop offset="0.340552" stop-color="%232D2621"/><stop offset="0.616738" stop-color="%231F1A17"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint5_linear_24984_14652" x1="781.493" y1="72.65" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.51248" stop-color="%2326201C"/><stop offset="1" stop-color="%23201B17"/></linearGradient><linearGradient id="paint6_linear_24984_14652" x1="820.5" y1="32.5" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%23645549"/><stop offset="0.425" stop-color="%23594B41"/><stop offset="1" stop-color="%23221C18"/></linearGradient><clipPath id="clip0_24984_14652"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},H={primary:"var(--purpur-color-text-tone-on-tone-primary)",secondary:"var(--purpur-color-text-tone-on-tone-secondary)",quaternary:"var(--purpur-color-text-tone-on-tone-tertiary)"},t=R.c.bind(q),e="purpur-promotion-card",h=D.forwardRef(({["data-testid"]:m,variant:a="primary",badgeText:d,badgeIcon:f,beforeTitle:g,title:x,mediaPosition:C="right",titleTag:y="h2",titleVariant:F="title-300",enableTitleHyphenation:w=!1,className:B,actions:_,children:S,style:G,alignment:U="space-between",additionalText:c,forceColorScheme:v,...i},A)=>{const{options:O,currentColorScheme:E}=b.useTheme(),u=v??O?.promotionCardColorScheme;let l=i,o;if("decorativeImage"in i){const{decorativeImage:n,...s}=i;o=n,l=s}else if("productImage"in i){const{productImage:n,...s}=i;o=n,l=s}const k=u??E,M={"--promotion-card-background":j[a],"--promotion-card-color":H[a],"--promotion-card-background-image":o?"none":k==="dark"?N[a]:p[a]};return r.jsx(L.Card,{"data-color-scheme":u,"data-testid":m,ref:A,fullHeight:!0,className:t(B,e,`${e}--${a}`),style:{...M,...G},...l,children:r.jsxs("div",{className:t(`${e}__inner`,{[`${e}__inner--with-image`]:o,[`${e}__inner--without-image`]:!o,[`${e}__inner--media-position-left`]:o&&C==="left"}),children:[r.jsxs("div",{className:t(`${e}__content`,{[`${e}__content--with-image`]:o,[`${e}__content--without-image`]:!o}),children:[d&&r.jsx("div",{"data-testid":"badgeWrapper",className:t(`${e}__badge-wrapper`),children:r.jsxs(I.Badge,{variant:a==="primary"?"special":"attention",showIcon:!1,children:[f&&f,d]})}),r.jsxs("div",{className:t(`${e}__main-content`,`${e}__main-content--${U}`),children:[g,r.jsx(Z.Heading,{tag:y,variant:F,enableHyphenation:w,className:t(`${e}__heading`),children:x}),r.jsxs("div",{className:t(`${e}__body`),children:[r.jsx("div",{className:t(`${e}__child-content`),children:S}),_&&r.jsx("div",{className:t(`${e}__actions`),children:_}),c&&r.jsx($.Paragraph,{negative:!0,variant:"additional-100",className:t(`${e}__additional-text`),children:c})]})]})]}),o&&r.jsx("div",{className:t(`${e}__image-wrapper`,{[`${e}__image-wrapper--product`]:"productImage"in i,[`${e}__image-wrapper--decorative`]:"decorativeImage"in i}),children:o})]})})});h.displayName="PromotionCard";exports.PromotionCard=h;exports.promotionCardVariants=P;
2
- //# sourceMappingURL=promotion-card-C7B5ZJaB.js.map
1
+ "use strict";const r=require("react/jsx-runtime"),D=require("react"),b=require("./badge-CQ0SS_t8.js"),I=require("./card-VMa3cGCP.js"),L=require("./heading-drD5ugCC.js"),Z=require("./paragraph-BsI53OR0.js"),$=require("./ThemeProvider-ipAIFRUi.js"),R=require("./bind-DeUYJ6m9.js"),q={"purpur-promotion-card":"_purpur-promotion-card_1i36b_1","purpur-promotion-card__inner":"_purpur-promotion-card__inner_1i36b_9","purpur-promotion-card__inner--without-image":"_purpur-promotion-card__inner--without-image_1i36b_12","purpur-promotion-card__content":"_purpur-promotion-card__content_1i36b_12","purpur-promotion-card__inner--with-image":"_purpur-promotion-card__inner--with-image_1i36b_37","purpur-promotion-card__inner--media-position-left":"_purpur-promotion-card__inner--media-position-left_1i36b_51","purpur-promotion-card__actions":"_purpur-promotion-card__actions_1i36b_55","purpur-promotion-card__content--without-image":"_purpur-promotion-card__content--without-image_1i36b_77","purpur-promotion-card__main-content":"_purpur-promotion-card__main-content_1i36b_80","purpur-promotion-card__heading":"_purpur-promotion-card__heading_1i36b_85","purpur-promotion-card__content--with-image":"_purpur-promotion-card__content--with-image_1i36b_90","purpur-promotion-card__badge-wrapper":"_purpur-promotion-card__badge-wrapper_1i36b_101","purpur-promotion-card__body":"_purpur-promotion-card__body_1i36b_105","purpur-promotion-card__main-content--space-between":"_purpur-promotion-card__main-content--space-between_1i36b_116","purpur-promotion-card__main-content--flex-end":"_purpur-promotion-card__main-content--flex-end_1i36b_119","purpur-promotion-card__child-content":"_purpur-promotion-card__child-content_1i36b_139","purpur-promotion-card__additional-text":"_purpur-promotion-card__additional-text_1i36b_142","purpur-promotion-card__image-wrapper":"_purpur-promotion-card__image-wrapper_1i36b_145","purpur-promotion-card__image-wrapper--decorative":"_purpur-promotion-card__image-wrapper--decorative_1i36b_148","purpur-promotion-card__image-wrapper--product":"_purpur-promotion-card__image-wrapper--product_1i36b_149"},P=["primary","secondary","quaternary"],j={primary:"var(--purpur-color-background-tone-on-tone-primary)",secondary:"var(--purpur-color-background-tone-on-tone-secondary)",quaternary:"var(--purpur-color-background-tone-on-tone-quaternary)"},p={primary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,secondary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},N={primary:p.secondary,secondary:p.primary,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_24984_14652)"><rect width="2000" height="1125" fill="url(%23paint0_linear_24984_14652)"/><g filter="url(%23filter0_d_24984_14652)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5808 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23FFF0E5"/></g><g filter="url(%23filter1_d_24984_14652)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3462 51.596 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_24984_14652)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_24984_14652)" stroke="url(%23paint3_linear_24984_14652)" stroke-width="0.488281"/><g filter="url(%23filter2_d_24984_14652)"><path d="M895.095 -81.1636L897.087 -83.483C2339.19 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.808 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23FFF0E5"/></g><g filter="url(%23filter3_d_24984_14652)"><path d="M892.877 -81.1462L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.598C521.196 351.573 686.155 159.524 892.877 -81.1462Z" fill="url(%23paint4_linear_24984_14652)"/></g><path d="M899.248 -92.33L901.24 -94.6492C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.34 899.248 -92.33Z" fill="url(%23paint5_linear_24984_14652)" stroke="url(%23paint6_linear_24984_14652)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_24984_14652" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter1_d_24984_14652" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter2_d_24984_14652" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter3_d_24984_14652" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><linearGradient id="paint0_linear_24984_14652" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%232C2520"/><stop offset="0.576094" stop-color="%2329221D"/><stop offset="1" stop-color="%2327211C"/></linearGradient><linearGradient id="paint1_linear_24984_14652" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2340362E"/><stop offset="0.265" stop-color="%23372E27"/><stop offset="0.385" stop-color="%232D2621"/><stop offset="0.720829" stop-color="%231E1916"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint2_linear_24984_14652" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.19574" stop-color="%232C2520"/><stop offset="1" stop-color="%23221D19"/></linearGradient><linearGradient id="paint3_linear_24984_14652" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23887363"/><stop offset="0.506509" stop-color="%233E342D"/><stop offset="1" stop-color="%23251F1A"/></linearGradient><linearGradient id="paint4_linear_24984_14652" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%233B312A"/><stop offset="0.340552" stop-color="%232D2621"/><stop offset="0.616738" stop-color="%231F1A17"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint5_linear_24984_14652" x1="781.493" y1="72.65" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.51248" stop-color="%2326201C"/><stop offset="1" stop-color="%23201B17"/></linearGradient><linearGradient id="paint6_linear_24984_14652" x1="820.5" y1="32.5" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%23645549"/><stop offset="0.425" stop-color="%23594B41"/><stop offset="1" stop-color="%23221C18"/></linearGradient><clipPath id="clip0_24984_14652"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},H={primary:"var(--purpur-color-text-tone-on-tone-primary)",secondary:"var(--purpur-color-text-tone-on-tone-secondary)",quaternary:"var(--purpur-color-text-tone-on-tone-tertiary)"},t=R.c.bind(q),e="purpur-promotion-card",h=D.forwardRef(({["data-testid"]:m,variant:a="primary",badgeText:d,badgeIcon:f,beforeTitle:g,title:x,mediaPosition:C="right",titleTag:y="h2",titleVariant:F="title-300",enableTitleHyphenation:w=!1,className:B,actions:_,children:S,style:G,alignment:U="space-between",additionalText:c,forceColorScheme:v,...i},A)=>{const{options:O,currentColorScheme:E}=$.useTheme(),u=v??O?.promotionCardColorScheme;let l=i,o;if("decorativeImage"in i){const{decorativeImage:n,...s}=i;o=n,l=s}else if("productImage"in i){const{productImage:n,...s}=i;o=n,l=s}const k=u??E,M={"--promotion-card-background":j[a],"--promotion-card-color":H[a],"--promotion-card-background-image":o?"none":k==="dark"?N[a]:p[a]};return r.jsx(I.Card,{"data-color-scheme":u,"data-testid":m,ref:A,fullHeight:!0,className:t(B,e,`${e}--${a}`),style:{...M,...G},...l,children:r.jsxs("div",{className:t(`${e}__inner`,{[`${e}__inner--with-image`]:o,[`${e}__inner--without-image`]:!o,[`${e}__inner--media-position-left`]:o&&C==="left"}),children:[r.jsxs("div",{className:t(`${e}__content`,{[`${e}__content--with-image`]:o,[`${e}__content--without-image`]:!o}),children:[d&&r.jsx("div",{"data-testid":"badgeWrapper",className:t(`${e}__badge-wrapper`),children:r.jsxs(b.Badge,{variant:a==="primary"?"special":"attention",showIcon:!1,children:[f&&f,d]})}),r.jsxs("div",{className:t(`${e}__main-content`,`${e}__main-content--${U}`),children:[g,r.jsx(L.Heading,{tag:y,variant:F,enableHyphenation:w,className:t(`${e}__heading`),children:x}),r.jsxs("div",{className:t(`${e}__body`),children:[r.jsx("div",{className:t(`${e}__child-content`),children:S}),_&&r.jsx("div",{className:t(`${e}__actions`),children:_}),c&&r.jsx(Z.Paragraph,{negative:!0,variant:"additional-100",className:t(`${e}__additional-text`),children:c})]})]})]}),o&&r.jsx("div",{className:t(`${e}__image-wrapper`,{[`${e}__image-wrapper--product`]:"productImage"in i,[`${e}__image-wrapper--decorative`]:"decorativeImage"in i}),children:o})]})})});h.displayName="PromotionCard";exports.PromotionCard=h;exports.promotionCardVariants=P;
2
+ //# sourceMappingURL=promotion-card-CXNhskRl.js.map