@purpur/library 9.0.0 → 9.0.1

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 (93) hide show
  1. package/CHANGELOG.json +12 -0
  2. package/CHANGELOG.md +8 -1
  3. package/dist/LICENSE.txt +5 -5
  4. package/dist/checkbox-Dk3bZkZ3.js.map +1 -1
  5. package/dist/checkbox-LYzMiXu7.mjs.map +1 -1
  6. package/dist/chip-group-CJVvfl_J.mjs.map +1 -1
  7. package/dist/chip-group-aj1fdnjC.js.map +1 -1
  8. package/dist/{date-picker-BRkh2YEH.mjs → date-picker-BRnwwZv1.mjs} +364 -354
  9. package/dist/date-picker-BRnwwZv1.mjs.map +1 -0
  10. package/dist/date-picker-DlJGggam.js +2 -0
  11. package/dist/date-picker-DlJGggam.js.map +1 -0
  12. package/dist/date-picker.cjs.js +1 -1
  13. package/dist/date-picker.es.js +1 -1
  14. package/dist/floating-ui.react-dom-0ol4sFzt.mjs +1363 -0
  15. package/dist/floating-ui.react-dom-0ol4sFzt.mjs.map +1 -0
  16. package/dist/floating-ui.react-dom-Cc_YSprQ.js +2 -0
  17. package/dist/floating-ui.react-dom-Cc_YSprQ.js.map +1 -0
  18. package/dist/index-2cFVyGXq.js.map +1 -1
  19. package/dist/index-B8Mazo6u.mjs.map +1 -1
  20. package/dist/index-BG6K_yAm.js.map +1 -1
  21. package/dist/index-BVmlsxuF.js.map +1 -1
  22. package/dist/index-BbtRr5Q6.js.map +1 -1
  23. package/dist/index-BtWPC8xc.js.map +1 -1
  24. package/dist/index-ByaXH_ih.mjs.map +1 -1
  25. package/dist/index-C1AXAWlO.mjs.map +1 -1
  26. package/dist/index-CCNZ9uWB.mjs.map +1 -1
  27. package/dist/index-CEQ35j8b.mjs.map +1 -1
  28. package/dist/index-CKCTy3ZL.mjs.map +1 -1
  29. package/dist/index-CLMd7NJE.mjs.map +1 -1
  30. package/dist/index-Cje7xxa1.js.map +1 -1
  31. package/dist/index-CleLBinl.js.map +1 -1
  32. package/dist/index-CoR7YA3H.js.map +1 -1
  33. package/dist/index-CxBG4Ssm.js.map +1 -1
  34. package/dist/index-DA01QPpC.js.map +1 -1
  35. package/dist/index-DCcK_d4W.mjs.map +1 -1
  36. package/dist/index-DDrLXRUs.mjs.map +1 -1
  37. package/dist/index-DLcqcWxM.mjs.map +1 -1
  38. package/dist/index-DOFLOnao.js.map +1 -1
  39. package/dist/index-DOfn3ixy.mjs.map +1 -1
  40. package/dist/index-DPxjTK4w.mjs.map +1 -1
  41. package/dist/index-DSf4qCR-.mjs.map +1 -1
  42. package/dist/index-DlMXYAr3.js.map +1 -1
  43. package/dist/index-HJvG7FXj.js.map +1 -1
  44. package/dist/index-Hk_HrrHM.js.map +1 -1
  45. package/dist/index-IpWiejWQ.mjs.map +1 -1
  46. package/dist/index-MiRhI3nq.mjs.map +1 -1
  47. package/dist/index-_XxjJPRD.js.map +1 -1
  48. package/dist/index-kcwFA4Dv.js.map +1 -1
  49. package/dist/index-tyLV0iiH.mjs.map +1 -1
  50. package/dist/label-7sJe5-pX.mjs.map +1 -1
  51. package/dist/label-yHK80hhV.js.map +1 -1
  52. package/dist/library.cjs.js +1 -1
  53. package/dist/library.es.js +5 -5
  54. package/dist/{popover-CYyCtoef.js → popover-B1BgSoQx.js} +2 -2
  55. package/dist/{popover-CYyCtoef.js.map → popover-B1BgSoQx.js.map} +1 -1
  56. package/dist/{popover-C6nZb3cQ.mjs → popover-DBMI9Jy1.mjs} +4 -4
  57. package/dist/{popover-C6nZb3cQ.mjs.map → popover-DBMI9Jy1.mjs.map} +1 -1
  58. package/dist/popover.cjs.js +1 -1
  59. package/dist/popover.es.js +1 -1
  60. package/dist/slider-CDOrFmK-.mjs.map +1 -1
  61. package/dist/slider-_R6JmPZl.js.map +1 -1
  62. package/dist/{stepper-DA0c9Utm.js → stepper-B248FwO-.js} +2 -2
  63. package/dist/{stepper-DA0c9Utm.js.map → stepper-B248FwO-.js.map} +1 -1
  64. package/dist/{stepper-D81jmbEf.mjs → stepper-BfIbJwZn.mjs} +2 -2
  65. package/dist/{stepper-D81jmbEf.mjs.map → stepper-BfIbJwZn.mjs.map} +1 -1
  66. package/dist/stepper.cjs.js +1 -1
  67. package/dist/stepper.es.js +1 -1
  68. package/dist/{table-Dd58bK_Q.js → table-BNeo_B1h.js} +2 -2
  69. package/dist/{table-Dd58bK_Q.js.map → table-BNeo_B1h.js.map} +1 -1
  70. package/dist/{table-CIrmGGb2.mjs → table-DvcpczWf.mjs} +2 -2
  71. package/dist/{table-CIrmGGb2.mjs.map → table-DvcpczWf.mjs.map} +1 -1
  72. package/dist/table.cjs.js +1 -1
  73. package/dist/table.es.js +1 -1
  74. package/dist/tabs-CfHd4UQ2.js.map +1 -1
  75. package/dist/tabs-CoXMAwMx.mjs.map +1 -1
  76. package/dist/toggle-C8IwTbX8.js.map +1 -1
  77. package/dist/toggle-Cezg5MUc.mjs.map +1 -1
  78. package/dist/{tooltip-870Nmk-v.js → tooltip-CLQLxoaf.js} +2 -2
  79. package/dist/{tooltip-870Nmk-v.js.map → tooltip-CLQLxoaf.js.map} +1 -1
  80. package/dist/{tooltip-Cqfj0lSz.mjs → tooltip-DXi7ikUT.mjs} +2 -2
  81. package/dist/{tooltip-Cqfj0lSz.mjs.map → tooltip-DXi7ikUT.mjs.map} +1 -1
  82. package/dist/tooltip.cjs.js +1 -1
  83. package/dist/tooltip.es.js +1 -1
  84. package/dist/visually-hidden-BYFkJEp1.mjs.map +1 -1
  85. package/dist/visually-hidden-C2CKovZx.js.map +1 -1
  86. package/package.json +68 -68
  87. package/dist/date-picker-BRkh2YEH.mjs.map +0 -1
  88. package/dist/date-picker-C2Wtf7XQ.js +0 -2
  89. package/dist/date-picker-C2Wtf7XQ.js.map +0 -1
  90. package/dist/floating-ui.react-dom-B_rB55Mr.mjs +0 -1340
  91. package/dist/floating-ui.react-dom-B_rB55Mr.mjs.map +0 -1
  92. package/dist/floating-ui.react-dom-z0lMBJ4R.js +0 -2
  93. package/dist/floating-ui.react-dom-z0lMBJ4R.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./calendar-pMM0fKEu.js"),y=require("./accordion-CF2fj2uq.js"),c=require("./alert-badge-DguuS7Qq.js"),I=require("./autocomplete-yD0-1vlF.js"),C=require("./badge-CQ0SS_t8.js"),k=require("./breadcrumbs-BKzim4am.js"),t=require("./button-ChYUPi2k.js"),f=require("./card-B512KHpr.js"),h=require("./checkbox-Dk3bZkZ3.js"),_=require("./chip-group-aj1fdnjC.js"),m=require("./color-dot-B9w_ucWb.js"),g=require("./container-DRwKIAjh.js"),F=require("./content-block-kzdUWgvH.js"),V=require("./countdown-CqYsZigV.js"),U=require("./counter-badge-B-d9VNup.js"),N=require("./cta-link-BHU6irMG.js"),z=require("./date-field-CPiTZqa0.js"),w=require("./date-picker-C2Wtf7XQ.js"),X=require("./dismissable-chip-group-DsO2cZaF.js"),Z=require("./drawer-nBpCtIdI.js"),x=require("./field-error-text-FhQulSV5.js"),j=require("./field-helper-text-DSKO-Tce.js"),K=require("./footer-Btsh40pg.js"),Q=require("./grid-uGMD2euo.js"),n=require("./heading-DLCdW6gx.js"),P=require("./hero-banner-4JZr2Tzb.js"),Y=require("./label-yHK80hhV.js"),d=require("./link-DhWVrkTz.js"),$=require("./listbox-BmjBtIv8.js"),J=require("./modal-nyhf5zxG.js"),a=require("./notification-Bg1vQkQ3.js"),rr=require("./notification-banner-C8XsBDTq.js"),ur=require("./pagination-C2A8NPol.js"),O=require("./paragraph-BsI53OR0.js"),er=require("./popover-CYyCtoef.js"),or=require("./product-card-DOBHGAa2.js"),A=require("./promotion-card-DMCtLQwW.js"),s=require("./quantity-selector-DPOTlMSq.js"),T=require("./radio-button-group-CZ_FnVAi.js"),i=require("./radio-card-group-BT5pV3tA.js"),G=require("./RichText-DMyGiMN0.js"),R=require("./search-field-CxX4BBcg.js"),pr=require("./select-DOqTJgTj.js"),E=require("./skeleton-BU0KtWIM.js"),D=require("./slider-_R6JmPZl.js"),M=require("./spacer-OZQbtvcY.js"),v=require("./spinner-tKunS_o-.js"),ar=require("./stepper-DA0c9Utm.js"),q=require("./table-Dd58bK_Q.js"),B=require("./tabs-CfHd4UQ2.js"),W=require("./text-area-C4mcG5c0.js"),b=require("./text-field-B8a-NKm4.js"),L=require("./text-spacing-CiGPZHuB.js"),l=require("./ThemeProvider-djmNDpmy.js"),tr=require("./useColorScheme-DwlZAnlk.js"),nr=require("./toggle-C8IwTbX8.js"),e=require("./tokens.cjs.js"),p=require("./variables-Buqm4JZc.js"),r=require("./variables-CMzMXeor.js"),o=require("./variables-BSBunpiY.js"),S=require("./tooltip-870Nmk-v.js"),ir=require("./visually-hidden-C2CKovZx.js"),u=require("./zh-TW-CAp7WWVq.js"),lr=require("./format-CFKKBdIQ.js");exports.Calendar=H.Calendar;exports.Accordion=y.Accordion;exports.NegativeContext=y.NegativeContext;exports.ALERT_BADGE_VARIANT=c.ALERT_BADGE_VARIANT;exports.AlertBadge=c.AlertBadge;exports.alertBadgeVariants=c.alertBadgeVariants;exports.Autocomplete=I.Autocomplete;exports.useAutocomplete=I.useAutocomplete;exports.BADGE_VARIANT=C.BADGE_VARIANT;exports.Badge=C.Badge;exports.badgeVariants=C.badgeVariants;exports.Breadcrumbs=k.Breadcrumbs;exports.BreadcrumbsItem=k.Item;exports.BUTTON_TYPES=t.BUTTON_TYPES;exports.BUTTON_VARIANT=t.BUTTON_VARIANT;exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;exports.Card=f.Card;exports.Checkbox=h.Checkbox;exports.checkedState=h.checkedState;exports.ChipGroup=_.ChipGroup;exports.COLOR_DOT_SIZE=m.COLOR_DOT_SIZE;exports.ColorDot=m.ColorDot;exports.Container=g.Container;exports.ContainerElement=g.ContainerElement;exports.Width=g.Width;exports.ContentBlock=F.ContentBlock;exports.Countdown=V.Countdown;exports.CounterBadge=U.CounterBadge;exports.CtaLink=N.CtaLink;exports.ctaLinkIcons=N.ctaLinkIcons;exports.DateField=z.DateField;exports.DatePicker=w.DatePicker;exports.DismissableChipGroup=X.DismissableChipGroup;exports.Drawer=Z.Drawer;exports.FieldErrorText=x.FieldErrorText;exports.ariaRelevantValues=x.ariaRelevantValues;exports.FieldHelperText=j.FieldHelperText;exports.Footer=K.Footer;exports.Grid=Q.Grid;exports.DisplayVariant=n.DisplayVariant;exports.Heading=n.Heading;exports.HeadingTag=n.HeadingTag;exports.TitleVariant=n.TitleVariant;exports.HeroBanner=P.HeroBanner;exports.TitleHyphenVariant=P.TitleHyphenVariant;exports.Label=Y.Label;exports.LINK_VARIANT=d.LINK_VARIANT;exports.Link=d.Link;exports.linkVariants=d.linkVariants;exports.Listbox=$.Listbox;exports.Modal=J.Modal;exports.NOTIFICATION_ARIA_LIVE=a.NOTIFICATION_ARIA_LIVE;exports.NOTIFICATION_ROLE=a.NOTIFICATION_ROLE;exports.NOTIFICATION_STATUS=a.NOTIFICATION_STATUS;exports.Notification=a.Notification;exports.notificationAriaLiveValues=a.notificationAriaLiveValues;exports.notificationRoles=a.notificationRoles;exports.notificationStatuses=a.notificationStatuses;exports.NotificationBanner=rr.NotificationBanner;exports.Pagination=ur.Pagination;exports.Paragraph=O.Paragraph;exports.ParagraphVariant=O.ParagraphVariant;exports.Popover=er.Popover;exports.ProductCard=or.ProductCard;exports.PromotionCard=A.PromotionCard;exports.promotionCardVariants=A.promotionCardVariants;exports.QuantitySelector=s.QuantitySelector;exports.quantitySelectorButtonVariants=s.quantitySelectorButtonVariants;exports.quantitySelectorVariants=s.quantitySelectorVariants;exports.RADIO_BUTTON_GROUP_DIRECTION=T.RADIO_BUTTON_GROUP_DIRECTION;exports.RADIO_BUTTON_GROUP_ORIENTATION=T.RADIO_BUTTON_GROUP_ORIENTATION;exports.RadioButtonGroup=T.RadioButtonGroup;exports.RADIO_CARD_GROUP_ORIENTATION=i.RADIO_CARD_GROUP_ORIENTATION;exports.RADIO_POSITION=i.RADIO_POSITION;exports.RadioCardGroup=i.RadioCardGroup;exports.RadioCardItem=i.RadioCardItem;exports.RichText=G.RichText;exports.richToPlainText=G.richToPlainText;exports.SearchField=R.SearchField;exports.searchFieldVariants=R.searchFieldVariants;exports.Select=pr.Select;exports.Skeleton=E.Skeleton;exports.radii=E.radii;exports.SLIDER_ORIENTATION=D.SLIDER_ORIENTATION;exports.Slider=D.Slider;exports.SPACER_SIZE=M.SPACER_SIZE;exports.Spacer=M.Spacer;exports.SPINNER_SIZE=v.SPINNER_SIZE;exports.Spinner=v.Spinner;exports.spinnerSizes=v.spinnerSizes;exports.Stepper=ar.Stepper;exports.Table=q.Table;exports.createColumnHelper=q.createColumnHelper;exports.Tabs=B.Tabs;exports.createTabChangeDetailEvent=B.createTabChangeDetailEvent;exports.tabsVariants=B.tabsVariants;exports.ResizeOption=W.ResizeOption;exports.TextArea=W.TextArea;exports.TextField=b.TextField;exports.isTextField=b.isTextField;exports.Element=L.Element;exports.TextSpacing=L.TextSpacing;exports.ThemeProvider=l.ThemeProvider;exports.teliaTheme=l.teliaTheme;exports.useApplyTheme=l.useApplyTheme;exports.useTheme=l.useTheme;exports.useColorScheme=tr.useColorScheme;exports.Toggle=nr.Toggle;exports.purpurBorderRadiusFull=e.purpurBorderRadiusFull;exports.purpurBorderRadiusLg=e.purpurBorderRadiusLg;exports.purpurBorderRadiusMd=e.purpurBorderRadiusMd;exports.purpurBorderRadiusSm=e.purpurBorderRadiusSm;exports.purpurBorderRadiusXs=e.purpurBorderRadiusXs;exports.purpurBorderWidthLg=e.purpurBorderWidthLg;exports.purpurBorderWidthMd=e.purpurBorderWidthMd;exports.purpurBorderWidthSm=e.purpurBorderWidthSm;exports.purpurBorderWidthXs=e.purpurBorderWidthXs;exports.purpurFilterBlurOnImage=e.purpurFilterBlurOnImage;exports.purpurGradientAiBackgroundInteractiveExpressive=e.purpurGradientAiBackgroundInteractiveExpressive;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=e.purpurGradientAiBackgroundInteractiveExpressiveNegative;exports.purpurGradientAiBackgroundInteractivePrimary=e.purpurGradientAiBackgroundInteractivePrimary;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=e.purpurGradientAiBackgroundInteractivePrimaryNegative;exports.purpurGradientAiBackgroundPrimaryNegative=e.purpurGradientAiBackgroundPrimaryNegative;exports.purpurGradientAiBorderInteractivePrimary=e.purpurGradientAiBorderInteractivePrimary;exports.purpurGradientAiBorderInteractivePrimaryNegative=e.purpurGradientAiBorderInteractivePrimaryNegative;exports.purpurGradientAiTextInteractivePrimary=e.purpurGradientAiTextInteractivePrimary;exports.purpurGradientAiTextInteractivePrimaryNegative=e.purpurGradientAiTextInteractivePrimaryNegative;exports.purpurShadowLg=e.purpurShadowLg;exports.purpurShadowMd=e.purpurShadowMd;exports.purpurShadowNone=e.purpurShadowNone;exports.purpurShadowSm=e.purpurShadowSm;exports.purpurSpacing0=e.purpurSpacing0;exports.purpurSpacing10=e.purpurSpacing10;exports.purpurSpacing100=e.purpurSpacing100;exports.purpurSpacing1000=e.purpurSpacing1000;exports.purpurSpacing1200=e.purpurSpacing1200;exports.purpurSpacing150=e.purpurSpacing150;exports.purpurSpacing1600=e.purpurSpacing1600;exports.purpurSpacing200=e.purpurSpacing200;exports.purpurSpacing25=e.purpurSpacing25;exports.purpurSpacing250=e.purpurSpacing250;exports.purpurSpacing300=e.purpurSpacing300;exports.purpurSpacing400=e.purpurSpacing400;exports.purpurSpacing50=e.purpurSpacing50;exports.purpurSpacing600=e.purpurSpacing600;exports.purpurSpacing800=e.purpurSpacing800;exports.purpurSpacingGutterLg=e.purpurSpacingGutterLg;exports.purpurSpacingGutterMd=e.purpurSpacingGutterMd;exports.purpurSpacingGutterSm=e.purpurSpacingGutterSm;exports.purpurSpacingGutterXl=e.purpurSpacingGutterXl;exports.purpurSpacingPagePaddingLg=e.purpurSpacingPagePaddingLg;exports.purpurSpacingPagePaddingMd=e.purpurSpacingPagePaddingMd;exports.purpurSpacingPagePaddingSm=e.purpurSpacingPagePaddingSm;exports.purpurSpacingPagePaddingXl=e.purpurSpacingPagePaddingXl;exports.purpurTypographyFamilyDefault=e.purpurTypographyFamilyDefault;exports.purpurTypographyFamilyDisplay=e.purpurTypographyFamilyDisplay;exports.purpurTypographyLineHeightDefault=e.purpurTypographyLineHeightDefault;exports.purpurTypographyLineHeightLoose=e.purpurTypographyLineHeightLoose;exports.purpurTypographyLineHeightLooser=e.purpurTypographyLineHeightLooser;exports.purpurTypographyLineHeightSnug=e.purpurTypographyLineHeightSnug;exports.purpurTypographyLineHeightTight=e.purpurTypographyLineHeightTight;exports.purpurTypographyScale100=e.purpurTypographyScale100;exports.purpurTypographyScale1000=e.purpurTypographyScale1000;exports.purpurTypographyScale1100=e.purpurTypographyScale1100;exports.purpurTypographyScale150=e.purpurTypographyScale150;exports.purpurTypographyScale200=e.purpurTypographyScale200;exports.purpurTypographyScale300=e.purpurTypographyScale300;exports.purpurTypographyScale400=e.purpurTypographyScale400;exports.purpurTypographyScale50=e.purpurTypographyScale50;exports.purpurTypographyScale500=e.purpurTypographyScale500;exports.purpurTypographyScale600=e.purpurTypographyScale600;exports.purpurTypographyScale650=e.purpurTypographyScale650;exports.purpurTypographyScale700=e.purpurTypographyScale700;exports.purpurTypographyScale75=e.purpurTypographyScale75;exports.purpurTypographyScale800=e.purpurTypographyScale800;exports.purpurTypographyScale850=e.purpurTypographyScale850;exports.purpurTypographyScale900=e.purpurTypographyScale900;exports.purpurTypographyWeightBold=e.purpurTypographyWeightBold;exports.purpurTypographyWeightMedium=e.purpurTypographyWeightMedium;exports.purpurTypographyWeightNormal=e.purpurTypographyWeightNormal;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.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=o.purpurMotionDuration100;exports.purpurMotionDuration150=o.purpurMotionDuration150;exports.purpurMotionDuration1500=o.purpurMotionDuration1500;exports.purpurMotionDuration200=o.purpurMotionDuration200;exports.purpurMotionDuration2000=o.purpurMotionDuration2000;exports.purpurMotionDuration300=o.purpurMotionDuration300;exports.purpurMotionDuration400=o.purpurMotionDuration400;exports.purpurMotionDuration500=o.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=o.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=o.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=o.purpurMotionEasingEaseOut;exports.TOOLTIP_ALIGN=S.TOOLTIP_ALIGN;exports.TOOLTIP_POSITION=S.TOOLTIP_POSITION;exports.Tooltip=S.Tooltip;exports.VisuallyHidden=ir.VisuallyHidden;exports.af=u.af;exports.ar=u.ar;exports.arDZ=u.arDZ;exports.arEG=u.arEG;exports.arMA=u.arMA;exports.arSA=u.arSA;exports.arTN=u.arTN;exports.az=u.az;exports.be=u.be;exports.beTarask=u.beTarask;exports.bg=u.bg;exports.bn=u.bn;exports.bs=u.bs;exports.ca=u.ca;exports.ckb=u.ckb;exports.cs=u.cs;exports.cy=u.cy;exports.da=u.da;exports.de=u.de;exports.deAT=u.deAT;exports.el=u.el;exports.enAU=u.enAU;exports.enCA=u.enCA;exports.enGB=u.enGB;exports.enIE=u.enIE;exports.enIN=u.enIN;exports.enNZ=u.enNZ;exports.enZA=u.enZA;exports.eo=u.eo;exports.es=u.es;exports.et=u.et;exports.eu=u.eu;exports.faIR=u.faIR;exports.fi=u.fi;exports.fr=u.fr;exports.frCA=u.frCA;exports.frCH=u.frCH;exports.fy=u.fy;exports.gd=u.gd;exports.gl=u.gl;exports.gu=u.gu;exports.he=u.he;exports.hi=u.hi;exports.hr=u.hr;exports.ht=u.ht;exports.hu=u.hu;exports.hy=u.hy;exports.id=u.id;exports.is=u.is;exports.it=u.it;exports.itCH=u.itCH;exports.ja=u.ja;exports.jaHira=u.jaHira;exports.ka=u.ka;exports.kk=u.kk;exports.km=u.km;exports.kn=u.kn;exports.ko=u.ko;exports.lb=u.lb;exports.lt=u.lt;exports.lv=u.lv;exports.mk=u.mk;exports.mn=u.mn;exports.ms=u.ms;exports.mt=u.mt;exports.nb=u.nb;exports.nl=u.nl;exports.nlBE=u.nlBE;exports.nn=u.nn;exports.oc=u.oc;exports.pl=u.pl;exports.pt=u.pt;exports.ptBR=u.ptBR;exports.ro=u.ro;exports.ru=u.ru;exports.se=u.se;exports.sk=u.sk;exports.sl=u.sl;exports.sq=u.sq;exports.sr=u.sr;exports.srLatn=u.srLatn;exports.sv=u.sv;exports.ta=u.ta;exports.te=u.te;exports.th=u.th;exports.tr=u.tr;exports.ug=u.ug;exports.uk=u.uk;exports.uz=u.uz;exports.uzCyrl=u.uzCyrl;exports.vi=u.vi;exports.zhCN=u.zhCN;exports.zhHK=u.zhHK;exports.zhTW=u.zhTW;exports.enUS=lr.enUS;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./calendar-pMM0fKEu.js"),y=require("./accordion-CF2fj2uq.js"),c=require("./alert-badge-DguuS7Qq.js"),I=require("./autocomplete-yD0-1vlF.js"),C=require("./badge-CQ0SS_t8.js"),k=require("./breadcrumbs-BKzim4am.js"),t=require("./button-ChYUPi2k.js"),f=require("./card-B512KHpr.js"),h=require("./checkbox-Dk3bZkZ3.js"),_=require("./chip-group-aj1fdnjC.js"),m=require("./color-dot-B9w_ucWb.js"),g=require("./container-DRwKIAjh.js"),F=require("./content-block-kzdUWgvH.js"),V=require("./countdown-CqYsZigV.js"),U=require("./counter-badge-B-d9VNup.js"),N=require("./cta-link-BHU6irMG.js"),z=require("./date-field-CPiTZqa0.js"),w=require("./date-picker-DlJGggam.js"),X=require("./dismissable-chip-group-DsO2cZaF.js"),Z=require("./drawer-nBpCtIdI.js"),x=require("./field-error-text-FhQulSV5.js"),j=require("./field-helper-text-DSKO-Tce.js"),K=require("./footer-Btsh40pg.js"),Q=require("./grid-uGMD2euo.js"),n=require("./heading-DLCdW6gx.js"),P=require("./hero-banner-4JZr2Tzb.js"),Y=require("./label-yHK80hhV.js"),d=require("./link-DhWVrkTz.js"),$=require("./listbox-BmjBtIv8.js"),J=require("./modal-nyhf5zxG.js"),a=require("./notification-Bg1vQkQ3.js"),rr=require("./notification-banner-C8XsBDTq.js"),ur=require("./pagination-C2A8NPol.js"),O=require("./paragraph-BsI53OR0.js"),er=require("./popover-B1BgSoQx.js"),or=require("./product-card-DOBHGAa2.js"),A=require("./promotion-card-DMCtLQwW.js"),s=require("./quantity-selector-DPOTlMSq.js"),T=require("./radio-button-group-CZ_FnVAi.js"),i=require("./radio-card-group-BT5pV3tA.js"),G=require("./RichText-DMyGiMN0.js"),R=require("./search-field-CxX4BBcg.js"),pr=require("./select-DOqTJgTj.js"),E=require("./skeleton-BU0KtWIM.js"),D=require("./slider-_R6JmPZl.js"),M=require("./spacer-OZQbtvcY.js"),v=require("./spinner-tKunS_o-.js"),ar=require("./stepper-B248FwO-.js"),q=require("./table-BNeo_B1h.js"),B=require("./tabs-CfHd4UQ2.js"),W=require("./text-area-C4mcG5c0.js"),b=require("./text-field-B8a-NKm4.js"),L=require("./text-spacing-CiGPZHuB.js"),l=require("./ThemeProvider-djmNDpmy.js"),tr=require("./useColorScheme-DwlZAnlk.js"),nr=require("./toggle-C8IwTbX8.js"),e=require("./tokens.cjs.js"),p=require("./variables-Buqm4JZc.js"),r=require("./variables-CMzMXeor.js"),o=require("./variables-BSBunpiY.js"),S=require("./tooltip-CLQLxoaf.js"),ir=require("./visually-hidden-C2CKovZx.js"),u=require("./zh-TW-CAp7WWVq.js"),lr=require("./format-CFKKBdIQ.js");exports.Calendar=H.Calendar;exports.Accordion=y.Accordion;exports.NegativeContext=y.NegativeContext;exports.ALERT_BADGE_VARIANT=c.ALERT_BADGE_VARIANT;exports.AlertBadge=c.AlertBadge;exports.alertBadgeVariants=c.alertBadgeVariants;exports.Autocomplete=I.Autocomplete;exports.useAutocomplete=I.useAutocomplete;exports.BADGE_VARIANT=C.BADGE_VARIANT;exports.Badge=C.Badge;exports.badgeVariants=C.badgeVariants;exports.Breadcrumbs=k.Breadcrumbs;exports.BreadcrumbsItem=k.Item;exports.BUTTON_TYPES=t.BUTTON_TYPES;exports.BUTTON_VARIANT=t.BUTTON_VARIANT;exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;exports.Card=f.Card;exports.Checkbox=h.Checkbox;exports.checkedState=h.checkedState;exports.ChipGroup=_.ChipGroup;exports.COLOR_DOT_SIZE=m.COLOR_DOT_SIZE;exports.ColorDot=m.ColorDot;exports.Container=g.Container;exports.ContainerElement=g.ContainerElement;exports.Width=g.Width;exports.ContentBlock=F.ContentBlock;exports.Countdown=V.Countdown;exports.CounterBadge=U.CounterBadge;exports.CtaLink=N.CtaLink;exports.ctaLinkIcons=N.ctaLinkIcons;exports.DateField=z.DateField;exports.DatePicker=w.DatePicker;exports.DismissableChipGroup=X.DismissableChipGroup;exports.Drawer=Z.Drawer;exports.FieldErrorText=x.FieldErrorText;exports.ariaRelevantValues=x.ariaRelevantValues;exports.FieldHelperText=j.FieldHelperText;exports.Footer=K.Footer;exports.Grid=Q.Grid;exports.DisplayVariant=n.DisplayVariant;exports.Heading=n.Heading;exports.HeadingTag=n.HeadingTag;exports.TitleVariant=n.TitleVariant;exports.HeroBanner=P.HeroBanner;exports.TitleHyphenVariant=P.TitleHyphenVariant;exports.Label=Y.Label;exports.LINK_VARIANT=d.LINK_VARIANT;exports.Link=d.Link;exports.linkVariants=d.linkVariants;exports.Listbox=$.Listbox;exports.Modal=J.Modal;exports.NOTIFICATION_ARIA_LIVE=a.NOTIFICATION_ARIA_LIVE;exports.NOTIFICATION_ROLE=a.NOTIFICATION_ROLE;exports.NOTIFICATION_STATUS=a.NOTIFICATION_STATUS;exports.Notification=a.Notification;exports.notificationAriaLiveValues=a.notificationAriaLiveValues;exports.notificationRoles=a.notificationRoles;exports.notificationStatuses=a.notificationStatuses;exports.NotificationBanner=rr.NotificationBanner;exports.Pagination=ur.Pagination;exports.Paragraph=O.Paragraph;exports.ParagraphVariant=O.ParagraphVariant;exports.Popover=er.Popover;exports.ProductCard=or.ProductCard;exports.PromotionCard=A.PromotionCard;exports.promotionCardVariants=A.promotionCardVariants;exports.QuantitySelector=s.QuantitySelector;exports.quantitySelectorButtonVariants=s.quantitySelectorButtonVariants;exports.quantitySelectorVariants=s.quantitySelectorVariants;exports.RADIO_BUTTON_GROUP_DIRECTION=T.RADIO_BUTTON_GROUP_DIRECTION;exports.RADIO_BUTTON_GROUP_ORIENTATION=T.RADIO_BUTTON_GROUP_ORIENTATION;exports.RadioButtonGroup=T.RadioButtonGroup;exports.RADIO_CARD_GROUP_ORIENTATION=i.RADIO_CARD_GROUP_ORIENTATION;exports.RADIO_POSITION=i.RADIO_POSITION;exports.RadioCardGroup=i.RadioCardGroup;exports.RadioCardItem=i.RadioCardItem;exports.RichText=G.RichText;exports.richToPlainText=G.richToPlainText;exports.SearchField=R.SearchField;exports.searchFieldVariants=R.searchFieldVariants;exports.Select=pr.Select;exports.Skeleton=E.Skeleton;exports.radii=E.radii;exports.SLIDER_ORIENTATION=D.SLIDER_ORIENTATION;exports.Slider=D.Slider;exports.SPACER_SIZE=M.SPACER_SIZE;exports.Spacer=M.Spacer;exports.SPINNER_SIZE=v.SPINNER_SIZE;exports.Spinner=v.Spinner;exports.spinnerSizes=v.spinnerSizes;exports.Stepper=ar.Stepper;exports.Table=q.Table;exports.createColumnHelper=q.createColumnHelper;exports.Tabs=B.Tabs;exports.createTabChangeDetailEvent=B.createTabChangeDetailEvent;exports.tabsVariants=B.tabsVariants;exports.ResizeOption=W.ResizeOption;exports.TextArea=W.TextArea;exports.TextField=b.TextField;exports.isTextField=b.isTextField;exports.Element=L.Element;exports.TextSpacing=L.TextSpacing;exports.ThemeProvider=l.ThemeProvider;exports.teliaTheme=l.teliaTheme;exports.useApplyTheme=l.useApplyTheme;exports.useTheme=l.useTheme;exports.useColorScheme=tr.useColorScheme;exports.Toggle=nr.Toggle;exports.purpurBorderRadiusFull=e.purpurBorderRadiusFull;exports.purpurBorderRadiusLg=e.purpurBorderRadiusLg;exports.purpurBorderRadiusMd=e.purpurBorderRadiusMd;exports.purpurBorderRadiusSm=e.purpurBorderRadiusSm;exports.purpurBorderRadiusXs=e.purpurBorderRadiusXs;exports.purpurBorderWidthLg=e.purpurBorderWidthLg;exports.purpurBorderWidthMd=e.purpurBorderWidthMd;exports.purpurBorderWidthSm=e.purpurBorderWidthSm;exports.purpurBorderWidthXs=e.purpurBorderWidthXs;exports.purpurFilterBlurOnImage=e.purpurFilterBlurOnImage;exports.purpurGradientAiBackgroundInteractiveExpressive=e.purpurGradientAiBackgroundInteractiveExpressive;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=e.purpurGradientAiBackgroundInteractiveExpressiveNegative;exports.purpurGradientAiBackgroundInteractivePrimary=e.purpurGradientAiBackgroundInteractivePrimary;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=e.purpurGradientAiBackgroundInteractivePrimaryNegative;exports.purpurGradientAiBackgroundPrimaryNegative=e.purpurGradientAiBackgroundPrimaryNegative;exports.purpurGradientAiBorderInteractivePrimary=e.purpurGradientAiBorderInteractivePrimary;exports.purpurGradientAiBorderInteractivePrimaryNegative=e.purpurGradientAiBorderInteractivePrimaryNegative;exports.purpurGradientAiTextInteractivePrimary=e.purpurGradientAiTextInteractivePrimary;exports.purpurGradientAiTextInteractivePrimaryNegative=e.purpurGradientAiTextInteractivePrimaryNegative;exports.purpurShadowLg=e.purpurShadowLg;exports.purpurShadowMd=e.purpurShadowMd;exports.purpurShadowNone=e.purpurShadowNone;exports.purpurShadowSm=e.purpurShadowSm;exports.purpurSpacing0=e.purpurSpacing0;exports.purpurSpacing10=e.purpurSpacing10;exports.purpurSpacing100=e.purpurSpacing100;exports.purpurSpacing1000=e.purpurSpacing1000;exports.purpurSpacing1200=e.purpurSpacing1200;exports.purpurSpacing150=e.purpurSpacing150;exports.purpurSpacing1600=e.purpurSpacing1600;exports.purpurSpacing200=e.purpurSpacing200;exports.purpurSpacing25=e.purpurSpacing25;exports.purpurSpacing250=e.purpurSpacing250;exports.purpurSpacing300=e.purpurSpacing300;exports.purpurSpacing400=e.purpurSpacing400;exports.purpurSpacing50=e.purpurSpacing50;exports.purpurSpacing600=e.purpurSpacing600;exports.purpurSpacing800=e.purpurSpacing800;exports.purpurSpacingGutterLg=e.purpurSpacingGutterLg;exports.purpurSpacingGutterMd=e.purpurSpacingGutterMd;exports.purpurSpacingGutterSm=e.purpurSpacingGutterSm;exports.purpurSpacingGutterXl=e.purpurSpacingGutterXl;exports.purpurSpacingPagePaddingLg=e.purpurSpacingPagePaddingLg;exports.purpurSpacingPagePaddingMd=e.purpurSpacingPagePaddingMd;exports.purpurSpacingPagePaddingSm=e.purpurSpacingPagePaddingSm;exports.purpurSpacingPagePaddingXl=e.purpurSpacingPagePaddingXl;exports.purpurTypographyFamilyDefault=e.purpurTypographyFamilyDefault;exports.purpurTypographyFamilyDisplay=e.purpurTypographyFamilyDisplay;exports.purpurTypographyLineHeightDefault=e.purpurTypographyLineHeightDefault;exports.purpurTypographyLineHeightLoose=e.purpurTypographyLineHeightLoose;exports.purpurTypographyLineHeightLooser=e.purpurTypographyLineHeightLooser;exports.purpurTypographyLineHeightSnug=e.purpurTypographyLineHeightSnug;exports.purpurTypographyLineHeightTight=e.purpurTypographyLineHeightTight;exports.purpurTypographyScale100=e.purpurTypographyScale100;exports.purpurTypographyScale1000=e.purpurTypographyScale1000;exports.purpurTypographyScale1100=e.purpurTypographyScale1100;exports.purpurTypographyScale150=e.purpurTypographyScale150;exports.purpurTypographyScale200=e.purpurTypographyScale200;exports.purpurTypographyScale300=e.purpurTypographyScale300;exports.purpurTypographyScale400=e.purpurTypographyScale400;exports.purpurTypographyScale50=e.purpurTypographyScale50;exports.purpurTypographyScale500=e.purpurTypographyScale500;exports.purpurTypographyScale600=e.purpurTypographyScale600;exports.purpurTypographyScale650=e.purpurTypographyScale650;exports.purpurTypographyScale700=e.purpurTypographyScale700;exports.purpurTypographyScale75=e.purpurTypographyScale75;exports.purpurTypographyScale800=e.purpurTypographyScale800;exports.purpurTypographyScale850=e.purpurTypographyScale850;exports.purpurTypographyScale900=e.purpurTypographyScale900;exports.purpurTypographyWeightBold=e.purpurTypographyWeightBold;exports.purpurTypographyWeightMedium=e.purpurTypographyWeightMedium;exports.purpurTypographyWeightNormal=e.purpurTypographyWeightNormal;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.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=o.purpurMotionDuration100;exports.purpurMotionDuration150=o.purpurMotionDuration150;exports.purpurMotionDuration1500=o.purpurMotionDuration1500;exports.purpurMotionDuration200=o.purpurMotionDuration200;exports.purpurMotionDuration2000=o.purpurMotionDuration2000;exports.purpurMotionDuration300=o.purpurMotionDuration300;exports.purpurMotionDuration400=o.purpurMotionDuration400;exports.purpurMotionDuration500=o.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=o.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=o.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=o.purpurMotionEasingEaseOut;exports.TOOLTIP_ALIGN=S.TOOLTIP_ALIGN;exports.TOOLTIP_POSITION=S.TOOLTIP_POSITION;exports.Tooltip=S.Tooltip;exports.VisuallyHidden=ir.VisuallyHidden;exports.af=u.af;exports.ar=u.ar;exports.arDZ=u.arDZ;exports.arEG=u.arEG;exports.arMA=u.arMA;exports.arSA=u.arSA;exports.arTN=u.arTN;exports.az=u.az;exports.be=u.be;exports.beTarask=u.beTarask;exports.bg=u.bg;exports.bn=u.bn;exports.bs=u.bs;exports.ca=u.ca;exports.ckb=u.ckb;exports.cs=u.cs;exports.cy=u.cy;exports.da=u.da;exports.de=u.de;exports.deAT=u.deAT;exports.el=u.el;exports.enAU=u.enAU;exports.enCA=u.enCA;exports.enGB=u.enGB;exports.enIE=u.enIE;exports.enIN=u.enIN;exports.enNZ=u.enNZ;exports.enZA=u.enZA;exports.eo=u.eo;exports.es=u.es;exports.et=u.et;exports.eu=u.eu;exports.faIR=u.faIR;exports.fi=u.fi;exports.fr=u.fr;exports.frCA=u.frCA;exports.frCH=u.frCH;exports.fy=u.fy;exports.gd=u.gd;exports.gl=u.gl;exports.gu=u.gu;exports.he=u.he;exports.hi=u.hi;exports.hr=u.hr;exports.ht=u.ht;exports.hu=u.hu;exports.hy=u.hy;exports.id=u.id;exports.is=u.is;exports.it=u.it;exports.itCH=u.itCH;exports.ja=u.ja;exports.jaHira=u.jaHira;exports.ka=u.ka;exports.kk=u.kk;exports.km=u.km;exports.kn=u.kn;exports.ko=u.ko;exports.lb=u.lb;exports.lt=u.lt;exports.lv=u.lv;exports.mk=u.mk;exports.mn=u.mn;exports.ms=u.ms;exports.mt=u.mt;exports.nb=u.nb;exports.nl=u.nl;exports.nlBE=u.nlBE;exports.nn=u.nn;exports.oc=u.oc;exports.pl=u.pl;exports.pt=u.pt;exports.ptBR=u.ptBR;exports.ro=u.ro;exports.ru=u.ru;exports.se=u.se;exports.sk=u.sk;exports.sl=u.sl;exports.sq=u.sq;exports.sr=u.sr;exports.srLatn=u.srLatn;exports.sv=u.sv;exports.ta=u.ta;exports.te=u.te;exports.th=u.th;exports.tr=u.tr;exports.ug=u.ug;exports.uk=u.uk;exports.uz=u.uz;exports.uzCyrl=u.uzCyrl;exports.vi=u.vi;exports.zhCN=u.zhCN;exports.zhHK=u.zhHK;exports.zhTW=u.zhTW;exports.enUS=lr.enUS;
