@ncino/web-components 6.1.0-preview.1 → 6.1.0-preview.11

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 (70) hide show
  1. package/dist/components/avatar/gator/avatar.gator.js +5 -5
  2. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +3 -3
  3. package/dist/components/input/base/input-base.js +1 -1
  4. package/dist/components/input/gator/input-date/input-date.gator.js +8 -8
  5. package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
  6. package/dist/components/input/gator/input-text/input-text.gator.js +8 -7
  7. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +13 -5
  8. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  9. package/dist/components/skip-link/gator/base/skip-link.gator.js +22 -0
  10. package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +7 -0
  11. package/dist/components/skip-link/index.js +1 -0
  12. package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +2 -2
  13. package/dist/components/table/gator/table.gator.js +29 -38
  14. package/dist/components/text-link/gator/text-link.gator.js +20 -10
  15. package/dist/index.gator.js +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/index.utils.js +1 -0
  18. package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1 -1
  19. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
  20. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/conversions.js +1 -0
  21. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/index.js +1 -0
  22. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/route.js +1 -0
  23. package/dist/node_modules/.pnpm/color-name@2.0.0/node_modules/color-name/index.js +1 -0
  24. package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +1 -0
  25. package/dist/node_modules/.pnpm/color@5.0.0/node_modules/color/index.js +1 -0
  26. package/dist/node_modules/.pnpm/{magic-string@0.30.17 → magic-string@0.30.18}/node_modules/magic-string/dist/magic-string.es.js +2 -2
  27. package/dist/packages/web-components/src/components/avatar/gator/avatar.gator.scss.js +1 -1
  28. package/dist/packages/web-components/src/components/checkbox/checkbox.gator.scss.js +1 -1
  29. package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
  30. package/dist/packages/web-components/src/components/input/gator/input-textarea/input-textarea.gator.scss.js +1 -1
  31. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  32. package/dist/packages/web-components/src/components/skip-link/gator/base/skip-link.gator.scss.js +1 -0
  33. package/dist/packages/web-components/src/components/skip-link/gator/list-item/skip-link-list-item.gator.scss.js +1 -0
  34. package/dist/packages/web-components/src/styles/_gator-utils.scss.js +1 -1
  35. package/dist/types/components/avatar/gator/avatar.gator.d.ts +3 -1
  36. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +6 -0
  37. package/dist/types/components/input/base/input-base.d.ts +5 -0
  38. package/dist/types/components/input/gator/input-date/input-date.gator.d.ts +11 -1
  39. package/dist/types/components/input/gator/input-masked/input-masked.gator.d.ts +7 -1
  40. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +1 -0
  41. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +21 -0
  42. package/dist/types/components/skip-link/gator/base/skip-link.gator.d.ts +36 -0
  43. package/dist/types/components/skip-link/gator/base/skip-link.gator.test.d.ts +0 -0
  44. package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.d.ts +13 -0
  45. package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.test.d.ts +0 -0
  46. package/dist/types/components/skip-link/index.d.ts +2 -0
  47. package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts +6 -1
  48. package/dist/types/components/table/gator/table.gator.d.ts +3 -6
  49. package/dist/types/components/text-link/gator/text-link.gator.d.ts +11 -0
  50. package/dist/types/index.d.ts +1 -0
  51. package/dist/types/index.gator.d.ts +1 -0
  52. package/dist/types/index.utils.d.ts +1 -0
  53. package/dist/types/utils/brand-color-utils.d.ts +2 -0
  54. package/dist/types/utils/storybook-args.d.ts +10 -0
  55. package/dist/utils/brand-color-utils.js +1 -0
  56. package/dist/utils/storybook-args.js +1 -1
  57. package/dist/utils/vitest-a11y-utils.js +1 -1
  58. package/package.json +14 -6
  59. package/web-types.json +260 -11
  60. package/dist/node_modules/.pnpm/chai@5.2.1/node_modules/chai/chai.js +0 -218
  61. /package/dist/node_modules/.pnpm/{@jridgewell_sourcemap-codec@1.5.4 → @jridgewell_sourcemap-codec@1.5.5}/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +0 -0
  62. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.2.1_typescript@5.8.3__playwright@1.54.1__6e6aa2c9b4102560da2d8ed1e4176ee9 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__558558d730596f7c5e09b21ff26a3e74}/node_modules/@vitest/browser/context.js +0 -0
  63. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/client-logger/index.js +0 -0
  64. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/core-events/index.js +0 -0
  65. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/instrumenter/index.js +0 -0
  66. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/test/index.js +0 -0
  67. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  68. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  69. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
  70. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
