@purpur/library 9.7.5 → 9.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.json +27 -0
  2. package/CHANGELOG.md +13 -1
  3. package/dist/LICENSE.txt +7 -7
  4. package/dist/{ThemeProvider-DiDBfyFA.mjs → ThemeProvider-BJ25_asg.mjs} +13 -13
  5. package/dist/{ThemeProvider-DiDBfyFA.mjs.map → ThemeProvider-BJ25_asg.mjs.map} +1 -1
  6. package/dist/{ThemeProvider-D7oXcAde.js → ThemeProvider-BJGm3zai.js} +2 -2
  7. package/dist/{ThemeProvider-D7oXcAde.js.map → ThemeProvider-BJGm3zai.js.map} +1 -1
  8. package/dist/{autocomplete-BEGRn-Wh.mjs → autocomplete-A9-Ni60G.mjs} +2 -2
  9. package/dist/{autocomplete-BEGRn-Wh.mjs.map → autocomplete-A9-Ni60G.mjs.map} +1 -1
  10. package/dist/{autocomplete-3kV1btuI.js → autocomplete-Bbth0nDG.js} +2 -2
  11. package/dist/{autocomplete-3kV1btuI.js.map → autocomplete-Bbth0nDG.js.map} +1 -1
  12. package/dist/autocomplete.cjs.js +1 -1
  13. package/dist/autocomplete.es.js +1 -1
  14. package/dist/components/accordion/src/accordion.visual.fixtures.d.ts +13 -0
  15. package/dist/components/accordion/src/accordion.visual.fixtures.d.ts.map +1 -0
  16. package/dist/components/badge/src/badge.visual.fixtures.d.ts +13 -0
  17. package/dist/components/badge/src/badge.visual.fixtures.d.ts.map +1 -0
  18. package/dist/components/footer/src/telia-logo.d.ts.map +1 -1
  19. package/dist/components/hero-banner/src/hero-banner-types.d.ts +48 -0
  20. package/dist/components/hero-banner/src/hero-banner-types.d.ts.map +1 -0
  21. package/dist/components/hero-banner/src/hero-banner.d.ts +5 -48
  22. package/dist/components/hero-banner/src/hero-banner.d.ts.map +1 -1
  23. package/dist/components/hero-banner/src/hero-banner.visual.fixtures.d.ts +1 -1
  24. package/dist/components/hero-banner/src/hero-banner.visual.fixtures.d.ts.map +1 -1
  25. package/dist/components-metadata.js +2 -2
  26. package/dist/{date-field-BKKty89_.js → date-field-CKxEWHG3.js} +2 -2
  27. package/dist/{date-field-BKKty89_.js.map → date-field-CKxEWHG3.js.map} +1 -1
  28. package/dist/{date-field-Cv5CKR1y.mjs → date-field-HEFdHIxk.mjs} +2 -2
  29. package/dist/{date-field-Cv5CKR1y.mjs.map → date-field-HEFdHIxk.mjs.map} +1 -1
  30. package/dist/date-field.cjs.js +1 -1
  31. package/dist/date-field.es.js +1 -1
  32. package/dist/{date-picker-CIizn3Pv.js → date-picker-CDBwkAJI.js} +2 -2
  33. package/dist/{date-picker-CIizn3Pv.js.map → date-picker-CDBwkAJI.js.map} +1 -1
  34. package/dist/{date-picker-DixxW60s.mjs → date-picker-cQewKIMN.mjs} +6 -6
  35. package/dist/{date-picker-DixxW60s.mjs.map → date-picker-cQewKIMN.mjs.map} +1 -1
  36. package/dist/date-picker.cjs.js +1 -1
  37. package/dist/date-picker.es.js +1 -1
  38. package/dist/{date-range-field-D8vLeSwp.js → date-range-field-D7Hn9FGN.js} +2 -2
  39. package/dist/{date-range-field-D8vLeSwp.js.map → date-range-field-D7Hn9FGN.js.map} +1 -1
  40. package/dist/{date-range-field-CFcjprIl.mjs → date-range-field-_WctWD29.mjs} +2 -2
  41. package/dist/{date-range-field-CFcjprIl.mjs.map → date-range-field-_WctWD29.mjs.map} +1 -1
  42. package/dist/date-range-field.cjs.js +1 -1
  43. package/dist/date-range-field.es.js +1 -1
  44. package/dist/{drawer-DyhsP34o.js → drawer-DyLQfvEh.js} +2 -2
  45. package/dist/{drawer-DyhsP34o.js.map → drawer-DyLQfvEh.js.map} +1 -1
  46. package/dist/{drawer-BzkRd9F0.mjs → drawer-cIUx6WSZ.mjs} +3 -3
  47. package/dist/{drawer-BzkRd9F0.mjs.map → drawer-cIUx6WSZ.mjs.map} +1 -1
  48. package/dist/drawer.cjs.js +1 -1
  49. package/dist/drawer.es.js +1 -1
  50. package/dist/{footer-DenAcikt.mjs → footer-BMlXRro2.mjs} +86 -96
  51. package/dist/footer-BMlXRro2.mjs.map +1 -0
  52. package/dist/footer-cet787Iq.js +2 -0
  53. package/dist/footer-cet787Iq.js.map +1 -0
  54. package/dist/footer.cjs.js +1 -1
  55. package/dist/footer.es.js +1 -1
  56. package/dist/{hero-banner-B7xrDfzN.mjs → hero-banner-B08jC0Sf.mjs} +77 -77
  57. package/dist/hero-banner-B08jC0Sf.mjs.map +1 -0
  58. package/dist/hero-banner-D__doaU7.js +2 -0
  59. package/dist/hero-banner-D__doaU7.js.map +1 -0
  60. package/dist/hero-banner.cjs.js +1 -1
  61. package/dist/hero-banner.es.js +1 -1
  62. package/dist/library.cjs.js +1 -1
  63. package/dist/library.es.js +21 -21
  64. package/dist/{modal-DJn9idcw.js → modal-CmPPxJ7Y.js} +2 -2
  65. package/dist/{modal-DJn9idcw.js.map → modal-CmPPxJ7Y.js.map} +1 -1
  66. package/dist/{modal-EIP36327.mjs → modal-Evh8sCBO.mjs} +3 -3
  67. package/dist/{modal-EIP36327.mjs.map → modal-Evh8sCBO.mjs.map} +1 -1
  68. package/dist/modal.cjs.js +1 -1
  69. package/dist/modal.es.js +1 -1
  70. package/dist/{popover-DERrvReO.mjs → popover-BSUdf0Ae.mjs} +3 -3
  71. package/dist/{popover-DERrvReO.mjs.map → popover-BSUdf0Ae.mjs.map} +1 -1
  72. package/dist/{popover-DnGgzfQr.js → popover-XJqF5DHT.js} +2 -2
  73. package/dist/{popover-DnGgzfQr.js.map → popover-XJqF5DHT.js.map} +1 -1
  74. package/dist/popover.cjs.js +1 -1
  75. package/dist/popover.es.js +1 -1
  76. package/dist/{promotion-card-DKc2Cx1h.js → promotion-card-BnXD2mkp.js} +2 -2
  77. package/dist/{promotion-card-DKc2Cx1h.js.map → promotion-card-BnXD2mkp.js.map} +1 -1
  78. package/dist/{promotion-card-BnzIVNQ4.mjs → promotion-card-DOO0VCI8.mjs} +2 -2
  79. package/dist/{promotion-card-BnzIVNQ4.mjs.map → promotion-card-DOO0VCI8.mjs.map} +1 -1
  80. package/dist/promotion-card.cjs.js +1 -1
  81. package/dist/promotion-card.es.js +1 -1
  82. package/dist/purpur.css +1 -1
  83. package/dist/{quantity-selector-CvBvnMeB.mjs → quantity-selector-B4YnfmNb.mjs} +2 -2
  84. package/dist/{quantity-selector-CvBvnMeB.mjs.map → quantity-selector-B4YnfmNb.mjs.map} +1 -1
  85. package/dist/{quantity-selector-CDSfcTb1.js → quantity-selector-CTBoxiPO.js} +2 -2
  86. package/dist/{quantity-selector-CDSfcTb1.js.map → quantity-selector-CTBoxiPO.js.map} +1 -1
  87. package/dist/quantity-selector.cjs.js +1 -1
  88. package/dist/quantity-selector.es.js +1 -1
  89. package/dist/{search-field-DKyNh7pE.mjs → search-field-_h8xn-sj.mjs} +2 -2
  90. package/dist/{search-field-DKyNh7pE.mjs.map → search-field-_h8xn-sj.mjs.map} +1 -1
  91. package/dist/{search-field-2vdDbiT0.js → search-field-vh6uz5KV.js} +2 -2
  92. package/dist/{search-field-2vdDbiT0.js.map → search-field-vh6uz5KV.js.map} +1 -1
  93. package/dist/search-field.cjs.js +1 -1
  94. package/dist/search-field.es.js +1 -1
  95. package/dist/{stepper-e0qicwqd.mjs → stepper-B-nCLs2D.mjs} +2 -2
  96. package/dist/{stepper-e0qicwqd.mjs.map → stepper-B-nCLs2D.mjs.map} +1 -1
  97. package/dist/{stepper-5qMo_shq.js → stepper-CTKlnH0q.js} +2 -2
  98. package/dist/{stepper-5qMo_shq.js.map → stepper-CTKlnH0q.js.map} +1 -1
  99. package/dist/stepper.cjs.js +1 -1
  100. package/dist/stepper.es.js +1 -1
  101. package/dist/{table-i1Gs9e0e.mjs → table-DOPXfD-s.mjs} +6 -6
  102. package/dist/{table-i1Gs9e0e.mjs.map → table-DOPXfD-s.mjs.map} +1 -1
  103. package/dist/{table-BOCcBzSO.js → table-DTQe4nN8.js} +2 -2
  104. package/dist/{table-BOCcBzSO.js.map → table-DTQe4nN8.js.map} +1 -1
  105. package/dist/table.cjs.js +1 -1
  106. package/dist/table.es.js +1 -1
  107. package/dist/{text-area-D0truMT1.js → text-area-9RUldq6W.js} +2 -2
  108. package/dist/{text-area-D0truMT1.js.map → text-area-9RUldq6W.js.map} +1 -1
  109. package/dist/{text-area-IVH-k4MM.mjs → text-area-C58aZEPa.mjs} +3 -3
  110. package/dist/{text-area-IVH-k4MM.mjs.map → text-area-C58aZEPa.mjs.map} +1 -1
  111. package/dist/text-area.cjs.js +1 -1
  112. package/dist/text-area.es.js +1 -1
  113. package/dist/text-field-C2W13n15.js +2 -0
  114. package/dist/{text-field-CYJzQG3h.js.map → text-field-C2W13n15.js.map} +1 -1
  115. package/dist/{text-field-BQfxJobW.mjs → text-field-D8MMa6ij.mjs} +114 -114
  116. package/dist/{text-field-BQfxJobW.mjs.map → text-field-D8MMa6ij.mjs.map} +1 -1
  117. package/dist/text-field.cjs.js +1 -1
  118. package/dist/text-field.es.js +1 -1
  119. package/dist/theme.cjs.js +1 -1
  120. package/dist/theme.es.js +3 -3
  121. package/dist/tokens/color/variables.css +1 -1
  122. package/dist/tokens/color/variables.dark.css +1 -1
  123. package/dist/tokens/color/variables.dark.js +1 -1
  124. package/dist/tokens/color/variables.dark.json +1 -1
  125. package/dist/tokens/color/variables.dark.scss +1 -1
  126. package/dist/tokens/color/variables.js +1 -1
  127. package/dist/tokens/color/variables.json +1 -1
  128. package/dist/tokens/color/variables.scss +1 -1
  129. package/dist/tokens.cjs.js +1 -1
  130. package/dist/tokens.es.js +1 -1
  131. package/dist/{tooltip-CJGmJDFQ.js → tooltip-CDnJKoIA.js} +2 -2
  132. package/dist/{tooltip-CJGmJDFQ.js.map → tooltip-CDnJKoIA.js.map} +1 -1
  133. package/dist/{tooltip-RA-03bKs.mjs → tooltip-pwJMEBBP.mjs} +3 -3
  134. package/dist/{tooltip-RA-03bKs.mjs.map → tooltip-pwJMEBBP.mjs.map} +1 -1
  135. package/dist/tooltip.cjs.js +1 -1
  136. package/dist/tooltip.es.js +1 -1
  137. package/dist/{useColorScheme-B9DWd-LN.mjs → useColorScheme-B7lGBSe4.mjs} +2 -2
  138. package/dist/{useColorScheme-B9DWd-LN.mjs.map → useColorScheme-B7lGBSe4.mjs.map} +1 -1
  139. package/dist/useColorScheme-BHhPgv9q.js +2 -0
  140. package/dist/{useColorScheme-DbTQjxNB.js.map → useColorScheme-BHhPgv9q.js.map} +1 -1
  141. package/dist/useThemePortalContainer-CUcqV327.js +2 -0
  142. package/dist/{useThemePortalContainer-D9BYjEvT.js.map → useThemePortalContainer-CUcqV327.js.map} +1 -1
  143. package/dist/useThemePortalContainer-D13Xx24N.mjs +9 -0
  144. package/dist/{useThemePortalContainer-tFLTaYKN.mjs.map → useThemePortalContainer-D13Xx24N.mjs.map} +1 -1
  145. package/dist/{variables-B5hbV0Uy.mjs → variables-BrsAsWIF.mjs} +2 -2
  146. package/dist/{variables-B5hbV0Uy.mjs.map → variables-BrsAsWIF.mjs.map} +1 -1
  147. package/dist/{variables-DoI78zZc.js → variables-D1vNo1lO.js} +2 -2
  148. package/dist/{variables-DoI78zZc.js.map → variables-D1vNo1lO.js.map} +1 -1
  149. package/package.json +23 -23
  150. package/tokens/color/variables.css +1 -1
  151. package/tokens/color/variables.dark.css +1 -1
  152. package/tokens/color/variables.dark.js +1 -1
  153. package/tokens/color/variables.dark.json +1 -1
  154. package/tokens/color/variables.dark.scss +1 -1
  155. package/tokens/color/variables.js +1 -1
  156. package/tokens/color/variables.json +1 -1
  157. package/tokens/color/variables.scss +1 -1
  158. package/dist/footer-3Y-664-8.js +0 -2
  159. package/dist/footer-3Y-664-8.js.map +0 -1
  160. package/dist/footer-DenAcikt.mjs.map +0 -1
  161. package/dist/hero-banner-B7xrDfzN.mjs.map +0 -1
  162. package/dist/hero-banner-DthITuQ7.js +0 -2
  163. package/dist/hero-banner-DthITuQ7.js.map +0 -1
  164. package/dist/text-field-CYJzQG3h.js +0 -2
  165. package/dist/useColorScheme-DbTQjxNB.js +0 -2
  166. package/dist/useThemePortalContainer-D9BYjEvT.js +0 -2
  167. package/dist/useThemePortalContainer-tFLTaYKN.mjs +0 -9