2
2
  //# sourceMappingURL=library.cjs.js.map
@@ -15,7 +15,7 @@ import { C as U } from "./countdown-DxAGVUFI.mjs";
15
15
  import { C as w } from "./counter-badge-C6yuD7se.mjs";
16
16
  import { C as Z, c as q } from "./cta-link-B_FfwflB.mjs";
17
17
  import { D as Q } from "./date-field-D_6iP2fC.mjs";
18
- import { D as Y } from "./date-picker-BRkh2YEH.mjs";
18
+ import { D as Y } from "./date-picker-BRnwwZv1.mjs";
19
19
  import { D as $ } from "./dismissable-chip-group-Bl0D18qM.mjs";
20
20
  import { D as ar } from "./drawer-Boqmgh-i.mjs";
21
21
  import { F as pr, a as ur } from "./field-error-text-CBSX8dGx.mjs";
@@ -32,7 +32,7 @@ import { a as Or, c as Rr, N as Gr, e as Er, b as Dr, d as Mr, n as Wr } from ".
32
32
  import { N as Hr } from "./notification-banner-BY2iZOIa.mjs";
33
33
  import { P as Fr } from "./pagination-CVVCAQ65.mjs";
34
34
  import { a as Ur, P as zr } from "./paragraph-DNtj7OLr.mjs";