@@ -1 +1 @@
1
- import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as g from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import"./components/button/slds/button.slds.js";import*as c from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/button-group/gator/button-group.gator.js";import*as d from"./components/card/gator/base/card.gator.js";import*as l from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as C from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as h from"./components/display-card/gator/display-card.gator.js";import*as I from"./components/divider/gator/divider.gator.js";import*as B from"./components/fab/gator/fab.gator.js";import*as P from"./components/guided-nav/gator/guided-nav/guided-nav.gator.js";import*as k from"./components/headline-card/gator/headline-card.gator.js";import*as v from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as L from"./components/input/gator/input-label/input-label.gator.js";import*as S from"./components/input/gator/help-text/help-text.gator.js";import*as D from"./components/input/gator/input-text/input-text.gator.js";import*as w from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as F from"./components/input/gator/input-masked/input-masked.gator.js";import*as H from"./components/input/gator/input-percent/input-percent.gator.js";import*as y from"./components/input/gator/input-phone/input-phone.gator.js";import*as A from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as M from"./components/input/gator/input-file/input-file.gator.js";import*as U from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as R from"./components/input/gator/input-search/input-search.gator.js";import*as j from"./components/input/gator/input-time/input-time.gator.js";import"./components/icon/slds/icon.slds.js";import*as z from"./components/icon/gator/icon.gator.js";import*as E from"./components/icon-button/gator/icon-button.gator.js";import*as J from"./components/list/gator/list/list.gator.js";import*as K from"./components/list/gator/list-item/list-item.gator.js";import*as O from"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/menu/base/slds/menu.slds.js";import*as V from"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import*as Y from"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import*as $ from"./components/modal/gator/modal.gator.js";import*as oo from"./components/page-header/gator/page-header.gator.js";import*as to from"./components/panel/gator/panel.gator.js";import*as ro from"./components/popover/gator/popover.gator.js";import*as ao from"./components/progress-bar/gator/progress-bar.gator.js";import*as eo from"./components/radio/radio.gator.js";import*as po from"./components/radio-group/radio-group.gator.js";import*as _o from"./components/selection-box/selection-box.gator.js";import*as no from"./components/selection-box-group/selection-box-group.gator.js";import*as so from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as mo from"./components/switch/gator/switch.gator.js";import*as go from"./components/tabs/gator/tabset/tabset.gator.js";import*as io from"./components/tabs/gator/tab/tab.gator.js";import*as co from"./components/text-detail/gator/text-detail.gator.js";import*as uo from"./components/text-link/gator/text-link.gator.js";import*as xo from"./components/time-picker/gator/time-picker.gator.js";import*as lo from"./components/toast/gator/base/toast.gator.js";import*as fo from"./components/toast-container/gator/toast-container.gator.js";import*as No from"./components/toaster/gator/toaster.gator.js";import*as bo from"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import*as To from"./components/table/gator/table.gator.js";import*as ho from"./components/table/gator/table-pagination/table-pagination.gator.js";import*as Io from"./components/table/gator/table-controls/table-controls.gator.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,n as NgcBadge,s as NgcBanner,m as NgcBoolean,g as NgcBreadcrumbs,c as NgcButton,u as NgcButtonCard,x as NgcButtonGroup,d as NgcCard,f as NgcCardContent,N as NgcCardFooter,l as NgcCardHeader,b as NgcCheckbox,C as NgcCheckboxGroup,T as NgcChip,h as NgcDisplayCard,I as NgcDivider,B as NgcFab,P as NgcGuidedNav,k as NgcHeadlineCard,S as NgcHelpText,z as NgcIcon,E as NgcIconButton,v as NgcInputCurrency,G as NgcInputDate,A as NgcInputDropdown,M as NgcInputFile,U as NgcInputFileUploadedPreview,L as NgcInputLabel,F as NgcInputMasked,H as NgcInputPercent,y as NgcInputPhone,R as NgcInputSearch,D as NgcInputText,w as NgcInputTextarea,j as NgcInputTime,J as NgcList,K as NgcListItem,O as NgcLoadingSpinner,V as NgcMenu,Y as NgcMenuItem,$ as NgcModal,oo as NgcPageHeader,to as NgcPanel,ro as NgcPopover,ao as NgcProgressBar,eo as NgcRadio,po as NgcRadioGroup,_o as NgcSelectionBox,no as NgcSelectionBoxGroup,so as NgcSkeletonLoader,mo as NgcSwitch,io as NgcTab,To as NgcTable,Io as NgcTableControls,ho as NgcTablePagination,go as NgcTabs,co as NgcTextDetail,uo as NgcTextLink,xo as NgcTimePicker,lo as NgcToast,fo as NgcToastContainer,No as NgcToaster,bo as NgcTooltip};
1
+ import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import"./components/button/slds/button.slds.js";import*as c from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/button-group/gator/button-group.gator.js";import*as d from"./components/card/gator/base/card.gator.js";import*as l from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as C from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as k from"./components/display-card/gator/display-card.gator.js";import*as h from"./components/divider/gator/divider.gator.js";import*as I from"./components/fab/gator/fab.gator.js";import*as B from"./components/guided-nav/gator/guided-nav/guided-nav.gator.js";import*as P from"./components/headline-card/gator/headline-card.gator.js";import*as v from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as L from"./components/input/gator/input-label/input-label.gator.js";import*as S from"./components/input/gator/help-text/help-text.gator.js";import*as D from"./components/input/gator/input-text/input-text.gator.js";import*as w from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as F from"./components/input/gator/input-masked/input-masked.gator.js";import*as H from"./components/input/gator/input-percent/input-percent.gator.js";import*as y from"./components/input/gator/input-phone/input-phone.gator.js";import*as A from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as M from"./components/input/gator/input-file/input-file.gator.js";import*as U from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as R from"./components/input/gator/input-search/input-search.gator.js";import*as j from"./components/input/gator/input-time/input-time.gator.js";import"./components/icon/slds/icon.slds.js";import*as z from"./components/icon/gator/icon.gator.js";import*as E from"./components/icon-button/gator/icon-button.gator.js";import*as J from"./components/list/gator/list/list.gator.js";import*as K from"./components/list/gator/list-item/list-item.gator.js";import*as O from"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/menu/base/slds/menu.slds.js";import*as V from"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import*as Y from"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import*as $ from"./components/modal/gator/modal.gator.js";import*as oo from"./components/page-header/gator/page-header.gator.js";import*as to from"./components/panel/gator/panel.gator.js";import*as ro from"./components/popover/gator/popover.gator.js";import*as ao from"./components/progress-bar/gator/progress-bar.gator.js";import*as eo from"./components/radio/radio.gator.js";import*as po from"./components/radio-group/radio-group.gator.js";import*as _o from"./components/selection-box/selection-box.gator.js";import*as no from"./components/selection-box-group/selection-box-group.gator.js";import*as so from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as mo from"./components/skip-link/gator/base/skip-link.gator.js";import"./components/skip-link/gator/list-item/skip-link-list-item.gator.js";import*as go from"./components/switch/gator/switch.gator.js";import*as co from"./components/tabs/gator/tabset/tabset.gator.js";import*as uo from"./components/tabs/gator/tab/tab.gator.js";import*as xo from"./components/text-detail/gator/text-detail.gator.js";import*as lo from"./components/text-link/gator/text-link.gator.js";import*as fo from"./components/time-picker/gator/time-picker.gator.js";import*as No from"./components/toast/gator/base/toast.gator.js";import*as bo from"./components/toast-container/gator/toast-container.gator.js";import*as Co from"./components/toaster/gator/toaster.gator.js";import*as To from"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import*as ho from"./components/table/gator/table.gator.js";import*as Io from"./components/table/gator/table-pagination/table-pagination.gator.js";import*as Bo from"./components/table/gator/table-controls/table-controls.gator.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,n as NgcBadge,s as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,c as NgcButton,u as NgcButtonCard,x as NgcButtonGroup,d as NgcCard,f as NgcCardContent,N as NgcCardFooter,l as NgcCardHeader,b as NgcCheckbox,C as NgcCheckboxGroup,T as NgcChip,k as NgcDisplayCard,h as NgcDivider,I as NgcFab,B as NgcGuidedNav,P as NgcHeadlineCard,S as NgcHelpText,z as NgcIcon,E as NgcIconButton,v as NgcInputCurrency,G as NgcInputDate,A as NgcInputDropdown,M as NgcInputFile,U as NgcInputFileUploadedPreview,L as NgcInputLabel,F as NgcInputMasked,H as NgcInputPercent,y as NgcInputPhone,R as NgcInputSearch,D as NgcInputText,w as NgcInputTextarea,j as NgcInputTime,J as NgcList,K as NgcListItem,O as NgcLoadingSpinner,V as NgcMenu,Y as NgcMenuItem,$ as NgcModal,oo as NgcPageHeader,to as NgcPanel,ro as NgcPopover,ao as NgcProgressBar,eo as NgcRadio,po as NgcRadioGroup,_o as NgcSelectionBox,no as NgcSelectionBoxGroup,so as NgcSkeletonLoader,mo as NgcSkipLink,go as NgcSwitch,uo as NgcTab,ho as NgcTable,Bo as NgcTableControls,Io as NgcTablePagination,co as NgcTabs,xo as NgcTextDetail,lo as NgcTextLink,fo as NgcTimePicker,No as NgcToast,bo as NgcToastContainer,Co as NgcToaster,To as NgcTooltip};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import*as s from"./components/badge/slds/badge.slds.js";import*as _ from"./components/badge/gator/badge.gator.js";import*as n from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import*as c from"./components/button/slds/button.slds.js";import*as g from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/button-group/gator/button-group.gator.js";import*as d from"./components/card/gator/base/card.gator.js";import*as l from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as I from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as h from"./components/combobox/base/index.js";import*as C from"./components/combobox/combobox-item/index.js";import*as B from"./components/display-card/gator/display-card.gator.js";import*as v from"./components/divider/gator/divider.gator.js";import*as k from"./components/fab/gator/fab.gator.js";import*as G from"./components/guided-nav/gator/guided-nav/guided-nav.gator.js";import*as L from"./components/headline-card/gator/headline-card.gator.js";import*as D from"./components/icon/slds/icon.slds.js";import*as P from"./components/icon/gator/icon.gator.js";import*as S from"./components/icon-button/gator/icon-button.gator.js";import*as M from"./components/input/gator/input-currency/input-currency.gator.js";import*as w from"./components/input/gator/input-date/input-date.gator.js";import*as F from"./components/input/gator/input-label/input-label.gator.js";import*as H from"./components/input/gator/help-text/help-text.gator.js";import*as y from"./components/input/gator/input-text/input-text.gator.js";import*as A from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as R from"./components/input/gator/input-masked/input-masked.gator.js";import*as E from"./components/input/gator/input-percent/input-percent.gator.js";import*as U from"./components/input/gator/input-phone/input-phone.gator.js";import*as j from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as q from"./components/input/gator/input-file/input-file.gator.js";import*as z from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as J from"./components/input/gator/input-search/input-search.gator.js";import*as K from"./components/input/gator/input-time/input-time.gator.js";import*as O from"./components/input/slds/input-text/input-text.slds.js";import*as Q from"./components/input/slds/input-error/input-error.slds.js";import*as V from"./components/input/slds/input-label/input-label.slds.js";import*as W from"./components/input-rich-text/input-rich-text.slds.js";import*as X from"./components/list/gator/list/list.gator.js";import*as Y from"./components/list/gator/list-item/list-item.gator.js";import*as Z from"./components/menu/base/slds/menu.slds.js";import*as $ from"./components/menu/base/gator/menu.gator.js";import*as oo from"./components/menu/menu-divider/menu-divider.slds.js";import*as to from"./components/menu/menu-item/slds/menu-item.slds.js";import*as ro from"./components/menu/menu-item/gator/menu-item.gator.js";import*as ao from"./components/menu/menu-submenu/menu-submenu.slds.js";import*as eo from"./components/modal/gator/modal.gator.js";import*as po from"./components/page-header/gator/page-header.gator.js";import*as so from"./components/pill/pill.js";import*as _o from"./components/popover/gator/popover.gator.js";import*as no from"./components/progress-bar/gator/progress-bar.gator.js";import*as mo from"./components/radio/radio.gator.js";import*as io from"./components/radio-group/radio-group.gator.js";import*as co from"./components/scoped-notification/scoped-notification.slds.js";import*as go from"./components/selection-box/selection-box.gator.js";import*as uo from"./components/selection-box-group/selection-box-group.gator.js";import*as xo from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as lo from"./components/switch/gator/switch.gator.js";import*as fo from"./components/tabs/gator/tabset/tabset.gator.js";import*as No from"./components/tabs/gator/tab/tab.gator.js";import*as bo from"./components/text-detail/gator/text-detail.gator.js";import*as Io from"./components/text-link/gator/text-link.gator.js";import*as To from"./components/toast/gator/base/toast.gator.js";import*as ho from"./components/toast-container/gator/toast-container.gator.js";import*as Co from"./components/toaster/gator/toaster.gator.js";import*as Bo from"./components/tooltip/gator/tooltip.gator.js";import*as vo from"./components/tooltip/slds/tooltip.slds.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,_ as NgcBadge,n as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,g as NgcButton,u as NgcButtonCard,x as NgcButtonGroup,d as NgcCard,f as NgcCardContent,N as NgcCardFooter,l as NgcCardHeader,b as NgcCheckbox,I as NgcCheckboxGroup,T as NgcChip,B as NgcDisplayCard,v as NgcDivider,k as NgcFab,G as NgcGuidedNav,L as NgcHeadlineCard,H as NgcHelpText,P as NgcIcon,S as NgcIconButton,M as NgcInputCurrency,w as NgcInputDate,j as NgcInputDropdown,q as NgcInputFile,z as NgcInputFileUploadedPreview,F as NgcInputLabel,R as NgcInputMasked,E as NgcInputPercent,U as NgcInputPhone,J as NgcInputSearch,y as NgcInputText,A as NgcInputTextarea,K as NgcInputTime,X as NgcList,Y as NgcListItem,$ as NgcMenu,ro as NgcMenuItem,eo as NgcModal,po as NgcPageHeader,_o as NgcPopover,no as NgcProgressBar,mo as NgcRadio,io as NgcRadioGroup,go as NgcSelectionBox,uo as NgcSelectionBoxGroup,xo as NgcSkeletonLoader,lo as NgcSwitch,No as NgcTab,fo as NgcTabs,bo as NgcTextDetail,Io as NgcTextLink,To as NgcToast,ho as NgcToastContainer,Co as NgcToaster,Bo as NgcTooltip,s as NscBadge,c as NscButton,h as NscCombobox,C as NscComboboxItem,D as NscIcon,Q as NscInputError,V as NscInputLabel,W as NscInputRichText,O as NscInputText,Z as NscMenu,oo as NscMenuDivider,to as NscMenuItem,ao as NscMenuSubmenu,so as NscPill,co as NscScopedNotification,vo as NscTooltip};
1
+ import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as s from"./components/avatar/gator/avatar.gator.js";import*as p from"./components/badge/slds/badge.slds.js";import*as _ from"./components/badge/gator/badge.gator.js";import*as n from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import*as c from"./components/button/slds/button.slds.js";import*as g from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/button-group/gator/button-group.gator.js";import*as d from"./components/card/gator/base/card.gator.js";import*as l from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as I from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as k from"./components/combobox/base/index.js";import*as h from"./components/combobox/combobox-item/index.js";import*as C from"./components/display-card/gator/display-card.gator.js";import*as L from"./components/divider/gator/divider.gator.js";import*as B from"./components/fab/gator/fab.gator.js";import*as v from"./components/guided-nav/gator/guided-nav/guided-nav.gator.js";import*as G from"./components/headline-card/gator/headline-card.gator.js";import*as S from"./components/icon/slds/icon.slds.js";import*as D from"./components/icon/gator/icon.gator.js";import*as P from"./components/icon-button/gator/icon-button.gator.js";import*as M from"./components/input/gator/input-currency/input-currency.gator.js";import*as w from"./components/input/gator/input-date/input-date.gator.js";import*as F from"./components/input/gator/input-label/input-label.gator.js";import*as H from"./components/input/gator/help-text/help-text.gator.js";import*as y from"./components/input/gator/input-text/input-text.gator.js";import*as A from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as R from"./components/input/gator/input-masked/input-masked.gator.js";import*as E from"./components/input/gator/input-percent/input-percent.gator.js";import*as U from"./components/input/gator/input-phone/input-phone.gator.js";import*as j from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as q from"./components/input/gator/input-file/input-file.gator.js";import*as z from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as J from"./components/input/gator/input-search/input-search.gator.js";import*as K from"./components/input/gator/input-time/input-time.gator.js";import*as O from"./components/input/slds/input-text/input-text.slds.js";import*as Q from"./components/input/slds/input-error/input-error.slds.js";import*as V from"./components/input/slds/input-label/input-label.slds.js";import*as W from"./components/input-rich-text/input-rich-text.slds.js";import*as X from"./components/list/gator/list/list.gator.js";import*as Y from"./components/list/gator/list-item/list-item.gator.js";import*as Z from"./components/menu/base/slds/menu.slds.js";import*as $ from"./components/menu/base/gator/menu.gator.js";import*as oo from"./components/menu/menu-divider/menu-divider.slds.js";import*as to from"./components/menu/menu-item/slds/menu-item.slds.js";import*as ro from"./components/menu/menu-item/gator/menu-item.gator.js";import*as ao from"./components/menu/menu-submenu/menu-submenu.slds.js";import*as eo from"./components/modal/gator/modal.gator.js";import*as so from"./components/page-header/gator/page-header.gator.js";import*as po from"./components/pill/pill.js";import*as _o from"./components/popover/gator/popover.gator.js";import*as no from"./components/progress-bar/gator/progress-bar.gator.js";import*as mo from"./components/radio/radio.gator.js";import*as io from"./components/radio-group/radio-group.gator.js";import*as co from"./components/scoped-notification/scoped-notification.slds.js";import*as go from"./components/selection-box/selection-box.gator.js";import*as uo from"./components/selection-box-group/selection-box-group.gator.js";import*as xo from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as lo from"./components/switch/gator/switch.gator.js";import*as fo from"./components/tabs/gator/tabset/tabset.gator.js";import*as No from"./components/tabs/gator/tab/tab.gator.js";import*as bo from"./components/text-detail/gator/text-detail.gator.js";import*as Io from"./components/text-link/gator/text-link.gator.js";import*as To from"./components/toast/gator/base/toast.gator.js";import*as ko from"./components/toast-container/gator/toast-container.gator.js";import*as ho from"./components/toaster/gator/toaster.gator.js";import*as Co from"./components/tooltip/gator/tooltip.gator.js";import*as Lo from"./components/tooltip/slds/tooltip.slds.js";import*as Bo from"./components/skip-link/gator/base/skip-link.gator.js";import*as vo from"./components/skip-link/gator/list-item/skip-link-list-item.gator.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,s as NgcAvatar,_ as NgcBadge,n as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,g as NgcButton,u as NgcButtonCard,x as NgcButtonGroup,d as NgcCard,f as NgcCardContent,N as NgcCardFooter,l as NgcCardHeader,b as NgcCheckbox,I as NgcCheckboxGroup,T as NgcChip,C as NgcDisplayCard,L as NgcDivider,B as NgcFab,v as NgcGuidedNav,G as NgcHeadlineCard,H as NgcHelpText,D as NgcIcon,P as NgcIconButton,M as NgcInputCurrency,w as NgcInputDate,j as NgcInputDropdown,q as NgcInputFile,z as NgcInputFileUploadedPreview,F as NgcInputLabel,R as NgcInputMasked,E as NgcInputPercent,U as NgcInputPhone,J as NgcInputSearch,y as NgcInputText,A as NgcInputTextarea,K as NgcInputTime,X as NgcList,Y as NgcListItem,$ as NgcMenu,ro as NgcMenuItem,eo as NgcModal,so as NgcPageHeader,_o as NgcPopover,no as NgcProgressBar,mo as NgcRadio,io as NgcRadioGroup,go as NgcSelectionBox,uo as NgcSelectionBoxGroup,xo as NgcSkeletonLoader,Bo as NgcSkipLink,vo as NgcSkipLinkListItem,lo as NgcSwitch,No as NgcTab,fo as NgcTabs,bo as NgcTextDetail,Io as NgcTextLink,To as NgcToast,ko as NgcToastContainer,ho as NgcToaster,Co as NgcTooltip,p as NscBadge,c as NscButton,k as NscCombobox,h as NscComboboxItem,S as NscIcon,Q as NscInputError,V as NscInputLabel,W as NscInputRichText,O as NscInputText,Z as NscMenu,oo as NscMenuDivider,to as NscMenuItem,ao as NscMenuSubmenu,po as NscPill,co as NscScopedNotification,Lo as NscTooltip};
@@ -0,0 +1 @@
1
+ import{getBrandColor as e,setBrandColor as t}from"./utils/brand-color-utils.js";export{e as getBrandColor,t as setBrandColor};
@@ -1,4 +1,4 @@
1
- import{diff as S,printDiffOrStringify as vt}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js";import E from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import{isMockFunction as H}from"../../../../../@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js";import{processError as Tt}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js";import{use as Nt,util as R}from"../../../../../chai@5.2.1/node_modules/chai/chai.js";import{getType as ut,noop as Ot,isObject as q,assertTypes as T}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js";import{s as j}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js";const k=Symbol.for("matchers-object"),B=Symbol.for("$$jest-matchers-object"),ft=Symbol.for("expect-global"),ht=Symbol.for("asymmetric-matchers-object"),ae={toSatisfy(e,t,r){const{printReceived:c,printExpected:a,matcherHint:h}=this.utils,u=t(e);return{pass:u,message:()=>u?`${h(".not.toSatisfy","received","")}
1
+ import{diff as S,printDiffOrStringify as vt}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js";import E from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import{isMockFunction as H}from"../../../../../@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js";import{processError as Tt}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js";import{use as Nt,util as R}from"../../../../../chai@5.2.0/node_modules/chai/chai.js";import{getType as ut,noop as Ot,isObject as q,assertTypes as T}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js";import{s as j}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js";const k=Symbol.for("matchers-object"),B=Symbol.for("$$jest-matchers-object"),ft=Symbol.for("expect-global"),ht=Symbol.for("asymmetric-matchers-object"),ae={toSatisfy(e,t,r){const{printReceived:c,printExpected:a,matcherHint:h}=this.utils,u=t(e);return{pass:u,message:()=>u?`${h(".not.toSatisfy","received","")}
2
2
 
3
3
  Expected value to not satisfy:
4
4
  ${r||a(t)}
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js","node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["node_modules/.pnpm/magic-string@0.30.18/node_modules/magic-string/dist/magic-string.es.js","node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js"])))=>i.map(i=>d[i]);
2
2
  import{__vitePreload as be}from"../../../../../../../_virtual/preload-helper.js";import{format as $e,plugins as ke}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import{r as Ne}from"../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js";const Pe=44,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Re=new Uint8Array(64),me=new Uint8Array(128);for(let t=0;t<Y.length;t++){const e=Y.charCodeAt(t);Re[t]=e,me[e]=t}function M(t,e){let n=0,s=0,i=0;do{const a=t.next();i=me[a],n|=(i&31)<<s,s+=5}while(i&32);const r=n&1;return n>>>=1,r&&(n=-2147483648|-n),e+n}function ee(t,e){return t.pos>=e?!1:t.peek()!==Pe}class Ce{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:s}=this,i=n.indexOf(e,s);return i===-1?n.length:i}}function Te(t){const{length:e}=t,n=new Ce(t),s=[];let i=0,r=0,a=0,l=0,o=0;do{const c=n.indexOf(";"),d=[];let p=!0,u=0;for(i=0;n.pos<c;){let S;i=M(n,i),i<u&&(p=!1),u=i,ee(n,c)?(r=M(n,r),a=M(n,a),l=M(n,l),ee(n,c)?(o=M(n,o),S=[i,r,a,l,o]):S=[i,r,a,l]):S=[i],d.push(S),n.pos++}p||Oe(d),s.push(d),n.pos=c+1}while(n.pos<=e);return s}function Oe(t){t.sort(Ae)}function Ae(t,e){return t[0]-e[0]}const Me=/^[\w+.-]+:\/\//,Fe=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Le=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var y;(function(t){t[t.Empty=1]="Empty",t[t.Hash=2]="Hash",t[t.Query=3]="Query",t[t.RelativePath=4]="RelativePath",t[t.AbsolutePath=5]="AbsolutePath",t[t.SchemeRelative=6]="SchemeRelative",t[t.Absolute=7]="Absolute"})(y||(y={}));function Be(t){return Me.test(t)}function De(t){return t.startsWith("//")}function ge(t){return t.startsWith("/")}function Je(t){return t.startsWith("file:")}function te(t){return/^[.?#]/.test(t)}function L(t){const e=Fe.exec(t);return Se(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}function Xe(t){const e=Le.exec(t),n=e[2];return Se("file:","",e[1]||"","",ge(n)?n:"/"+n,e[3]||"",e[4]||"")}function Se(t,e,n,s,i,r,a){return{scheme:t,user:e,host:n,port:s,path:i,query:r,hash:a,type:y.Absolute}}function ne(t){if(De(t)){const n=L("http:"+t);return n.scheme="",n.type=y.SchemeRelative,n}if(ge(t)){const n=L("http://foo.com"+t);return n.scheme="",n.host="",n.type=y.AbsolutePath,n}if(Je(t))return Xe(t);if(Be(t))return L(t);const e=L("http://foo.com/"+t);return e.scheme="",e.host="",e.type=t?t.startsWith("?")?y.Query:t.startsWith("#")?y.Hash:y.RelativePath:y.Empty,e}function je(t){if(t.endsWith("/.."))return t;const e=t.lastIndexOf("/");return t.slice(0,e+1)}function We(t,e){_e(e,e.type),t.path==="/"?t.path=e.path:t.path=je(e.path)+t.path}function _e(t,e){const n=e<=y.RelativePath,s=t.path.split("/");let i=1,r=0,a=!1;for(let o=1;o<s.length;o++){const c=s[o];if(!c){a=!0;continue}if(a=!1,c!=="."){if(c===".."){r?(a=!0,r--,i--):n&&(s[i++]=c);continue}s[i++]=c,r++}}let l="";for(let o=1;o<i;o++)l+="/"+s[o];(!l||a&&!l.endsWith("/.."))&&(l+="/"),t.path=l}function Ke(t,e){if(!t&&!e)return"";const n=ne(t);let s=n.type;if(e&&s!==y.Absolute){const r=ne(e),a=r.type;switch(s){case y.Empty:n.hash=r.hash;case y.Hash:n.query=r.query;case y.Query:case y.RelativePath:We(n,r);case y.AbsolutePath:n.user=r.user,n.host=r.host,n.port=r.port;case y.SchemeRelative:n.scheme=r.scheme}a>s&&(s=a)}_e(n,s);const i=n.query+n.hash;switch(s){case y.Hash:case y.Query:return i;case y.RelativePath:{const r=n.path.slice(1);return r?te(e||t)&&!te(r)?"./"+r+i:r+i:i||"."}case y.AbsolutePath:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}function se(t,e){return e&&!e.endsWith("/")&&(e+="/"),Ke(t,e)}function Ue(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}const R=0,qe=1,ze=2,He=3,Ge=4;function Ve(t,e){const n=ie(t,0);if(n===t.length)return t;e||(t=t.slice());for(let s=n;s<t.length;s=ie(t,s+1))t[s]=Ze(t[s],e);return t}function ie(t,e){for(let n=e;n<t.length;n++)if(!Qe(t[n]))return n;return t.length}function Qe(t){for(let e=1;e<t.length;e++)if(t[e][R]<t[e-1][R])return!1;return!0}function Ze(t,e){return e||(t=t.slice()),t.sort(Ye)}function Ye(t,e){return t[R]-e[R]}let J=!1;function et(t,e,n,s){for(;n<=s;){const i=n+(s-n>>1),r=t[i][R]-e;if(r===0)return J=!0,i;r<0?n=i+1:s=i-1}return J=!1,n-1}function tt(t,e,n){for(let s=n+1;s<t.length&&t[s][R]===e;n=s++);return n}function nt(t,e,n){for(let s=n-1;s>=0&&t[s][R]===e;n=s--);return n}function st(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function it(t,e,n,s){const{lastKey:i,lastNeedle:r,lastIndex:a}=n;let l=0,o=t.length-1;if(s===i){if(e===r)return J=a!==-1&&t[a][R]===e,a;e>=r?l=a===-1?0:a:o=a}return n.lastKey=s,n.lastNeedle=e,n.lastIndex=et(t,e,l,o)}const rt="`line` must be greater than 0 (lines start at line 1)",at="`column` must be greater than or equal to 0 (columns start at column 0)",re=-1,ot=1;class lt{constructor(e,n){const s=typeof e=="string";if(!s&&e._decodedMemo)return e;const i=s?JSON.parse(e):e,{version:r,file:a,names:l,sourceRoot:o,sources:c,sourcesContent:d}=i;this.version=r,this.file=a,this.names=l||[],this.sourceRoot=o,this.sources=c,this.sourcesContent=d,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const p=se(o||"",Ue(n));this.resolvedSources=c.map(S=>se(S||"",p));const{mappings:u}=i;typeof u=="string"?(this._encoded=u,this._decoded=void 0):(this._encoded=void 0,this._decoded=Ve(u,s)),this._decodedMemo=st(),this._bySources=void 0,this._bySourceMemos=void 0}}function ct(t){var e;return(e=t)._decoded||(e._decoded=Te(t._encoded))}function ut(t,e){let{line:n,column:s,bias:i}=e;if(n--,n<0)throw new Error(rt);if(s<0)throw new Error(at);const r=ct(t);if(n>=r.length)return B(null,null,null,null);const a=r[n],l=ht(a,t._decodedMemo,n,s,i||ot);if(l===-1)return B(null,null,null,null);const o=a[l];if(o.length===1)return B(null,null,null,null);const{names:c,resolvedSources:d}=t;return B(d[o[qe]],o[ze]+1,o[He],o.length===5?c[o[Ge]]:null)}function B(t,e,n,s){return{source:t,line:e,column:n,name:s}}function ht(t,e,n,s,i){let r=it(t,s,e,n);return J?r=(i===re?tt:nt)(t,s,r):i===re&&r++,r===-1||r===t.length?-1:r}function ye(t){return t!=null}function dt(t){return t===null||typeof t!="function"&&typeof t!="object"}function D(t){return t!=null&&typeof t=="object"&&!Array.isArray(t)}function ft(t){let e=-1,n=null,s=0,i=0,r=null;for(;e<=t.length;){r=t[e],e++;const a=t[e];if((a==='"'||a==="'"||a==="`")&&r!=="\\"&&(n===a?n=null:n||(n=a)),n||(a==="("&&s++,a===")"&&i++),s&&i&&s===i)return e}return null}const ve=/^\s*at .*(?:\S:\d+|\(native\))/m,pt=/^(?:eval@)?(?:\[native code\])?$/,mt=["node:internal",/\/packages\/\w+\/dist\//,/\/@vitest\/\w+\/dist\//,"/vitest/dist/","/vitest/src/","/vite-node/dist/","/vite-node/src/","/node_modules/chai/","/node_modules/tinypool/","/node_modules/tinyspy/","/deps/chunk-","/deps/@vitest","/deps/loupe","/deps/chai",/node:\w+/,/__vitest_test__/,/__vitest_browser__/,/\/deps\/vitest_/];function xe(t){if(!t.includes(":"))return[t];const n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/^\(|\)$/g,""));if(!n)return[t];let s=n[1];if(s.startsWith("async ")&&(s=s.slice(6)),s.startsWith("http:")||s.startsWith("https:")){const i=new URL(s);i.searchParams.delete("import"),i.searchParams.delete("browserv"),s=i.pathname+i.hash+i.search}if(s.startsWith("/@fs/")){const i=/^\/@fs\/[a-zA-Z]:\//.test(s);s=s.slice(i?5:4)}return[s,n[2]||void 0,n[3]||void 0]}function gt(t){let e=t.trim();if(pt.test(e)||(e.includes(" > eval")&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!e.includes("@")&&!e.includes(":")))return null;const n=/((.*".+"[^@]*)?[^@]*)(@)/,s=e.match(n),i=s&&s[1]?s[1]:void 0,[r,a,l]=xe(e.replace(n,""));return!r||!a||!l?null:{file:r,method:i||"",line:Number.parseInt(a),column:Number.parseInt(l)}}function St(t){let e=t.trim();if(!ve.test(e))return null;e.includes("(eval ")&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let n=e.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const s=n.match(/ (\(.+\)$)/);n=s?n.replace(s[0],""):n;const[i,r,a]=xe(s?s[1]:n);let l=s&&n||"",o=i&&["eval","<anonymous>"].includes(i)?void 0:i;return!o||!r||!a?null:(l.startsWith("async ")&&(l=l.slice(6)),o.startsWith("file://")&&(o=o.slice(7)),o=o.startsWith("node:")||o.startsWith("internal:")?o:Ne(o),l&&(l=l.replace(/__vite_ssr_import_\d+__\./g,"")),{method:l,file:o,line:Number.parseInt(r),column:Number.parseInt(a)})}function X(t,e={}){const{ignoreStackEntries:n=mt}=e;return(ve.test(t)?yt(t):_t(t)).map(i=>{var r;e.getUrlId&&(i.file=e.getUrlId(i.file));const a=(r=e.getSourceMap)===null||r===void 0?void 0:r.call(e,i.file);if(!a||typeof a!="object"||!a.version)return ae(n,i.file)?null:i;const l=new lt(a),{line:o,column:c,source:d,name:p}=ut(l,i);let u=i.file;if(d){const S=i.file.startsWith("file://")?i.file:`file://${i.file}`,w=a.sourceRoot?new URL(a.sourceRoot,S):S;u=new URL(d,w).pathname,u.match(/\/\w:\//)&&(u=u.slice(1))}return ae(n,u)?null:o!=null&&c!=null?{line:o,column:c,file:u,method:p||i.method}:i}).filter(i=>i!=null)}function ae(t,e){return t.some(n=>e.match(n))}function _t(t){return t.split(`