@@ -175,7 +175,7 @@ export const purpurColorBackgroundSecondary = "#202022";
175
175
  export const purpurColorBackgroundSecondaryNegative = "#f5f5fa";
176
176
  export const purpurColorBackgroundOnImage = "rgba(0, 0, 0, 0.71)";
177
177
  export const purpurColorBackgroundOnImageNegative = "rgba(255, 255, 255, 0.84)";
178
- export const purpurColorBackgroundInteractiveAutoFill = "#03385b";
178
+ export const purpurColorBackgroundInteractiveAutoFill = "#4e0174";
179
179
  export const purpurColorBackgroundInteractivePrimary = "#f4e0ff";
180
180
  export const purpurColorBackgroundInteractivePrimaryHover = "#e4b6fb";
181
181
  export const purpurColorBackgroundInteractivePrimaryActive = "#d58df9";
@@ -211,7 +211,7 @@
211
211
  "on-image": "rgba(0, 0, 0, 0.71)",
212
212
  "on-image-negative": "rgba(255, 255, 255, 0.84)",
213
213
  "interactive": {
214
- "auto-fill": "#03385b",
214
+ "auto-fill": "#4e0174",
215
215
  "primary": "#f4e0ff",
216
216
  "primary-hover": "#e4b6fb",
217
217
  "primary-active": "#d58df9",
@@ -175,7 +175,7 @@ $purpur-color-background-secondary: $purpur-color-gray-900;
175
175
  $purpur-color-background-secondary-negative: $purpur-color-gray-50;
176
176
  $purpur-color-background-on-image: $purpur-color-transparent-black-700;
177
177
  $purpur-color-background-on-image-negative: $purpur-color-transparent-white-850;
178
- $purpur-color-background-interactive-auto-fill: $purpur-color-blue-800;
178
+ $purpur-color-background-interactive-auto-fill: $purpur-color-purple-800;
179
179
  $purpur-color-background-interactive-primary: $purpur-color-purple-100;
180
180
  $purpur-color-background-interactive-primary-hover: $purpur-color-purple-200;
181
181
  $purpur-color-background-interactive-primary-active: $purpur-color-purple-300;
@@ -176,7 +176,7 @@ export const purpurColorBackgroundSecondary = "#f5f5fa";
176
176
  export const purpurColorBackgroundSecondaryNegative = "#29003e";
177
177
  export const purpurColorBackgroundOnImage = "rgba(255, 255, 255, 0.84)";
178
178
  export const purpurColorBackgroundOnImageNegative = "rgba(0, 0, 0, 0.71)";
179
- export const purpurColorBackgroundInteractiveAutoFill = "#e8f6ff";
179
+ export const purpurColorBackgroundInteractiveAutoFill = "#faf0ff";
180
180
  export const purpurColorBackgroundInteractivePrimary = "#4e0174";
181
181
  export const purpurColorBackgroundInteractivePrimaryHover = "#6d02a3";
182
182
  export const purpurColorBackgroundInteractivePrimaryActive = "#8c07d0";
@@ -212,7 +212,7 @@
212
212
  "on-image": "rgba(255, 255, 255, 0.84)",
213
213
  "on-image-negative": "rgba(0, 0, 0, 0.71)",
214
214
  "interactive": {
215
- "auto-fill": "#e8f6ff",
215
+ "auto-fill": "#faf0ff",
216
216
  "primary": "#4e0174",
217
217
  "primary-hover": "#6d02a3",
218
218
  "primary-active": "#8c07d0",
@@ -176,7 +176,7 @@ $purpur-color-background-secondary: $purpur-color-gray-50;
176
176
  $purpur-color-background-secondary-negative: $purpur-color-purple-900;
177
177
  $purpur-color-background-on-image: $purpur-color-transparent-white-850;
178
178
  $purpur-color-background-on-image-negative: $purpur-color-transparent-black-700;
179
- $purpur-color-background-interactive-auto-fill: $purpur-color-blue-50;
179
+ $purpur-color-background-interactive-auto-fill: $purpur-color-purple-50;
180
180
  $purpur-color-background-interactive-primary: $purpur-color-purple-800;
181
181
  $purpur-color-background-interactive-primary-hover: $purpur-color-purple-700;
182
182
  $purpur-color-background-interactive-primary-active: $purpur-color-purple-600;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./variables-Buqm4JZc.js"),r=require("./variables-DoI78zZc.js"),u=require("./variables-BSBunpiY.js"),o="2px",e="4px",a="8px",t="16px",n="24px",i="999px",l="1px",c="2px",C="3px",g="6px",d="blur(24px)",s="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",v="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",B="linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)",T="linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)",S="linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)",y="linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)",m="linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)",k="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",I="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",x="0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)",h="0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)",P="0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)",N="0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)",G="0rem",O="0.0625rem",M="0.125rem",W="0.25rem",A="0.5rem",E="0.75rem",D="1rem",R="1.25rem",f="1.5rem",H="2rem",L="3rem",b="4rem",F="5rem",X="6rem",w="8rem",q="1rem",Q="1.5rem",$="1.5rem",j="1.5rem",z="1rem",J="1.5rem",K="3rem",U="3rem",V="TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif",Y="TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif",Z="400",_="500",rr="700",ur="100%",pr="110%",or="125%",er="150%",ar="175%",tr="0.75rem",nr="0.875rem",ir="1rem",lr="1.125rem",cr="1.25rem",Cr="1.375rem",gr="1.5rem",dr="1.75rem",sr="2rem",vr="2.25rem",Br="2.5rem",Tr="3rem",Sr="3.5rem",yr="4rem",mr="5rem",kr="6rem";exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextInteractiveSelectedNegative=r.purpurColorTextInteractiveSelectedNegative;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=u.purpurMotionDuration100;exports.purpurMotionDuration150=u.purpurMotionDuration150;exports.purpurMotionDuration1500=u.purpurMotionDuration1500;exports.purpurMotionDuration200=u.purpurMotionDuration200;exports.purpurMotionDuration2000=u.purpurMotionDuration2000;exports.purpurMotionDuration300=u.purpurMotionDuration300;exports.purpurMotionDuration400=u.purpurMotionDuration400;exports.purpurMotionDuration500=u.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=u.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=u.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=u.purpurMotionEasingEaseOut;exports.purpurBorderRadiusFull=i;exports.purpurBorderRadiusLg=t;exports.purpurBorderRadiusMd=a;exports.purpurBorderRadiusSm=e;exports.purpurBorderRadiusXl=n;exports.purpurBorderRadiusXs=o;exports.purpurBorderWidthLg=g;exports.purpurBorderWidthMd=C;exports.purpurBorderWidthSm=c;exports.purpurBorderWidthXs=l;exports.purpurFilterBlurOnImage=d;exports.purpurGradientAiBackgroundInteractiveExpressive=B;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=T;exports.purpurGradientAiBackgroundInteractivePrimary=S;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=y;exports.purpurGradientAiBackgroundPrimaryNegative=m;exports.purpurGradientAiBorderInteractivePrimary=k;exports.purpurGradientAiBorderInteractivePrimaryNegative=I;exports.purpurGradientAiTextInteractivePrimary=s;exports.purpurGradientAiTextInteractivePrimaryNegative=v;exports.purpurShadowLg=N;exports.purpurShadowMd=P;exports.purpurShadowNone=x;exports.purpurShadowSm=h;exports.purpurSpacing0=G;exports.purpurSpacing10=O;exports.purpurSpacing100=A;exports.purpurSpacing1000=F;exports.purpurSpacing1200=X;exports.purpurSpacing150=E;exports.purpurSpacing1600=w;exports.purpurSpacing200=D;exports.purpurSpacing25=M;exports.purpurSpacing250=R;exports.purpurSpacing300=f;exports.purpurSpacing400=H;exports.purpurSpacing50=W;exports.purpurSpacing600=L;exports.purpurSpacing800=b;exports.purpurSpacingGutterLg=$;exports.purpurSpacingGutterMd=Q;exports.purpurSpacingGutterSm=q;exports.purpurSpacingGutterXl=j;exports.purpurSpacingPagePaddingLg=K;exports.purpurSpacingPagePaddingMd=J;exports.purpurSpacingPagePaddingSm=z;exports.purpurSpacingPagePaddingXl=U;exports.purpurTypographyFamilyDefault=V;exports.purpurTypographyFamilyDisplay=Y;exports.purpurTypographyLineHeightDefault=or;exports.purpurTypographyLineHeightLoose=er;exports.purpurTypographyLineHeightLooser=ar;exports.purpurTypographyLineHeightSnug=pr;exports.purpurTypographyLineHeightTight=ur;exports.purpurTypographyScale100=ir;exports.purpurTypographyScale1000=mr;exports.purpurTypographyScale1100=kr;exports.purpurTypographyScale150=lr;exports.purpurTypographyScale200=cr;exports.purpurTypographyScale300=Cr;exports.purpurTypographyScale400=gr;exports.purpurTypographyScale50=tr;exports.purpurTypographyScale500=dr;exports.purpurTypographyScale600=sr;exports.purpurTypographyScale650=vr;exports.purpurTypographyScale700=Br;exports.purpurTypographyScale75=nr;exports.purpurTypographyScale800=Tr;exports.purpurTypographyScale850=Sr;exports.purpurTypographyScale900=yr;exports.purpurTypographyWeightBold=rr;exports.purpurTypographyWeightMedium=_;exports.purpurTypographyWeightNormal=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./variables-Buqm4JZc.js"),r=require("./variables-D1vNo1lO.js"),u=require("./variables-BSBunpiY.js"),o="2px",e="4px",a="8px",t="16px",n="24px",i="999px",l="1px",c="2px",C="3px",g="6px",d="blur(24px)",s="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",v="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",B="linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)",T="linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)",S="linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)",y="linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)",m="linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)",k="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",I="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",x="0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)",h="0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)",P="0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)",N="0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)",G="0rem",O="0.0625rem",M="0.125rem",W="0.25rem",A="0.5rem",E="0.75rem",D="1rem",R="1.25rem",f="1.5rem",H="2rem",L="3rem",b="4rem",F="5rem",X="6rem",w="8rem",q="1rem",Q="1.5rem",$="1.5rem",j="1.5rem",z="1rem",J="1.5rem",K="3rem",U="3rem",V="TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif",Y="TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif",Z="400",_="500",rr="700",ur="100%",pr="110%",or="125%",er="150%",ar="175%",tr="0.75rem",nr="0.875rem",ir="1rem",lr="1.125rem",cr="1.25rem",Cr="1.375rem",gr="1.5rem",dr="1.75rem",sr="2rem",vr="2.25rem",Br="2.5rem",Tr="3rem",Sr="3.5rem",yr="4rem",mr="5rem",kr="6rem";exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextInteractiveSelectedNegative=r.purpurColorTextInteractiveSelectedNegative;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=u.purpurMotionDuration100;exports.purpurMotionDuration150=u.purpurMotionDuration150;exports.purpurMotionDuration1500=u.purpurMotionDuration1500;exports.purpurMotionDuration200=u.purpurMotionDuration200;exports.purpurMotionDuration2000=u.purpurMotionDuration2000;exports.purpurMotionDuration300=u.purpurMotionDuration300;exports.purpurMotionDuration400=u.purpurMotionDuration400;exports.purpurMotionDuration500=u.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=u.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=u.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=u.purpurMotionEasingEaseOut;exports.purpurBorderRadiusFull=i;exports.purpurBorderRadiusLg=t;exports.purpurBorderRadiusMd=a;exports.purpurBorderRadiusSm=e;exports.purpurBorderRadiusXl=n;exports.purpurBorderRadiusXs=o;exports.purpurBorderWidthLg=g;exports.purpurBorderWidthMd=C;exports.purpurBorderWidthSm=c;exports.purpurBorderWidthXs=l;exports.purpurFilterBlurOnImage=d;exports.purpurGradientAiBackgroundInteractiveExpressive=B;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=T;exports.purpurGradientAiBackgroundInteractivePrimary=S;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=y;exports.purpurGradientAiBackgroundPrimaryNegative=m;exports.purpurGradientAiBorderInteractivePrimary=k;exports.purpurGradientAiBorderInteractivePrimaryNegative=I;exports.purpurGradientAiTextInteractivePrimary=s;exports.purpurGradientAiTextInteractivePrimaryNegative=v;exports.purpurShadowLg=N;exports.purpurShadowMd=P;exports.purpurShadowNone=x;exports.purpurShadowSm=h;exports.purpurSpacing0=G;exports.purpurSpacing10=O;exports.purpurSpacing100=A;exports.purpurSpacing1000=F;exports.purpurSpacing1200=X;exports.purpurSpacing150=E;exports.purpurSpacing1600=w;exports.purpurSpacing200=D;exports.purpurSpacing25=M;exports.purpurSpacing250=R;exports.purpurSpacing300=f;exports.purpurSpacing400=H;exports.purpurSpacing50=W;exports.purpurSpacing600=L;exports.purpurSpacing800=b;exports.purpurSpacingGutterLg=$;exports.purpurSpacingGutterMd=Q;exports.purpurSpacingGutterSm=q;exports.purpurSpacingGutterXl=j;exports.purpurSpacingPagePaddingLg=K;exports.purpurSpacingPagePaddingMd=J;exports.purpurSpacingPagePaddingSm=z;exports.purpurSpacingPagePaddingXl=U;exports.purpurTypographyFamilyDefault=V;exports.purpurTypographyFamilyDisplay=Y;exports.purpurTypographyLineHeightDefault=or;exports.purpurTypographyLineHeightLoose=er;exports.purpurTypographyLineHeightLooser=ar;exports.purpurTypographyLineHeightSnug=pr;exports.purpurTypographyLineHeightTight=ur;exports.purpurTypographyScale100=ir;exports.purpurTypographyScale1000=mr;exports.purpurTypographyScale1100=kr;exports.purpurTypographyScale150=lr;exports.purpurTypographyScale200=cr;exports.purpurTypographyScale300=Cr;exports.purpurTypographyScale400=gr;exports.purpurTypographyScale50=tr;exports.purpurTypographyScale500=dr;exports.purpurTypographyScale600=sr;exports.purpurTypographyScale650=vr;exports.purpurTypographyScale700=Br;exports.purpurTypographyScale75=nr;exports.purpurTypographyScale800=Tr;exports.purpurTypographyScale850=Sr;exports.purpurTypographyScale900=yr;exports.purpurTypographyWeightBold=rr;exports.purpurTypographyWeightMedium=_;exports.purpurTypographyWeightNormal=Z;