35
- import { P as Xr } from "./popover-C6nZb3cQ.mjs";
35
+ import { P as Xr } from "./popover-DBMI9Jy1.mjs";
36
36
  import { P as qr } from "./product-card-rfpJbzzV.mjs";
37
37
  import { P as Qr, p as Kr } from "./promotion-card-D2F-EWgn.mjs";
38
38
  import { Q as Jr, a as $r, q as ra } from "./quantity-selector-_VcZYLjR.mjs";
@@ -45,8 +45,8 @@ import { S as ma, r as xa } from "./skeleton-CDGzLI-T.mjs";
45
45
  import { S as Ia, a as ka } from "./slider-CDOrFmK-.mjs";
46
46
  import { S as fa, a as ha } from "./spacer-4im7q6p0.mjs";
47
47
  import { S as Pa, a as Aa, s as Oa } from "./spinner-DRQN6YdK.mjs";
48
- import { S as Ga } from "./stepper-D81jmbEf.mjs";
49
- import { T as Da, c as Ma } from "./table-CIrmGGb2.mjs";
48
+ import { S as Ga } from "./stepper-BfIbJwZn.mjs";
49
+ import { T as Da, c as Ma } from "./table-DvcpczWf.mjs";
50
50
  import { T as La, c as Ha, t as _a } from "./tabs-CoXMAwMx.mjs";