3
3
  `).map(e=>gt(e)).filter(ye)}function yt(t){return t.split(`
4
- `).map(e=>St(e)).filter(ye)}function vt(t,e={}){if(!t||dt(t))return[];if(t.stacks)return t.stacks;const n=t.stack||"";let s=typeof n=="string"?X(n,e):[];if(!s.length){const i=t;i.fileName!=null&&i.lineNumber!=null&&i.columnNumber!=null&&(s=X(`${i.fileName}:${i.lineNumber}:${i.columnNumber}`,e)),i.sourceURL!=null&&i.line!=null&&i._column!=null&&(s=X(`${i.sourceURL}:${i.line}:${i.column}`,e))}return e.frameFilter&&(s=s.filter(i=>e.frameFilter(t,i)!==!1)),t.stacks=s,s}let xt=()=>"Promise{…}";try{const{getPromiseDetails:t,kPending:e,kRejected:n}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(xt=(s,i)=>{const[r,a]=t(s);return r===e?"Promise{<pending>}":`Promise${r===n?"!":""}{${i.inspect(a,i)}}`})}catch{}function wt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var j,oe;function It(){if(oe)return j;oe=1;var t,e,n,s,i,r,a,l,o,c,d,p,u,S,w,E,b,I,$;return u=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,t=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,w=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,E=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,$=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,o=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,S=/\/\/.*/y,n=/[<>.:={}]|\/(?![\/*])/y,e=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,s=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,I=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,r=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),j=function*(_,{jsx:C=!1}={}){var x,N,T,f,m,Q,h,P,Z,k,O,g,A,v;for({length:Q}=_,f=0,m="",v=[{tag:"JS"}],x=[],O=0,g=!1;f<Q;){switch(P=v[v.length-1],P.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[f]==="/"&&(I.test(m)||r.test(m))&&(u.lastIndex=f,h=u.exec(_))){f=u.lastIndex,m=h[0],g=!0,yield{type:"RegularExpressionLiteral",value:h[0],closed:h[1]!==void 0&&h[1]!=="\\"};continue}if(p.lastIndex=f,h=p.exec(_)){switch(A=h[0],Z=p.lastIndex,k=A,A){case"(":m==="?NonExpressionParenKeyword"&&v.push({tag:"JSNonExpressionParen",nesting:O}),O++,g=!1;break;case")":O--,g=!0,P.tag==="JSNonExpressionParen"&&O===P.nesting&&(v.pop(),k="?NonExpressionParenEnd",g=!1);break;case"{":p.lastIndex=0,T=!b.test(m)&&(I.test(m)||r.test(m)),x.push(T),g=!1;break;case"}":switch(P.tag){case"InterpolationInTemplate":if(x.length===P.nesting){E.lastIndex=f,h=E.exec(_),f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",g=!1,yield{type:"TemplateMiddle",value:h[0]}):(v.pop(),g=!0,yield{type:"TemplateTail",value:h[0],closed:h[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===P.nesting){v.pop(),f+=1,m="}",yield{type:"JSXPunctuator",value:"}"};continue}}g=x.pop(),k=g?"?ExpressionBraceEnd":"}";break;case"]":g=!0;break;case"++":case"--":k=g?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(C&&(I.test(m)||r.test(m))){v.push({tag:"JSXTag"}),f+=1,m="<",yield{type:"JSXPunctuator",value:A};continue}g=!1;break;default:g=!1}f=Z,m=k,yield{type:"Punctuator",value:A};continue}if(t.lastIndex=f,h=t.exec(_)){switch(f=t.lastIndex,k=h[0],h[0]){case"for":case"if":case"while":case"with":m!=="."&&m!=="?."&&(k="?NonExpressionParenKeyword")}m=k,g=!r.test(h[0]),yield{type:h[1]==="#"?"PrivateIdentifier":"IdentifierName",value:h[0]};continue}if(w.lastIndex=f,h=w.exec(_)){f=w.lastIndex,m=h[0],g=!0,yield{type:"StringLiteral",value:h[0],closed:h[2]!==void 0};continue}if(d.lastIndex=f,h=d.exec(_)){f=d.lastIndex,m=h[0],g=!0,yield{type:"NumericLiteral",value:h[0]};continue}if(E.lastIndex=f,h=E.exec(_)){f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",v.push({tag:"InterpolationInTemplate",nesting:x.length}),g=!1,yield{type:"TemplateHead",value:h[0]}):(g=!0,yield{type:"NoSubstitutionTemplate",value:h[0],closed:h[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(n.lastIndex=f,h=n.exec(_)){switch(f=n.lastIndex,k=h[0],h[0]){case"<":v.push({tag:"JSXTag"});break;case">":v.pop(),m==="/"||P.tag==="JSXTagEnd"?(k="?JSX",g=!0):v.push({tag:"JSXChildren"});break;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),k="?InterpolationInJSX",g=!1;break;case"/":m==="<"&&(v.pop(),v[v.length-1].tag==="JSXChildren"&&v.pop(),v.push({tag:"JSXTagEnd"}))}m=k,yield{type:"JSXPunctuator",value:h[0]};continue}if(e.lastIndex=f,h=e.exec(_)){f=e.lastIndex,m=h[0],yield{type:"JSXIdentifier",value:h[0]};continue}if(s.lastIndex=f,h=s.exec(_)){f=s.lastIndex,m=h[0],yield{type:"JSXString",value:h[0],closed:h[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=f,h=i.exec(_)){f=i.lastIndex,m=h[0],yield{type:"JSXText",value:h[0]};continue}switch(_[f]){case"<":v.push({tag:"JSXTag"}),f++,m="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),f++,m="?InterpolationInJSX",g=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if($.lastIndex=f,h=$.exec(_)){f=$.lastIndex,yield{type:"WhiteSpace",value:h[0]};continue}if(l.lastIndex=f,h=l.exec(_)){f=l.lastIndex,g=!1,a.test(m)&&(m="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:h[0]};continue}if(o.lastIndex=f,h=o.exec(_)){f=o.lastIndex,c.test(h[0])&&(g=!1,a.test(m)&&(m="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:h[0],closed:h[1]!==void 0};continue}if(S.lastIndex=f,h=S.exec(_)){f=S.lastIndex,g=!1,yield{type:"SingleLineComment",value:h[0]};continue}N=String.fromCodePoint(_.codePointAt(f)),f+=N.length,m=N,g=!1,yield{type:P.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:N}}},j}It();var we={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(we.keyword);new Set(we.strict);var Et={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},bt=Object.entries(Et);function q(t){return String(t)}q.open="";q.close="";function $t(t=!1){let e=typeof process<"u"?process:void 0,n=e?.env||{},s=e?.argv||[];return!("NO_COLOR"in n||s.includes("--no-color"))&&("FORCE_COLOR"in n||s.includes("--color")||e?.platform==="win32"||t&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}function kt(t=!1){let e=$t(t),n=(a,l,o,c)=>{let d="",p=0;do d+=a.substring(p,c)+o,p=c+l.length,c=a.indexOf(l,p);while(~c);return d+a.substring(p)},s=(a,l,o=a)=>{let c=d=>{let p=String(d),u=p.indexOf(l,a.length);return~u?a+n(p,l,o,u)+l:a+p+l};return c.open=a,c.close=l,c},i={isColorSupported:e},r=a=>`\x1B[${a}m`;for(let[a,l]of bt)i[a]=e?s(r(l[0]),r(l[1]),l[2]):q;return i}kt();const z=/\r?\n/;function Nt(t,e,n){const s=t.split(z),i=/\r\n/.test(t)?2:1;let r=0;if(e>s.length)return t.length;for(let a=0;a<e-1;a++)r+=s[a].length+i;return r+n}function Pt(t,e){if(e>t.length)throw new Error(`offset is longer than source length! offset ${e} > length ${t.length}`);const n=t.split(z),s=/\r\n/.test(t)?2:1;let i=0,r=0;for(;r<n.length;r++){const a=n[r].length+s;if(i+a>=e)break;i+=a}return r+1}async function Rt(t,e){const n=(await be(async()=>{const{default:i}=await import("../../../../../magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js");return{default:i}},__vite__mapDeps([0,1]))).default,s=new Set(e.map(i=>i.file));await Promise.all(Array.from(s).map(async i=>{const r=e.filter(c=>c.file===i),a=await t.readSnapshotFile(i),l=new n(a);for(const c of r){const d=Nt(a,c.line,c.column);Ft(a,l,d,c.snapshot)}const o=l.toString();o!==a&&await t.saveSnapshotFile(i,o)}))}const Ct=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*\{/;function Tt(t,e,n,s){let i=t.slice(n);const r=Ct.exec(i);if(!r)return!1;i=i.slice(r.index);let a=ft(i);if(a===null)return!1;a+=n+r.index;const l=n+r.index+r[0].length,o=Ot(t,l),c=`, ${Ie(s,t,n)}`;return o===a?e.appendLeft(a,c):e.overwrite(o,a,c),!0}function Ot(t,e){let n=1,s=0;for(;n!==s&&e<t.length;){const i=t[e++];i==="{"?n++:i==="}"&&s++}return e}function Ie(t,e,n){const s=Pt(e,n),r=e.split(z)[s-1].match(/^\s*/)[0]||"",a=r.includes(" ")?`${r} `:`${r} `,l=t.trim().replace(/\\/g,"\\\\").split(/\n/g),o=l.length<=1,c="`";return o?`${c}${l.join(`
4
+ `).map(e=>St(e)).filter(ye)}function vt(t,e={}){if(!t||dt(t))return[];if(t.stacks)return t.stacks;const n=t.stack||"";let s=typeof n=="string"?X(n,e):[];if(!s.length){const i=t;i.fileName!=null&&i.lineNumber!=null&&i.columnNumber!=null&&(s=X(`${i.fileName}:${i.lineNumber}:${i.columnNumber}`,e)),i.sourceURL!=null&&i.line!=null&&i._column!=null&&(s=X(`${i.sourceURL}:${i.line}:${i.column}`,e))}return e.frameFilter&&(s=s.filter(i=>e.frameFilter(t,i)!==!1)),t.stacks=s,s}let xt=()=>"Promise{…}";try{const{getPromiseDetails:t,kPending:e,kRejected:n}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(xt=(s,i)=>{const[r,a]=t(s);return r===e?"Promise{<pending>}":`Promise${r===n?"!":""}{${i.inspect(a,i)}}`})}catch{}function wt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var j,oe;function It(){if(oe)return j;oe=1;var t,e,n,s,i,r,a,l,o,c,d,p,u,S,w,E,b,I,$;return u=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,t=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,w=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,E=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,$=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,o=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,S=/\/\/.*/y,n=/[<>.:={}]|\/(?![\/*])/y,e=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,s=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,I=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,r=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),j=function*(_,{jsx:C=!1}={}){var x,N,T,f,m,Q,h,P,Z,k,O,g,A,v;for({length:Q}=_,f=0,m="",v=[{tag:"JS"}],x=[],O=0,g=!1;f<Q;){switch(P=v[v.length-1],P.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[f]==="/"&&(I.test(m)||r.test(m))&&(u.lastIndex=f,h=u.exec(_))){f=u.lastIndex,m=h[0],g=!0,yield{type:"RegularExpressionLiteral",value:h[0],closed:h[1]!==void 0&&h[1]!=="\\"};continue}if(p.lastIndex=f,h=p.exec(_)){switch(A=h[0],Z=p.lastIndex,k=A,A){case"(":m==="?NonExpressionParenKeyword"&&v.push({tag:"JSNonExpressionParen",nesting:O}),O++,g=!1;break;case")":O--,g=!0,P.tag==="JSNonExpressionParen"&&O===P.nesting&&(v.pop(),k="?NonExpressionParenEnd",g=!1);break;case"{":p.lastIndex=0,T=!b.test(m)&&(I.test(m)||r.test(m)),x.push(T),g=!1;break;case"}":switch(P.tag){case"InterpolationInTemplate":if(x.length===P.nesting){E.lastIndex=f,h=E.exec(_),f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",g=!1,yield{type:"TemplateMiddle",value:h[0]}):(v.pop(),g=!0,yield{type:"TemplateTail",value:h[0],closed:h[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===P.nesting){v.pop(),f+=1,m="}",yield{type:"JSXPunctuator",value:"}"};continue}}g=x.pop(),k=g?"?ExpressionBraceEnd":"}";break;case"]":g=!0;break;case"++":case"--":k=g?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(C&&(I.test(m)||r.test(m))){v.push({tag:"JSXTag"}),f+=1,m="<",yield{type:"JSXPunctuator",value:A};continue}g=!1;break;default:g=!1}f=Z,m=k,yield{type:"Punctuator",value:A};continue}if(t.lastIndex=f,h=t.exec(_)){switch(f=t.lastIndex,k=h[0],h[0]){case"for":case"if":case"while":case"with":m!=="."&&m!=="?."&&(k="?NonExpressionParenKeyword")}m=k,g=!r.test(h[0]),yield{type:h[1]==="#"?"PrivateIdentifier":"IdentifierName",value:h[0]};continue}if(w.lastIndex=f,h=w.exec(_)){f=w.lastIndex,m=h[0],g=!0,yield{type:"StringLiteral",value:h[0],closed:h[2]!==void 0};continue}if(d.lastIndex=f,h=d.exec(_)){f=d.lastIndex,m=h[0],g=!0,yield{type:"NumericLiteral",value:h[0]};continue}if(E.lastIndex=f,h=E.exec(_)){f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",v.push({tag:"InterpolationInTemplate",nesting:x.length}),g=!1,yield{type:"TemplateHead",value:h[0]}):(g=!0,yield{type:"NoSubstitutionTemplate",value:h[0],closed:h[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(n.lastIndex=f,h=n.exec(_)){switch(f=n.lastIndex,k=h[0],h[0]){case"<":v.push({tag:"JSXTag"});break;case">":v.pop(),m==="/"||P.tag==="JSXTagEnd"?(k="?JSX",g=!0):v.push({tag:"JSXChildren"});break;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),k="?InterpolationInJSX",g=!1;break;case"/":m==="<"&&(v.pop(),v[v.length-1].tag==="JSXChildren"&&v.pop(),v.push({tag:"JSXTagEnd"}))}m=k,yield{type:"JSXPunctuator",value:h[0]};continue}if(e.lastIndex=f,h=e.exec(_)){f=e.lastIndex,m=h[0],yield{type:"JSXIdentifier",value:h[0]};continue}if(s.lastIndex=f,h=s.exec(_)){f=s.lastIndex,m=h[0],yield{type:"JSXString",value:h[0],closed:h[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=f,h=i.exec(_)){f=i.lastIndex,m=h[0],yield{type:"JSXText",value:h[0]};continue}switch(_[f]){case"<":v.push({tag:"JSXTag"}),f++,m="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),f++,m="?InterpolationInJSX",g=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if($.lastIndex=f,h=$.exec(_)){f=$.lastIndex,yield{type:"WhiteSpace",value:h[0]};continue}if(l.lastIndex=f,h=l.exec(_)){f=l.lastIndex,g=!1,a.test(m)&&(m="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:h[0]};continue}if(o.lastIndex=f,h=o.exec(_)){f=o.lastIndex,c.test(h[0])&&(g=!1,a.test(m)&&(m="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:h[0],closed:h[1]!==void 0};continue}if(S.lastIndex=f,h=S.exec(_)){f=S.lastIndex,g=!1,yield{type:"SingleLineComment",value:h[0]};continue}N=String.fromCodePoint(_.codePointAt(f)),f+=N.length,m=N,g=!1,yield{type:P.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:N}}},j}It();var we={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(we.keyword);new Set(we.strict);var Et={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},bt=Object.entries(Et);function q(t){return String(t)}q.open="";q.close="";function $t(t=!1){let e=typeof process<"u"?process:void 0,n=e?.env||{},s=e?.argv||[];return!("NO_COLOR"in n||s.includes("--no-color"))&&("FORCE_COLOR"in n||s.includes("--color")||e?.platform==="win32"||t&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}function kt(t=!1){let e=$t(t),n=(a,l,o,c)=>{let d="",p=0;do d+=a.substring(p,c)+o,p=c+l.length,c=a.indexOf(l,p);while(~c);return d+a.substring(p)},s=(a,l,o=a)=>{let c=d=>{let p=String(d),u=p.indexOf(l,a.length);return~u?a+n(p,l,o,u)+l:a+p+l};return c.open=a,c.close=l,c},i={isColorSupported:e},r=a=>`\x1B[${a}m`;for(let[a,l]of bt)i[a]=e?s(r(l[0]),r(l[1]),l[2]):q;return i}kt();const z=/\r?\n/;function Nt(t,e,n){const s=t.split(z),i=/\r\n/.test(t)?2:1;let r=0;if(e>s.length)return t.length;for(let a=0;a<e-1;a++)r+=s[a].length+i;return r+n}function Pt(t,e){if(e>t.length)throw new Error(`offset is longer than source length! offset ${e} > length ${t.length}`);const n=t.split(z),s=/\r\n/.test(t)?2:1;let i=0,r=0;for(;r<n.length;r++){const a=n[r].length+s;if(i+a>=e)break;i+=a}return r+1}async function Rt(t,e){const n=(await be(async()=>{const{default:i}=await import("../../../../../magic-string@0.30.18/node_modules/magic-string/dist/magic-string.es.js");return{default:i}},__vite__mapDeps([0,1]))).default,s=new Set(e.map(i=>i.file));await Promise.all(Array.from(s).map(async i=>{const r=e.filter(c=>c.file===i),a=await t.readSnapshotFile(i),l=new n(a);for(const c of r){const d=Nt(a,c.line,c.column);Ft(a,l,d,c.snapshot)}const o=l.toString();o!==a&&await t.saveSnapshotFile(i,o)}))}const Ct=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*\{/;function Tt(t,e,n,s){let i=t.slice(n);const r=Ct.exec(i);if(!r)return!1;i=i.slice(r.index);let a=ft(i);if(a===null)return!1;a+=n+r.index;const l=n+r.index+r[0].length,o=Ot(t,l),c=`, ${Ie(s,t,n)}`;return o===a?e.appendLeft(a,c):e.overwrite(o,a,c),!0}function Ot(t,e){let n=1,s=0;for(;n!==s&&e<t.length;){const i=t[e++];i==="{"?n++:i==="}"&&s++}return e}function Ie(t,e,n){const s=Pt(e,n),r=e.split(z)[s-1].match(/^\s*/)[0]||"",a=r.includes(" ")?`${r} `:`${r} `,l=t.trim().replace(/\\/g,"\\\\").split(/\n/g),o=l.length<=1,c="`";return o?`${c}${l.join(`
5
5
  `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}${c}`:`${c}
6
6
  ${l.map(d=>d?a+d:"").join(`
7
7
  `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}
@@ -0,0 +1 @@
1
+ import g from"../../../color-name@2.0.0/node_modules/color-name/index.js";const M={};for(const n of Object.keys(g))M[g[n]]=n;const a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},f=(6/29)**3;function b(n){const o=n>.0031308?1.055*n**.4166666666666667-.055:n*12.92;return Math.min(Math.max(0,o),1)}function m(n){return n>.04045?((n+.055)/1.055)**2.4:n/12.92}for(const n of Object.keys(a)){if(!("channels"in a[n]))throw new Error("missing channels property: "+n);if(!("labels"in a[n]))throw new Error("missing channel labels property: "+n);if(a[n].labels.length!==a[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:o,labels:s}=a[n];delete a[n].channels,delete a[n].labels,Object.defineProperty(a[n],"channels",{value:o}),Object.defineProperty(a[n],"labels",{value:s})}a.rgb.hsl=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.min(o,s,c),e=Math.max(o,s,c),r=e-t;let l,_;switch(e){case t:{l=0;break}case o:{l=(s-c)/r;break}case s:{l=2+(c-o)/r;break}case c:{l=4+(o-s)/r;break}}l=Math.min(l*60,360),l<0&&(l+=360);const i=(t+e)/2;return e===t?_=0:i<=.5?_=r/(e+t):_=r/(2-e-t),[l,_*100,i*100]};a.rgb.hsv=function(n){let o,s,c,t,e;const r=n[0]/255,l=n[1]/255,_=n[2]/255,i=Math.max(r,l,_),u=i-Math.min(r,l,_),h=function(k){return(i-k)/6/u+1/2};if(u===0)t=0,e=0;else{switch(e=u/i,o=h(r),s=h(l),c=h(_),i){case r:{t=c-s;break}case l:{t=1/3+o-c;break}case _:{t=2/3+s-o;break}}t<0?t+=1:t>1&&(t-=1)}return[t*360,e*100,i*100]};a.rgb.hwb=function(n){const o=n[0],s=n[1];let c=n[2];const t=a.rgb.hsl(n)[0],e=1/255*Math.min(o,Math.min(s,c));return c=1-1/255*Math.max(o,Math.max(s,c)),[t,e*100,c*100]};a.rgb.oklab=function(n){const o=m(n[0]/255),s=m(n[1]/255),c=m(n[2]/255),t=Math.cbrt(.4122214708*o+.5363325363*s+.0514459929*c),e=Math.cbrt(.2119034982*o+.6806995451*s+.1073969566*c),r=Math.cbrt(.0883024619*o+.2817188376*s+.6299787005*c),l=.2104542553*t+.793617785*e-.0040720468*r,_=1.9779984951*t-2.428592205*e+.4505937099*r,i=.0259040371*t+.7827717662*e-.808675766*r;return[l*100,_*100,i*100]};a.rgb.cmyk=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.min(1-o,1-s,1-c),e=(1-o-t)/(1-t)||0,r=(1-s-t)/(1-t)||0,l=(1-c-t)/(1-t)||0;return[e*100,r*100,l*100,t*100]};function y(n,o){return(n[0]-o[0])**2+(n[1]-o[1])**2+(n[2]-o[2])**2}a.rgb.keyword=function(n){const o=M[n];if(o)return o;let s=Number.POSITIVE_INFINITY,c;for(const t of Object.keys(g)){const e=g[t],r=y(n,e);r<s&&(s=r,c=t)}return c};a.keyword.rgb=function(n){return g[n]};a.rgb.xyz=function(n){const o=m(n[0]/255),s=m(n[1]/255),c=m(n[2]/255),t=o*.4124564+s*.3575761+c*.1804375,e=o*.2126729+s*.7151522+c*.072175,r=o*.0193339+s*.119192+c*.9503041;return[t*100,e*100,r*100]};a.rgb.lab=function(n){const o=a.rgb.xyz(n);let s=o[0],c=o[1],t=o[2];s/=95.047,c/=100,t/=108.883,s=s>f?s**(1/3):7.787*s+16/116,c=c>f?c**(1/3):7.787*c+16/116,t=t>f?t**(1/3):7.787*t+16/116;const e=116*c-16,r=500*(s-c),l=200*(c-t);return[e,r,l]};a.hsl.rgb=function(n){const o=n[0]/360,s=n[1]/100,c=n[2]/100;let t,e;if(s===0)return e=c*255,[e,e,e];const r=c<.5?c*(1+s):c+s-c*s,l=2*c-r,_=[0,0,0];for(let i=0;i<3;i++)t=o+1/3*-(i-1),t<0&&t++,t>1&&t--,6*t<1?e=l+(r-l)*6*t:2*t<1?e=r:3*t<2?e=l+(r-l)*(2/3-t)*6:e=l,_[i]=e*255;return _};a.hsl.hsv=function(n){const o=n[0];let s=n[1]/100,c=n[2]/100,t=s;const e=Math.max(c,.01);c*=2,s*=c<=1?c:2-c,t*=e<=1?e:2-e;const r=(c+s)/2,l=c===0?2*t/(e+t):2*s/(c+s);return[o,l*100,r*100]};a.hsv.rgb=function(n){const o=n[0]/60,s=n[1]/100;let c=n[2]/100;const t=Math.floor(o)%6,e=o-Math.floor(o),r=255*c*(1-s),l=255*c*(1-s*e),_=255*c*(1-s*(1-e));switch(c*=255,t){case 0:return[c,_,r];case 1:return[l,c,r];case 2:return[r,c,_];case 3:return[r,l,c];case 4:return[_,r,c];case 5:return[c,r,l]}};a.hsv.hsl=function(n){const o=n[0],s=n[1]/100,c=n[2]/100,t=Math.max(c,.01);let e,r;r=(2-s)*c;const l=(2-s)*t;return e=s*t,e/=l<=1?l:2-l,e=e||0,r/=2,[o,e*100,r*100]};a.hwb.rgb=function(n){const o=n[0]/360;let s=n[1]/100,c=n[2]/100;const t=s+c;let e;t>1&&(s/=t,c/=t);const r=Math.floor(6*o),l=1-c;e=6*o-r,(r&1)!==0&&(e=1-e);const _=s+e*(l-s);let i,u,h;switch(r){default:case 6:case 0:{i=l,u=_,h=s;break}case 1:{i=_,u=l,h=s;break}case 2:{i=s,u=l,h=_;break}case 3:{i=s,u=_,h=l;break}case 4:{i=_,u=s,h=l;break}case 5:{i=l,u=s,h=_;break}}return[i*255,u*255,h*255]};a.cmyk.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=n[3]/100,e=1-Math.min(1,o*(1-t)+t),r=1-Math.min(1,s*(1-t)+t),l=1-Math.min(1,c*(1-t)+t);return[e*255,r*255,l*255]};a.xyz.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100;let t,e,r;return t=o*3.2404542+s*-1.5371385+c*-.4985314,e=o*-.969266+s*1.8760108+c*.041556,r=o*.0556434+s*-.2040259+c*1.0572252,t=b(t),e=b(e),r=b(r),[t*255,e*255,r*255]};a.xyz.lab=function(n){let o=n[0],s=n[1],c=n[2];o/=95.047,s/=100,c/=108.883,o=o>f?o**(1/3):7.787*o+16/116,s=s>f?s**(1/3):7.787*s+16/116,c=c>f?c**(1/3):7.787*c+16/116;const t=116*s-16,e=500*(o-s),r=200*(s-c);return[t,e,r]};a.xyz.oklab=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=Math.cbrt(.8189330101*o+.3618667424*s-.1288597137*c),e=Math.cbrt(.0329845436*o+.9293118715*s+.0361456387*c),r=Math.cbrt(.0482003018*o+.2643662691*s+.633851707*c),l=.2104542553*t+.793617785*e-.0040720468*r,_=1.9779984951*t-2.428592205*e+.4505937099*r,i=.0259040371*t+.7827717662*e-.808675766*r;return[l*100,_*100,i*100]};a.oklab.oklch=function(n){return a.lab.lch(n)};a.oklab.xyz=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=(.999999998*o+.396337792*s+.215803758*c)**3,e=(1.000000008*o-.105561342*s-.063854175*c)**3,r=(1.000000055*o-.089484182*s-1.291485538*c)**3,l=1.227013851*t-.55779998*e+.281256149*r,_=-.040580178*t+1.11225687*e-.071676679*r,i=-.076381285*t-.421481978*e+1.58616322*r;return[l*100,_*100,i*100]};a.oklab.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=(o+.3963377774*s+.2158037573*c)**3,e=(o-.1055613458*s-.0638541728*c)**3,r=(o-.0894841775*s-1.291485548*c)**3,l=b(4.0767416621*t-3.3077115913*e+.2309699292*r),_=b(-1.2684380046*t+2.6097574011*e-.3413193965*r),i=b(-.0041960863*t-.7034186147*e+1.707614701*r);return[l*255,_*255,i*255]};a.oklch.oklab=function(n){return a.lch.lab(n)};a.lab.xyz=function(n){const o=n[0],s=n[1],c=n[2];let t,e,r;e=(o+16)/116,t=s/500+e,r=e-c/200;const l=e**3,_=t**3,i=r**3;return e=l>f?l:(e-16/116)/7.787,t=_>f?_:(t-16/116)/7.787,r=i>f?i:(r-16/116)/7.787,t*=95.047,e*=100,r*=108.883,[t,e,r]};a.lab.lch=function(n){const o=n[0],s=n[1],c=n[2];let t;t=Math.atan2(c,s)*360/2/Math.PI,t<0&&(t+=360);const r=Math.sqrt(s*s+c*c);return[o,r,t]};a.lch.lab=function(n){const o=n[0],s=n[1],t=n[2]/360*2*Math.PI,e=s*Math.cos(t),r=s*Math.sin(t);return[o,e,r]};a.rgb.ansi16=function(n,o=null){const[s,c,t]=n;let e=o===null?a.rgb.hsv(n)[2]:o;if(e=Math.round(e/50),e===0)return 30;let r=30+(Math.round(t/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return e===2&&(r+=60),r};a.hsv.ansi16=function(n){return a.rgb.ansi16(a.hsv.rgb(n),n[2])};a.rgb.ansi256=function(n){const o=n[0],s=n[1],c=n[2];return o>>4===s>>4&&s>>4===c>>4?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(s/255*5)+Math.round(c/255*5)};a.ansi16.rgb=function(n){n=n[0];let o=n%10;if(o===0||o===7)return n>50&&(o+=3.5),o=o/10.5*255,[o,o,o];const s=(Math.trunc(n>50)+1)*.5,c=(o&1)*s*255,t=(o>>1&1)*s*255,e=(o>>2&1)*s*255;return[c,t,e]};a.ansi256.rgb=function(n){if(n=n[0],n>=232){const e=(n-232)*10+8;return[e,e,e]}n-=16;let o;const s=Math.floor(n/36)/5*255,c=Math.floor((o=n%36)/6)/5*255,t=o%6/5*255;return[s,c,t]};a.rgb.hex=function(n){const s=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".slice(s.length)+s};a.hex.rgb=function(n){const o=n.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!o)return[0,0,0];let s=o[0];o[0].length===3&&(s=[...s].map(l=>l+l).join(""));const c=Number.parseInt(s,16),t=c>>16&255,e=c>>8&255,r=c&255;return[t,e,r]};a.rgb.hcg=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.max(Math.max(o,s),c),e=Math.min(Math.min(o,s),c),r=t-e;let l;const _=r<1?e/(1-r):0;return r<=0?l=0:t===o?l=(s-c)/r%6:t===s?l=2+(c-o)/r:l=4+(o-s)/r,l/=6,l%=1,[l*360,r*100,_*100]};a.hsl.hcg=function(n){const o=n[1]/100,s=n[2]/100,c=s<.5?2*o*s:2*o*(1-s);let t=0;return c<1&&(t=(s-.5*c)/(1-c)),[n[0],c*100,t*100]};a.hsv.hcg=function(n){const o=n[1]/100,s=n[2]/100,c=o*s;let t=0;return c<1&&(t=(s-c)/(1-c)),[n[0],c*100,t*100]};a.hcg.rgb=function(n){const o=n[0]/360,s=n[1]/100,c=n[2]/100;if(s===0)return[c*255,c*255,c*255];const t=[0,0,0],e=o%1*6,r=e%1,l=1-r;let _=0;switch(Math.floor(e)){case 0:{t[0]=1,t[1]=r,t[2]=0;break}case 1:{t[0]=l,t[1]=1,t[2]=0;break}case 2:{t[0]=0,t[1]=1,t[2]=r;break}case 3:{t[0]=0,t[1]=l,t[2]=1;break}case 4:{t[0]=r,t[1]=0,t[2]=1;break}default:t[0]=1,t[1]=0,t[2]=l}return _=(1-s)*c,[(s*t[0]+_)*255,(s*t[1]+_)*255,(s*t[2]+_)*255]};a.hcg.hsv=function(n){const o=n[1]/100,s=n[2]/100,c=o+s*(1-o);let t=0;return c>0&&(t=o/c),[n[0],t*100,c*100]};a.hcg.hsl=function(n){const o=n[1]/100,c=n[2]/100*(1-o)+.5*o;let t=0;return c>0&&c<.5?t=o/(2*c):c>=.5&&c<1&&(t=o/(2*(1-c))),[n[0],t*100,c*100]};a.hcg.hwb=function(n){const o=n[1]/100,s=n[2]/100,c=o+s*(1-o);return[n[0],(c-o)*100,(1-c)*100]};a.hwb.hcg=function(n){const o=n[1]/100,c=1-n[2]/100,t=c-o;let e=0;return t<1&&(e=(c-t)/(1-t)),[n[0],t*100,e*100]};a.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};a.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};a.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};a.gray.hsl=function(n){return[0,0,n[0]]};a.gray.hsv=a.gray.hsl;a.gray.hwb=function(n){return[0,100,n[0]]};a.gray.cmyk=function(n){return[0,0,0,n[0]]};a.gray.lab=function(n){return[n[0],0,0]};a.gray.hex=function(n){const o=Math.round(n[0]/100*255)&255,c=((o<<16)+(o<<8)+o).toString(16).toUpperCase();return"000000".slice(c.length)+c};a.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};export{a as default};
@@ -0,0 +1 @@
1
+ import s from"./conversions.js";import f from"./route.js";const c={},l=Object.keys(s);function d(n){const t=function(...o){const e=o[0];return e==null?e:(e.length>1&&(o=e),n(o))};return"conversion"in n&&(t.conversion=n.conversion),t}function a(n){const t=function(...o){const e=o[0];if(e==null)return e;e.length>1&&(o=e);const r=n(o);if(typeof r=="object")for(let{length:u}=r,i=0;i<u;i++)r[i]=Math.round(r[i]);return r};return"conversion"in n&&(t.conversion=n.conversion),t}for(const n of l){c[n]={},Object.defineProperty(c[n],"channels",{value:s[n].channels}),Object.defineProperty(c[n],"labels",{value:s[n].labels});const t=f(n),o=Object.keys(t);for(const e of o){const r=t[e];c[n][e]=a(r),c[n][e].raw=d(r)}}export{c as default};
@@ -0,0 +1 @@
1
+ import i from"./conversions.js";function l(){const t={},n=Object.keys(i);for(let{length:c}=n,e=0;e<c;e++)t[n[e]]={distance:-1,parent:null};return t}function f(t){const n=l(),c=[t];for(n[t].distance=0;c.length>0;){const e=c.pop(),r=Object.keys(i[e]);for(let{length:s}=r,o=0;o<s;o++){const u=r[o],a=n[u];a.distance===-1&&(a.distance=n[e].distance+1,a.parent=e,c.unshift(u))}}return n}function p(t,n){return function(c){return n(t(c))}}function d(t,n){const c=[n[t].parent,t];let e=i[n[t].parent][t],r=n[t].parent;for(;n[r].parent;)c.unshift(n[r].parent),e=p(i[n[r].parent][r],e),r=n[r].parent;return e.conversion=c,e}function j(t){const n=f(t),c={},e=Object.keys(n);for(let{length:r}=e,s=0;s<r;s++){const o=e[s];n[o].parent!==null&&(c[o]=d(o,n))}return c}export{j as default};
@@ -0,0 +1 @@
1
+ const e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};export{e as default};
@@ -0,0 +1 @@
1
+ import f from"../../../color-name@2.0.0/node_modules/color-name/index.js";const b=Object.create(null);for(const t in f)Object.hasOwn(f,t)&&(b[f[t]]=t);const a={to:{},get:{}};a.get=function(t){const o=t.slice(0,3).toLowerCase();let n,u;switch(o){case"hsl":{n=a.get.hsl(t),u="hsl";break}case"hwb":{n=a.get.hwb(t),u="hwb";break}default:{n=a.get.rgb(t),u="rgb";break}}return n?{model:u,value:n}:null};a.get.rgb=function(t){if(!t)return null;const o=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,u=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,d=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,h=/^(\w+)$/;let s=[0,0,0,1],e,r,l;if(e=t.match(n)){for(l=e[2],e=e[1],r=0;r<3;r++){const i=r*2;s[r]=Number.parseInt(e.slice(i,i+2),16)}l&&(s[3]=Number.parseInt(l,16)/255)}else if(e=t.match(o)){for(e=e[1],l=e[3],r=0;r<3;r++)s[r]=Number.parseInt(e[r]+e[r],16);l&&(s[3]=Number.parseInt(l+l,16)/255)}else if(e=t.match(u)){for(r=0;r<3;r++)s[r]=Number.parseInt(e[r+1],10);e[4]&&(s[3]=e[5]?Number.parseFloat(e[4])*.01:Number.parseFloat(e[4]))}else if(e=t.match(d)){for(r=0;r<3;r++)s[r]=Math.round(Number.parseFloat(e[r+1])*2.55);e[4]&&(s[3]=e[5]?Number.parseFloat(e[4])*.01:Number.parseFloat(e[4]))}else return(e=t.match(h))?e[1]==="transparent"?[0,0,0,0]:Object.hasOwn(f,e[1])?(s=f[e[1]],s[3]=1,s):null:null;for(r=0;r<3;r++)s[r]=c(s[r],0,255);return s[3]=c(s[3],0,1),s};a.get.hsl=function(t){if(!t)return null;const o=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(o);if(n){const u=Number.parseFloat(n[4]),d=(Number.parseFloat(n[1])%360+360)%360,h=c(Number.parseFloat(n[2]),0,100),s=c(Number.parseFloat(n[3]),0,100),e=c(Number.isNaN(u)?1:u,0,1);return[d,h,s,e]}return null};a.get.hwb=function(t){if(!t)return null;const o=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(o);if(n){const u=Number.parseFloat(n[4]),d=(Number.parseFloat(n[1])%360+360)%360,h=c(Number.parseFloat(n[2]),0,100),s=c(Number.parseFloat(n[3]),0,100),e=c(Number.isNaN(u)?1:u,0,1);return[d,h,s,e]}return null};a.to.hex=function(...t){return"#"+m(t[0])+m(t[1])+m(t[2])+(t[3]<1?m(Math.round(t[3]*255)):"")};a.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};a.to.rgb.percent=function(...t){const o=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),u=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+o+"%, "+n+"%, "+u+"%)":"rgba("+o+"%, "+n+"%, "+u+"%, "+t[3]+")"};a.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};a.to.hwb=function(...t){let o="";return t.length>=4&&t[3]!==1&&(o=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+o+")"};a.to.keyword=function(...t){return b[t.slice(0,3)]};function c(t,o,n){return Math.min(Math.max(o,t),n)}function m(t){const o=Math.round(t).toString(16).toUpperCase();return o.length<2?"0"+o:o}export{a as default};
@@ -0,0 +1 @@
1
+ import f from"../../../color-string@2.0.1/node_modules/color-string/index.js";import l from"../../../color-convert@3.1.0/node_modules/color-convert/index.js";const m=["keyword","gray","hex"],g={};for(const t of Object.keys(l))g[[...l[t].labels].sort().join("")]=t;const b={};function i(t,r){if(!(this instanceof i))return new i(t,r);if(r&&r in m&&(r=null),r&&!(r in l))throw new Error("Unknown model: "+r);let o,n;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof i)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const s=f.get(t);if(s===null)throw new Error("Unable to parse color from string: "+t);this.model=s.model,n=l[this.model].channels,this.color=s.value.slice(0,n),this.valpha=typeof s.value[n]=="number"?s.value[n]:1}else if(t.length>0){this.model=r||"rgb",n=l[this.model].channels;const s=Array.prototype.slice.call(t,0,n);this.color=y(s,n),this.valpha=typeof t[n]=="number"?t[n]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;const s=Object.keys(t);"alpha"in t&&(s.splice(s.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const a=s.sort().join("");if(!(a in g))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=g[a];const{labels:u}=l[this.model],c=[];for(o=0;o<u.length;o++)c.push(t[u[o]]);this.color=y(c)}if(b[this.model])for(n=l[this.model].channels,o=0;o<n;o++){const s=b[this.model][o];s&&(this.color[o]=s(this.color[o]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}i.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let r=this.model in f.to?this:this.rgb();r=r.round(typeof t=="number"?t:1);const o=r.valpha===1?r.color:[...r.color,this.valpha];return f.to[r.model](...o)},percentString(t){const r=this.rgb().round(typeof t=="number"?t:1),o=r.valpha===1?r.color:[...r.color,this.valpha];return f.to.rgb.percent(...o)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:r}=l[this.model],{labels:o}=l[this.model];for(let n=0;n<r;n++)t[o[n]]=this.color[n];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new i([...this.color.map(w(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new i([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:e("rgb",0,h(255)),green:e("rgb",1,h(255)),blue:e("rgb",2,h(255)),hue:e(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:e("hsl",1,h(100)),lightness:e("hsl",2,h(100)),saturationv:e("hsv",1,h(100)),value:e("hsv",2,h(100)),chroma:e("hcg",1,h(100)),gray:e("hcg",2,h(100)),white:e("hwb",1,h(100)),wblack:e("hwb",2,h(100)),cyan:e("cmyk",0,h(100)),magenta:e("cmyk",1,h(100)),yellow:e("cmyk",2,h(100)),black:e("cmyk",3,h(100)),x:e("xyz",0,h(95.047)),y:e("xyz",1,h(100)),z:e("xyz",2,h(108.833)),l:e("lab",0,h(100)),a:e("lab",1),b:e("lab",2),keyword(t){return t!==void 0?new i(t):l[this.model].keyword(this.color)},hex(t){return t!==void 0?new i(t):f.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new i(t);const r=this.rgb().round().color;let o=Math.round(this.valpha*255).toString(16).toUpperCase();return o.length===1&&(o="0"+o),f.to.hex(...r)+o},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color,r=[];for(const[o,n]of t.entries()){const s=n/255;r[o]=s<=.04045?s/12.92:((s+.055)/1.055)**2.4}return .2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(t){const r=this.luminosity(),o=t.luminosity();return r>o?(r+.05)/(o+.05):(o+.05)/(r+.05)},level(t){const r=this.contrast(t);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let r=0;r<3;r++)t.color[r]=255-t.color[r];return t},lighten(t){const r=this.hsl();return r.color[2]+=r.color[2]*t,r},darken(t){const r=this.hsl();return r.color[2]-=r.color[2]*t,r},saturate(t){const r=this.hsl();return r.color[1]+=r.color[1]*t,r},desaturate(t){const r=this.hsl();return r.color[1]-=r.color[1]*t,r},whiten(t){const r=this.hwb();return r.color[1]+=r.color[1]*t,r},blacken(t){const r=this.hwb();return r.color[2]+=r.color[2]*t,r},grayscale(){const t=this.rgb().color,r=t[0]*.3+t[1]*.59+t[2]*.11;return i.rgb(r,r,r)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const r=this.hsl();let o=r.color[0];return o=(o+t)%360,o=o<0?360+o:o,r.color[0]=o,r},mix(t,r){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const o=t.rgb(),n=this.rgb(),s=r===void 0?.5:r,a=2*s-1,u=o.alpha()-n.alpha(),c=((a*u===-1?a:(a+u)/(1+a*u))+1)/2,p=1-c;return i.rgb(c*o.red()+p*n.red(),c*o.green()+p*n.green(),c*o.blue()+p*n.blue(),o.alpha()*s+n.alpha()*(1-s))}};for(const t of Object.keys(l)){if(m.includes(t))continue;const{channels:r}=l[t];i.prototype[t]=function(...o){return this.model===t?new i(this):o.length>0?new i(o,t):new i([...v(l[this.model][t].raw(this.color)),this.valpha],t)},i[t]=function(...o){let n=o[0];return typeof n=="number"&&(n=y(o,r)),new i(n,t)}}function d(t,r){return Number(t.toFixed(r))}function w(t){return function(r){return d(r,t)}}function e(t,r,o){t=Array.isArray(t)?t:[t];for(const n of t)(b[n]||=[])[r]=o;return t=t[0],function(n){let s;return n!==void 0?(o&&(n=o(n)),s=this[t](),s.color[r]=n,s):(s=this[t]().color[r],o&&(s=o(s)),s)}}function h(t){return function(r){return Math.max(0,Math.min(t,r))}}function v(t){return Array.isArray(t)?t:[t]}function y(t,r){for(let o=0;o<r;o++)typeof t[o]!="number"&&(t[o]=0);return t}export{i as default};
@@ -1,4 +1,4 @@
1
- import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";class d{constructor(t){this.bits=t instanceof d?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class g{constructor(t,e,i){this.start=t,this.end=e,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new g(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let e=this;for(;e;)t(e),e=e.next}eachPrevious(t){let e=this;for(;e;)t(e),e=e.previous}edit(t,e,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const e=t-this.start,i=this.original.slice(0,e),n=this.original.slice(e);this.original=i;const r=new g(t,this.end,n);return r.outro=this.outro,this.outro="",this.end=t,this.edited?(r.edit("",!1),this.content=""):this.content=i,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const e=this.content.replace(t,"");if(e.length)return e!==this.content&&(this.split(this.start+e.length).edit("",void 0,!0),this.edited&&this.edit(e,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const e=this.content.replace(t,"");if(e.length){if(e!==this.content){const i=this.split(this.end-e.length);this.edited&&i.edit(e,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function C(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?u=>globalThis.btoa(unescape(encodeURIComponent(u))):typeof Buffer=="function"?u=>Buffer.from(u,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const S=C();class y{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=b(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+S(this.toString())}}function v(u){const t=u.split(`
1
+ import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";class d{constructor(t){this.bits=t instanceof d?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class g{constructor(t,e,i){this.start=t,this.end=e,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new g(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let e=this;for(;e;)t(e),e=e.next}eachPrevious(t){let e=this;for(;e;)t(e),e=e.previous}edit(t,e,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const e=t-this.start,i=this.original.slice(0,e),n=this.original.slice(e);this.original=i;const r=new g(t,this.end,n);return r.outro=this.outro,this.outro="",this.end=t,this.edited?(r.edit("",!1),this.content=""):this.content=i,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const e=this.content.replace(t,"");if(e.length)return e!==this.content&&(this.split(this.start+e.length).edit("",void 0,!0),this.edited&&this.edit(e,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const e=this.content.replace(t,"");if(e.length){if(e!==this.content){const i=this.split(this.end-e.length);this.edited&&i.edit(e,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function C(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?u=>globalThis.btoa(unescape(encodeURIComponent(u))):typeof Buffer=="function"?u=>Buffer.from(u,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const S=C();class y{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=b(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+S(this.toString())}}function v(u){const t=u.split(`
2
2
  `),e=t.filter(r=>/^\t+/.test(r)),i=t.filter(r=>/^ {2,}/.test(r));if(e.length===0&&i.length===0)return null;if(e.length>=i.length)return" ";const n=i.reduce((r,s)=>{const h=/^ +/.exec(s)[0].length;return Math.min(h,r)},1/0);return new Array(n+1).join(" ")}function E(u,t){const e=u.split(/[/\\]/),i=t.split(/[/\\]/);for(e.pop();e[0]===i[0];)e.shift(),i.shift();if(e.length){let n=e.length;for(;n--;)e[n]=".."}return e.concat(i).join("/")}const x=Object.prototype.toString;function k(u){return x.call(u)==="[object Object]"}function w(u){const t=u.split(`
3
3
  `),e=[];for(let i=0,n=0;i<t.length;i++)e.push(n),n+=t[i].length+1;return function(n){let r=0,s=e.length;for(;r<s;){const l=r+s>>1;n<e[l]?s=l:r=l+1}const h=r-1,o=n-e[h];return{line:h,column:o}}}const L=/\w/;class R{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,e,i,n){if(e.length){const r=e.length-1;let s=e.indexOf(`
4
4
  `,0),h=-1;for(;s>=0&&r>s;){const l=[this.generatedCodeColumn,t,i.line,i.column];n>=0&&l.push(n),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=s,s=e.indexOf(`
@@ -7,4 +7,4 @@ import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.4/node_modul
7
7
  `);if(e.length>1){for(let i=0;i<e.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}}const c=`
8
8
  `,a={insertLeft:!1,insertRight:!1,storeName:!1};class m{constructor(t,e={}){const i=new g(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:e.filename},indentExclusionRanges:{writable:!0,value:e.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new d},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:e.ignoreList},offset:{writable:!0,value:e.offset||0}}),this.byStart[0]=i,this.byEnd[t.length]=i}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.appendLeft(e):this.intro+=e,this}appendRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.appendRight(e):this.outro+=e,this}clone(){const t=new m(this.original,{filename:this.filename,offset:this.offset});let e=this.firstChunk,i=t.firstChunk=t.lastSearchedChunk=e.clone();for(;e;){t.byStart[i.start]=i,t.byEnd[i.end]=i;const n=e.next,r=n&&n.clone();r&&(i.next=r,r.previous=i,i=r),e=n}return t.lastChunk=i,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new d(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const e=0,i=Object.keys(this.storedNames),n=new R(t.hires),r=w(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(s=>{const h=r(s.start);s.intro.length&&n.advance(s.intro),s.edited?n.addEdit(e,s.content,h,s.storeName?i.indexOf(s.original):-1):n.addUneditedChunk(e,s,this.original,h,this.sourcemapLocations),s.outro.length&&n.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?E(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:i,mappings:n.raw,x_google_ignoreList:this.ignoreList?[e]:void 0}}generateMap(t){return new y(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=v(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,e){const i=/^[^\r\n]/gm;if(k(t)&&(e=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;e=e||{};const n={};e.exclude&&(typeof e.exclude[0]=="number"?[e.exclude]:e.exclude).forEach(f=>{for(let p=f[0];p<f[1];p+=1)n[p]=!0});let r=e.indentStart!==!1;const s=l=>r?`${t}${l}`:(r=!0,l);this.intro=this.intro.replace(i,s);let h=0,o=this.firstChunk;for(;o;){const l=o.end;if(o.edited)n[h]||(o.content=o.content.replace(i,s),o.content.length&&(r=o.content[o.content.length-1]===`
9
9
  `));else for(h=o.start;h<l;){if(!n[h]){const f=this.original[h];f===`
10
- `?r=!0:f!=="\r"&&r&&(r=!1,h===o.start||(this._splitChunk(o,h),o=o.next),o.prependRight(t))}h+=1}h=o.end,o=o.next}return this.outro=this.outro.replace(i,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,e){return a.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),a.insertLeft=!0),this.appendLeft(t,e)}insertRight(t,e){return a.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),a.insertRight=!0),this.prependRight(t,e)}move(t,e,i){if(t=t+this.offset,e=e+this.offset,i=i+this.offset,i>=t&&i<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(i);const n=this.byStart[t],r=this.byEnd[e],s=n.previous,h=r.next,o=this.byStart[i];if(!o&&r===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return s&&(s.next=h),h&&(h.previous=s),l&&(l.next=n),o&&(o.previous=r),n.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,r.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=r),this}overwrite(t,e,i,n){return n=n||{},this.update(t,e,i,{...n,overwrite:!n.contentOnly})}update(t,e,i,n){if(t=t+this.offset,e=e+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),n===!0&&(a.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),a.storeName=!0),n={storeName:!0});const r=n!==void 0?n.storeName:!1,s=n!==void 0?n.overwrite:!1;if(r){const l=this.original.slice(t,e);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],o=this.byEnd[e];if(h){let l=h;for(;l!==o;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}h.edit(i,r,!s)}else{const l=new g(t,e,"").edit(i,r);o.next=l,l.previous=o}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.prependLeft(e):this.intro=e+this.intro,this}prependRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.prependRight(e):this.outro=e+this.outro,this}remove(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=e>i.end?this.byStart[i.end]:null;return this}reset(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.reset(),i=e>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(c);if(t!==-1)return this.outro.substr(t+1);let e=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(c),t!==-1)return i.outro.substr(t+1)+e;e=i.outro+e}if(i.content.length>0){if(t=i.content.lastIndexOf(c),t!==-1)return i.content.substr(t+1)+e;e=i.content+e}if(i.intro.length>0){if(t=i.intro.lastIndexOf(c),t!==-1)return i.intro.substr(t+1)+e;e=i.intro+e}}while(i=i.previous);return t=this.intro.lastIndexOf(c),t!==-1?this.intro.substr(t+1)+e:this.intro+e}slice(t=0,e=this.original.length-this.offset){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const r=n;for(;n;){n.intro&&(r!==n||n.start===t)&&(i+=n.intro);const s=n.start<e&&n.end>=e;if(s&&n.edited&&n.end!==e)throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);const h=r===n?t-n.start:0,o=s?n.content.length+e-n.end:n.content.length;if(i+=n.content.slice(h,o),n.outro&&(!s||n.end===e)&&(i+=n.outro),s)break;n=n.next}return i}snip(t,e){const i=this.clone();return i.remove(0,t),i.remove(e,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let e=this.lastSearchedChunk;const i=t>e.end;for(;e;){if(e.contains(t))return this._splitChunk(e,t);e=i?this.byStart[e.end]:this.byEnd[e.start]}}_splitChunk(t,e){if(t.edited&&t.content.length){const n=w(this.original)(e);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${t.original}")`)}const i=t.split(e);return this.byEnd[e]=t,this.byStart[e]=i,this.byEnd[i.end]=i,t===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,e=this.firstChunk;for(;e;)t+=e.toString(),e=e.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,e=0;do e+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return e}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let i=this.lastChunk;do{const n=i.end,r=i.trimEnd(e);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.previous}while(i);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let i=this.firstChunk;do{const n=i.end,r=i.trimStart(e);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.next}while(i);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,e){function i(r,s){return typeof e=="string"?e.replace(/\$(\$|&|\d+)/g,(h,o)=>o==="$"?"$":o==="&"?r[0]:+o<r.length?r[+o]:`$${o}`):e(...r,r.index,s,r.groups)}function n(r,s){let h;const o=[];for(;h=r.exec(s);)o.push(h);return o}if(t.global)n(t,this.original).forEach(s=>{if(s.index!=null){const h=i(s,this.original);h!==s[0]&&this.overwrite(s.index,s.index+s[0].length,h)}});else{const r=this.original.match(t);if(r&&r.index!=null){const s=i(r,this.original);s!==r[0]&&this.overwrite(r.index,r.index+r[0].length,s)}}return this}_replaceString(t,e){const{original:i}=this,n=i.indexOf(t);return n!==-1&&this.overwrite(n,n+t.length,e),this}replace(t,e){return typeof t=="string"?this._replaceString(t,e):this._replaceRegexp(t,e)}_replaceAllString(t,e){const{original:i}=this,n=t.length;for(let r=i.indexOf(t);r!==-1;r=i.indexOf(t,r+n))i.slice(r,r+n)!==e&&this.overwrite(r,r+n,e);return this}replaceAll(t,e){if(typeof t=="string")return this._replaceAllString(t,e);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,e)}}export{y as SourceMap,m as default};
10
+ `?r=!0:f!=="\r"&&r&&(r=!1,h===o.start||(this._splitChunk(o,h),o=o.next),o.prependRight(t))}h+=1}h=o.end,o=o.next}return this.outro=this.outro.replace(i,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,e){return a.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),a.insertLeft=!0),this.appendLeft(t,e)}insertRight(t,e){return a.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),a.insertRight=!0),this.prependRight(t,e)}move(t,e,i){if(t=t+this.offset,e=e+this.offset,i=i+this.offset,i>=t&&i<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(i);const n=this.byStart[t],r=this.byEnd[e],s=n.previous,h=r.next,o=this.byStart[i];if(!o&&r===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return s&&(s.next=h),h&&(h.previous=s),l&&(l.next=n),o&&(o.previous=r),n.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,r.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=r),this}overwrite(t,e,i,n){return n=n||{},this.update(t,e,i,{...n,overwrite:!n.contentOnly})}update(t,e,i,n){if(t=t+this.offset,e=e+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),n===!0&&(a.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),a.storeName=!0),n={storeName:!0});const r=n!==void 0?n.storeName:!1,s=n!==void 0?n.overwrite:!1;if(r){const l=this.original.slice(t,e);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],o=this.byEnd[e];if(h){let l=h;for(;l!==o;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}h.edit(i,r,!s)}else{const l=new g(t,e,"").edit(i,r);o.next=l,l.previous=o}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.prependLeft(e):this.intro=e+this.intro,this}prependRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.prependRight(e):this.outro=e+this.outro,this}remove(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=e>i.end?this.byStart[i.end]:null;return this}reset(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.reset(),i=e>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(c);if(t!==-1)return this.outro.substr(t+1);let e=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(c),t!==-1)return i.outro.substr(t+1)+e;e=i.outro+e}if(i.content.length>0){if(t=i.content.lastIndexOf(c),t!==-1)return i.content.substr(t+1)+e;e=i.content+e}if(i.intro.length>0){if(t=i.intro.lastIndexOf(c),t!==-1)return i.intro.substr(t+1)+e;e=i.intro+e}}while(i=i.previous);return t=this.intro.lastIndexOf(c),t!==-1?this.intro.substr(t+1)+e:this.intro+e}slice(t=0,e=this.original.length-this.offset){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const r=n;for(;n;){n.intro&&(r!==n||n.start===t)&&(i+=n.intro);const s=n.start<e&&n.end>=e;if(s&&n.edited&&n.end!==e)throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);const h=r===n?t-n.start:0,o=s?n.content.length+e-n.end:n.content.length;if(i+=n.content.slice(h,o),n.outro&&(!s||n.end===e)&&(i+=n.outro),s)break;n=n.next}return i}snip(t,e){const i=this.clone();return i.remove(0,t),i.remove(e,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let e=this.lastSearchedChunk,i=e;const n=t>e.end;for(;e;){if(e.contains(t))return this._splitChunk(e,t);if(e=n?this.byStart[e.end]:this.byEnd[e.start],e===i)return;i=e}}_splitChunk(t,e){if(t.edited&&t.content.length){const n=w(this.original)(e);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${t.original}")`)}const i=t.split(e);return this.byEnd[e]=t,this.byStart[e]=i,this.byEnd[i.end]=i,t===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,e=this.firstChunk;for(;e;)t+=e.toString(),e=e.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,e=0;do e+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return e}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let i=this.lastChunk;do{const n=i.end,r=i.trimEnd(e);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.previous}while(i);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let i=this.firstChunk;do{const n=i.end,r=i.trimStart(e);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.next}while(i);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,e){function i(r,s){return typeof e=="string"?e.replace(/\$(\$|&|\d+)/g,(h,o)=>o==="$"?"$":o==="&"?r[0]:+o<r.length?r[+o]:`$${o}`):e(...r,r.index,s,r.groups)}function n(r,s){let h;const o=[];for(;h=r.exec(s);)o.push(h);return o}if(t.global)n(t,this.original).forEach(s=>{if(s.index!=null){const h=i(s,this.original);h!==s[0]&&this.overwrite(s.index,s.index+s[0].length,h)}});else{const r=this.original.match(t);if(r&&r.index!=null){const s=i(r,this.original);s!==r[0]&&this.overwrite(r.index,r.index+r[0].length,s)}}return this}_replaceString(t,e){const{original:i}=this,n=i.indexOf(t);return n!==-1&&this.overwrite(n,n+t.length,e),this}replace(t,e){return typeof t=="string"?this._replaceString(t,e):this._replaceRegexp(t,e)}_replaceAllString(t,e){const{original:i}=this,n=t.length;for(let r=i.indexOf(t);r!==-1;r=i.indexOf(t,r+n))i.slice(r,r+n)!==e&&this.overwrite(r,r+n,e);return this}replaceAll(t,e){if(typeof t=="string")return this._replaceAllString(t,e);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,e)}}export{y as SourceMap,m as default};
@@ -1 +1 @@
1
- const a='.gator-avatar{display:inline-flex;border-radius:50%;background-color:var(--ngc-avatar-background-color, #C3CDD6);justify-content:center;font-family:var(--text-family-body, "Open Sans", sans-serif);font-weight:700;color:var(--ngc-avatar-color, #1F1F1F)}.gator-avatar-content{display:flex;align-items:center}.gator-avatar-image{background-size:cover;background-position:center;overflow:hidden;border-radius:50%}.gator-avatar-interactive:hover{cursor:pointer;box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-avatar-interactive:focus-visible{outline:2px solid var(--color-stroke-brand, #11395B)}.gator-avatar-interactive:active{outline:1px solid var(--color-stroke-secondary, #BFBFBF)}';export{a as default};
1
+ const a='.gator-avatar{display:inline-flex;border-radius:50%;background-color:var(--ngc-avatar-background-color, #C3CDD6);justify-content:center;font-family:var(--text-family-body, "Open Sans", sans-serif);font-weight:700;color:var(--ngc-avatar-color, #1F1F1F)}.gator-avatar-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.gator-avatar-content slot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.gator-avatar-image{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;overflow:hidden;border-radius:50%}.gator-avatar-interactive:hover{cursor:pointer;box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-avatar-interactive:focus-visible{outline:2px solid var(--color-stroke-brand, #11395B)}.gator-avatar-interactive:active{outline:1px solid var(--color-stroke-secondary, #BFBFBF)}';export{a as default};
@@ -1 +1 @@
1
- const e='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem;margin:.5rem 0;padding-left:.5rem}.gator-checkbox-title{font-family:var(--text-family-body, "Open Sans", sans-serif);color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox-input-wrapper:has(:focus-visible){box-shadow:0 0 0 2px var(--color-surface-primary-white, #FFF),0 0 0 4px var(--ngc-checkbox-color-focus-indicator, var(--shadow-color-focus-border, #11395B))}.gator-checkbox-input-wrapper:has(:focus-visible) input:focus-visible{outline:none}input{margin:0;border-radius:4px;accent-color:var(--ngc-checkbox-color-selected, var(--checkbox-color-selected, #11395B))}.gator-checkbox-input-wrapper{display:flex;align-items:center;border-radius:2px;outline:1px solid transparent;outline-offset:-1px;transform:scale(1.4)}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-error-hover, var(--color-feedback-error, #AA330E));background:var(--color-surface-error, #FAEBE7)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-border-unselected, #6D6D6D);background:var(--color-surface-primary-white, #FFF)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-border-hover, var(--checkbox-color-hover, #0E304D));background:var(--color-surface-brand-hover, #E4ECF2)}input:not(:checked,:indeterminate,:disabled){opacity:0}input:checked,input:indeterminate,input:disabled{opacity:1}input:invalid{accent-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}';export{e as default};
1
+ const e='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem;margin:var(--ngc-checkbox-margin-y, .5rem) 0;padding-left:.5rem}.gator-checkbox-title{font-family:var(--text-family-body, "Open Sans", sans-serif);color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox-input-wrapper:has(:focus-visible){box-shadow:0 0 0 2px var(--color-surface-primary-white, #FFF),0 0 0 4px var(--ngc-checkbox-color-focus-indicator, var(--shadow-color-focus-border, #11395B))}.gator-checkbox-input-wrapper:has(:focus-visible) input:focus-visible{outline:none}input{margin:0;border-radius:4px;accent-color:var(--ngc-checkbox-color-selected, var(--checkbox-color-selected, #11395B))}.gator-checkbox-input-wrapper{display:flex;align-items:center;border-radius:2px;outline:1px solid transparent;outline-offset:-1px;transform:scale(1.4)}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-error-hover, var(--color-feedback-error, #AA330E));background:var(--color-surface-error, #FAEBE7)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-border-unselected, #6D6D6D);background:var(--color-surface-primary-white, #FFF)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-border-hover, var(--checkbox-color-hover, #0E304D));background:var(--color-surface-brand-hover, #E4ECF2)}input:not(:checked,:indeterminate,:disabled){opacity:0}input:checked,input:indeterminate,input:disabled{opacity:1}input:invalid{accent-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}';export{e as default};
@@ -1 +1 @@
1
- const c=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}::slotted(ngc-checkbox),ngc-checkbox{--ngc-input-margin-bottom: 0}";export{c as default};
1
+ const c=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}::slotted(ngc-checkbox),ngc-checkbox{--ngc-input-margin-bottom: 0;--ngc-checkbox-margin-y: .25rem}";export{c as default};
@@ -1 +1 @@
1
- const t=":host .gator-form-element-control{padding:0}:host textarea{min-height:6rem;padding:12px 30px 12px 16px;resize:vertical}:host .gator-icon-right{position:absolute;right:var(--spacing-3, .75rem);top:var(--spacing-3, .75rem)}";export{t as default};
1
+ const t=":host .gator-form-element-control{padding:0}:host textarea{padding:12px 30px 12px 16px;resize:vertical}:host .gator-icon-right{position:absolute;right:var(--spacing-3, .75rem);top:var(--spacing-3, .75rem)}";export{t as default};
@@ -1 +1 @@
1
- const a=':root,:host{--ngc-tabs-header-background-color: var(--color-surface-brand, #F3F5F7);--ngc-tabs-first-tab-left-spacing: var(--spacing-5, 1.5rem)}.ngc-page-header-background{padding:var(--spacing-7, 2rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem);background:var(--color-surface-brand, #F3F5F7)}.ngc-page-header-text-detail h1{font-family:var(--text-family-headings, "nCino+Avenir"),sans-serif;font-size:var(--text-size-headings-1, 2.5rem);margin-bottom:var(--spacing-2, .5rem);margin-top:0;line-height:3rem}.ngc-page-header-breadcrumbs{margin-bottom:var(--spacing-5, 1.5rem)}.ngc-page-header-background{display:flex;flex-direction:row;justify-content:space-between}.ngc-page-header-left,.ngc-page-header-actions{display:flex;flex-direction:column}.ngc-page-header-actions-loading{display:flex}.ngc-page-header-actions-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-16, 1rem) 0 0}.ngc-page-header-tabs-hidden{display:none}.ngc-page-header-tabs-loading{display:flex;margin-top:var(--spacing-gap-24, 1.5rem);margin-bottom:calc(-1 * var(--spacing-gap-24, 1.5rem))}.ngc-page-header-tabs-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-8, 1rem) 0 0}';export{a as default};
1
+ const a=':root,:host{--ngc-tabs-header-background-color: var(--color-surface-brand, #F3F5F7);--ngc-tabs-first-tab-left-spacing: var(--spacing-5, 1.5rem)}.ngc-page-header-background{padding:var(--spacing-7, 2rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem);background:var(--color-surface-brand, #F3F5F7)}.ngc-page-header-text-detail h1{font-family:var(--text-family-headings, "nCino+Avenir"),sans-serif;font-size:var(--text-size-headings-1, 2.5rem);margin-bottom:var(--spacing-2, .5rem);margin-top:0;line-height:3rem}.ngc-page-header-breadcrumbs{margin-bottom:var(--spacing-5, 1.5rem);min-height:26px}.ngc-page-header-background{display:flex;flex-direction:row;justify-content:space-between}.ngc-page-header-left,.ngc-page-header-actions{display:flex;flex-direction:column}.ngc-page-header-actions-loading{display:flex}.ngc-page-header-actions-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-16, 1rem) 0 0}.ngc-page-header-tabs-hidden{display:none}.ngc-page-header-tabs-loading{display:flex;margin-top:var(--spacing-gap-24, 1.5rem);margin-bottom:calc(-1 * var(--spacing-gap-24, 1.5rem))}.ngc-page-header-tabs-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-8, 1rem) 0 0}';export{a as default};
@@ -0,0 +1 @@
1
+ const a='.gator-skip-link{display:flex;position:absolute;z-index:1000;width:auto;height:auto;font-family:var(--text-family-body, "Open Sans");font-size:var(--text-font-size-subtitle-1, 17px)}.gator-skip-link-button{display:flex;border-radius:var(--border-radius-x-small, 2px);background:var(--color-surface-inverse, #1F1F1F);box-shadow:var(--shadow-x-offset-0, 0) var(--shadow-y-offset-0, 0) var(--shadow-blur-0, 0) var(--size-2, 2px) var(--color-border-inverse, #E5E5E5),var(--shadow-x-offset-0, 0) var(--shadow-y-offset-0, 0) var(--shadow-blur-0, 0) var(--size-4, 4px) var(--color-border-neutral, #1F1F1F);padding:var(--spacing-padding-8, 8px) var(--button-size-large-padding-horiz, 16px);color:var(--color-icon-inverse, #FFF)}.gator-skip-link-button:focus-visible{outline:none}.gator-skip-link-list{min-width:200px;display:flex;padding:var(--spacing-padding-8, 8px) 0;flex-direction:column;justify-content:center;align-items:flex-start;border-radius:var(--border-radius-medium, 8px);border:2px solid var(--color-border-neutral, #1F1F1F);background:var(--color-surface-primary-white, #FFF);box-shadow:var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-skip-link-list .gator-skip-links-title{font-weight:700;padding:var(--spacing-gap-8, 8px) var(--spacing-gap-16, 16px)}';export{a as default};
@@ -0,0 +1 @@
1
+ const a=".gator-skip-link-list-item{padding:var(--spacing-gap-8, 8px) var(--spacing-gap-16, 16px)}";export{a as default};
@@ -1 +1 @@
1
- const e=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}";export{e as default};
1
+ const e=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gator-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0}";export{e as default};
@@ -7,9 +7,11 @@ export declare class NgcAvatar extends NjcAvatar {
7
7
  static styles: import('lit').CSSResult[];
8
8
  _avatarRef: Ref<HTMLDivElement>;
9
9
  protected _size: number;
10
+ protected _srcValid: boolean;
10
11
  render(): import('lit').TemplateResult<1>;
11
12
  get srcIsPopulated(): boolean | "";
12
- updated(): void;
13
+ updated(changedProps: Map<string, unknown>): Promise<void>;
14
+ private isImageLoadable;
13
15
  applySizeToSlottedIcon(): void;
14
16
  get pixelSize(): number;
15
17
  }