2
2
  //# sourceMappingURL=tokens.cjs.js.map
package/dist/tokens.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { p as kr, a as br, b as xr, c as Ir, d as hr, e as Nr, f as Pr, g as Gr } from "./variables-DkCN2x27.mjs";
2
- import { p as Or, a as Mr, b as Wr, c as Ar, d as Er, e as Dr, f as Hr, g as Rr, h as Lr, i as Fr, j as Xr, k as wr, l as jr, m as Qr, n as qr, o as zr, q as Jr, r as Kr, s as Ur, t as Vr, u as Yr, v as Zr, w as _r, x as $r, y as ra, z as aa, A as ua, B as pa, C as oa, D as ea, E as ta, F as sa, G as na, H as ia, I as la, J as ca, K as ga, L as Ca, M as da, N as va, O as Ba, P as Ta, Q as Sa, R as ma, S as ya, T as ka, U as ba, V as xa, W as Ia, X as ha, Y as Na, Z as Pa, _ as Ga, $ as fa, a0 as Oa, a1 as Ma, a2 as Wa, a3 as Aa, a4 as Ea, a5 as Da, a6 as Ha, a7 as Ra, a8 as La, a9 as Fa, aa as Xa, ab as wa, ac as ja, ad as Qa, ae as qa, af as za, ag as Ja, ah as Ka, ai as Ua, aj as Va, ak as Ya, al as Za, am as _a, an as $a, ao as ru, ap as au, aq as uu, ar as pu, as as ou, at as eu, au as tu, av as su, aw as nu, ax as iu, ay as lu, az as cu, aA as gu, aB as Cu, aC as du, aD as vu, aE as Bu, aF as Tu, aG as Su, aH as mu, aI as yu, aJ as ku, aK as bu, aL as xu, aM as Iu, aN as hu, aO as Nu, aP as Pu, aQ as Gu, aR as fu, aS as Ou, aT as Mu, aU as Wu, aV as Au, aW as Eu, aX as Du, aY as Hu, aZ as Ru, a_ as Lu, a$ as Fu, b0 as Xu, b1 as wu, b2 as ju, b3 as Qu, b4 as qu, b5 as zu, b6 as Ju, b7 as Ku, b8 as Uu, b9 as Vu, ba as Yu, bb as Zu, bc as _u, bd as $u, be as rp, bf as ap, bg as up, bh as pp, bi as op, bj as ep, bk as tp, bl as sp, bm as np, bn as ip, bo as lp, bp as cp, bq as gp, br as Cp, bs as dp, bt as vp, bu as Bp, bv as Tp, bw as Sp, bx as mp, by as yp, bz as kp, bA as bp, bB as xp, bC as Ip, bD as hp, bE as Np, bF as Pp, bG as Gp, bH as fp, bI as Op, bJ as Mp, bK as Wp, bL as Ap, bM as Ep, bN as Dp, bO as Hp, bP as Rp, bQ as Lp, bR as Fp, bS as Xp, bT as wp, bU as jp, bV as Qp, bW as qp, bX as zp, bY as Jp, bZ as Kp, b_ as Up, b$ as Vp, c0 as Yp, c1 as Zp, c2 as _p, c3 as $p, c4 as ro, c5 as ao, c6 as uo, c7 as po, c8 as oo, c9 as eo, ca as to, cb as so, cc as no, cd as io, ce as lo, cf as co, cg as go, ch as Co, ci as vo, cj as Bo, ck as To, cl as So, cm as mo, cn as yo, co as ko, cp as bo, cq as xo, cr as Io, cs as ho, ct as No, cu as Po, cv as Go, cw as fo, cx as Oo, cy as Mo, cz as Wo, cA as Ao, cB as Eo, cC as Do, cD as Ho, cE as Ro, cF as Lo, cG as Fo, cH as Xo, cI as wo, cJ as jo, cK as Qo, cL as qo, cM as zo, cN as Jo, cO as Ko, cP as Uo, cQ as Vo, cR as Yo, cS as Zo, cT as _o, cU as $o, cV as re, cW as ae, cX as ue, cY as pe, cZ as oe, c_ as ee, c$ as te, d0 as se, d1 as ne, d2 as ie, d3 as le, d4 as ce, d5 as ge, d6 as Ce } from "./variables-B5hbV0Uy.mjs";
2
+ import { p as Or, a as Mr, b as Wr, c as Ar, d as Er, e as Dr, f as Hr, g as Rr, h as Lr, i as Fr, j as Xr, k as wr, l as jr, m as Qr, n as qr, o as zr, q as Jr, r as Kr, s as Ur, t as Vr, u as Yr, v as Zr, w as _r, x as $r, y as ra, z as aa, A as ua, B as pa, C as oa, D as ea, E as ta, F as sa, G as na, H as ia, I as la, J as ca, K as ga, L as Ca, M as da, N as va, O as Ba, P as Ta, Q as Sa, R as ma, S as ya, T as ka, U as ba, V as xa, W as Ia, X as ha, Y as Na, Z as Pa, _ as Ga, $ as fa, a0 as Oa, a1 as Ma, a2 as Wa, a3 as Aa, a4 as Ea, a5 as Da, a6 as Ha, a7 as Ra, a8 as La, a9 as Fa, aa as Xa, ab as wa, ac as ja, ad as Qa, ae as qa, af as za, ag as Ja, ah as Ka, ai as Ua, aj as Va, ak as Ya, al as Za, am as _a, an as $a, ao as ru, ap as au, aq as uu, ar as pu, as as ou, at as eu, au as tu, av as su, aw as nu, ax as iu, ay as lu, az as cu, aA as gu, aB as Cu, aC as du, aD as vu, aE as Bu, aF as Tu, aG as Su, aH as mu, aI as yu, aJ as ku, aK as bu, aL as xu, aM as Iu, aN as hu, aO as Nu, aP as Pu, aQ as Gu, aR as fu, aS as Ou, aT as Mu, aU as Wu, aV as Au, aW as Eu, aX as Du, aY as Hu, aZ as Ru, a_ as Lu, a$ as Fu, b0 as Xu, b1 as wu, b2 as ju, b3 as Qu, b4 as qu, b5 as zu, b6 as Ju, b7 as Ku, b8 as Uu, b9 as Vu, ba as Yu, bb as Zu, bc as _u, bd as $u, be as rp, bf as ap, bg as up, bh as pp, bi as op, bj as ep, bk as tp, bl as sp, bm as np, bn as ip, bo as lp, bp as cp, bq as gp, br as Cp, bs as dp, bt as vp, bu as Bp, bv as Tp, bw as Sp, bx as mp, by as yp, bz as kp, bA as bp, bB as xp, bC as Ip, bD as hp, bE as Np, bF as Pp, bG as Gp, bH as fp, bI as Op, bJ as Mp, bK as Wp, bL as Ap, bM as Ep, bN as Dp, bO as Hp, bP as Rp, bQ as Lp, bR as Fp, bS as Xp, bT as wp, bU as jp, bV as Qp, bW as qp, bX as zp, bY as Jp, bZ as Kp, b_ as Up, b$ as Vp, c0 as Yp, c1 as Zp, c2 as _p, c3 as $p, c4 as ro, c5 as ao, c6 as uo, c7 as po, c8 as oo, c9 as eo, ca as to, cb as so, cc as no, cd as io, ce as lo, cf as co, cg as go, ch as Co, ci as vo, cj as Bo, ck as To, cl as So, cm as mo, cn as yo, co as ko, cp as bo, cq as xo, cr as Io, cs as ho, ct as No, cu as Po, cv as Go, cw as fo, cx as Oo, cy as Mo, cz as Wo, cA as Ao, cB as Eo, cC as Do, cD as Ho, cE as Ro, cF as Lo, cG as Fo, cH as Xo, cI as wo, cJ as jo, cK as Qo, cL as qo, cM as zo, cN as Jo, cO as Ko, cP as Uo, cQ as Vo, cR as Yo, cS as Zo, cT as _o, cU as $o, cV as re, cW as ae, cX as ue, cY as pe, cZ as oe, c_ as ee, c$ as te, d0 as se, d1 as ne, d2 as ie, d3 as le, d4 as ce, d5 as ge, d6 as Ce } from "./variables-BrsAsWIF.mjs";
3
3
  import { p as ve, a as Be, b as Te, c as Se, d as me, e as ye, f as ke, g as be, h as xe, i as Ie, j as he } from "./variables-Dr3Hsdn-.mjs";