51
51
  import { R as Va, T as Ua } from "./text-area-CJD8ksqm.mjs";
52
52
  import { T as wa, i as Xa } from "./text-field-PKAaXO1N.mjs";
@@ -58,7 +58,7 @@ import { purpurBorderRadiusFull as eo, purpurBorderRadiusLg as so, purpurBorderR
58
58
  import { b as fp, a as hp, f as Np, e as Pp, d as Ap, g as Op, p as Rp, c as Gp } from "./variables-BSsIx39i.mjs";
59
59
  import { bX as Dp, ci as Mp, ck as Wp, cj as Lp, c8 as Hp, c9 as _p, c2 as Fp, c4 as Vp, c7 as Up, c3 as zp, c6 as wp, c5 as Xp, ce as Zp, cf as qp, bY as jp, b_ as Qp, c1 as Kp, bZ as Yp, c0 as Jp, b$ as $p, cg as ru, ch as au, cc as ou, cd as pu, ca as uu, cb as eu, bV as su, bW as tu, bR as nu, bS as iu, bT as lu, bU as cu, cy as Cu, cz as gu, cq as du, cr as Tu, cs as Bu, cl as vu, cm as Su, cw as mu, cx as xu, cn as yu, co as Iu, cp as ku, ct as bu, cu as fu, cv as hu, cA as Nu, cD as Pu, cB as Au, cC as Ou, m as Ru, n as Gu, o as Eu, q as Du, l as Mu, r as Wu, s as Lu, t as Hu, u as _u, v as Fu, w as Vu, ar as Uu, as as zu, at as wu, au as Xu, aq as Zu, av as qu, aw as ju, ax as Qu, ay as Ku, az as Yu, aA as Ju, cR as $u, cK as re, cL as ae, cO as oe, cQ as pe, cN as ue, cP as ee, cM as se, cS as te, cT as ne, cV as ie, cW as le, cU as ce, cE as Ce, cF as ge, cX as de, cY as Te, c_ as Be, c$ as ve, d0 as Se, cZ as me, cG as xe, cH as ye, cI as Ie, cJ as ke, b6 as be, b3 as fe, b5 as he, b2 as Ne, b7 as Pe, b4 as Ae, b8 as Oe, b9 as Re, a$ as Ge, b1 as Ee, b0 as De, d2 as Me, d3 as We, d4 as Le, d5 as He, J as _e, K as Fe, L as Ve, M as Ue, N as ze, I as we, O as Xe, P as Ze, Q as qe, R as je, S as Qe, T as Ke, U as Ye, W as Je, X as $e, Y as rs, Z as as, V as os, _ as ps, $ as us, a0 as es, a1 as ss, a2 as ts, a3 as ns, ag as is, ah as ls, ai as cs, aj as Cs, af as gs, ak as ds, al as Ts, am as Bs, an as vs, ao as Ss, ap as ms, d1 as xs, a as ys, b as Is, c as ks, d as bs, p as fs, e as hs, f as Ns, g as Ps, h as As, i as Os, j as Rs, k as Gs, a5 as Es, a6 as Ds, a7 as Ms, a8 as Ws, a4 as Ls, a9 as Hs, aa as _s, ab as Fs, ac as Vs, ad as Us, ae as zs, y as ws, z as Xs, A as Zs, B as qs, x as js, C as Qs, D as Ks, E as Ys, F as Js, G as $s, H as rt, ba as at, bd as ot, bu as pt, bo as ut, bs as et, bt as st, bq as tt, br as nt, bp as it, bj as lt, bk as ct, bg as Ct, bi as gt, bn as dt, bh as Tt, bm as Bt, bl as vt, bv as St, bb as mt, be as xt, bM as yt, bN as It, bw as kt, bz as bt, bA as ft, bx as ht, by as Nt, bJ as Pt, bI as At, bK as Ot, bL as Rt, bD as Gt, bE as Et, bB as Dt, bC as Mt, bG as Wt, bH as Lt, bF as Ht, bO as _t, bP as Ft, bQ as Vt, bc as Ut, bf as zt, aC as wt, aD as Xt, aE as Zt, aF as qt, aG as jt, aB as Qt, aH as Kt, aI as Yt, aJ as Jt, aK as $t, aL as rn, aM as an, aN as on, aP as pn, aQ as un, aR as en, aS as sn, aT as tn, aO as nn, aU as ln, aV as cn, aW as Cn, aX as gn, aY as dn, aZ as Tn, a_ as Bn } from "./variables-91UvS2rU.mjs";
60
60
  import { p as Sn, a as mn, f as xn, b as yn, g as In, c as kn, d as bn, e as fn, h as hn, j as Nn, i as Pn } from "./variables-BUfnQw6H.mjs";
61
- import { a as On, T as Rn, b as Gn } from "./tooltip-Cqfj0lSz.mjs";
61
+ import { a as On, T as Rn, b as Gn } from "./tooltip-DXi7ikUT.mjs";
62
62
  import { V as Dn } from "./visually-hidden-BYFkJEp1.mjs";
63
63
  import { a as Wn, b as Ln, c as Hn, d as _n, e as Fn, f as Vn, g as Un, h as zn, i as wn, j as Xn, k as Zn, l as qn, m as jn, n as Qn, o as Kn, p as Yn, q as Jn, r as $n, s as ri, t as ai, u as oi, v as pi, w as ui, x as ei, y as si, z as ti, A as ni, B as ii, C as li, D as ci, E as Ci, F as gi, G as di, H as Ti, I as Bi, J as vi, K as Si, L as mi, M as xi, N as yi, O as Ii, P as ki, Q as bi, R as fi, S as hi, T as Ni, U as Pi, V as Ai, W as Oi, X as Ri, Y as Gi, Z as Ei, _ as Di, $ as Mi, a0 as Wi, a1 as Li, a2 as Hi, a3 as _i, a4 as Fi, a5 as Vi, a6 as Ui, a7 as zi, a8 as wi, a9 as Xi, aa as Zi, ab as qi, ac as ji, ad as Qi, ae as Ki, af as Yi, ag as Ji, ah as $i, ai as rl, aj as al, ak as ol, al as pl, am as ul, an as el, ao as sl, ap as tl, aq as nl, ar as il, as as ll, at as cl, au as Cl, av as gl, aw as dl, ax as Tl, ay as Bl, az as vl, aA as Sl, aB as ml, aC as xl, aD as yl } from "./zh-TW-oiRD71xW.mjs";
64
64
  import { e as kl } from "./format-DpkYPs7O.mjs";
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("react/jsx-runtime"),X=require("./button-ChYUPi2k.js"),l=require("react"),dt=require("./variables-Buqm4JZc.js"),y=require("./index-DlMXYAr3.js"),U=require("./index-_XxjJPRD.js"),$=require("./index-kcwFA4Dv.js"),M=require("./index-DA01QPpC.js"),ft=require("./index-BtWPC8xc.js"),R=require("./floating-ui.react-dom-z0lMBJ4R.js"),ht=require("./index-DOFLOnao.js"),we=require("./index-CleLBinl.js"),gt=require("./close.es-VL3lKi1O.js"),xe=require("./paragraph-BsI53OR0.js"),H=require("./bind-DeUYJ6m9.js"),vt=require("./heading-DLCdW6gx.js");function _t(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const g=_t(l),te=l.createContext(null),re=()=>{const e=l.useContext(te);if(!e)throw new Error("usePopoverFlow must be used within a PopoverFlow provider");return e},B=()=>l.useContext(te),mt=({children:e,initialStep:t=1,onComplete:r,onDismiss:o,separatorText:n,stepText:s,backLabel:i,nextLabel:c,finishLabel:p,openDelay:u=0})=>{const[v,d]=l.useState(t),[h,m]=l.useState(new Set),x=l.useCallback(w=>{m(C=>{const S=new Set(C);return S.add(w),S})},[]),f=l.useCallback(w=>{m(C=>{const S=new Set(C);return S.delete(w),S})},[]),O=l.useCallback(()=>{d(w=>{const C=w+1;return C>h.size?(r?.(),w):C})},[h.size,r]),j=l.useCallback(()=>{d(w=>Math.max(1,w-1))},[]),N=l.useCallback(()=>{d(0),o?.()},[o]),E=l.useMemo(()=>({currentStep:v,totalSteps:h.size,next:O,back:j,dismiss:N,registerStep:x,unregisterStep:f,separatorText:n,stepText:s,backLabel:i,nextLabel:c,finishLabel:p,openDelay:u}),[v,h.size,O,j,N,x,f,n,s,i,c,p,u]);return a.jsx(te.Provider,{value:E,children:e})},oe=l.createContext(null),K=()=>l.useContext(oe),Pe=l.createContext({negative:!1}),ne=()=>l.useContext(Pe),wt=150,_e={MAX_MD:`(max-width: ${dt.purpurBreakpointMd})`},se=()=>{const e=window.matchMedia(_e.MAX_MD);function t(){o(e.matches)}const[r,o]=l.useState(()=>typeof window>"u"?!1:window.matchMedia(_e.MAX_MD).matches),n=l.useCallback(()=>{let s;return()=>{clearTimeout(s),s=setTimeout(()=>t(),wt)}},[t]);return l.useEffect(()=>{if(!(typeof window>"u"))return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[n]),{isMdOrSmaller:r}},ie=({children:e,onClick:t})=>{const{back:r}=re(),{negative:o}=ne(),{isMdOrSmaller:n}=se(),s=!o,i=()=>{t?.(),r()};return a.jsx(X.Button,{size:"sm",variant:"secondary",onClick:i,negative:s,fullWidth:n,children:e})};ie.displayName="PopoverBack";var xt="Arrow",Ce=g.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...s}=e;return a.jsx(y.Primitive.svg,{...s,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=xt;var Pt=Ce,ae="Popper",[Se,ye]=$.createContextScope(ae),[Ct,je]=Se(ae),Oe=e=>{const{__scopePopper:t,children:r}=e,[o,n]=g.useState(null);return a.jsx(Ct,{scope:t,anchor:o,onAnchorChange:n,children:r})};Oe.displayName=ae;var Re="PopperAnchor",be=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,s=je(Re,r),i=g.useRef(null),c=U.useComposedRefs(t,i),p=g.useRef(null);return g.useEffect(()=>{const u=p.current;p.current=o?.current||i.current,u!==p.current&&s.onAnchorChange(p.current)}),o?null:a.jsx(y.Primitive.div,{...n,ref:c})});be.displayName=Re;var ce="PopperContent",[St,yt]=Se(ce),Ae=g.forwardRef((e,t)=>{const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:s="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:p=!0,collisionBoundary:u=[],collisionPadding:v=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:x,...f}=e,O=je(ce,r),[j,N]=g.useState(null),E=U.useComposedRefs(t,I=>N(I)),[w,C]=g.useState(null),S=ht.useSize(w),V=S?.width??0,W=S?.height??0,Z=o+(s!=="center"?"-"+s:""),Q=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},_=Array.isArray(u)?u:[u],P=_.length>0,k={padding:Q,boundary:_.filter(Ot),altBoundary:P},{refs:et,floatingStyles:fe,placement:tt,isPositioned:L,middlewareData:F}=R.useFloating({strategy:"fixed",placement:Z,whileElementsMounted:(...I)=>R.autoUpdate(...I,{animationFrame:m==="always"}),elements:{reference:O.anchor},middleware:[R.offset({mainAxis:n+W,alignmentAxis:i}),p&&R.shift({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?R.limitShift():void 0,...k}),p&&R.flip({...k}),R.size({...k,apply:({elements:I,rects:ve,availableWidth:ct,availableHeight:pt})=>{const{width:lt,height:ut}=ve.reference,Y=I.floating.style;Y.setProperty("--radix-popper-available-width",`${ct}px`),Y.setProperty("--radix-popper-available-height",`${pt}px`),Y.setProperty("--radix-popper-anchor-width",`${lt}px`),Y.setProperty("--radix-popper-anchor-height",`${ut}px`)}}),w&&R.arrow({element:w,padding:c}),Rt({arrowWidth:V,arrowHeight:W}),h&&R.hide({strategy:"referenceHidden",...k})]}),[he,rt]=ke(tt),ge=$.useCallbackRef(x);$.useLayoutEffect2(()=>{L&&ge?.()},[L,ge]);const ot=F.arrow?.x,nt=F.arrow?.y,st=F.arrow?.centerOffset!==0,[it,at]=g.useState();return $.useLayoutEffect2(()=>{j&&at(window.getComputedStyle(j).zIndex)},[j]),a.jsx("div",{ref:et.setFloating,"data-radix-popper-content-wrapper":"",style:{...fe,transform:L?fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:it,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(St,{scope:r,placedSide:he,onArrowChange:C,arrowX:ot,arrowY:nt,shouldHideArrow:st,children:a.jsx(y.Primitive.div,{"data-side":he,"data-align":rt,...f,ref:E,style:{...f.style,animation:L?void 0:"none"}})})})});Ae.displayName=ce;var Ne="PopperArrow",jt={top:"bottom",right:"left",bottom:"top",left:"right"},Ee=g.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,s=yt(Ne,o),i=jt[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(Pt,{...n,ref:r,style:{...n.style,display:"block"}})})});Ee.displayName=Ne;function Ot(e){return e!==null}var Rt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:o,middlewareData:n}=t,i=n.arrow?.centerOffset!==0,c=i?0:e.arrowWidth,p=i?0:e.arrowHeight,[u,v]=ke(r),d={start:"0%",center:"50%",end:"100%"}[v],h=(n.arrow?.x??0)+c/2,m=(n.arrow?.y??0)+p/2;let x="",f="";return u==="bottom"?(x=i?d:`${h}px`,f=`${-p}px`):u==="top"?(x=i?d:`${h}px`,f=`${o.floating.height+p}px`):u==="right"?(x=`${-p}px`,f=i?d:`${m}px`):u==="left"&&(x=`${o.floating.width+p}px`,f=i?d:`${m}px`),{data:{x,y:f}}}});function ke(e){const[t,r="center"]=e.split("-");return[t,r]}var bt=Oe,Fe=be,At=Ae,Nt=Ee,G="Popover",[Te]=$.createContextScope(G,[ye]),z=ye(),[Et,A]=Te(G),Me=e=>{const{__scopePopover:t,children:r,open:o,defaultOpen:n,onOpenChange:s,modal:i=!1}=e,c=z(t),p=g.useRef(null),[u,v]=g.useState(!1),[d,h]=y.useControllableState({prop:o,defaultProp:n??!1,onChange:s,caller:G});return a.jsx(bt,{...c,children:a.jsx(Et,{scope:t,contentId:ft.useId(),triggerRef:p,open:d,onOpenChange:h,onOpenToggle:g.useCallback(()=>h(m=>!m),[h]),hasCustomAnchor:u,onCustomAnchorAdd:g.useCallback(()=>v(!0),[]),onCustomAnchorRemove:g.useCallback(()=>v(!1),[]),modal:i,children:r})})};Me.displayName=G;var De="PopoverAnchor",kt=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(De,r),s=z(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:c}=n;return g.useEffect(()=>(i(),()=>c()),[i,c]),a.jsx(Fe,{...s,...o,ref:t})});kt.displayName=De;var Ie="PopoverTrigger",$e=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(Ie,r),s=z(r),i=U.useComposedRefs(t,n.triggerRef),c=a.jsx(y.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":Ye(n.open),...o,ref:i,onClick:y.composeEventHandlers(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?c:a.jsx(Fe,{asChild:!0,...s,children:c})});$e.displayName=Ie;var pe="PopoverPortal",[Ft,Tt]=Te(pe,{forceMount:void 0}),He=e=>{const{__scopePopover:t,forceMount:r,children:o,container:n}=e,s=A(pe,t);return a.jsx(Ft,{scope:t,forceMount:r,children:a.jsx(we.Presence,{present:r||s.open,children:a.jsx(M.Portal,{asChild:!0,container:n,children:o})})})};He.displayName=pe;var D="PopoverContent",Be=g.forwardRef((e,t)=>{const r=Tt(D,e.__scopePopover),{forceMount:o=r.forceMount,...n}=e,s=A(D,e.__scopePopover);return a.jsx(we.Presence,{present:o||s.open,children:s.modal?a.jsx(Dt,{...n,ref:t}):a.jsx(It,{...n,ref:t})})});Be.displayName=D;var Mt=y.createSlot("PopoverContent.RemoveScroll"),Dt=g.forwardRef((e,t)=>{const r=A(D,e.__scopePopover),o=g.useRef(null),n=U.useComposedRefs(t,o),s=g.useRef(!1);return g.useEffect(()=>{const i=o.current;if(i)return M.hideOthers(i)},[]),a.jsx(M.ReactRemoveScroll,{as:Mt,allowPinchZoom:!0,children:a.jsx(ze,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:y.composeEventHandlers(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:y.composeEventHandlers(e.onPointerDownOutside,i=>{const c=i.detail.originalEvent,p=c.button===0&&c.ctrlKey===!0,u=c.button===2||p;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:y.composeEventHandlers(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),It=g.forwardRef((e,t)=>{const r=A(D,e.__scopePopover),o=g.useRef(!1),n=g.useRef(!1);return a.jsx(ze,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(o.current||r.triggerRef.current?.focus(),s.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),ze=g.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:u,onInteractOutside:v,...d}=e,h=A(D,r),m=z(r);return M.useFocusGuards(),a.jsx(M.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:s,children:a.jsx(M.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:v,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:a.jsx(At,{"data-state":Ye(h.open),role:"dialog",id:h.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),qe="PopoverClose",We=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(qe,r);return a.jsx(y.Primitive.button,{type:"button",...o,ref:t,onClick:y.composeEventHandlers(e.onClick,()=>n.onOpenChange(!1))})});We.displayName=qe;var $t="PopoverArrow",Le=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=z(r);return a.jsx(Nt,{...n,...o,ref:t})});Le.displayName=$t;function Ye(e){return e?"open":"closed"}var Xe=Me,Ht=$e,Bt=He,zt=Be,Ue=We,qt=Le;const le=({children:e,asChild:t,onClick:r,variant:o="primary",dismiss:n=!0,fullWidth:s})=>{const i=B(),{isMdOrSmaller:c}=se(),{negative:p}=ne(),u=!p,v=()=>{r?.(),n&&i?.dismiss()},d=s??c,h=t?e:a.jsx(X.Button,{variant:o,size:"sm",fullWidth:d,negative:u,onClick:v,children:e});return n?a.jsx(Ue,{asChild:!0,children:h}):h};le.displayName="PopoverButton";const Wt="_highlightState1_1w9je_1",Lt="_fadeIn_1w9je_1",Yt="_slideFromTop_1w9je_1",Xt="_slideFromBottom_1w9je_1",Ut="_slideFromLeft_1w9je_1",Kt="_slideFromRight_1w9je_1",Gt="_fadeOut_1w9je_1",Vt="_slideToTop_1w9je_1",Zt="_slideToBottom_1w9je_1",Qt="_slideToLeft_1w9je_1",Jt="_slideToRight_1w9je_1",q={"purpur-popover__trigger":"_purpur-popover__trigger_1w9je_1","purpur-popover__trigger-highlight":"_purpur-popover__trigger-highlight_1w9je_5","purpur-popover__trigger-highlight--state1":"_purpur-popover__trigger-highlight--state1_1w9je_14",highlightState1:Wt,"purpur-popover__trigger-highlight--negative":"_purpur-popover__trigger-highlight--negative_1w9je_29","purpur-popover__trigger-highlight--state2":"_purpur-popover__trigger-highlight--state2_1w9je_33","purpur-popover__inner":"_purpur-popover__inner_1w9je_45","purpur-popover__content":"_purpur-popover__content_1w9je_52",fadeIn:Lt,slideFromTop:Yt,slideFromBottom:Xt,slideFromLeft:Ut,slideFromRight:Kt,fadeOut:Gt,slideToTop:Vt,slideToBottom:Zt,slideToLeft:Qt,slideToRight:Jt,"purpur-popover__arrow":"_purpur-popover__arrow_1w9je_103","purpur-popover__body":"_purpur-popover__body_1w9je_106","purpur-popover__icon":"_purpur-popover__icon_1w9je_107","purpur-popover__steps":"_purpur-popover__steps_1w9je_108","purpur-popover__title":"_purpur-popover__title_1w9je_109","purpur-popover__content--negative":"_purpur-popover__content--negative_1w9je_112","purpur-popover__header-content":"_purpur-popover__header-content_1w9je_124","purpur-popover__close":"_purpur-popover__close_1w9je_137","purpur-popover__footer":"_purpur-popover__footer_1w9je_142","purpur-popover__footer-button-group":"_purpur-popover__footer-button-group_1w9je_155"},er=H.c.bind(q),Ke=()=>{const e=re(),r=K()?.walkthroughStep||e.currentStep,{totalSteps:o,separatorText:n,stepText:s}=e;return a.jsx(a.Fragment,{children:a.jsxs(xe.Paragraph,{className:er("purpur-popover__steps"),role:"status","aria-live":"polite","aria-atomic":"true",children:[s," ",r," ",n," ",o]})})};Ke.displayName="PopoverSteps";const me=H.c.bind(q),ue=({children:e,className:t})=>{const r=B(),o=K(),n=r&&o&&o.walkthroughStep>0;return a.jsxs("div",{className:me("purpur-popover__footer",t),children:[n&&a.jsx(Ke,{}),a.jsx("div",{className:me("purpur-popover__footer-button-group"),children:e})]})};ue.displayName="PopoverFooter";const J=H.c.bind(q),Ge=l.forwardRef(({title:e,icon:t},r)=>a.jsxs("div",{ref:r,className:J("purpur-popover__header-content"),children:[t&&a.jsx("span",{className:J("purpur-popover__icon"),children:t}),a.jsx(vt.Heading,{tag:"h2",variant:"title-100",className:J("purpur-popover__title"),id:"popover-heading",children:e})]}));Ge.displayName="PopoverHeader";const de=({children:e,onClick:t})=>{const{next:r}=re(),{negative:o}=ne(),{isMdOrSmaller:n}=se(),s=!o,i=()=>{t?.(),r()};return a.jsx(X.Button,{size:"sm",variant:"primary",onClick:i,negative:s,fullWidth:n,children:e})};de.displayName="PopoverNext";const T=H.c.bind(q),Ve=l.forwardRef(({children:e,className:t,beakPosition:r="down",align:o="center",alignOffset:n=0,sideOffset:s=5,negative:i=!1,closeIconAriaLabel:c,title:p,icon:u,body:v,onAction:d,zIndex:h=210,...m},x)=>{const f=B(),O=K(),j=l.useRef(null),E={up:"bottom",right:"left",down:"top",left:"right",none:"bottom"}[r],w=r!=="none";let C=e;if(f&&!e){const _=O?.walkthroughStep||f.currentStep,P=_===1,k=_===f.totalSteps;C=a.jsxs(ue,{children:[!P&&a.jsx(ie,{onClick:()=>d?.({type:"back",step:_}),children:f.backLabel}),k?a.jsx(le,{onClick:()=>d?.({type:"finish",step:_}),dismiss:!0,children:f.finishLabel}):a.jsx(de,{onClick:()=>d?.({type:"next",step:_}),children:f.nextLabel})]})}const S=_=>{if(_.preventDefault(),f){const P=_.currentTarget;setTimeout(()=>{P.setAttribute("tabindex","-1"),P.focus()},0)}m.onOpenAutoFocus?.(_)},V=_=>{f&&_.preventDefault(),m.onCloseAutoFocus?.(_)},W=_=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)").matches;f&&!P?(_.preventDefault(),setTimeout(()=>{d?.({type:"dismiss",step:f.currentStep}),f.dismiss()},200)):(d?.({type:"dismiss",step:f?.currentStep}),f?.dismiss())},Z=_=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)").matches;f&&!P?(_.preventDefault(),setTimeout(()=>{d?.({type:"dismiss",step:f.currentStep}),f.dismiss()},200)):(d?.({type:"dismiss",step:f?.currentStep}),f?.dismiss())},Q=_=>{if(O?.disableClickOutside){_.preventDefault();return}if(f){const P=_.target;P.closest("[role='dialog']")||P.closest(".purpur-popover__trigger")||P.closest("button[aria-haspopup='dialog']")||(d?.({type:"dismiss",step:f.currentStep}),setTimeout(()=>{f.dismiss()},0))}};return a.jsx(Bt,{children:a.jsxs(zt,{"data-testid":"popover-content",role:"dialog","aria-modal":"true","aria-labelledby":m["aria-label"]?void 0:"popover-heading",ref:x,side:E,sideOffset:s,align:o,alignOffset:n,style:{"--popover-z-index":h},className:T("purpur-popover__content",{"purpur-popover__content--negative":i},t),onOpenAutoFocus:S,onCloseAutoFocus:V,onEscapeKeyDown:Z,onInteractOutside:Q,...m,children:[a.jsxs(Pe.Provider,{value:{negative:i},children:[a.jsxs("div",{className:T("purpur-popover__inner"),children:[a.jsx(Ge,{ref:j,title:p,icon:u}),a.jsx(xe.Paragraph,{className:T("purpur-popover__body"),children:v})]}),C,a.jsx(Ue,{asChild:!0,onClick:W,children:a.jsx(X.Button,{variant:i?"text":"tertiary-purple",size:"sm","aria-label":c,className:T("purpur-popover__close"),negative:!i,iconOnly:!0,children:a.jsx(gt.r,{size:"xs",className:T("purpur-popover__icon")})})})]}),w&&a.jsx(qt,{className:T("purpur-popover__arrow"),"aria-hidden":"true",tabIndex:-1})]})})});Ve.displayName="PopoverContent";const Ze=({children:e,open:t,defaultOpen:r=!1,onOpenChange:o,disableClickOutside:n,...s})=>{const[i,c]=l.useState(r),p=t!==void 0,u=p?t:i,v=d=>{p||c(d),o?.(d)};return a.jsx(Xe,{open:u,onOpenChange:v,...s,children:a.jsx(oe.Provider,{value:{isOpen:u,walkthroughStep:0,disableClickOutside:n},children:e})})};Ze.displayName="PopoverStandalone";const tr=e=>{const t=l.useRef(null),r=l.useCallback(()=>{t.current&&(cancelAnimationFrame(t.current),t.current=null)},[]);return{scrollToElement:l.useCallback((n,s=600)=>{const i=window.matchMedia("(prefers-reduced-motion: reduce)").matches,c=n.getBoundingClientRect(),p=c.top+window.pageYOffset,u=c.height,v=window.innerHeight;let d=p-v/2+u/2;const h=document.documentElement.scrollHeight,m=Math.max(0,h-v);if(d=Math.max(0,Math.min(d,m)),i){window.scrollTo(0,d),e?.();return}const x=window.pageYOffset,f=d-x,O=performance.now(),j=N=>{const E=N-O,w=Math.min(E/s,1),C=w<.5?2*w*w:1-Math.pow(-2*w+2,2)/2,S=x+f*C;window.scrollTo(0,S),w<1?t.current=requestAnimationFrame(j):(t.current=null,e?.())};r(),t.current=requestAnimationFrame(j)},[e,r]),cancelScroll:r}};function rr(e){const t=l.useRef(null),r=K(),o=B(),n=l.useRef(!1),{scrollToElement:s,cancelScroll:i}=tr(r?.onScrollComplete);return l.useEffect(()=>{typeof e=="function"?e(t.current):e&&(e.current=t.current)},[e]),l.useEffect(()=>{if(o&&r?.walkthroughStep!==void 0&&o.currentStep===r.walkthroughStep&&t.current&&!n.current){const p=t.current,u=p.getBoundingClientRect(),v=100;u.top>=-v&&u.bottom<=window.innerHeight+v&&u.left>=-v&&u.right<=window.innerWidth+v?r?.onScrollComplete?.():(r?.onScrollStart?.(),s(p)),n.current=!0}else o?.currentStep!==r?.walkthroughStep&&(n.current=!1,i())},[o?.currentStep,r?.walkthroughStep,o,s,i,r]),l.useEffect(()=>i,[i]),{triggerRef:t,context:r}}const ee=H.c.bind(q),Qe=l.forwardRef(({children:e,className:t,highlight:r=!0,negative:o=!1,...n},s)=>{const{triggerRef:i,context:c}=rr(s);return a.jsxs("div",{className:ee("purpur-popover__trigger",{"purpur-popover__trigger--highlight":c?.isOpen&&r},t),children:[c?.isOpen&&r&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:ee("purpur-popover__trigger-highlight","purpur-popover__trigger-highlight--state1",{"purpur-popover__trigger-highlight--negative":o}),"aria-hidden":"true"}),a.jsx("div",{className:ee("purpur-popover__trigger-highlight","purpur-popover__trigger-highlight--state2",{"purpur-popover__trigger-highlight--negative":o}),"aria-hidden":"true"})]}),a.jsx(Ht,{ref:i,asChild:!0,"aria-expanded":c?.isOpen??!1,"aria-haspopup":"dialog",...n,children:e})]})});Qe.displayName="PopoverTrigger";function or(e){const t=B(),[r,o]=l.useState(!1),[n,s]=l.useState(!1),i=l.useRef(null),c=l.useRef(0);l.useEffect(()=>t?(t.registerStep(e),()=>t.unregisterStep(e)):()=>{},[t,e]);const p=t?.currentStep===e,u=l.useCallback(()=>{s(!0)},[]),v=l.useCallback(()=>{if(s(!1),p){const h=t.openDelay;i.current=window.setTimeout(()=>{o(!0),c.current=Date.now()},h)}},[p,t]);l.useEffect(()=>{if(i.current&&(clearTimeout(i.current),i.current=null),p){if(!n){const h=t.openDelay;i.current=window.setTimeout(()=>{o(!0),c.current=Date.now()},h)}}else o(!1),s(!1),c.current=0;return()=>{i.current&&(clearTimeout(i.current),i.current=null)}},[p,n,t]);const d=l.useCallback((h,m)=>{if(m?.(h),!h&&r&&t&&t.currentStep===e){if(Date.now()-c.current<10||i.current!==null)return;t.dismiss()}},[r,t,e]);return{actuallyOpen:r,onScrollStart:u,onScrollComplete:v,handleOpenChange:d}}const Je=({children:e,step:t,onOpenChange:r,disableClickOutside:o=!0,...n})=>{const{actuallyOpen:s,onScrollStart:i,onScrollComplete:c,handleOpenChange:p}=or(t);return a.jsx(Xe,{open:s,onOpenChange:u=>p(u,r),...n,children:a.jsx(oe.Provider,{value:{isOpen:s,walkthroughStep:t,onScrollStart:i,onScrollComplete:c,disableClickOutside:o},children:e})})};Je.displayName="PopoverWalkthrough";const b=e=>{const{multistep:t=!1,disableClickOutside:r,...o}=e;return t?a.jsx(Je,{...o,disableClickOutside:r??!0}):a.jsx(Ze,{...o,disableClickOutside:r})};b.Back=ie;b.Button=le;b.Content=Ve;b.Flow=mt;b.Footer=ue;b.Next=de;b.Trigger=Qe;b.displayName="Popover";exports.Popover=b;
2
- //# sourceMappingURL=popover-CYyCtoef.js.map
1
+ "use strict";const a=require("react/jsx-runtime"),X=require("./button-ChYUPi2k.js"),l=require("react"),dt=require("./variables-Buqm4JZc.js"),y=require("./index-DlMXYAr3.js"),U=require("./index-_XxjJPRD.js"),$=require("./index-kcwFA4Dv.js"),M=require("./index-DA01QPpC.js"),ft=require("./index-BtWPC8xc.js"),R=require("./floating-ui.react-dom-Cc_YSprQ.js"),ht=require("./index-DOFLOnao.js"),we=require("./index-CleLBinl.js"),gt=require("./close.es-VL3lKi1O.js"),xe=require("./paragraph-BsI53OR0.js"),H=require("./bind-DeUYJ6m9.js"),vt=require("./heading-DLCdW6gx.js");function _t(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const g=_t(l),te=l.createContext(null),re=()=>{const e=l.useContext(te);if(!e)throw new Error("usePopoverFlow must be used within a PopoverFlow provider");return e},B=()=>l.useContext(te),mt=({children:e,initialStep:t=1,onComplete:r,onDismiss:o,separatorText:n,stepText:s,backLabel:i,nextLabel:c,finishLabel:p,openDelay:u=0})=>{const[v,d]=l.useState(t),[h,m]=l.useState(new Set),x=l.useCallback(w=>{m(C=>{const S=new Set(C);return S.add(w),S})},[]),f=l.useCallback(w=>{m(C=>{const S=new Set(C);return S.delete(w),S})},[]),O=l.useCallback(()=>{d(w=>{const C=w+1;return C>h.size?(r?.(),w):C})},[h.size,r]),j=l.useCallback(()=>{d(w=>Math.max(1,w-1))},[]),N=l.useCallback(()=>{d(0),o?.()},[o]),E=l.useMemo(()=>({currentStep:v,totalSteps:h.size,next:O,back:j,dismiss:N,registerStep:x,unregisterStep:f,separatorText:n,stepText:s,backLabel:i,nextLabel:c,finishLabel:p,openDelay:u}),[v,h.size,O,j,N,x,f,n,s,i,c,p,u]);return a.jsx(te.Provider,{value:E,children:e})},oe=l.createContext(null),K=()=>l.useContext(oe),Pe=l.createContext({negative:!1}),ne=()=>l.useContext(Pe),wt=150,_e={MAX_MD:`(max-width: ${dt.purpurBreakpointMd})`},se=()=>{const e=window.matchMedia(_e.MAX_MD);function t(){o(e.matches)}const[r,o]=l.useState(()=>typeof window>"u"?!1:window.matchMedia(_e.MAX_MD).matches),n=l.useCallback(()=>{let s;return()=>{clearTimeout(s),s=setTimeout(()=>t(),wt)}},[t]);return l.useEffect(()=>{if(!(typeof window>"u"))return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[n]),{isMdOrSmaller:r}},ie=({children:e,onClick:t})=>{const{back:r}=re(),{negative:o}=ne(),{isMdOrSmaller:n}=se(),s=!o,i=()=>{t?.(),r()};return a.jsx(X.Button,{size:"sm",variant:"secondary",onClick:i,negative:s,fullWidth:n,children:e})};ie.displayName="PopoverBack";var xt="Arrow",Ce=g.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...s}=e;return a.jsx(y.Primitive.svg,{...s,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=xt;var Pt=Ce,ae="Popper",[Se,ye]=$.createContextScope(ae),[Ct,je]=Se(ae),Oe=e=>{const{__scopePopper:t,children:r}=e,[o,n]=g.useState(null);return a.jsx(Ct,{scope:t,anchor:o,onAnchorChange:n,children:r})};Oe.displayName=ae;var Re="PopperAnchor",be=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,s=je(Re,r),i=g.useRef(null),c=U.useComposedRefs(t,i),p=g.useRef(null);return g.useEffect(()=>{const u=p.current;p.current=o?.current||i.current,u!==p.current&&s.onAnchorChange(p.current)}),o?null:a.jsx(y.Primitive.div,{...n,ref:c})});be.displayName=Re;var ce="PopperContent",[St,yt]=Se(ce),Ae=g.forwardRef((e,t)=>{const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:s="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:p=!0,collisionBoundary:u=[],collisionPadding:v=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:x,...f}=e,O=je(ce,r),[j,N]=g.useState(null),E=U.useComposedRefs(t,I=>N(I)),[w,C]=g.useState(null),S=ht.useSize(w),V=S?.width??0,W=S?.height??0,Z=o+(s!=="center"?"-"+s:""),Q=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},_=Array.isArray(u)?u:[u],P=_.length>0,k={padding:Q,boundary:_.filter(Ot),altBoundary:P},{refs:et,floatingStyles:fe,placement:tt,isPositioned:L,middlewareData:F}=R.useFloating({strategy:"fixed",placement:Z,whileElementsMounted:(...I)=>R.autoUpdate(...I,{animationFrame:m==="always"}),elements:{reference:O.anchor},middleware:[R.offset({mainAxis:n+W,alignmentAxis:i}),p&&R.shift({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?R.limitShift():void 0,...k}),p&&R.flip({...k}),R.size({...k,apply:({elements:I,rects:ve,availableWidth:ct,availableHeight:pt})=>{const{width:lt,height:ut}=ve.reference,Y=I.floating.style;Y.setProperty("--radix-popper-available-width",`${ct}px`),Y.setProperty("--radix-popper-available-height",`${pt}px`),Y.setProperty("--radix-popper-anchor-width",`${lt}px`),Y.setProperty("--radix-popper-anchor-height",`${ut}px`)}}),w&&R.arrow({element:w,padding:c}),Rt({arrowWidth:V,arrowHeight:W}),h&&R.hide({strategy:"referenceHidden",...k})]}),[he,rt]=ke(tt),ge=$.useCallbackRef(x);$.useLayoutEffect2(()=>{L&&ge?.()},[L,ge]);const ot=F.arrow?.x,nt=F.arrow?.y,st=F.arrow?.centerOffset!==0,[it,at]=g.useState();return $.useLayoutEffect2(()=>{j&&at(window.getComputedStyle(j).zIndex)},[j]),a.jsx("div",{ref:et.setFloating,"data-radix-popper-content-wrapper":"",style:{...fe,transform:L?fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:it,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(St,{scope:r,placedSide:he,onArrowChange:C,arrowX:ot,arrowY:nt,shouldHideArrow:st,children:a.jsx(y.Primitive.div,{"data-side":he,"data-align":rt,...f,ref:E,style:{...f.style,animation:L?void 0:"none"}})})})});Ae.displayName=ce;var Ne="PopperArrow",jt={top:"bottom",right:"left",bottom:"top",left:"right"},Ee=g.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,s=yt(Ne,o),i=jt[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(Pt,{...n,ref:r,style:{...n.style,display:"block"}})})});Ee.displayName=Ne;function Ot(e){return e!==null}var Rt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:o,middlewareData:n}=t,i=n.arrow?.centerOffset!==0,c=i?0:e.arrowWidth,p=i?0:e.arrowHeight,[u,v]=ke(r),d={start:"0%",center:"50%",end:"100%"}[v],h=(n.arrow?.x??0)+c/2,m=(n.arrow?.y??0)+p/2;let x="",f="";return u==="bottom"?(x=i?d:`${h}px`,f=`${-p}px`):u==="top"?(x=i?d:`${h}px`,f=`${o.floating.height+p}px`):u==="right"?(x=`${-p}px`,f=i?d:`${m}px`):u==="left"&&(x=`${o.floating.width+p}px`,f=i?d:`${m}px`),{data:{x,y:f}}}});function ke(e){const[t,r="center"]=e.split("-");return[t,r]}var bt=Oe,Fe=be,At=Ae,Nt=Ee,G="Popover",[Te]=$.createContextScope(G,[ye]),z=ye(),[Et,A]=Te(G),Me=e=>{const{__scopePopover:t,children:r,open:o,defaultOpen:n,onOpenChange:s,modal:i=!1}=e,c=z(t),p=g.useRef(null),[u,v]=g.useState(!1),[d,h]=y.useControllableState({prop:o,defaultProp:n??!1,onChange:s,caller:G});return a.jsx(bt,{...c,children:a.jsx(Et,{scope:t,contentId:ft.useId(),triggerRef:p,open:d,onOpenChange:h,onOpenToggle:g.useCallback(()=>h(m=>!m),[h]),hasCustomAnchor:u,onCustomAnchorAdd:g.useCallback(()=>v(!0),[]),onCustomAnchorRemove:g.useCallback(()=>v(!1),[]),modal:i,children:r})})};Me.displayName=G;var De="PopoverAnchor",kt=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(De,r),s=z(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:c}=n;return g.useEffect(()=>(i(),()=>c()),[i,c]),a.jsx(Fe,{...s,...o,ref:t})});kt.displayName=De;var Ie="PopoverTrigger",$e=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(Ie,r),s=z(r),i=U.useComposedRefs(t,n.triggerRef),c=a.jsx(y.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":Ye(n.open),...o,ref:i,onClick:y.composeEventHandlers(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?c:a.jsx(Fe,{asChild:!0,...s,children:c})});$e.displayName=Ie;var pe="PopoverPortal",[Ft,Tt]=Te(pe,{forceMount:void 0}),He=e=>{const{__scopePopover:t,forceMount:r,children:o,container:n}=e,s=A(pe,t);return a.jsx(Ft,{scope:t,forceMount:r,children:a.jsx(we.Presence,{present:r||s.open,children:a.jsx(M.Portal,{asChild:!0,container:n,children:o})})})};He.displayName=pe;var D="PopoverContent",Be=g.forwardRef((e,t)=>{const r=Tt(D,e.__scopePopover),{forceMount:o=r.forceMount,...n}=e,s=A(D,e.__scopePopover);return a.jsx(we.Presence,{present:o||s.open,children:s.modal?a.jsx(Dt,{...n,ref:t}):a.jsx(It,{...n,ref:t})})});Be.displayName=D;var Mt=y.createSlot("PopoverContent.RemoveScroll"),Dt=g.forwardRef((e,t)=>{const r=A(D,e.__scopePopover),o=g.useRef(null),n=U.useComposedRefs(t,o),s=g.useRef(!1);return g.useEffect(()=>{const i=o.current;if(i)return M.hideOthers(i)},[]),a.jsx(M.ReactRemoveScroll,{as:Mt,allowPinchZoom:!0,children:a.jsx(ze,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:y.composeEventHandlers(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:y.composeEventHandlers(e.onPointerDownOutside,i=>{const c=i.detail.originalEvent,p=c.button===0&&c.ctrlKey===!0,u=c.button===2||p;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:y.composeEventHandlers(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),It=g.forwardRef((e,t)=>{const r=A(D,e.__scopePopover),o=g.useRef(!1),n=g.useRef(!1);return a.jsx(ze,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(o.current||r.triggerRef.current?.focus(),s.preventDefault()),o.current=!1,n.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),ze=g.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:u,onInteractOutside:v,...d}=e,h=A(D,r),m=z(r);return M.useFocusGuards(),a.jsx(M.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:s,children:a.jsx(M.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:v,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:a.jsx(At,{"data-state":Ye(h.open),role:"dialog",id:h.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),qe="PopoverClose",We=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=A(qe,r);return a.jsx(y.Primitive.button,{type:"button",...o,ref:t,onClick:y.composeEventHandlers(e.onClick,()=>n.onOpenChange(!1))})});We.displayName=qe;var $t="PopoverArrow",Le=g.forwardRef((e,t)=>{const{__scopePopover:r,...o}=e,n=z(r);return a.jsx(Nt,{...n,...o,ref:t})});Le.displayName=$t;function Ye(e){return e?"open":"closed"}var Xe=Me,Ht=$e,Bt=He,zt=Be,Ue=We,qt=Le;const le=({children:e,asChild:t,onClick:r,variant:o="primary",dismiss:n=!0,fullWidth:s})=>{const i=B(),{isMdOrSmaller:c}=se(),{negative:p}=ne(),u=!p,v=()=>{r?.(),n&&i?.dismiss()},d=s??c,h=t?e:a.jsx(X.Button,{variant:o,size:"sm",fullWidth:d,negative:u,onClick:v,children:e});return n?a.jsx(Ue,{asChild:!0,children:h}):h};le.displayName="PopoverButton";const Wt="_highlightState1_1w9je_1",Lt="_fadeIn_1w9je_1",Yt="_slideFromTop_1w9je_1",Xt="_slideFromBottom_1w9je_1",Ut="_slideFromLeft_1w9je_1",Kt="_slideFromRight_1w9je_1",Gt="_fadeOut_1w9je_1",Vt="_slideToTop_1w9je_1",Zt="_slideToBottom_1w9je_1",Qt="_slideToLeft_1w9je_1",Jt="_slideToRight_1w9je_1",q={"purpur-popover__trigger":"_purpur-popover__trigger_1w9je_1","purpur-popover__trigger-highlight":"_purpur-popover__trigger-highlight_1w9je_5","purpur-popover__trigger-highlight--state1":"_purpur-popover__trigger-highlight--state1_1w9je_14",highlightState1:Wt,"purpur-popover__trigger-highlight--negative":"_purpur-popover__trigger-highlight--negative_1w9je_29","purpur-popover__trigger-highlight--state2":"_purpur-popover__trigger-highlight--state2_1w9je_33","purpur-popover__inner":"_purpur-popover__inner_1w9je_45","purpur-popover__content":"_purpur-popover__content_1w9je_52",fadeIn:Lt,slideFromTop:Yt,slideFromBottom:Xt,slideFromLeft:Ut,slideFromRight:Kt,fadeOut:Gt,slideToTop:Vt,slideToBottom:Zt,slideToLeft:Qt,slideToRight:Jt,"purpur-popover__arrow":"_purpur-popover__arrow_1w9je_103","purpur-popover__body":"_purpur-popover__body_1w9je_106","purpur-popover__icon":"_purpur-popover__icon_1w9je_107","purpur-popover__steps":"_purpur-popover__steps_1w9je_108","purpur-popover__title":"_purpur-popover__title_1w9je_109","purpur-popover__content--negative":"_purpur-popover__content--negative_1w9je_112","purpur-popover__header-content":"_purpur-popover__header-content_1w9je_124","purpur-popover__close":"_purpur-popover__close_1w9je_137","purpur-popover__footer":"_purpur-popover__footer_1w9je_142","purpur-popover__footer-button-group":"_purpur-popover__footer-button-group_1w9je_155"},er=H.c.bind(q),Ke=()=>{const e=re(),r=K()?.walkthroughStep||e.currentStep,{totalSteps:o,separatorText:n,stepText:s}=e;return a.jsx(a.Fragment,{children:a.jsxs(xe.Paragraph,{className:er("purpur-popover__steps"),role:"status","aria-live":"polite","aria-atomic":"true",children:[s," ",r," ",n," ",o]})})};Ke.displayName="PopoverSteps";const me=H.c.bind(q),ue=({children:e,className:t})=>{const r=B(),o=K(),n=r&&o&&o.walkthroughStep>0;return a.jsxs("div",{className:me("purpur-popover__footer",t),children:[n&&a.jsx(Ke,{}),a.jsx("div",{className:me("purpur-popover__footer-button-group"),children:e})]})};ue.displayName="PopoverFooter";const J=H.c.bind(q),Ge=l.forwardRef(({title:e,icon:t},r)=>a.jsxs("div",{ref:r,className:J("purpur-popover__header-content"),children:[t&&a.jsx("span",{className:J("purpur-popover__icon"),children:t}),a.jsx(vt.Heading,{tag:"h2",variant:"title-100",className:J("purpur-popover__title"),id:"popover-heading",children:e})]}));Ge.displayName="PopoverHeader";const de=({children:e,onClick:t})=>{const{next:r}=re(),{negative:o}=ne(),{isMdOrSmaller:n}=se(),s=!o,i=()=>{t?.(),r()};return a.jsx(X.Button,{size:"sm",variant:"primary",onClick:i,negative:s,fullWidth:n,children:e})};de.displayName="PopoverNext";const T=H.c.bind(q),Ve=l.forwardRef(({children:e,className:t,beakPosition:r="down",align:o="center",alignOffset:n=0,sideOffset:s=5,negative:i=!1,closeIconAriaLabel:c,title:p,icon:u,body:v,onAction:d,zIndex:h=210,...m},x)=>{const f=B(),O=K(),j=l.useRef(null),E={up:"bottom",right:"left",down:"top",left:"right",none:"bottom"}[r],w=r!=="none";let C=e;if(f&&!e){const _=O?.walkthroughStep||f.currentStep,P=_===1,k=_===f.totalSteps;C=a.jsxs(ue,{children:[!P&&a.jsx(ie,{onClick:()=>d?.({type:"back",step:_}),children:f.backLabel}),k?a.jsx(le,{onClick:()=>d?.({type:"finish",step:_}),dismiss:!0,children:f.finishLabel}):a.jsx(de,{onClick:()=>d?.({type:"next",step:_}),children:f.nextLabel})]})}const S=_=>{if(_.preventDefault(),f){const P=_.currentTarget;setTimeout(()=>{P.setAttribute("tabindex","-1"),P.focus()},0)}m.onOpenAutoFocus?.(_)},V=_=>{f&&_.preventDefault(),m.onCloseAutoFocus?.(_)},W=_=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)").matches;f&&!P?(_.preventDefault(),setTimeout(()=>{d?.({type:"dismiss",step:f.currentStep}),f.dismiss()},200)):(d?.({type:"dismiss",step:f?.currentStep}),f?.dismiss())},Z=_=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)").matches;f&&!P?(_.preventDefault(),setTimeout(()=>{d?.({type:"dismiss",step:f.currentStep}),f.dismiss()},200)):(d?.({type:"dismiss",step:f?.currentStep}),f?.dismiss())},Q=_=>{if(O?.disableClickOutside){_.preventDefault();return}if(f){const P=_.target;P.closest("[role='dialog']")||P.closest(".purpur-popover__trigger")||P.closest("button[aria-haspopup='dialog']")||(d?.({type:"dismiss",step:f.currentStep}),setTimeout(()=>{f.dismiss()},0))}};return a.jsx(Bt,{children:a.jsxs(zt,{"data-testid":"popover-content",role:"dialog","aria-modal":"true","aria-labelledby":m["aria-label"]?void 0:"popover-heading",ref:x,side:E,sideOffset:s,align:o,alignOffset:n,style:{"--popover-z-index":h},className:T("purpur-popover__content",{"purpur-popover__content--negative":i},t),onOpenAutoFocus:S,onCloseAutoFocus:V,onEscapeKeyDown:Z,onInteractOutside:Q,...m,children:[a.jsxs(Pe.Provider,{value:{negative:i},children:[a.jsxs("div",{className:T("purpur-popover__inner"),children:[a.jsx(Ge,{ref:j,title:p,icon:u}),a.jsx(xe.Paragraph,{className:T("purpur-popover__body"),children:v})]}),C,a.jsx(Ue,{asChild:!0,onClick:W,children:a.jsx(X.Button,{variant:i?"text":"tertiary-purple",size:"sm","aria-label":c,className:T("purpur-popover__close"),negative:!i,iconOnly:!0,children:a.jsx(gt.r,{size:"xs",className:T("purpur-popover__icon")})})})]}),w&&a.jsx(qt,{className:T("purpur-popover__arrow"),"aria-hidden":"true",tabIndex:-1})]})})});Ve.displayName="PopoverContent";const Ze=({children:e,open:t,defaultOpen:r=!1,onOpenChange:o,disableClickOutside:n,...s})=>{const[i,c]=l.useState(r),p=t!==void 0,u=p?t:i,v=d=>{p||c(d),o?.(d)};return a.jsx(Xe,{open:u,onOpenChange:v,...s,children:a.jsx(oe.Provider,{value:{isOpen:u,walkthroughStep:0,disableClickOutside:n},children:e})})};Ze.displayName="PopoverStandalone";const tr=e=>{const t=l.useRef(null),r=l.useCallback(()=>{t.current&&(cancelAnimationFrame(t.current),t.current=null)},[]);return{scrollToElement:l.useCallback((n,s=600)=>{const i=window.matchMedia("(prefers-reduced-motion: reduce)").matches,c=n.getBoundingClientRect(),p=c.top+window.pageYOffset,u=c.height,v=window.innerHeight;let d=p-v/2+u/2;const h=document.documentElement.scrollHeight,m=Math.max(0,h-v);if(d=Math.max(0,Math.min(d,m)),i){window.scrollTo(0,d),e?.();return}const x=window.pageYOffset,f=d-x,O=performance.now(),j=N=>{const E=N-O,w=Math.min(E/s,1),C=w<.5?2*w*w:1-Math.pow(-2*w+2,2)/2,S=x+f*C;window.scrollTo(0,S),w<1?t.current=requestAnimationFrame(j):(t.current=null,e?.())};r(),t.current=requestAnimationFrame(j)},[e,r]),cancelScroll:r}};function rr(e){const t=l.useRef(null),r=K(),o=B(),n=l.useRef(!1),{scrollToElement:s,cancelScroll:i}=tr(r?.onScrollComplete);return l.useEffect(()=>{typeof e=="function"?e(t.current):e&&(e.current=t.current)},[e]),l.useEffect(()=>{if(o&&r?.walkthroughStep!==void 0&&o.currentStep===r.walkthroughStep&&t.current&&!n.current){const p=t.current,u=p.getBoundingClientRect(),v=100;u.top>=-v&&u.bottom<=window.innerHeight+v&&u.left>=-v&&u.right<=window.innerWidth+v?r?.onScrollComplete?.():(r?.onScrollStart?.(),s(p)),n.current=!0}else o?.currentStep!==r?.walkthroughStep&&(n.current=!1,i())},[o?.currentStep,r?.walkthroughStep,o,s,i,r]),l.useEffect(()=>i,[i]),{triggerRef:t,context:r}}const ee=H.c.bind(q),Qe=l.forwardRef(({children:e,className:t,highlight:r=!0,negative:o=!1,...n},s)=>{const{triggerRef:i,context:c}=rr(s);return a.jsxs("div",{className:ee("purpur-popover__trigger",{"purpur-popover__trigger--highlight":c?.isOpen&&r},t),children:[c?.isOpen&&r&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:ee("purpur-popover__trigger-highlight","purpur-popover__trigger-highlight--state1",{"purpur-popover__trigger-highlight--negative":o}),"aria-hidden":"true"}),a.jsx("div",{className:ee("purpur-popover__trigger-highlight","purpur-popover__trigger-highlight--state2",{"purpur-popover__trigger-highlight--negative":o}),"aria-hidden":"true"})]}),a.jsx(Ht,{ref:i,asChild:!0,"aria-expanded":c?.isOpen??!1,"aria-haspopup":"dialog",...n,children:e})]})});Qe.displayName="PopoverTrigger";function or(e){const t=B(),[r,o]=l.useState(!1),[n,s]=l.useState(!1),i=l.useRef(null),c=l.useRef(0);l.useEffect(()=>t?(t.registerStep(e),()=>t.unregisterStep(e)):()=>{},[t,e]);const p=t?.currentStep===e,u=l.useCallback(()=>{s(!0)},[]),v=l.useCallback(()=>{if(s(!1),p){const h=t.openDelay;i.current=window.setTimeout(()=>{o(!0),c.current=Date.now()},h)}},[p,t]);l.useEffect(()=>{if(i.current&&(clearTimeout(i.current),i.current=null),p){if(!n){const h=t.openDelay;i.current=window.setTimeout(()=>{o(!0),c.current=Date.now()},h)}}else o(!1),s(!1),c.current=0;return()=>{i.current&&(clearTimeout(i.current),i.current=null)}},[p,n,t]);const d=l.useCallback((h,m)=>{if(m?.(h),!h&&r&&t&&t.currentStep===e){if(Date.now()-c.current<10||i.current!==null)return;t.dismiss()}},[r,t,e]);return{actuallyOpen:r,onScrollStart:u,onScrollComplete:v,handleOpenChange:d}}const Je=({children:e,step:t,onOpenChange:r,disableClickOutside:o=!0,...n})=>{const{actuallyOpen:s,onScrollStart:i,onScrollComplete:c,handleOpenChange:p}=or(t);return a.jsx(Xe,{open:s,onOpenChange:u=>p(u,r),...n,children:a.jsx(oe.Provider,{value:{isOpen:s,walkthroughStep:t,onScrollStart:i,onScrollComplete:c,disableClickOutside:o},children:e})})};Je.displayName="PopoverWalkthrough";const b=e=>{const{multistep:t=!1,disableClickOutside:r,...o}=e;return t?a.jsx(Je,{...o,disableClickOutside:r??!0}):a.jsx(Ze,{...o,disableClickOutside:r})};b.Back=ie;b.Button=le;b.Content=Ve;b.Flow=mt;b.Footer=ue;b.Next=de;b.Trigger=Qe;b.displayName="Popover";exports.Popover=b;
2
+ //# sourceMappingURL=popover-B1BgSoQx.js.map