@@ -1,6 +1,12 @@
1
1
  import { Ref } from 'lit/directives/ref.js';
2
2
  import { TestableLitElement } from '../../../../utils/components/testable-lit-element/testable-lit-element.ts';
3
3
  export declare class NgcBreadcrumb extends TestableLitElement {
4
+ static shadowRootOptions: {
5
+ delegatesFocus: boolean;
6
+ mode: ShadowRootMode;
7
+ serializable?: boolean;
8
+ slotAssignment?: SlotAssignmentMode;
9
+ };
4
10
  static styles: import('lit').CSSResult[];
5
11
  current: boolean;
6
12
  first: boolean;
@@ -74,6 +74,11 @@ export declare class InputBase extends TestableLitElement {
74
74
  * @type {string}
75
75
  */
76
76
  endIcon: string;
77
+ /**
78
+ * @property {string} minLength - The minimum number of characters allowed in the input.
79
+ * @type {string}
80
+ */
81
+ minLength: number | undefined;
77
82
  /**
78
83
  * @property {string} maxLength - The maximum number of characters allowed in the input.
79
84
  * @type {string}
@@ -37,6 +37,11 @@ export declare class NgcInputDate extends NgcInputText {
37
37
  endDate: Date | undefined;
38
38
  startDateLabel: string;
39
39
  endDateLabel: string;
40
+ /**
41
+ * @property {boolean} maskInput - Whether the input should be masked. If true, the input will show a masked format of the date.
42
+ */
43
+ maskInput: boolean;
44
+ _value: string;
40
45
  datepickerRef: Ref<NgcDatepicker>;
41
46
  datepickerTriggerRef: Ref<NgcIconButton>;
42
47
  startInputRef: Ref<NgcInputText>;
@@ -57,6 +62,8 @@ export declare class NgcInputDate extends NgcInputText {
57
62
  protected _endDate: Date | typeof NaN | null;
58
63
  protected _startDateInputValue: string | undefined;
59
64
  protected _endDateInputValue: string | undefined;
65
+ protected _maskPattern: string;
66
+ protected _dateString: string;
60
67
  _cleanup: (() => void) | undefined;
61
68
  static styles: import('lit').CSSResult[];
62
69
  connectedCallback(): void;
@@ -70,13 +77,15 @@ export declare class NgcInputDate extends NgcInputText {
70
77
  get datepickerSelectedDate(): Date | null;
71
78
  handleChange(e: Event): void;
72
79
  handleInputEvent(e: InputEvent): void;
80
+ handleInputFocusIn(): void;
81
+ handleInputFocusOut(): void;
73
82
  setDateValue(dateValue: Date | null | number, errorMessage?: string | null): void;
74
83
  handleDatepickerChange(e: CustomEvent): void;
75
84
  get dateEventData(): {
76
85
  bubbles: boolean;
77
86
  composed: boolean;
78
87
  detail: {
79
- value: unknown;
88
+ value: string;
80
89
  valueAsDate: number | Date | null;
81
90
  };
82
91
  };
@@ -109,6 +118,7 @@ export declare class NgcInputDate extends NgcInputText {
109
118
  */
110
119
  private setLocaleDateFormat;
111
120
  private getDateValueFromLocalizedDateString;
121
+ private maskDate;
112
122
  toggleVisibility(): void;
113
123
  assignPosition(): void;
114
124
  handleError(errorReason: DateValidationError): string | null;
@@ -1,6 +1,6 @@
1
1
  import { NgcInputText } from '../input-text/input-text.gator.ts';
2
2
  type NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE = 'numeric' | 'alpha' | 'alphanumeric';
3
- type NGC_MASKED_INPUT_MASK_PRESET = 'ssn' | 'ein' | null;
3
+ type NGC_MASKED_INPUT_MASK_PRESET = 'ssn' | 'ein' | 'variable' | null;
4
4
  export declare class NgcInputMasked extends NgcInputText {
5
5
  static styles: import('lit').CSSResult[];
6
6
  /**
@@ -18,6 +18,11 @@ export declare class NgcInputMasked extends NgcInputText {
18
18
  @type NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE
19
19
  */
20
20
  acceptedCharType: NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE;
21
+ /**
22
+ @property variableMaxLength - The maximum length of the input, used for the variable mask preset
23
+ @default 10
24
+ */
25
+ variableMaxLength: number;
21
26
  value: string;
22
27
  _value: string;
23
28
  private _inputFocused;
@@ -29,6 +34,7 @@ export declare class NgcInputMasked extends NgcInputText {
29
34
  handleInputFocusIn(): void;
30
35
  handleInputFocusOut(): void;
31
36
  private get _maskPattern();
37
+ private variableMaskPattern;
32
38
  private validateChars;
33
39
  private formatValue;
34
40
  }
@@ -35,6 +35,7 @@ export declare class NgcInputText extends NgcInputBase {
35
35
  protected _value: unknown;
36
36
  protected _inputMode: INPUT_MODE_TYPE;
37
37
  protected _placeholder: string | undefined;
38
+ protected _minLength: number | undefined;
38
39
  protected _maxLength: number | undefined;
39
40
  protected _errorText: string | undefined;
40
41
  protected _internalValidationError: string | undefined;
@@ -6,7 +6,28 @@ export declare class NgcInputTextarea extends NgcInputText {
6
6
  serializable?: boolean;
7
7
  slotAssignment?: SlotAssignmentMode;
8
8
  };
9
+ /**
10
+ * @property {number} rows
11
+ * @default 2
12
+ * @description The number of visible text lines for the textarea. If it is specified, it must be a positive integer. If it is not specified, the default value is 2.
13
+ */
14
+ rows: number;
15
+ /**
16
+ * @property {boolean} autoGrow
17
+ * @default false
18
+ * @description If true, textarea will automatically expand its height to fit content. Works with rows as minimum height.
19
+ */
20
+ autoGrow: boolean;
21
+ /**
22
+ * @property {boolean} noResize
23
+ * @default false
24
+ * @description If true, disables browser's manual resize handle for textarea.
25
+ */
26
+ noResize: boolean;
9
27
  static styles: import('lit').CSSResult[];
28
+ private _autoGrowResize;
29
+ handleInputEvent(e: Event): void;
30
+ updated(changedProperties: Map<string, unknown>): void;
10
31
  render(): import('lit').TemplateResult<1>;
11
32
  }
12
33
  declare global {