4
4
  const r = "2px", a = "4px", u = "8px", p = "16px", o = "24px", e = "999px", t = "1px", s = "2px", n = "3px", i = "6px", l = "blur(24px)", c = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", g = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", C = "linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)", d = "linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)", v = "linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)", B = "linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)", T = "linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)", S = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", m = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", y = "0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)", k = "0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)", b = "0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)", x = "0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)", I = "0rem", h = "0.0625rem", N = "0.125rem", P = "0.25rem", G = "0.5rem", f = "0.75rem", O = "1rem", M = "1.25rem", W = "1.5rem", A = "2rem", E = "3rem", D = "4rem", H = "5rem", R = "6rem", L = "8rem", F = "1rem", X = "1.5rem", w = "1.5rem", j = "1.5rem", Q = "1rem", q = "1.5rem", z = "3rem", J = "3rem", K = "TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif", U = "TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif", V = "400", Y = "500", Z = "700", _ = "100%", $ = "110%", rr = "125%", ar = "150%", ur = "175%", pr = "0.75rem", or = "0.875rem", er = "1rem", tr = "1.125rem", sr = "1.25rem", nr = "1.375rem", ir = "1.5rem", lr = "1.75rem", cr = "2rem", gr = "2.25rem", Cr = "2.5rem", dr = "3rem", vr = "3.5rem", Br = "4rem", Tr = "5rem", Sr = "6rem";
5
5
  export {
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("react/jsx-runtime"),Y=require("react"),le=require("./button-DmybVApa.js"),at=require("./info.es-Br84jly5.js"),ue=require("./paragraph-By4jMjnH.js"),ct=require("./variables-BSBunpiY.js");require("./ThemeProvider-D7oXcAde.js");const lt=require("./useThemePortalContainer-D9BYjEvT.js"),he=require("react-dom"),T=require("./floating-ui.react-dom-Cc_YSprQ.js"),ut=require("./bind-DeUYJ6m9.js");function ve(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=ve(Y),dt=ve(he);function _(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function de(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function me(...e){return t=>{let n=!1;const r=e.map(o=>{const i=de(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():de(e[o],null)}}}}function S(...e){return s.useCallback(me(...e),e)}function ye(e,t=[]){let n=[];function r(i,a){const u=s.createContext(a),c=n.length;n=[...n,a];const l=f=>{const{scope:v,children:h,...m}=f,y=v?.[e]?.[c]||u,x=s.useMemo(()=>m,Object.values(m));return p.jsx(y.Provider,{value:x,children:h})};l.displayName=i+"Provider";function d(f,v){const h=v?.[e]?.[c]||u,m=s.useContext(h);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[l,d]}const o=()=>{const i=n.map(a=>s.createContext(a));return function(u){const c=u?.[e]||i;return s.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return o.scopeName=e,[r,pt(o,...t)]}function pt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((u,{useScope:c,scopeName:l})=>{const f=c(i)[`__scope${l}`];return{...u,...f}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ge=s.forwardRef((e,t)=>{const{children:n,...r}=e,o=s.Children.toArray(n),i=o.find(ft);if(i){const a=i.props.children,u=o.map(c=>c===i?s.Children.count(a)>1?s.Children.only(null):s.isValidElement(a)?a.props.children:null:c);return p.jsx(X,{...r,ref:t,children:s.isValidElement(a)?s.cloneElement(a,void 0,u):null})}return p.jsx(X,{...r,ref:t,children:n})});ge.displayName="Slot";var X=s.forwardRef((e,t)=>{const{children:n,...r}=e;if(s.isValidElement(n)){const o=vt(n),i=ht(r,n.props);return n.type!==s.Fragment&&(i.ref=t?me(t,o):o),s.cloneElement(n,i)}return s.Children.count(n)>1?s.Children.only(null):null});X.displayName="SlotClone";var xe=({children:e})=>p.jsx(p.Fragment,{children:e});function ft(e){return s.isValidElement(e)&&e.type===xe}function ht(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...u)=>{i(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function vt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],A=mt.reduce((e,t)=>{const n=s.forwardRef((r,o)=>{const{asChild:i,...a}=r,u=i?ge:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function yt(e,t){e&&dt.flushSync(()=>e.dispatchEvent(t))}function j(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...n)=>t.current?.(...n),[])}function gt(e,t=globalThis?.document){const n=j(e);s.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var xt="DismissableLayer",K="dismissableLayer.update",wt="dismissableLayer.pointerDownOutside",Pt="dismissableLayer.focusOutside",pe,we=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pe=s.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...c}=e,l=s.useContext(we),[d,f]=s.useState(null),v=d?.ownerDocument??globalThis?.document,[,h]=s.useState({}),m=S(t,g=>f(g)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),P=y.indexOf(x),w=d?y.indexOf(d):-1,C=l.layersWithOutsidePointerEventsDisabled.size>0,E=w>=P,b=bt(g=>{const R=g.target,$=[...l.branches].some(k=>k.contains(R));!E||$||(o?.(g),a?.(g),g.defaultPrevented||u?.())},v),O=Tt(g=>{const R=g.target;[...l.branches].some(k=>k.contains(R))||(i?.(g),a?.(g),g.defaultPrevented||u?.())},v);return gt(g=>{w===l.layers.size-1&&(r?.(g),!g.defaultPrevented&&u&&(g.preventDefault(),u()))},v),s.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(pe=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),fe(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=pe)}},[d,v,n,l]),s.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),fe())},[d,l]),s.useEffect(()=>{const g=()=>h({});return document.addEventListener(K,g),()=>document.removeEventListener(K,g)},[]),p.jsx(A.div,{...c,ref:m,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:_(e.onFocusCapture,O.onFocusCapture),onBlurCapture:_(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:_(e.onPointerDownCapture,b.onPointerDownCapture)})});Pe.displayName=xt;var Et="DismissableLayerBranch",Ct=s.forwardRef((e,t)=>{const n=s.useContext(we),r=s.useRef(null),o=S(t,r);return s.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(A.div,{...e,ref:o})});Ct.displayName=Et;function bt(e,t=globalThis?.document){const n=j(e),r=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{const i=u=>{if(u.target&&!r.current){let c=function(){Ee(wt,n,l,{discrete:!0})};const l={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Tt(e,t=globalThis?.document){const n=j(e),r=s.useRef(!1);return s.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ee(Pt,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fe(){const e=new CustomEvent(K);document.dispatchEvent(e)}function Ee(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?yt(o,i):o.dispatchEvent(i)}var N=globalThis?.document?s.useLayoutEffect:()=>{},_t=s.useId||(()=>{}),Ot=0;function At(e){const[t,n]=s.useState(_t());return N(()=>{n(r=>r??String(Ot++))},[e]),t?`radix-${t}`:""}var Rt="Arrow",Ce=s.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return p.jsx(A.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=Rt;var Nt=Ce;function St(e){const[t,n]=s.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,u;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;a=l.inlineSize,u=l.blockSize}else a=e.offsetWidth,u=e.offsetHeight;n({width:a,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Q="Popper",[be,Te]=ye(Q),[Dt,_e]=be(Q),Oe=e=>{const{__scopePopper:t,children:n}=e,[r,o]=s.useState(null);return p.jsx(Dt,{scope:t,anchor:r,onAnchorChange:o,children:n})};Oe.displayName=Q;var Ae="PopperAnchor",Re=s.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=_e(Ae,n),a=s.useRef(null),u=S(t,a);return s.useEffect(()=>{i.onAnchorChange(r?.current||a.current)}),r?null:p.jsx(A.div,{...o,ref:u})});Re.displayName=Ae;var ee="PopperContent",[Lt,It]=be(ee),Ne=s.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:m,...y}=e,x=_e(ee,n),[P,w]=s.useState(null),C=S(t,M=>w(M)),[E,b]=s.useState(null),O=St(E),g=O?.width??0,R=O?.height??0,$=r+(i!=="center"?"-"+i:""),k=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},oe=Array.isArray(l)?l:[l],Ye=oe.length>0,H={padding:k,boundary:oe.filter(kt),altBoundary:Ye},{refs:Xe,floatingStyles:se,placement:Ke,isPositioned:W,middlewareData:D}=T.useFloating({strategy:"fixed",placement:$,whileElementsMounted:(...M)=>T.autoUpdate(...M,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[T.offset({mainAxis:o+R,alignmentAxis:a}),c&&T.shift({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?T.limitShift():void 0,...H}),c&&T.flip({...H}),T.size({...H,apply:({elements:M,rects:ce,availableWidth:rt,availableHeight:ot})=>{const{width:st,height:it}=ce.reference,B=M.floating.style;B.setProperty("--radix-popper-available-width",`${rt}px`),B.setProperty("--radix-popper-available-height",`${ot}px`),B.setProperty("--radix-popper-anchor-width",`${st}px`),B.setProperty("--radix-popper-anchor-height",`${it}px`)}}),E&&T.arrow({element:E,padding:u}),Mt({arrowWidth:g,arrowHeight:R}),v&&T.hide({strategy:"referenceHidden",...H})]}),[ie,Ze]=Le(Ke),ae=j(m);N(()=>{W&&ae?.()},[W,ae]);const Je=D.arrow?.x,Qe=D.arrow?.y,et=D.arrow?.centerOffset!==0,[tt,nt]=s.useState();return N(()=>{P&&nt(window.getComputedStyle(P).zIndex)},[P]),p.jsx("div",{ref:Xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...se,transform:W?se.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(Lt,{scope:n,placedSide:ie,onArrowChange:b,arrowX:Je,arrowY:Qe,shouldHideArrow:et,children:p.jsx(A.div,{"data-side":ie,"data-align":Ze,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});Ne.displayName=ee;var Se="PopperArrow",jt={top:"bottom",right:"left",bottom:"top",left:"right"},De=s.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=It(Se,r),a=jt[i.placedSide];return p.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p.jsx(Nt,{...o,ref:n,style:{...o.style,display:"block"}})})});De.displayName=Se;function kt(e){return e!==null}var Mt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,u=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[l,d]=Le(n),f={start:"0%",center:"50%",end:"100%"}[d],v=(o.arrow?.x??0)+u/2,h=(o.arrow?.y??0)+c/2;let m="",y="";return l==="bottom"?(m=a?f:`${v}px`,y=`${-c}px`):l==="top"?(m=a?f:`${v}px`,y=`${r.floating.height+c}px`):l==="right"?(m=`${-c}px`,y=a?f:`${h}px`):l==="left"&&(m=`${r.floating.width+c}px`,y=a?f:`${h}px`),{data:{x:m,y}}}});function Le(e){const[t,n="center"]=e.split("-");return[t,n]}var Ft=Oe,$t=Re,Ht=Ne,Wt=De,Bt="Portal",Ie=s.forwardRef((e,t)=>{const{container:n,...r}=e,[o,i]=s.useState(!1);N(()=>i(!0),[]);const a=n||o&&globalThis?.document?.body;return a?he.createPortal(p.jsx(A.div,{...r,ref:t}),a):null});Ie.displayName=Bt;function Ut(e,t){return s.useReducer((n,r)=>t[n][r]??n,e)}var te=e=>{const{present:t,children:n}=e,r=zt(t),o=typeof n=="function"?n({present:r.isPresent}):s.Children.only(n),i=S(r.ref,qt(o));return typeof n=="function"||r.isPresent?s.cloneElement(o,{ref:i}):null};te.displayName="Presence";function zt(e){const[t,n]=s.useState(),r=s.useRef({}),o=s.useRef(e),i=s.useRef("none"),a=e?"mounted":"unmounted",[u,c]=Ut(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const l=U(r.current);i.current=u==="mounted"?l:"none"},[u]),N(()=>{const l=r.current,d=o.current;if(d!==e){const v=i.current,h=U(l);e?c("MOUNT"):h==="none"||l?.display==="none"?c("UNMOUNT"):c(d&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),N(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const y=U(r.current).includes(h.animationName);if(h.target===t&&y&&(c("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=h=>{h.target===t&&(i.current=U(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:s.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function U(e){return e?.animationName||"none"}function qt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vt({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Gt({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,u=j(n),c=s.useCallback(l=>{if(i){const f=typeof l=="function"?l(e):l;f!==e&&u(f)}else o(l)},[i,e,o,u]);return[a,c]}function Gt({defaultProp:e,onChange:t}){const n=s.useState(e),[r]=n,o=s.useRef(r),i=j(t);return s.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Yt="VisuallyHidden",je=s.forwardRef((e,t)=>p.jsx(A.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));je.displayName=Yt;var Xt=je,[z]=ye("Tooltip",[Te]),q=Te(),ke="TooltipProvider",Kt=700,Z="tooltip.open",[Zt,ne]=z(ke),Me=e=>{const{__scopeTooltip:t,delayDuration:n=Kt,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,u]=s.useState(!0),c=s.useRef(!1),l=s.useRef(0);return s.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),p.jsx(Zt,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:s.useCallback(()=>{window.clearTimeout(l.current),u(!1)},[]),onClose:s.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:s.useCallback(d=>{c.current=d},[]),disableHoverableContent:o,children:i})};Me.displayName=ke;var V="Tooltip",[Jt,F]=z(V),Fe=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:u}=e,c=ne(V,e.__scopeTooltip),l=q(t),[d,f]=s.useState(null),v=At(),h=s.useRef(0),m=a??c.disableHoverableContent,y=u??c.delayDuration,x=s.useRef(!1),[P=!1,w]=Vt({prop:r,defaultProp:o,onChange:g=>{g?(c.onOpen(),document.dispatchEvent(new CustomEvent(Z))):c.onClose(),i?.(g)}}),C=s.useMemo(()=>P?x.current?"delayed-open":"instant-open":"closed",[P]),E=s.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x.current=!1,w(!0)},[w]),b=s.useCallback(()=>{window.clearTimeout(h.current),h.current=0,w(!1)},[w]),O=s.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{x.current=!0,w(!0),h.current=0},y)},[y,w]);return s.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),p.jsx(Ft,{...l,children:p.jsx(Jt,{scope:t,contentId:v,open:P,stateAttribute:C,trigger:d,onTriggerChange:f,onTriggerEnter:s.useCallback(()=>{c.isOpenDelayed?O():E()},[c.isOpenDelayed,O,E]),onTriggerLeave:s.useCallback(()=>{m?b():(window.clearTimeout(h.current),h.current=0)},[b,m]),onOpen:E,onClose:b,disableHoverableContent:m,children:n})})};Fe.displayName=V;var J="TooltipTrigger",$e=s.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=F(J,n),i=ne(J,n),a=q(n),u=s.useRef(null),c=S(t,u,o.onTriggerChange),l=s.useRef(!1),d=s.useRef(!1),f=s.useCallback(()=>l.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),p.jsx($t,{asChild:!0,...a,children:p.jsx(A.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:_(e.onPointerMove,v=>{v.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:_(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:_(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:_(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:_(e.onBlur,o.onClose),onClick:_(e.onClick,o.onClose)})})});$e.displayName=J;var re="TooltipPortal",[Qt,en]=z(re,{forceMount:void 0}),He=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=F(re,t);return p.jsx(Qt,{scope:t,forceMount:n,children:p.jsx(te,{present:n||i.open,children:p.jsx(Ie,{asChild:!0,container:o,children:r})})})};He.displayName=re;var I="TooltipContent",We=s.forwardRef((e,t)=>{const n=en(I,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=F(I,e.__scopeTooltip);return p.jsx(te,{present:r||a.open,children:a.disableHoverableContent?p.jsx(Be,{side:o,...i,ref:t}):p.jsx(tn,{side:o,...i,ref:t})})}),tn=s.forwardRef((e,t)=>{const n=F(I,e.__scopeTooltip),r=ne(I,e.__scopeTooltip),o=s.useRef(null),i=S(t,o),[a,u]=s.useState(null),{trigger:c,onClose:l}=n,d=o.current,{onPointerInTransitChange:f}=r,v=s.useCallback(()=>{u(null),f(!1)},[f]),h=s.useCallback((m,y)=>{const x=m.currentTarget,P={x:m.clientX,y:m.clientY},w=on(P,x.getBoundingClientRect()),C=sn(P,w),E=an(y.getBoundingClientRect()),b=ln([...C,...E]);u(b),f(!0)},[f]);return s.useEffect(()=>()=>v(),[v]),s.useEffect(()=>{if(c&&d){const m=x=>h(x,d),y=x=>h(x,c);return c.addEventListener("pointerleave",m),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",y)}}},[c,d,h,v]),s.useEffect(()=>{if(a){const m=y=>{const x=y.target,P={x:y.clientX,y:y.clientY},w=c?.contains(x)||d?.contains(x),C=!cn(P,a);w?v():C&&(v(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,d,a,l,v]),p.jsx(Be,{...e,ref:i})}),[nn,rn]=z(V,{isInside:!1}),Be=s.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...u}=e,c=F(I,n),l=q(n),{onClose:d}=c;return s.useEffect(()=>(document.addEventListener(Z,d),()=>document.removeEventListener(Z,d)),[d]),s.useEffect(()=>{if(c.trigger){const f=v=>{v.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),p.jsx(Pe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:p.jsxs(Ht,{"data-state":c.stateAttribute,...l,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(xe,{children:r}),p.jsx(nn,{scope:n,isInside:!0,children:p.jsx(Xt,{id:c.contentId,role:"tooltip",children:o||r})})]})})});We.displayName=I;var Ue="TooltipArrow",ze=s.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=q(n);return rn(Ue,n).isInside?null:p.jsx(Wt,{...o,...r,ref:t})});ze.displayName=Ue;function on(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sn(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function an(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function cn(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const u=t[i].x,c=t[i].y,l=t[a].x,d=t[a].y;c>r!=d>r&&n<(l-u)*(r-c)/(d-c)+u&&(o=!o)}return o}function ln(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),un(t)}function un(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var dn=Me,pn=Fe,fn=$e,hn=He,vn=We,mn=ze;const yn="_slideDownAndFade_fkagk_1",gn="_slideLeftAndFade_fkagk_1",xn="_slideUpAndFade_fkagk_1",wn="_slideRightAndFade_fkagk_1",Pn={"purpur-tooltip":"_purpur-tooltip_fkagk_1","purpur-tooltip__content":"_purpur-tooltip__content_fkagk_4","purpur-tooltip__content--primary":"_purpur-tooltip__content--primary_fkagk_14","purpur-tooltip__content--primary-negative":"_purpur-tooltip__content--primary-negative_fkagk_17",slideDownAndFade:yn,slideLeftAndFade:gn,slideUpAndFade:xn,slideRightAndFade:wn,"purpur-tooltip__arrow--primary":"_purpur-tooltip__arrow--primary_fkagk_32","purpur-tooltip__arrow--primary-negative":"_purpur-tooltip__arrow--primary-negative_fkagk_35"},G=ut.c.bind(Pn),qe={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ve={START:"start",CENTER:"center",END:"end"},L="purpur-tooltip",Ge=Y.forwardRef(({["data-testid"]:e,buttonSize:t="md",children:n,className:r,container:o,contentClassName:i,negative:a=!1,position:u=qe.TOP,align:c=Ve.CENTER,triggerAriaLabel:l,triggerElement:d,...f},v)=>{const[h,m]=Y.useState(!1),y=lt.useThemePortalContainer(),x=o===void 0?y:o??void 0,P=G(r,L,`${L}--primary${a?"-negative":""}`),w=p.jsx(le.Button,{ref:v,"aria-label":l??"","aria-expanded":h,variant:le.BUTTON_VARIANT.TERTIARY_PURPLE,negative:a,iconOnly:!0,"data-testid":`${e}-trigger-button`,size:t,children:p.jsx(at.r,{size:"md"})});return p.jsx("div",{"data-testid":e,className:P,children:p.jsx(dn,{delayDuration:parseInt(ct.purpurMotionDuration400),children:p.jsxs(pn,{open:h,onOpenChange:m,...f,children:[p.jsx(fn,{asChild:!0,onClick:C=>{C.preventDefault(),m(!0)},children:d??w}),p.jsx(hn,{container:x,children:p.jsxs(vn,{side:u,align:c,className:G(i,`${L}__content`,`${L}__content--primary${a?"-negative":""}`),sideOffset:-5,"data-testid":`${e}-content`,children:[typeof n=="string"?p.jsx(ue.Paragraph,{variant:ue.ParagraphVariant.PARAGRAPH100,negative:!a,"data-testid":`${e}-paragraph`,children:n}):n,p.jsx(mn,{className:G(`${L}__arrow`,`${L}__arrow--primary${a?"-negative":""}`)})]})})]})})})});Ge.displayName="Tooltip";exports.TOOLTIP_ALIGN=Ve;exports.TOOLTIP_POSITION=qe;exports.Tooltip=Ge;
2
- //# sourceMappingURL=tooltip-CJGmJDFQ.js.map
1
+ "use strict";const p=require("react/jsx-runtime"),Y=require("react"),le=require("./button-DmybVApa.js"),at=require("./info.es-Br84jly5.js"),ue=require("./paragraph-By4jMjnH.js"),ct=require("./variables-BSBunpiY.js");require("./ThemeProvider-BJGm3zai.js");const lt=require("./useThemePortalContainer-CUcqV327.js"),he=require("react-dom"),T=require("./floating-ui.react-dom-Cc_YSprQ.js"),ut=require("./bind-DeUYJ6m9.js");function ve(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=ve(Y),dt=ve(he);function _(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function de(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function me(...e){return t=>{let n=!1;const r=e.map(o=>{const i=de(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():de(e[o],null)}}}}function S(...e){return s.useCallback(me(...e),e)}function ye(e,t=[]){let n=[];function r(i,a){const u=s.createContext(a),c=n.length;n=[...n,a];const l=f=>{const{scope:v,children:h,...m}=f,y=v?.[e]?.[c]||u,x=s.useMemo(()=>m,Object.values(m));return p.jsx(y.Provider,{value:x,children:h})};l.displayName=i+"Provider";function d(f,v){const h=v?.[e]?.[c]||u,m=s.useContext(h);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[l,d]}const o=()=>{const i=n.map(a=>s.createContext(a));return function(u){const c=u?.[e]||i;return s.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return o.scopeName=e,[r,pt(o,...t)]}function pt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((u,{useScope:c,scopeName:l})=>{const f=c(i)[`__scope${l}`];return{...u,...f}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ge=s.forwardRef((e,t)=>{const{children:n,...r}=e,o=s.Children.toArray(n),i=o.find(ft);if(i){const a=i.props.children,u=o.map(c=>c===i?s.Children.count(a)>1?s.Children.only(null):s.isValidElement(a)?a.props.children:null:c);return p.jsx(X,{...r,ref:t,children:s.isValidElement(a)?s.cloneElement(a,void 0,u):null})}return p.jsx(X,{...r,ref:t,children:n})});ge.displayName="Slot";var X=s.forwardRef((e,t)=>{const{children:n,...r}=e;if(s.isValidElement(n)){const o=vt(n),i=ht(r,n.props);return n.type!==s.Fragment&&(i.ref=t?me(t,o):o),s.cloneElement(n,i)}return s.Children.count(n)>1?s.Children.only(null):null});X.displayName="SlotClone";var xe=({children:e})=>p.jsx(p.Fragment,{children:e});function ft(e){return s.isValidElement(e)&&e.type===xe}function ht(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...u)=>{i(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function vt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],A=mt.reduce((e,t)=>{const n=s.forwardRef((r,o)=>{const{asChild:i,...a}=r,u=i?ge:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function yt(e,t){e&&dt.flushSync(()=>e.dispatchEvent(t))}function j(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...n)=>t.current?.(...n),[])}function gt(e,t=globalThis?.document){const n=j(e);s.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var xt="DismissableLayer",K="dismissableLayer.update",wt="dismissableLayer.pointerDownOutside",Pt="dismissableLayer.focusOutside",pe,we=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pe=s.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...c}=e,l=s.useContext(we),[d,f]=s.useState(null),v=d?.ownerDocument??globalThis?.document,[,h]=s.useState({}),m=S(t,g=>f(g)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),P=y.indexOf(x),w=d?y.indexOf(d):-1,C=l.layersWithOutsidePointerEventsDisabled.size>0,E=w>=P,b=bt(g=>{const R=g.target,$=[...l.branches].some(k=>k.contains(R));!E||$||(o?.(g),a?.(g),g.defaultPrevented||u?.())},v),O=Tt(g=>{const R=g.target;[...l.branches].some(k=>k.contains(R))||(i?.(g),a?.(g),g.defaultPrevented||u?.())},v);return gt(g=>{w===l.layers.size-1&&(r?.(g),!g.defaultPrevented&&u&&(g.preventDefault(),u()))},v),s.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(pe=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),fe(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=pe)}},[d,v,n,l]),s.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),fe())},[d,l]),s.useEffect(()=>{const g=()=>h({});return document.addEventListener(K,g),()=>document.removeEventListener(K,g)},[]),p.jsx(A.div,{...c,ref:m,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:_(e.onFocusCapture,O.onFocusCapture),onBlurCapture:_(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:_(e.onPointerDownCapture,b.onPointerDownCapture)})});Pe.displayName=xt;var Et="DismissableLayerBranch",Ct=s.forwardRef((e,t)=>{const n=s.useContext(we),r=s.useRef(null),o=S(t,r);return s.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(A.div,{...e,ref:o})});Ct.displayName=Et;function bt(e,t=globalThis?.document){const n=j(e),r=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{const i=u=>{if(u.target&&!r.current){let c=function(){Ee(wt,n,l,{discrete:!0})};const l={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Tt(e,t=globalThis?.document){const n=j(e),r=s.useRef(!1);return s.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ee(Pt,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fe(){const e=new CustomEvent(K);document.dispatchEvent(e)}function Ee(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?yt(o,i):o.dispatchEvent(i)}var N=globalThis?.document?s.useLayoutEffect:()=>{},_t=s.useId||(()=>{}),Ot=0;function At(e){const[t,n]=s.useState(_t());return N(()=>{n(r=>r??String(Ot++))},[e]),t?`radix-${t}`:""}var Rt="Arrow",Ce=s.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return p.jsx(A.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=Rt;var Nt=Ce;function St(e){const[t,n]=s.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,u;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;a=l.inlineSize,u=l.blockSize}else a=e.offsetWidth,u=e.offsetHeight;n({width:a,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Q="Popper",[be,Te]=ye(Q),[Dt,_e]=be(Q),Oe=e=>{const{__scopePopper:t,children:n}=e,[r,o]=s.useState(null);return p.jsx(Dt,{scope:t,anchor:r,onAnchorChange:o,children:n})};Oe.displayName=Q;var Ae="PopperAnchor",Re=s.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=_e(Ae,n),a=s.useRef(null),u=S(t,a);return s.useEffect(()=>{i.onAnchorChange(r?.current||a.current)}),r?null:p.jsx(A.div,{...o,ref:u})});Re.displayName=Ae;var ee="PopperContent",[Lt,It]=be(ee),Ne=s.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:m,...y}=e,x=_e(ee,n),[P,w]=s.useState(null),C=S(t,M=>w(M)),[E,b]=s.useState(null),O=St(E),g=O?.width??0,R=O?.height??0,$=r+(i!=="center"?"-"+i:""),k=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},oe=Array.isArray(l)?l:[l],Ye=oe.length>0,H={padding:k,boundary:oe.filter(kt),altBoundary:Ye},{refs:Xe,floatingStyles:se,placement:Ke,isPositioned:W,middlewareData:D}=T.useFloating({strategy:"fixed",placement:$,whileElementsMounted:(...M)=>T.autoUpdate(...M,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[T.offset({mainAxis:o+R,alignmentAxis:a}),c&&T.shift({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?T.limitShift():void 0,...H}),c&&T.flip({...H}),T.size({...H,apply:({elements:M,rects:ce,availableWidth:rt,availableHeight:ot})=>{const{width:st,height:it}=ce.reference,B=M.floating.style;B.setProperty("--radix-popper-available-width",`${rt}px`),B.setProperty("--radix-popper-available-height",`${ot}px`),B.setProperty("--radix-popper-anchor-width",`${st}px`),B.setProperty("--radix-popper-anchor-height",`${it}px`)}}),E&&T.arrow({element:E,padding:u}),Mt({arrowWidth:g,arrowHeight:R}),v&&T.hide({strategy:"referenceHidden",...H})]}),[ie,Ze]=Le(Ke),ae=j(m);N(()=>{W&&ae?.()},[W,ae]);const Je=D.arrow?.x,Qe=D.arrow?.y,et=D.arrow?.centerOffset!==0,[tt,nt]=s.useState();return N(()=>{P&&nt(window.getComputedStyle(P).zIndex)},[P]),p.jsx("div",{ref:Xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...se,transform:W?se.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(Lt,{scope:n,placedSide:ie,onArrowChange:b,arrowX:Je,arrowY:Qe,shouldHideArrow:et,children:p.jsx(A.div,{"data-side":ie,"data-align":Ze,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});Ne.displayName=ee;var Se="PopperArrow",jt={top:"bottom",right:"left",bottom:"top",left:"right"},De=s.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=It(Se,r),a=jt[i.placedSide];return p.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p.jsx(Nt,{...o,ref:n,style:{...o.style,display:"block"}})})});De.displayName=Se;function kt(e){return e!==null}var Mt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,u=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[l,d]=Le(n),f={start:"0%",center:"50%",end:"100%"}[d],v=(o.arrow?.x??0)+u/2,h=(o.arrow?.y??0)+c/2;let m="",y="";return l==="bottom"?(m=a?f:`${v}px`,y=`${-c}px`):l==="top"?(m=a?f:`${v}px`,y=`${r.floating.height+c}px`):l==="right"?(m=`${-c}px`,y=a?f:`${h}px`):l==="left"&&(m=`${r.floating.width+c}px`,y=a?f:`${h}px`),{data:{x:m,y}}}});function Le(e){const[t,n="center"]=e.split("-");return[t,n]}var Ft=Oe,$t=Re,Ht=Ne,Wt=De,Bt="Portal",Ie=s.forwardRef((e,t)=>{const{container:n,...r}=e,[o,i]=s.useState(!1);N(()=>i(!0),[]);const a=n||o&&globalThis?.document?.body;return a?he.createPortal(p.jsx(A.div,{...r,ref:t}),a):null});Ie.displayName=Bt;function Ut(e,t){return s.useReducer((n,r)=>t[n][r]??n,e)}var te=e=>{const{present:t,children:n}=e,r=zt(t),o=typeof n=="function"?n({present:r.isPresent}):s.Children.only(n),i=S(r.ref,qt(o));return typeof n=="function"||r.isPresent?s.cloneElement(o,{ref:i}):null};te.displayName="Presence";function zt(e){const[t,n]=s.useState(),r=s.useRef({}),o=s.useRef(e),i=s.useRef("none"),a=e?"mounted":"unmounted",[u,c]=Ut(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const l=U(r.current);i.current=u==="mounted"?l:"none"},[u]),N(()=>{const l=r.current,d=o.current;if(d!==e){const v=i.current,h=U(l);e?c("MOUNT"):h==="none"||l?.display==="none"?c("UNMOUNT"):c(d&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),N(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const y=U(r.current).includes(h.animationName);if(h.target===t&&y&&(c("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=h=>{h.target===t&&(i.current=U(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:s.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function U(e){return e?.animationName||"none"}function qt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vt({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Gt({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,u=j(n),c=s.useCallback(l=>{if(i){const f=typeof l=="function"?l(e):l;f!==e&&u(f)}else o(l)},[i,e,o,u]);return[a,c]}function Gt({defaultProp:e,onChange:t}){const n=s.useState(e),[r]=n,o=s.useRef(r),i=j(t);return s.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Yt="VisuallyHidden",je=s.forwardRef((e,t)=>p.jsx(A.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));je.displayName=Yt;var Xt=je,[z]=ye("Tooltip",[Te]),q=Te(),ke="TooltipProvider",Kt=700,Z="tooltip.open",[Zt,ne]=z(ke),Me=e=>{const{__scopeTooltip:t,delayDuration:n=Kt,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,u]=s.useState(!0),c=s.useRef(!1),l=s.useRef(0);return s.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),p.jsx(Zt,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:s.useCallback(()=>{window.clearTimeout(l.current),u(!1)},[]),onClose:s.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:s.useCallback(d=>{c.current=d},[]),disableHoverableContent:o,children:i})};Me.displayName=ke;var V="Tooltip",[Jt,F]=z(V),Fe=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:u}=e,c=ne(V,e.__scopeTooltip),l=q(t),[d,f]=s.useState(null),v=At(),h=s.useRef(0),m=a??c.disableHoverableContent,y=u??c.delayDuration,x=s.useRef(!1),[P=!1,w]=Vt({prop:r,defaultProp:o,onChange:g=>{g?(c.onOpen(),document.dispatchEvent(new CustomEvent(Z))):c.onClose(),i?.(g)}}),C=s.useMemo(()=>P?x.current?"delayed-open":"instant-open":"closed",[P]),E=s.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x.current=!1,w(!0)},[w]),b=s.useCallback(()=>{window.clearTimeout(h.current),h.current=0,w(!1)},[w]),O=s.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{x.current=!0,w(!0),h.current=0},y)},[y,w]);return s.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),p.jsx(Ft,{...l,children:p.jsx(Jt,{scope:t,contentId:v,open:P,stateAttribute:C,trigger:d,onTriggerChange:f,onTriggerEnter:s.useCallback(()=>{c.isOpenDelayed?O():E()},[c.isOpenDelayed,O,E]),onTriggerLeave:s.useCallback(()=>{m?b():(window.clearTimeout(h.current),h.current=0)},[b,m]),onOpen:E,onClose:b,disableHoverableContent:m,children:n})})};Fe.displayName=V;var J="TooltipTrigger",$e=s.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=F(J,n),i=ne(J,n),a=q(n),u=s.useRef(null),c=S(t,u,o.onTriggerChange),l=s.useRef(!1),d=s.useRef(!1),f=s.useCallback(()=>l.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),p.jsx($t,{asChild:!0,...a,children:p.jsx(A.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:_(e.onPointerMove,v=>{v.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:_(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:_(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:_(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:_(e.onBlur,o.onClose),onClick:_(e.onClick,o.onClose)})})});$e.displayName=J;var re="TooltipPortal",[Qt,en]=z(re,{forceMount:void 0}),He=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=F(re,t);return p.jsx(Qt,{scope:t,forceMount:n,children:p.jsx(te,{present:n||i.open,children:p.jsx(Ie,{asChild:!0,container:o,children:r})})})};He.displayName=re;var I="TooltipContent",We=s.forwardRef((e,t)=>{const n=en(I,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=F(I,e.__scopeTooltip);return p.jsx(te,{present:r||a.open,children:a.disableHoverableContent?p.jsx(Be,{side:o,...i,ref:t}):p.jsx(tn,{side:o,...i,ref:t})})}),tn=s.forwardRef((e,t)=>{const n=F(I,e.__scopeTooltip),r=ne(I,e.__scopeTooltip),o=s.useRef(null),i=S(t,o),[a,u]=s.useState(null),{trigger:c,onClose:l}=n,d=o.current,{onPointerInTransitChange:f}=r,v=s.useCallback(()=>{u(null),f(!1)},[f]),h=s.useCallback((m,y)=>{const x=m.currentTarget,P={x:m.clientX,y:m.clientY},w=on(P,x.getBoundingClientRect()),C=sn(P,w),E=an(y.getBoundingClientRect()),b=ln([...C,...E]);u(b),f(!0)},[f]);return s.useEffect(()=>()=>v(),[v]),s.useEffect(()=>{if(c&&d){const m=x=>h(x,d),y=x=>h(x,c);return c.addEventListener("pointerleave",m),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",y)}}},[c,d,h,v]),s.useEffect(()=>{if(a){const m=y=>{const x=y.target,P={x:y.clientX,y:y.clientY},w=c?.contains(x)||d?.contains(x),C=!cn(P,a);w?v():C&&(v(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,d,a,l,v]),p.jsx(Be,{...e,ref:i})}),[nn,rn]=z(V,{isInside:!1}),Be=s.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...u}=e,c=F(I,n),l=q(n),{onClose:d}=c;return s.useEffect(()=>(document.addEventListener(Z,d),()=>document.removeEventListener(Z,d)),[d]),s.useEffect(()=>{if(c.trigger){const f=v=>{v.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),p.jsx(Pe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:p.jsxs(Ht,{"data-state":c.stateAttribute,...l,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(xe,{children:r}),p.jsx(nn,{scope:n,isInside:!0,children:p.jsx(Xt,{id:c.contentId,role:"tooltip",children:o||r})})]})})});We.displayName=I;var Ue="TooltipArrow",ze=s.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=q(n);return rn(Ue,n).isInside?null:p.jsx(Wt,{...o,...r,ref:t})});ze.displayName=Ue;function on(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sn(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function an(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function cn(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const u=t[i].x,c=t[i].y,l=t[a].x,d=t[a].y;c>r!=d>r&&n<(l-u)*(r-c)/(d-c)+u&&(o=!o)}return o}function ln(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),un(t)}function un(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var dn=Me,pn=Fe,fn=$e,hn=He,vn=We,mn=ze;const yn="_slideDownAndFade_fkagk_1",gn="_slideLeftAndFade_fkagk_1",xn="_slideUpAndFade_fkagk_1",wn="_slideRightAndFade_fkagk_1",Pn={"purpur-tooltip":"_purpur-tooltip_fkagk_1","purpur-tooltip__content":"_purpur-tooltip__content_fkagk_4","purpur-tooltip__content--primary":"_purpur-tooltip__content--primary_fkagk_14","purpur-tooltip__content--primary-negative":"_purpur-tooltip__content--primary-negative_fkagk_17",slideDownAndFade:yn,slideLeftAndFade:gn,slideUpAndFade:xn,slideRightAndFade:wn,"purpur-tooltip__arrow--primary":"_purpur-tooltip__arrow--primary_fkagk_32","purpur-tooltip__arrow--primary-negative":"_purpur-tooltip__arrow--primary-negative_fkagk_35"},G=ut.c.bind(Pn),qe={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ve={START:"start",CENTER:"center",END:"end"},L="purpur-tooltip",Ge=Y.forwardRef(({["data-testid"]:e,buttonSize:t="md",children:n,className:r,container:o,contentClassName:i,negative:a=!1,position:u=qe.TOP,align:c=Ve.CENTER,triggerAriaLabel:l,triggerElement:d,...f},v)=>{const[h,m]=Y.useState(!1),y=lt.useThemePortalContainer(),x=o===void 0?y:o??void 0,P=G(r,L,`${L}--primary${a?"-negative":""}`),w=p.jsx(le.Button,{ref:v,"aria-label":l??"","aria-expanded":h,variant:le.BUTTON_VARIANT.TERTIARY_PURPLE,negative:a,iconOnly:!0,"data-testid":`${e}-trigger-button`,size:t,children:p.jsx(at.r,{size:"md"})});return p.jsx("div",{"data-testid":e,className:P,children:p.jsx(dn,{delayDuration:parseInt(ct.purpurMotionDuration400),children:p.jsxs(pn,{open:h,onOpenChange:m,...f,children:[p.jsx(fn,{asChild:!0,onClick:C=>{C.preventDefault(),m(!0)},children:d??w}),p.jsx(hn,{container:x,children:p.jsxs(vn,{side:u,align:c,className:G(i,`${L}__content`,`${L}__content--primary${a?"-negative":""}`),sideOffset:-5,"data-testid":`${e}-content`,children:[typeof n=="string"?p.jsx(ue.Paragraph,{variant:ue.ParagraphVariant.PARAGRAPH100,negative:!a,"data-testid":`${e}-paragraph`,children:n}):n,p.jsx(mn,{className:G(`${L}__arrow`,`${L}__arrow--primary${a?"-negative":""}`)})]})})]})})})});Ge.displayName="Tooltip";exports.TOOLTIP_ALIGN=Ve;exports.TOOLTIP_POSITION=qe;exports.Tooltip=Ge;
2
+ //# sourceMappingURL=tooltip-CDnJKoIA.js.map