@ncino/web-components 8.0.1 → 8.1.0-preview.9
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.
- package/dist/_slds/icons/svg/symbols-rtl.svg +1 -1
- package/dist/_slds/icons/svg/symbols.svg +1 -1
- package/dist/_slds/icons/symbols-rtl.svg +1 -1
- package/dist/_slds/icons/symbols.svg +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index_html.js +1 -1
- package/dist/_virtual/index_react.js +1 -1
- package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.1/node_modules/ckeditor5/dist/ckeditor5.css +1 -4
- package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
- package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +1 -1
- package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
- package/dist/components/avatar/gator/avatar.gator.js +1 -1
- package/dist/components/badge/gator/badge.gator.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +10 -4
- package/dist/components/button/gator/button.gator.js +1 -1
- package/dist/components/button-card/gator/button-card.gator.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/gator/base/card.gator.js +1 -1
- package/dist/components/card/gator/content/card-content.gator.js +1 -1
- package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
- package/dist/components/card/gator/header/card-header.gator.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +1 -1
- package/dist/components/chip/gator/chip.gator.js +1 -1
- package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
- package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/divider/gator/divider.gator.js +1 -1
- package/dist/components/fab/gator/fab.gator.js +1 -1
- package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
- package/dist/components/illustration/gator/illustration.gator.js +1 -1
- package/dist/components/image-card/gator/image-card.gator.js +25 -20
- package/dist/components/input/base/input-base.gator.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +5 -1
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-phone/input-phone.gator.js +3 -1
- package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
- package/dist/components/menu/base/gator/menu.gator.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +54 -50
- package/dist/components/page-header/gator/page-header.gator.js +3 -3
- package/dist/components/panel/gator/panel.storybook-test.js +1 -1
- package/dist/components/popover/gator/popover.gator.js +1 -1
- package/dist/components/progress-bar/gator/progress-bar.gator.js +18 -12
- package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selector/gator/selector.gator.js +1 -1
- package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
- package/dist/components/switch/gator/switch.gator.js +1 -1
- package/dist/components/table/gator/table.gator.js +1 -1
- package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
- package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
- package/dist/components/text-link/gator/text-link.gator.js +1 -1
- package/dist/components/toast/gator/base/toast.gator.js +1 -1
- package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
- package/dist/components/toast/gator/title/toast-title.gator.js +1 -1
- package/dist/components/toast-container/gator/toast-container.gator.js +1 -1
- package/dist/components/toaster/gator/toaster.gator.js +1 -1
- package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
- package/dist/design-tokens.source.json +1 -1
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-alignment@46.1.1/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@46.1.1/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autosave@46.1.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@46.1.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@46.1.1/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@46.1.1/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +2 -14
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@46.1.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@46.1.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@46.1.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@46.1.1/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@46.1.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +2 -29
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-enter@46.1.1/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-essentials@46.1.1/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@46.1.1/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +2 -5
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@46.1.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-heading@46.1.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@46.1.1/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@46.1.1/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@46.1.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@46.1.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +1 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@46.1.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@46.1.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js +1 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-indent@46.1.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +1 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-language@46.1.1/node_modules/@ckeditor/ckeditor5-language/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-link@46.1.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@46.1.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js +1 -13
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@46.1.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +2 -5
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@46.1.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@46.1.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@46.1.1/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@46.1.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@46.1.1/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +1 -31
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@46.1.1/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-select-all@46.1.1/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@46.1.1/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@46.1.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@46.1.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-style@46.1.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@46.1.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js +1 -16
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@46.1.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +1 -13
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@46.1.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -25
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-undo@46.1.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-upload@46.1.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@46.1.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +3 -108
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@46.1.1/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +1 -10
- package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@46.1.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1 -4
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.9/node_modules/@figma/code-connect/package.json.js +1 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/deferred.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/fnv1a64.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/locale-status-event.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-controller.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js +1 -5
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js +1 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +1 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +1 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +1 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +1 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +1 -5
- package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +1 -17
- package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +1 -7
- package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
- package/dist/node_modules/.pnpm/axe-core@4.11.0/node_modules/axe-core/axe.js +1 -11
- package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +1 -6
- package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +1 -217
- package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js +1 -0
- package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/index.js +1 -0
- package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/route.js +1 -0
- package/dist/node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js +1 -0
- package/dist/node_modules/.pnpm/{color@5.0.2 → color@5.0.3}/node_modules/color/index.js +1 -1
- package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
- package/dist/node_modules/.pnpm/libphonenumber-js@1.12.26/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
- package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/async-directive.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/live.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +1 -5
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +1 -5
- package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js +1 -9
- package/dist/node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-JVSKG4YS.js +48 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-MM7DTO55.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-OPCDBBL3.js +6 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-SN4J4IQ3.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-VUAFL5XK.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/client-logger/index.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/core-events/index.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/instrumenter/index.js +1 -0
- package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/test/index.js +152 -0
- package/dist/node_modules/.pnpm/{string_decoder@1.3.0 → string_decoder@1.1.1}/node_modules/string_decoder/lib/string_decoder.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/body.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fileapi/util.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/frame.js +1 -1
- package/dist/packages/web-components/src/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/image-card/gator/image-card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/progress-bar/gator/progress-bar.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/text-link/gator/text-link.gator.scss.js +1 -1
- package/dist/packages/web-components/src/index.slds.scss.js +1 -1
- package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +3 -5
- package/dist/types/components/image-card/gator/image-card.gator.d.ts +5 -0
- package/dist/types/components/modal/gator/modal.gator.d.ts +16 -3
- package/dist/types/components/page-header/gator/page-header.gator.d.ts +0 -1
- package/dist/types/components/progress-bar/gator/progress-bar.gator.d.ts +8 -0
- package/dist/types/generated/locale-codes.d.ts +10 -0
- package/dist/types/generated/locales/es-419.d.ts +6 -1
- package/dist/types/generated/locales/fr-CA.d.ts +6 -1
- package/dist/types/generated/locales/zh-Hans.d.ts +6 -1
- package/dist/utils/brand-color-utils.js +1 -1
- package/dist/utils/components/ngc-component.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +21 -21
- package/web-types.json +30 -15
- package/dist/generated/locale-codes.d.js +0 -1
- package/dist/generated/locales/es-419.d.js +0 -1
- package/dist/generated/locales/fr-CA.d.js +0 -1
- package/dist/generated/locales/zh-Hans.d.js +0 -1
- package/dist/node_modules/.pnpm/@figma_code-connect@1.3.7/node_modules/@figma/code-connect/package.json.js +0 -1
- package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +0 -1
- package/dist/node_modules/.pnpm/libphonenumber-js@1.12.24/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
- package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +0 -1
- package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/client-logger/index.js +0 -1
- package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/core-events/index.js +0 -1
- package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/instrumenter/index.js +0 -48
- package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/test/index.js +0 -217
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/client/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/client/figma_client.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/fetch.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/logging.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/updates.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/external_types.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/helpers.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/index_common.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/index_html.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/template_literal.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/react/external.js +0 -0
- /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/react/index_react.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3__playwright@1.56.1_vite@_goyfjr2bjpgz2pt2645hrgmcse → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3__playwright@1.56.1_fa5be4b0345b48b65ec4b7072214c2b3}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/format.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parse.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
- /package/dist/packages/{web-components/src/tokens/primitive.tokens.scss.js → styles/src/gator/tokens/primitive.tokens.css.js} +0 -0
- /package/dist/packages/{web-components/src/tokens/semantic.tokens.scss.js → styles/src/gator/tokens/semantic.tokens.css.js} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import{__name as s}from"./chunk-MM7DTO55.js";var si={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]},bn=Object.entries(si);function _e(e){return String(e)}s(_e,"a");_e.open="";_e.close="";bn.reduce((e,[t])=>(e[t]=_e,e),{isColorSupported:!1});function $n(e=!1){let t=typeof process<"u"?process:void 0,n=t?.env||{},r=t?.argv||[];return!("NO_COLOR"in n||r.includes("--no-color"))&&("FORCE_COLOR"in n||r.includes("--color")||t?.platform==="win32"||e&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}s($n,"C");function Sn(e=!1){let t=$n(e),n=s((c,a,l,g)=>{let h="",y=0;do h+=c.substring(y,g)+l,y=g+a.length,g=c.indexOf(a,y);while(~g);return h+c.substring(y)},"i"),r=s((c,a,l=c)=>{let g=s(h=>{let y=String(h),w=y.indexOf(a,c.length);return~w?c+n(y,a,l,w)+a:c+y+a},"o");return g.open=c,g.close=a,g},"g"),i={isColorSupported:t},o=s(c=>`\x1B[${c}m`,"d");for(let[c,a]of bn)i[c]=t?r(o(a[0]),o(a[1]),a[2]):_e;return i}s(Sn,"p");var ee=Sn();function dt(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:s(function(){return n[r]},"get")})}})}),Object.freeze(e)}s(dt,"_mergeNamespaces");function dn(e,t){const n=Object.keys(e),r=t===null?n:n.sort(t);if(Object.getOwnPropertySymbols)for(const i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&r.push(i);return r}s(dn,"getKeysOfEnumerableProperties");function pe(e,t,n,r,i,o,c=": "){let a="",l=0,g=e.next();if(!g.done){a+=t.spacingOuter;const h=n+t.indent;for(;!g.done;){if(a+=h,l++===t.maxWidth){a+="…";break}const y=o(g.value[0],t,h,r,i),w=o(g.value[1],t,h,r,i);a+=y+c+w,g=e.next(),g.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+n}return a}s(pe,"printIteratorEntries");function De(e,t,n,r,i,o){let c="",a=0,l=e.next();if(!l.done){c+=t.spacingOuter;const g=n+t.indent;for(;!l.done;){if(c+=g,a++===t.maxWidth){c+="…";break}c+=o(l.value,t,g,r,i),l=e.next(),l.done?t.min||(c+=","):c+=`,${t.spacingInner}`}c+=t.spacingOuter+n}return c}s(De,"printIteratorValues");function de(e,t,n,r,i,o){let c="";e=e instanceof ArrayBuffer?new DataView(e):e;const a=s(g=>g instanceof DataView,"isDataView"),l=a(e)?e.byteLength:e.length;if(l>0){c+=t.spacingOuter;const g=n+t.indent;for(let h=0;h<l;h++){if(c+=g,h===t.maxWidth){c+="…";break}(a(e)||h in e)&&(c+=o(a(e)?e.getInt8(h):e[h],t,g,r,i)),h<l-1?c+=`,${t.spacingInner}`:t.min||(c+=",")}c+=t.spacingOuter+n}return c}s(de,"printListItems");function je(e,t,n,r,i,o){let c="";const a=dn(e,t.compareKeys);if(a.length>0){c+=t.spacingOuter;const l=n+t.indent;for(let g=0;g<a.length;g++){const h=a[g],y=o(h,t,l,r,i),w=o(e[h],t,l,r,i);c+=`${l+y}: ${w}`,g<a.length-1?c+=`,${t.spacingInner}`:t.min||(c+=",")}c+=t.spacingOuter+n}return c}s(je,"printObjectProperties");var ui=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Oe=" ",li=s((e,t,n,r,i,o)=>{const c=e.toString();if(c==="ArrayContaining"||c==="ArrayNotContaining")return++r>t.maxDepth?`[${c}]`:`${c+Oe}[${de(e.sample,t,n,r,i,o)}]`;if(c==="ObjectContaining"||c==="ObjectNotContaining")return++r>t.maxDepth?`[${c}]`:`${c+Oe}{${je(e.sample,t,n,r,i,o)}}`;if(c==="StringMatching"||c==="StringNotMatching"||c==="StringContaining"||c==="StringNotContaining")return c+Oe+o(e.sample,t,n,r,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),ai=s(e=>e&&e.$$typeof===ui,"test$5"),fi={serialize:li,test:ai},mi=" ",En=new Set(["DOMStringMap","NamedNodeMap"]),gi=/^(?:HTML\w*Collection|NodeList)$/;function _n(e){return En.has(e)||gi.test(e)}s(_n,"testName");var pi=s(e=>e&&e.constructor&&!!e.constructor.name&&_n(e.constructor.name),"test$4");function Cn(e){return e.constructor.name==="NamedNodeMap"}s(Cn,"isNamedNodeMap");var hi=s((e,t,n,r,i,o)=>{const c=e.constructor.name;return++r>t.maxDepth?`[${c}]`:(t.min?"":c+mi)+(En.has(c)?`{${je(Cn(e)?[...e].reduce((a,l)=>(a[l.name]=l.value,a),{}):{...e},t,n,r,i,o)}}`:`[${de([...e],t,n,r,i,o)}]`)},"serialize$4"),yi={serialize:hi,test:pi};function Et(e){return e.replaceAll("<","<").replaceAll(">",">")}s(Et,"escapeHTML");function Be(e,t,n,r,i,o,c){const a=r+n.indent,l=n.colors;return e.map(g=>{const h=t[g];let y=c(h,n,a,i,o);return typeof h!="string"&&(y.includes(`
|
|
2
|
+
`)&&(y=n.spacingOuter+a+y+n.spacingOuter+r),y=`{${y}}`),`${n.spacingInner+r+l.prop.open+g+l.prop.close}=${l.value.open}${y}${l.value.close}`}).join("")}s(Be,"printProps");function xe(e,t,n,r,i,o){return e.map(c=>t.spacingOuter+n+(typeof c=="string"?_t(c,t):o(c,t,n,r,i))).join("")}s(xe,"printChildren");function _t(e,t){const n=t.colors.content;return n.open+Et(e)+n.close}s(_t,"printText");function wn(e,t){const n=t.colors.comment;return`${n.open}<!--${Et(e)}-->${n.close}`}s(wn,"printComment");function ze(e,t,n,r,i){const o=r.colors.tag;return`${o.open}<${e}${t&&o.close+t+r.spacingOuter+i+o.open}${n?`>${o.close}${n}${r.spacingOuter}${i}${o.open}</${e}`:`${t&&!r.min?"":" "}/`}>${o.close}`}s(ze,"printElement");function ve(e,t){const n=t.colors.tag;return`${n.open}<${e}${n.close} …${n.open} />${n.close}`}s(ve,"printElementAsLeaf");var bi=1,On=3,An=8,Tn=11,$i=/^(?:(?:HTML|SVG)\w*)?Element$/;function Nn(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(Nn,"testHasAttribute");function Pn(e){const t=e.constructor.name,{nodeType:n,tagName:r}=e,i=typeof r=="string"&&r.includes("-")||Nn(e);return n===bi&&($i.test(t)||i)||n===On&&t==="Text"||n===An&&t==="Comment"||n===Tn&&t==="DocumentFragment"}s(Pn,"testNode");var Si=s(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Pn(e)},"test$3");function Mn(e){return e.nodeType===On}s(Mn,"nodeIsText");function In(e){return e.nodeType===An}s(In,"nodeIsComment");function Te(e){return e.nodeType===Tn}s(Te,"nodeIsFragment");var di=s((e,t,n,r,i,o)=>{if(Mn(e))return _t(e.data,t);if(In(e))return wn(e.data,t);const c=Te(e)?"DocumentFragment":e.tagName.toLowerCase();return++r>t.maxDepth?ve(c,t):ze(c,Be(Te(e)?[]:Array.from(e.attributes,a=>a.name).sort(),Te(e)?{}:[...e.attributes].reduce((a,l)=>(a[l.name]=l.value,a),{}),t,n+t.indent,r,i,o),xe(Array.prototype.slice.call(e.childNodes||e.children),t,n+t.indent,r,i,o),t,n)},"serialize$3"),Ei={serialize:di,test:Si},_i="@@__IMMUTABLE_ITERABLE__@@",Ci="@@__IMMUTABLE_LIST__@@",wi="@@__IMMUTABLE_KEYED__@@",Oi="@@__IMMUTABLE_MAP__@@",Kt="@@__IMMUTABLE_ORDERED__@@",Ai="@@__IMMUTABLE_RECORD__@@",Ti="@@__IMMUTABLE_SEQ__@@",Ni="@@__IMMUTABLE_SET__@@",Pi="@@__IMMUTABLE_STACK__@@",ae=s(e=>`Immutable.${e}`,"getImmutableName"),ke=s(e=>`[${e}]`,"printAsLeaf"),Ee=" ",Ht="…";function Ln(e,t,n,r,i,o,c){return++r>t.maxDepth?ke(ae(c)):`${ae(c)+Ee}{${pe(e.entries(),t,n,r,i,o)}}`}s(Ln,"printImmutableEntries");function Rn(e){let t=0;return{next(){if(t<e._keys.length){const n=e._keys[t++];return{done:!1,value:[n,e.get(n)]}}return{done:!0,value:void 0}}}}s(Rn,"getRecordEntries");function Fn(e,t,n,r,i,o){const c=ae(e._name||"Record");return++r>t.maxDepth?ke(c):`${c+Ee}{${pe(Rn(e),t,n,r,i,o)}}`}s(Fn,"printImmutableRecord");function Dn(e,t,n,r,i,o){const c=ae("Seq");return++r>t.maxDepth?ke(c):e[wi]?`${c+Ee}{${e._iter||e._object?pe(e.entries(),t,n,r,i,o):Ht}}`:`${c+Ee}[${e._iter||e._array||e._collection||e._iterable?De(e.values(),t,n,r,i,o):Ht}]`}s(Dn,"printImmutableSeq");function Ne(e,t,n,r,i,o,c){return++r>t.maxDepth?ke(ae(c)):`${ae(c)+Ee}[${De(e.values(),t,n,r,i,o)}]`}s(Ne,"printImmutableValues");var Mi=s((e,t,n,r,i,o)=>e[Oi]?Ln(e,t,n,r,i,o,e[Kt]?"OrderedMap":"Map"):e[Ci]?Ne(e,t,n,r,i,o,"List"):e[Ni]?Ne(e,t,n,r,i,o,e[Kt]?"OrderedSet":"Set"):e[Pi]?Ne(e,t,n,r,i,o,"Stack"):e[Ti]?Dn(e,t,n,r,i,o):Fn(e,t,n,r,i,o),"serialize$2"),Ii=s(e=>e&&(e[_i]===!0||e[Ai]===!0),"test$2"),Li={serialize:Mi,test:Ii};function Ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Ct,"getDefaultExportFromCjs");var Ve={exports:{}},A={},Jt;function jn(){if(Jt)return A;Jt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),c=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function m(u){if(typeof u=="object"&&u!==null){var f=u.$$typeof;switch(f){case e:switch(u=u.type,u){case n:case i:case r:case l:case g:case w:return u;default:switch(u=u&&u.$$typeof,u){case c:case a:case y:case h:return u;case o:return u;default:return f}}case t:return f}}}return s(m,"typeOf"),A.ContextConsumer=o,A.ContextProvider=c,A.Element=e,A.ForwardRef=a,A.Fragment=n,A.Lazy=y,A.Memo=h,A.Portal=t,A.Profiler=i,A.StrictMode=r,A.Suspense=l,A.SuspenseList=g,A.isContextConsumer=function(u){return m(u)===o},A.isContextProvider=function(u){return m(u)===c},A.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},A.isForwardRef=function(u){return m(u)===a},A.isFragment=function(u){return m(u)===n},A.isLazy=function(u){return m(u)===y},A.isMemo=function(u){return m(u)===h},A.isPortal=function(u){return m(u)===t},A.isProfiler=function(u){return m(u)===i},A.isStrictMode=function(u){return m(u)===r},A.isSuspense=function(u){return m(u)===l},A.isSuspenseList=function(u){return m(u)===g},A.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===i||u===r||u===l||u===g||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===h||u.$$typeof===c||u.$$typeof===o||u.$$typeof===a||u.$$typeof===p||u.getModuleId!==void 0)},A.typeOf=m,A}s(jn,"requireReactIs_production");var Gt={},Xt;function Ri(){return Xt||(Xt=1),Gt}s(Ri,"requireReactIs_development$1");var Zt;function Bn(){return Zt||(Zt=1,Ve.exports=jn()),Ve.exports}s(Bn,"requireReactIs$1");var xn=Bn(),Fi=Ct(xn),Di=dt({__proto__:null,default:Fi},[xn]),Ye={exports:{}},O={},Qt;function zn(){if(Qt)return O;Qt=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),c=Symbol.for("react.context"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function u(f){if(typeof f=="object"&&f!==null){var $=f.$$typeof;switch($){case e:switch(f=f.type,f){case n:case i:case r:case g:case h:return f;default:switch(f=f&&f.$$typeof,f){case a:case c:case l:case w:case y:case o:return f;default:return $}}case t:return $}}}return s(u,"v"),O.ContextConsumer=c,O.ContextProvider=o,O.Element=e,O.ForwardRef=l,O.Fragment=n,O.Lazy=w,O.Memo=y,O.Portal=t,O.Profiler=i,O.StrictMode=r,O.Suspense=g,O.SuspenseList=h,O.isAsyncMode=function(){return!1},O.isConcurrentMode=function(){return!1},O.isContextConsumer=function(f){return u(f)===c},O.isContextProvider=function(f){return u(f)===o},O.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},O.isForwardRef=function(f){return u(f)===l},O.isFragment=function(f){return u(f)===n},O.isLazy=function(f){return u(f)===w},O.isMemo=function(f){return u(f)===y},O.isPortal=function(f){return u(f)===t},O.isProfiler=function(f){return u(f)===i},O.isStrictMode=function(f){return u(f)===r},O.isSuspense=function(f){return u(f)===g},O.isSuspenseList=function(f){return u(f)===h},O.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===i||f===r||f===g||f===h||f===p||typeof f=="object"&&f!==null&&(f.$$typeof===w||f.$$typeof===y||f.$$typeof===o||f.$$typeof===c||f.$$typeof===l||f.$$typeof===m||f.getModuleId!==void 0)},O.typeOf=u,O}s(zn,"requireReactIs_production_min");var en={},tn;function ji(){return tn||(tn=1),en}s(ji,"requireReactIs_development");var nn;function vn(){return nn||(nn=1,Ye.exports=zn()),Ye.exports}s(vn,"requireReactIs");var kn=vn(),Bi=Ct(kn),xi=dt({__proto__:null,default:Bi},[kn]),zi=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],ce=Object.fromEntries(zi.map(e=>[e,t=>xi[e](t)||Di[e](t)]));function wt(e,t=[]){if(Array.isArray(e))for(const n of e)wt(n,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(wt,"getChildren");function Xe(e){const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ce.isFragment(e))return"React.Fragment";if(ce.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ce.isContextProvider(e))return"Context.Provider";if(ce.isContextConsumer(e))return"Context.Consumer";if(ce.isForwardRef(e)){if(t.displayName)return t.displayName;const n=t.render.displayName||t.render.name||"";return n===""?"ForwardRef":`ForwardRef(${n})`}if(ce.isMemo(e)){const n=t.displayName||t.type.displayName||t.type.name||"";return n===""?"Memo":`Memo(${n})`}}return"UNDEFINED"}s(Xe,"getType");function qn(e){const{props:t}=e;return Object.keys(t).filter(n=>n!=="children"&&t[n]!==void 0).sort()}s(qn,"getPropKeys$1");var vi=s((e,t,n,r,i,o)=>++r>t.maxDepth?ve(Xe(e),t):ze(Xe(e),Be(qn(e),e.props,t,n+t.indent,r,i,o),xe(wt(e.props.children),t,n+t.indent,r,i,o),t,n),"serialize$1"),ki=s(e=>e!=null&&ce.isElement(e),"test$1"),qi={serialize:vi,test:ki},Ui=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Un(e){const{props:t}=e;return t?Object.keys(t).filter(n=>t[n]!==void 0).sort():[]}s(Un,"getPropKeys");var Wi=s((e,t,n,r,i,o)=>++r>t.maxDepth?ve(e.type,t):ze(e.type,e.props?Be(Un(e),e.props,t,n+t.indent,r,i,o):"",e.children?xe(e.children,t,n+t.indent,r,i,o):"",t,n),"serialize"),Vi=s(e=>e&&e.$$typeof===Ui,"test"),Yi={serialize:Wi,test:Vi},Wn=Object.prototype.toString,Ki=Date.prototype.toISOString,Hi=Error.prototype.toString,rn=RegExp.prototype.toString;function be(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(be,"getConstructorName");function Vn(e){return typeof window<"u"&&e===window}s(Vn,"isWindow");var Ji=/^Symbol\((.*)\)(.*)$/,Gi=/\n/g,Yn=class extends Error{constructor(t,n){super(t),this.stack=n,this.name=this.constructor.name}};s(Yn,"PrettyFormatPluginError");var Kn=Yn;function Hn(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}s(Hn,"isToStringedArrayType");function Jn(e){return Object.is(e,-0)?"-0":String(e)}s(Jn,"printNumber");function Gn(e){return`${e}n`}s(Gn,"printBigInt");function Ze(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(Ze,"printFunction");function Qe(e){return String(e).replace(Ji,"Symbol($1)")}s(Qe,"printSymbol");function et(e){return`[${Hi.call(e)}]`}s(et,"printError");function Ot(e,t,n,r){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";const i=typeof e;if(i==="number")return Jn(e);if(i==="bigint")return Gn(e);if(i==="string")return r?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return Ze(e,t);if(i==="symbol")return Qe(e);const o=Wn.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Ze(e,t):o==="[object Symbol]"?Qe(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Ki.call(e):o==="[object Error]"?et(e):o==="[object RegExp]"?n?rn.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):rn.call(e):e instanceof Error?et(e):null}s(Ot,"printBasicValue");function At(e,t,n,r,i,o){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);const c=++r>t.maxDepth,a=t.min;if(t.callToJSON&&!c&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Z(e.toJSON(),t,n,r,i,!0);const l=Wn.call(e);return l==="[object Arguments]"?c?"[Arguments]":`${a?"":"Arguments "}[${de(e,t,n,r,i,Z)}]`:Hn(l)?c?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${de(e,t,n,r,i,Z)}]`:l==="[object Map]"?c?"[Map]":`Map {${pe(e.entries(),t,n,r,i,Z," => ")}}`:l==="[object Set]"?c?"[Set]":`Set {${De(e.values(),t,n,r,i,Z)}}`:c||Vn(e)?`[${be(e)}]`:`${a||!t.printBasicPrototype&&be(e)==="Object"?"":`${be(e)} `}{${je(e,t,n,r,i,Z)}}`}s(At,"printComplexValue");var Xi={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,n,r,i,o){if(i.includes(e))return"[Circular]";i=[...i,e];const c=++r>t.maxDepth,{message:a,cause:l,...g}=e,h={message:a,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...g},y=e.name!=="Error"?e.name:be(e);return c?`[${y}]`:`${y} {${pe(Object.entries(h).values(),t,n,r,i,o)}}`}};function Xn(e){return e.serialize!=null}s(Xn,"isNewPlugin");function Tt(e,t,n,r,i,o){let c;try{c=Xn(e)?e.serialize(t,n,r,i,o,Z):e.print(t,a=>Z(a,n,r,i,o),a=>{const l=r+n.indent;return l+a.replaceAll(Gi,`
|
|
3
|
+
${l}`)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(a){throw new Kn(a.message,a.stack)}if(typeof c!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof c}".`);return c}s(Tt,"printPlugin");function Nt(e,t){for(const n of e)try{if(n.test(t))return n}catch(r){throw new Kn(r.message,r.stack)}return null}s(Nt,"findPlugin");function Z(e,t,n,r,i,o){const c=Nt(t.plugins,e);if(c!==null)return Tt(c,e,t,n,r,i);const a=Ot(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:At(e,t,n,r,i,o)}s(Z,"printer");var Pt={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Zn=Object.keys(Pt),W={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Pt};function Qn(e){for(const t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(W,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}s(Qn,"validateOptions");function er(){return Zn.reduce((e,t)=>{const n=Pt[t],r=n&&ee[n];if(r&&typeof r.close=="string"&&typeof r.open=="string")e[t]=r;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${n}" is undefined in ansi-styles.`);return e},Object.create(null))}s(er,"getColorsHighlight");function tr(){return Zn.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(tr,"getColorsEmpty");function Mt(e){return e?.printFunctionName??W.printFunctionName}s(Mt,"getPrintFunctionName");function It(e){return e?.escapeRegex??W.escapeRegex}s(It,"getEscapeRegex");function Lt(e){return e?.escapeString??W.escapeString}s(Lt,"getEscapeString");function tt(e){return{callToJSON:e?.callToJSON??W.callToJSON,colors:e?.highlight?er():tr(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:W.compareKeys,escapeRegex:It(e),escapeString:Lt(e),indent:e?.min?"":nr(e?.indent??W.indent),maxDepth:e?.maxDepth??W.maxDepth,maxWidth:e?.maxWidth??W.maxWidth,min:e?.min??W.min,plugins:e?.plugins??W.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:Mt(e),spacingInner:e?.min?" ":`
|
|
4
|
+
`,spacingOuter:e?.min?"":`
|
|
5
|
+
`}}s(tt,"getConfig");function nr(e){return Array.from({length:e+1}).join(" ")}s(nr,"createIndent");function V(e,t){if(t&&(Qn(t),t.plugins)){const r=Nt(t.plugins,e);if(r!==null)return Tt(r,e,tt(t),"",0,[])}const n=Ot(e,Mt(t),It(t),Lt(t));return n!==null?n:At(e,tt(t),"",0,[])}s(V,"format");var Rt={AsymmetricMatcher:fi,DOMCollection:yi,DOMElement:Ei,Immutable:Li,ReactElement:qi,ReactTestComponent:Yi,Error:Xi},on={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["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"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Zi={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},fe="…";function rr(e,t){const n=on[Zi[t]]||on[t]||"";return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}s(rr,"colorise");function ir({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:r=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:c=1/0,seen:a=[],truncate:l=1/0,stylize:g=String}={},h){const y={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!r,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(c),truncate:Number(l),seen:a,inspect:h,stylize:g};return y.colors&&(y.stylize=rr),y}s(ir,"normaliseOptions");function or(e){return e>="\uD800"&&e<="\uDBFF"}s(or,"isHighSurrogate");function te(e,t,n=fe){e=String(e);const r=n.length,i=e.length;if(r>t&&i>r)return n;if(i>t&&i>r){let o=t-r;return o>0&&or(e[o-1])&&(o=o-1),`${e.slice(0,o)}${n}`}return e}s(te,"truncate");function v(e,t,n,r=", "){n=n||t.inspect;const i=e.length;if(i===0)return"";const o=t.truncate;let c="",a="",l="";for(let g=0;g<i;g+=1){const h=g+1===e.length,y=g+2===e.length;l=`${fe}(${e.length-g})`;const w=e[g];t.truncate=o-c.length-(h?0:r.length);const p=a||n(w,t)+(h?"":r),m=c.length+p.length,u=m+l.length;if(h&&m>o&&c.length+l.length<=o||!h&&!y&&u>o||(a=h?"":n(e[g+1],t)+(y?"":r),!h&&y&&u>o&&m+a.length>o))break;if(c+=p,!h&&!y&&m+a.length>=o){l=`${fe}(${e.length-g-1})`;break}l=""}return`${c}${l}`}s(v,"inspectList");function cr(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(cr,"quoteComplexKey");function me([e,t],n){return n.truncate-=2,typeof e=="string"?e=cr(e):typeof e!="number"&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}s(me,"inspectProperty");function sr(e,t){const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return"[]";t.truncate-=4;const r=v(e,t);t.truncate-=r.length;let i="";return n.length&&(i=v(n.map(o=>[o,e[o]]),t,me)),`[ ${r}${i?`, ${i}`:""} ]`}s(sr,"inspectArray");var Qi=s(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function J(e,t){const n=Qi(e);t.truncate-=n.length+4;const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`${n}[]`;let i="";for(let c=0;c<e.length;c++){const a=`${t.stylize(te(e[c],t.truncate),"number")}${c===e.length-1?"":", "}`;if(t.truncate-=a.length,e[c]!==e.length&&t.truncate<=3){i+=`${fe}(${e.length-e[c]+1})`;break}i+=a}let o="";return r.length&&(o=v(r.map(c=>[c,e[c]]),t,me)),`${n}[ ${i}${o?`, ${o}`:""} ]`}s(J,"inspectTypedArray");function ur(e,t){const n=e.toJSON();if(n===null)return"Invalid Date";const r=n.split("T"),i=r[0];return t.stylize(`${i}T${te(r[1],t.truncate-i.length-1)}`,"date")}s(ur,"inspectDate");function nt(e,t){const n=e[Symbol.toStringTag]||"Function",r=e.name;return r?t.stylize(`[${n} ${te(r,t.truncate-11)}]`,"special"):t.stylize(`[${n}]`,"special")}s(nt,"inspectFunction");function lr([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}s(lr,"inspectMapEntry");function ar(e){const t=[];return e.forEach((n,r)=>{t.push([r,n])}),t}s(ar,"mapToEntries");function fr(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${v(ar(e),t,lr)} }`)}s(fr,"inspectMap");var eo=Number.isNaN||(e=>e!==e);function rt(e,t){return eo(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(te(String(e),t.truncate),"number")}s(rt,"inspectNumber");function it(e,t){let n=te(e.toString(),t.truncate-1);return n!==fe&&(n+="n"),t.stylize(n,"bigint")}s(it,"inspectBigInt");function mr(e,t){const n=e.toString().split("/")[2],r=t.truncate-(2+n.length),i=e.source;return t.stylize(`/${te(i,r)}/${n}`,"regexp")}s(mr,"inspectRegExp");function gr(e){const t=[];return e.forEach(n=>{t.push(n)}),t}s(gr,"arrayFromSet");function pr(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${v(gr(e),t)} }`)}s(pr,"inspectSet");var cn=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),to={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},no=16;function hr(e){return to[e]||`\\u${`0000${e.charCodeAt(0).toString(no)}`.slice(-4)}`}s(hr,"escape");function ot(e,t){return cn.test(e)&&(e=e.replace(cn,hr)),t.stylize(`'${te(e,t.truncate-2)}'`,"string")}s(ot,"inspectString");function ct(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(ct,"inspectSymbol");var ro=s(()=>"Promise{…}","getPromiseValue"),io=ro;function $e(e,t){const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&r.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const i=v(n.map(a=>[a,e[a]]),t,me),o=v(r.map(a=>[a,e[a]]),t,me);t.seen.pop();let c="";return i&&o&&(c=", "),`{ ${i}${c}${o} }`}s($e,"inspectObject");var Ke=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function yr(e,t){let n="";return Ke&&Ke in e&&(n=e[Ke]),n=n||e.constructor.name,(!n||n==="_class")&&(n="<Anonymous Class>"),t.truncate-=n.length,`${n}${$e(e,t)}`}s(yr,"inspectClass");function br(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${v(e,t)} ]`)}s(br,"inspectArguments");var oo=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function $r(e,t){const n=Object.getOwnPropertyNames(e).filter(c=>oo.indexOf(c)===-1),r=e.name;t.truncate-=r.length;let i="";if(typeof e.message=="string"?i=te(e.message,t.truncate):n.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=v(n.map(c=>[c,e[c]]),t,me);return`${r}${i}${o?` { ${o} }`:""}`}s($r,"inspectObject");function Sr([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),"yellow")}=${n.stylize(`"${t}"`,"string")}`:`${n.stylize(String(e),"yellow")}`}s(Sr,"inspectAttribute");function Me(e,t){return v(e,t,dr,`
|
|
6
|
+
`)}s(Me,"inspectNodeCollection");function dr(e,t){switch(e.nodeType){case 1:return Ft(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}s(dr,"inspectNode");function Ft(e,t){const n=e.getAttributeNames(),r=e.tagName.toLowerCase(),i=t.stylize(`<${r}`,"special"),o=t.stylize(">","special"),c=t.stylize(`</${r}>`,"special");t.truncate-=r.length*2+5;let a="";n.length>0&&(a+=" ",a+=v(n.map(h=>[h,e.getAttribute(h)]),t,Sr," ")),t.truncate-=a.length;const l=t.truncate;let g=Me(e.children,t);return g&&g.length>l&&(g=`${fe}(${e.children.length})`),`${i}${a}${o}${g}${c}`}s(Ft,"inspectHTML");var co=typeof Symbol=="function"&&typeof Symbol.for=="function",He=co?Symbol.for("chai/inspect"):"@@chai/inspect",Je=Symbol.for("nodejs.util.inspect.custom"),sn=new WeakMap,un={},ln={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:rt,Number:rt,bigint:it,BigInt:it,string:ot,String:ot,function:nt,Function:nt,symbol:ct,Symbol:ct,Array:sr,Date:ur,Map:fr,Set:pr,RegExp:mr,Promise:io,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:br,Int8Array:J,Uint8Array:J,Uint8ClampedArray:J,Int16Array:J,Uint16Array:J,Int32Array:J,Uint32Array:J,Float32Array:J,Float64Array:J,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:$r,HTMLCollection:Me,NodeList:Me},so=s((e,t,n,r)=>He in e&&typeof e[He]=="function"?e[He](t):Je in e&&typeof e[Je]=="function"?e[Je](t.depth,t,r):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&sn.has(e.constructor)?sn.get(e.constructor)(e,t):un[n]?un[n](e,t):"","inspectCustom"),uo=Object.prototype.toString;function Se(e,t={}){const n=ir(t,Se),{customInspect:r}=n;let i=e===null?"null":typeof e;if(i==="object"&&(i=uo.call(e).slice(8,-1)),i in ln)return ln[i](e,n);if(r&&e){const c=so(e,n,i,Se);if(c)return typeof c=="string"?c:Se(c,n)}const o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?$e(e,n):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ft(e,n):"constructor"in e?e.constructor!==Object?yr(e,n):$e(e,n):e===Object(e)?$e(e,n):n.stylize(String(e),i)}s(Se,"inspect");var{AsymmetricMatcher:lo,DOMCollection:ao,DOMElement:fo,Immutable:mo,ReactElement:go,ReactTestComponent:po}=Rt,an=[po,go,fo,ao,mo,lo];function ge(e,t=10,{maxLength:n,...r}={}){const i=n??1e4;let o;try{o=V(e,{maxDepth:t,escapeString:!1,plugins:an,...r})}catch{o=V(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:an,...r})}return o.length>=i&&t>1?ge(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:n,...r}):o}s(ge,"stringify");var ho=/%[sdjifoOc%]/g;function Er(...e){if(typeof e[0]!="string"){const o=[];for(let c=0;c<e.length;c++)o.push(le(e[c],{depth:0,colors:!1}));return o.join(" ")}const t=e.length;let n=1;const r=e[0];let i=String(r).replace(ho,o=>{if(o==="%%")return"%";if(n>=t)return o;switch(o){case"%s":{const c=e[n++];return typeof c=="bigint"?`${c.toString()}n`:typeof c=="number"&&c===0&&1/c<0?"-0":typeof c=="object"&&c!==null?typeof c.toString=="function"&&c.toString!==Object.prototype.toString?c.toString():le(c,{depth:0,colors:!1}):String(c)}case"%d":{const c=e[n++];return typeof c=="bigint"?`${c.toString()}n`:Number(c).toString()}case"%i":{const c=e[n++];return typeof c=="bigint"?`${c.toString()}n`:Number.parseInt(String(c)).toString()}case"%f":return Number.parseFloat(String(e[n++])).toString();case"%o":return le(e[n++],{showHidden:!0,showProxy:!0});case"%O":return le(e[n++]);case"%c":return n++,"";case"%j":try{return JSON.stringify(e[n++])}catch(c){const a=c.message;if(a.includes("circular structure")||a.includes("cyclic structures")||a.includes("cyclic object"))return"[Circular]";throw c}default:return o}});for(let o=e[n];n<t;o=e[++n])o===null||typeof o!="object"?i+=` ${o}`:i+=` ${le(o)}`;return i}s(Er,"format");function le(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Se(e,t)}s(le,"inspect");function _r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(_r,"getDefaultExportFromCjs");function yo(e,t,n){const r=typeof e;if(!n.includes(r))throw new TypeError(`${t} value must be ${n.join(" or ")}, received "${r}"`)}s(yo,"assertTypes");function bo(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(bo,"isObject");function Cr(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(Cr,"isFinalObj");function Ie(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(Ie,"getType");function wr(e,t){const n=typeof t=="function"?t:r=>t.add(r);Object.getOwnPropertyNames(e).forEach(n),Object.getOwnPropertySymbols(e).forEach(n)}s(wr,"collectOwnProperties");function Dt(e){const t=new Set;return Cr(e)?[]:(wr(e,t),Array.from(t))}s(Dt,"getOwnProperties");var Or={forceWritable:!1};function st(e,t=Or){return Le(e,new WeakMap,t)}s(st,"deepClone");function Le(e,t,n=Or){let r,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:r=e.length}),t.set(e,i);r--;)i[r]=Le(e[r],t,n);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);const o=Dt(e);for(const c of o){const a=Object.getOwnPropertyDescriptor(e,c);if(!a)continue;const l=Le(e[c],t,n);n.forceWritable?Object.defineProperty(i,c,{enumerable:a.enumerable,configurable:!0,writable:!0,value:l}):"get"in a?Object.defineProperty(i,c,{...a,get(){return l}}):Object.defineProperty(i,c,{...a,value:l})}return i}return e}s(Le,"clone");function $o(){}s($o,"noop");var D=-1,F=1,M=0,Ar=class{0;1;constructor(t,n){this[0]=t,this[1]=n}};s(Ar,"Diff");var N=Ar;function Tr(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(o,i)===t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}s(Tr,"diff_commonPrefix");function jt(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}s(jt,"diff_commonSuffix");function ut(e,t){const n=e.length,r=t.length;if(n===0||r===0)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));const i=Math.min(n,r);if(e===t)return i;let o=0,c=1;for(;;){const a=e.substring(i-c),l=t.indexOf(a);if(l===-1)return o;c+=l,(l===0||e.substring(i-c)===t.substring(0,c))&&(o=c,c++)}}s(ut,"diff_commonOverlap_");function Nr(e){let t=!1;const n=[];let r=0,i=null,o=0,c=0,a=0,l=0,g=0;for(;o<e.length;)e[o][0]===M?(n[r++]=o,c=l,a=g,l=0,g=0,i=e[o][1]):(e[o][0]===F?l+=e[o][1].length:g+=e[o][1].length,i&&i.length<=Math.max(c,a)&&i.length<=Math.max(l,g)&&(e.splice(n[r-1],0,new N(D,i)),e[n[r-1]+1][0]=F,r--,r--,o=r>0?n[r-1]:-1,c=0,a=0,l=0,g=0,i=null,t=!0)),o++;for(t&&Bt(e),Pr(e),o=1;o<e.length;){if(e[o-1][0]===D&&e[o][0]===F){const h=e[o-1][1],y=e[o][1],w=ut(h,y),p=ut(y,h);w>=p?(w>=h.length/2||w>=y.length/2)&&(e.splice(o,0,new N(M,y.substring(0,w))),e[o-1][1]=h.substring(0,h.length-w),e[o+1][1]=y.substring(w),o++):(p>=h.length/2||p>=y.length/2)&&(e.splice(o,0,new N(M,h.substring(0,p))),e[o-1][0]=F,e[o-1][1]=y.substring(0,y.length-p),e[o+1][0]=D,e[o+1][1]=h.substring(p),o++),o++}o++}}s(Nr,"diff_cleanupSemantic");var fn=/[^a-z0-9]/i,mn=/\s/,gn=/[\r\n]/,So=/\n\r?\n$/,Eo=/^\r?\n\r?\n/;function Pr(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===M&&e[t+1][0]===M){let n=e[t-1][1],r=e[t][1],i=e[t+1][1];const o=jt(n,r);if(o){const h=r.substring(r.length-o);n=n.substring(0,n.length-o),r=h+r.substring(0,r.length-o),i=h+i}let c=n,a=r,l=i,g=he(n,r)+he(r,i);for(;r.charAt(0)===i.charAt(0);){n+=r.charAt(0),r=r.substring(1)+i.charAt(0),i=i.substring(1);const h=he(n,r)+he(r,i);h>=g&&(g=h,c=n,a=r,l=i)}e[t-1][1]!==c&&(c?e[t-1][1]=c:(e.splice(t-1,1),t--),e[t][1]=a,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}s(Pr,"diff_cleanupSemanticLossless");function Bt(e){e.push(new N(M,""));let t=0,n=0,r=0,i="",o="",c;for(;t<e.length;)switch(e[t][0]){case F:r++,o+=e[t][1],t++;break;case D:n++,i+=e[t][1],t++;break;case M:n+r>1?(n!==0&&r!==0&&(c=Tr(o,i),c!==0&&(t-n-r>0&&e[t-n-r-1][0]===M?e[t-n-r-1][1]+=o.substring(0,c):(e.splice(0,0,new N(M,o.substring(0,c))),t++),o=o.substring(c),i=i.substring(c)),c=jt(o,i),c!==0&&(e[t][1]=o.substring(o.length-c)+e[t][1],o=o.substring(0,o.length-c),i=i.substring(0,i.length-c))),t-=n+r,e.splice(t,n+r),i.length&&(e.splice(t,0,new N(D,i)),t++),o.length&&(e.splice(t,0,new N(F,o)),t++),t++):t!==0&&e[t-1][0]===M?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,r=0,n=0,i="",o="";break}e[e.length-1][1]===""&&e.pop();let a=!1;for(t=1;t<e.length-1;)e[t-1][0]===M&&e[t+1][0]===M&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),a=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),a=!0)),t++;a&&Bt(e)}s(Bt,"diff_cleanupMerge");function he(e,t){if(!e||!t)return 6;const n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(fn),o=r.match(fn),c=i&&n.match(mn),a=o&&r.match(mn),l=c&&n.match(gn),g=a&&r.match(gn),h=l&&e.match(So),y=g&&t.match(Eo);return h||y?5:l||g?4:i&&!c&&a?3:c||a?2:i||o?1:0}s(he,"diff_cleanupSemanticScore_");var Mr="Compared values have no visual difference.",_o="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ae={},pn;function Ir(){if(pn)return Ae;pn=1,Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.default=w;const e="diff-sequences",t=0,n=s((p,m,u,f,$)=>{let d=0;for(;p<m&&u<f&&$(p,u);)p+=1,u+=1,d+=1;return d},"countCommonItemsF"),r=s((p,m,u,f,$)=>{let d=0;for(;p<=m&&u<=f&&$(m,f);)m-=1,f-=1,d+=1;return d},"countCommonItemsR"),i=s((p,m,u,f,$,d,C)=>{let b=0,E=-p,_=d[b],S=_;d[b]+=n(_+1,m,f+_-E+1,u,$);const T=p<C?p:C;for(b+=1,E+=2;b<=T;b+=1,E+=2){if(b!==p&&S<d[b])_=d[b];else if(_=S+1,m<=_)return b-1;S=d[b],d[b]=_+n(_+1,m,f+_-E+1,u,$)}return C},"extendPathsF"),o=s((p,m,u,f,$,d,C)=>{let b=0,E=p,_=d[b],S=_;d[b]-=r(m,_-1,u,f+_-E-1,$);const T=p<C?p:C;for(b+=1,E-=2;b<=T;b+=1,E-=2){if(b!==p&&d[b]<S)_=d[b];else if(_=S-1,_<m)return b-1;S=d[b],d[b]=_-r(m,_-1,u,f+_-E-1,$)}return C},"extendPathsR"),c=s((p,m,u,f,$,d,C,b,E,_,S)=>{const T=f-m,Y=u-m,I=$-f-Y,B=-I-(p-1),K=-I+(p-1);let x=t;const P=p<b?p:b;for(let L=0,R=-p;L<=P;L+=1,R+=2){const X=L===0||L!==p&&x<C[L],j=X?C[L]:x,k=X?j:j+1,ne=T+k-R,q=n(k+1,u,ne+1,$,d),U=k+q;if(x=C[L],C[L]=U,B<=R&&R<=K){const oe=(p-1-(R+I))/2;if(oe<=_&&E[oe]-1<=U){const H=T+j-(X?R+1:R-1),z=r(m,j,f,H,d),re=j-z,we=H-z,ue=re+1,We=we+1;S.nChangePreceding=p-1,p-1===ue+We-m-f?(S.aEndPreceding=m,S.bEndPreceding=f):(S.aEndPreceding=ue,S.bEndPreceding=We),S.nCommonPreceding=z,z!==0&&(S.aCommonPreceding=ue,S.bCommonPreceding=We),S.nCommonFollowing=q,q!==0&&(S.aCommonFollowing=k+1,S.bCommonFollowing=ne+1);const Vt=U+1,Yt=ne+q+1;return S.nChangeFollowing=p-1,p-1===u+$-Vt-Yt?(S.aStartFollowing=u,S.bStartFollowing=$):(S.aStartFollowing=Vt,S.bStartFollowing=Yt),!0}}}return!1},"extendOverlappablePathsF"),a=s((p,m,u,f,$,d,C,b,E,_,S)=>{const T=$-u,Y=u-m,I=$-f-Y,B=I-p,K=I+p;let x=t;const P=p<_?p:_;for(let L=0,R=p;L<=P;L+=1,R-=2){const X=L===0||L!==p&&E[L]<x,j=X?E[L]:x,k=X?j:j-1,ne=T+k-R,q=r(m,k-1,f,ne-1,d),U=k-q;if(x=E[L],E[L]=U,B<=R&&R<=K){const oe=(p+(R-I))/2;if(oe<=b&&U-1<=C[oe]){const H=ne-q;if(S.nChangePreceding=p,p===U+H-m-f?(S.aEndPreceding=m,S.bEndPreceding=f):(S.aEndPreceding=U,S.bEndPreceding=H),S.nCommonPreceding=q,q!==0&&(S.aCommonPreceding=U,S.bCommonPreceding=H),S.nChangeFollowing=p-1,p===1)S.nCommonFollowing=0,S.aStartFollowing=u,S.bStartFollowing=$;else{const z=T+j-(X?R-1:R+1),re=n(j,u,z,$,d);S.nCommonFollowing=re,re!==0&&(S.aCommonFollowing=j,S.bCommonFollowing=z);const we=j+re,ue=z+re;p-1===u+$-we-ue?(S.aStartFollowing=u,S.bStartFollowing=$):(S.aStartFollowing=we,S.bStartFollowing=ue)}return!0}}}return!1},"extendOverlappablePathsR"),l=s((p,m,u,f,$,d,C,b,E)=>{const _=f-m,S=$-u,T=u-m,Y=$-f,G=Y-T;let I=T,B=T;if(C[0]=m-1,b[0]=u,G%2===0){const K=(p||G)/2,x=(T+Y)/2;for(let P=1;P<=x;P+=1)if(I=i(P,u,$,_,d,C,I),P<K)B=o(P,m,f,S,d,b,B);else if(a(P,m,u,f,$,d,C,I,b,B,E))return}else{const K=((p||G)+1)/2,x=(T+Y+1)/2;let P=1;for(I=i(P,u,$,_,d,C,I),P+=1;P<=x;P+=1)if(B=o(P-1,m,f,S,d,b,B),P<K)I=i(P,u,$,_,d,C,I);else if(c(P,m,u,f,$,d,C,I,b,B,E))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${u} bStart=${f} bEnd=${$}`)},"divide"),g=s((p,m,u,f,$,d,C,b,E,_)=>{if($-f<u-m){if(d=!d,d&&C.length===1){const{foundSubsequence:U,isCommon:oe}=C[0];C[1]={foundSubsequence:s((H,z,re)=>{U(H,re,z)},"foundSubsequence"),isCommon:s((H,z)=>oe(z,H),"isCommon")}}const ne=m,q=u;m=f,u=$,f=ne,$=q}const{foundSubsequence:S,isCommon:T}=C[d?1:0];l(p,m,u,f,$,T,b,E,_);const{nChangePreceding:Y,aEndPreceding:G,bEndPreceding:I,nCommonPreceding:B,aCommonPreceding:K,bCommonPreceding:x,nCommonFollowing:P,aCommonFollowing:L,bCommonFollowing:R,nChangeFollowing:X,aStartFollowing:j,bStartFollowing:k}=_;m<G&&f<I&&g(Y,m,G,f,I,d,C,b,E,_),B!==0&&S(B,K,x),P!==0&&S(P,L,R),j<u&&k<$&&g(X,j,u,k,$,d,C,b,E,_)},"findSubsequences"),h=s((p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},"validateLength"),y=s((p,m)=>{const u=typeof m;if(u!=="function")throw new TypeError(`${e}: ${p} typeof ${u} is not a function`)},"validateCallback");function w(p,m,u,f){h("aLength",p),h("bLength",m),y("isCommon",u),y("foundSubsequence",f);const $=n(0,p,0,m,u);if($!==0&&f($,0,0),p!==$||m!==$){const d=$,C=$,b=r(d,p-1,C,m-1,u),E=p-b,_=m-b,S=$+b;p!==S&&m!==S&&g(0,d,E,C,_,!1,[{foundSubsequence:f,isCommon:u}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),b!==0&&f(b,E,_)}}return s(w,"diffSequence"),Ae}s(Ir,"requireBuild");var Co=Ir(),Lr=_r(Co);function Rr(e,t){return e.replace(/\s+$/,n=>t(n))}s(Rr,"formatTrailingSpaces");function qe(e,t,n,r,i,o){return e.length!==0?n(`${r} ${Rr(e,i)}`):r!==" "?n(r):t&&o.length!==0?n(`${r} ${o}`):""}s(qe,"printDiffLine");function xt(e,t,{aColor:n,aIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return qe(e,t,n,r,i,o)}s(xt,"printDeleteLine");function zt(e,t,{bColor:n,bIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return qe(e,t,n,r,i,o)}s(zt,"printInsertLine");function vt(e,t,{commonColor:n,commonIndicator:r,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return qe(e,t,n,r,i,o)}s(vt,"printCommonLine");function lt(e,t,n,r,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${n+1},${r-n} @@`)}s(lt,"createPatchMark");function Fr(e,t){const n=e.length,r=t.contextLines,i=r+r;let o=n,c=!1,a=0,l=0;for(;l!==n;){const b=l;for(;l!==n&&e[l][0]===M;)l+=1;if(b!==l)if(b===0)l>r&&(o-=l-r,c=!0);else if(l===n){const E=l-b;E>r&&(o-=E-r,c=!0)}else{const E=l-b;E>i&&(o-=E-i,a+=1)}for(;l!==n&&e[l][0]!==M;)l+=1}const g=a!==0||c;a!==0?o+=a+1:c&&(o+=1);const h=o-1,y=[];let w=0;g&&y.push("");let p=0,m=0,u=0,f=0;const $=s(b=>{const E=y.length;y.push(vt(b,E===0||E===h,t)),u+=1,f+=1},"pushCommonLine"),d=s(b=>{const E=y.length;y.push(xt(b,E===0||E===h,t)),u+=1},"pushDeleteLine"),C=s(b=>{const E=y.length;y.push(zt(b,E===0||E===h,t)),f+=1},"pushInsertLine");for(l=0;l!==n;){let b=l;for(;l!==n&&e[l][0]===M;)l+=1;if(b!==l)if(b===0){l>r&&(b=l-r,p=b,m=b,u=p,f=m);for(let E=b;E!==l;E+=1)$(e[E][1])}else if(l===n){const E=l-b>r?b+r:l;for(let _=b;_!==E;_+=1)$(e[_][1])}else{const E=l-b;if(E>i){const _=b+r;for(let T=b;T!==_;T+=1)$(e[T][1]);y[w]=lt(p,u,m,f,t),w=y.length,y.push("");const S=E-i;p=u+S,m=f+S,u=p,f=m;for(let T=l-r;T!==l;T+=1)$(e[T][1])}else for(let _=b;_!==l;_+=1)$(e[_][1])}for(;l!==n&&e[l][0]===D;)d(e[l][1]),l+=1;for(;l!==n&&e[l][0]===F;)C(e[l][1]),l+=1}return g&&(y[w]=lt(p,u,m,f,t)),y.join(`
|
|
7
|
+
`)}s(Fr,"joinAlignedDiffsNoExpand");function Dr(e,t){return e.map((n,r,i)=>{const o=n[1],c=r===0||r===i.length-1;switch(n[0]){case D:return xt(o,c,t);case F:return zt(o,c,t);default:return vt(o,c,t)}}).join(`
|
|
8
|
+
`)}s(Dr,"joinAlignedDiffsExpand");var Ge=s(e=>e,"noColor"),jr=5,wo=0;function Br(){return{aAnnotation:"Expected",aColor:ee.green,aIndicator:"-",bAnnotation:"Received",bColor:ee.red,bIndicator:"+",changeColor:ee.inverse,changeLineTrailingSpaceColor:Ge,commonColor:ee.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ge,compareKeys:void 0,contextLines:jr,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ee.yellow,printBasicPrototype:!1,truncateThreshold:wo,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ge}}s(Br,"getDefaultOptions");function xr(e){return e&&typeof e=="function"?e:void 0}s(xr,"getCompareKeys");function zr(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:jr}s(zr,"getContextLines");function ie(e={}){return{...Br(),...e,compareKeys:xr(e.compareKeys),contextLines:zr(e.contextLines)}}s(ie,"normalizeDiffOptions");function se(e){return e.length===1&&e[0].length===0}s(se,"isEmptyString");function vr(e){let t=0,n=0;return e.forEach(r=>{switch(r[0]){case D:t+=1;break;case F:n+=1;break}}),{a:t,b:n}}s(vr,"countChanges");function kr({aAnnotation:e,aColor:t,aIndicator:n,bAnnotation:r,bColor:i,bIndicator:o,includeChangeCounts:c,omitAnnotationLines:a},l){if(a)return"";let g="",h="";if(c){const p=String(l.a),m=String(l.b),u=r.length-e.length,f=" ".repeat(Math.max(0,u)),$=" ".repeat(Math.max(0,-u)),d=m.length-p.length,C=" ".repeat(Math.max(0,d)),b=" ".repeat(Math.max(0,-d));g=`${f} ${n} ${C}${p}`,h=`${$} ${o} ${b}${m}`}const y=`${n} ${e}${g}`,w=`${o} ${r}${h}`;return`${t(y)}
|
|
9
|
+
${i(w)}
|
|
10
|
+
|
|
11
|
+
`}s(kr,"printAnnotation");function Ue(e,t,n){return kr(n,vr(e))+(n.expand?Dr(e,n):Fr(e,n))+(t?n.truncateAnnotationColor(`
|
|
12
|
+
${n.truncateAnnotation}`):"")}s(Ue,"printDiffLines");function Ce(e,t,n){const r=ie(n),[i,o]=kt(se(e)?[]:e,se(t)?[]:t,r);return Ue(i,o,r)}s(Ce,"diffLinesUnified");function qr(e,t,n,r,i){if(se(e)&&se(n)&&(e=[],n=[]),se(t)&&se(r)&&(t=[],r=[]),e.length!==n.length||t.length!==r.length)return Ce(e,t,i);const[o,c]=kt(n,r,i);let a=0,l=0;return o.forEach(g=>{switch(g[0]){case D:g[1]=e[a],a+=1;break;case F:g[1]=t[l],l+=1;break;default:g[1]=t[l],a+=1,l+=1}}),Ue(o,c,ie(i))}s(qr,"diffLinesUnified2");function kt(e,t,n){const r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0),o=r?Math.min(e.length,i):e.length,c=r?Math.min(t.length,i):t.length,a=o!==e.length||c!==t.length,l=s((p,m)=>e[p]===t[m],"isCommon"),g=[];let h=0,y=0;for(Lr(o,c,l,s((p,m,u)=>{for(;h!==m;h+=1)g.push(new N(D,e[h]));for(;y!==u;y+=1)g.push(new N(F,t[y]));for(;p!==0;p-=1,h+=1,y+=1)g.push(new N(M,t[y]))},"foundSubsequence"));h!==o;h+=1)g.push(new N(D,e[h]));for(;y!==c;y+=1)g.push(new N(F,t[y]));return[g,a]}s(kt,"diffLinesRaw");function at(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}s(at,"getType");function ft(e){return e.includes(`\r
|
|
13
|
+
`)?`\r
|
|
14
|
+
`:`
|
|
15
|
+
`}s(ft,"getNewLineSymbol");function Ur(e,t,n){const r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0);let o=e.length,c=t.length;if(r){const p=e.includes(`
|
|
16
|
+
`),m=t.includes(`
|
|
17
|
+
`),u=ft(e),f=ft(t),$=p?`${e.split(u,i).join(u)}
|
|
18
|
+
`:e,d=m?`${t.split(f,i).join(f)}
|
|
19
|
+
`:t;o=$.length,c=d.length}const a=o!==e.length||c!==t.length,l=s((p,m)=>e[p]===t[m],"isCommon");let g=0,h=0;const y=[];return Lr(o,c,l,s((p,m,u)=>{g!==m&&y.push(new N(D,e.slice(g,m))),h!==u&&y.push(new N(F,t.slice(h,u))),g=m+p,h=u+p,y.push(new N(M,t.slice(u,h)))},"foundSubsequence")),g!==o&&y.push(new N(D,e.slice(g))),h!==c&&y.push(new N(F,t.slice(h))),[y,a]}s(Ur,"diffStrings");function Wr(e,t,n){return t.reduce((r,i)=>r+(i[0]===M?i[1]:i[0]===e&&i[1].length!==0?n(i[1]):""),"")}s(Wr,"concatenateRelevantDiffs");var Vr=class{op;line;lines;changeColor;constructor(t,n){this.op=t,this.line=[],this.lines=[],this.changeColor=n}pushSubstring(t){this.pushDiff(new N(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new N(this.op,Wr(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new N(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){const n=t[1];if(n.includes(`
|
|
20
|
+
`)){const r=n.split(`
|
|
21
|
+
`),i=r.length-1;r.forEach((o,c)=>{c<i?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};s(Vr,"ChangeBuffer");var hn=Vr,Yr=class{deleteBuffer;insertBuffer;lines;constructor(t,n){this.deleteBuffer=t,this.insertBuffer=n,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){const n=t[1].length===0;(!n||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!n||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){const n=t[0],r=t[1];if(r.includes(`
|
|
22
|
+
`)){const i=r.split(`
|
|
23
|
+
`),o=i.length-1;i.forEach((c,a)=>{if(a===0){const l=new N(n,c);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else a<o?this.pushDiffCommonLine(new N(n,c)):c.length!==0&&this.pushDiffChangeLines(new N(n,c))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(Yr,"CommonBuffer");var Oo=Yr;function Kr(e,t){const n=new hn(D,t),r=new hn(F,t),i=new Oo(n,r);return e.forEach(o=>{switch(o[0]){case D:n.align(o);break;case F:r.align(o);break;default:i.align(o)}}),i.getLines()}s(Kr,"getAlignedDiffs");function Hr(e,t){if(t){const n=e.length-1;return e.some((r,i)=>r[0]===M&&(i!==n||r[1]!==`
|
|
24
|
+
`))}return e.some(n=>n[0]===M)}s(Hr,"hasCommonDiff");function Jr(e,t,n){if(e!==t&&e.length!==0&&t.length!==0){const r=e.includes(`
|
|
25
|
+
`)||t.includes(`
|
|
26
|
+
`),[i,o]=qt(r?`${e}
|
|
27
|
+
`:e,r?`${t}
|
|
28
|
+
`:t,!0,n);if(Hr(i,r)){const c=ie(n),a=Kr(i,c.changeColor);return Ue(a,o,c)}}return Ce(e.split(`
|
|
29
|
+
`),t.split(`
|
|
30
|
+
`),n)}s(Jr,"diffStringsUnified");function qt(e,t,n,r){const[i,o]=Ur(e,t,r);return n&&Nr(i),[i,o]}s(qt,"diffStringsRaw");function Re(e,t){const{commonColor:n}=ie(t);return n(e)}s(Re,"getCommonMessage");var{AsymmetricMatcher:Ao,DOMCollection:To,DOMElement:No,Immutable:Po,ReactElement:Mo,ReactTestComponent:Io}=Rt,Gr=[Io,Mo,No,To,Po,Ao,Rt.Error],mt={maxDepth:20,plugins:Gr},Xr={callToJSON:!1,maxDepth:8,plugins:Gr};function Zr(e,t,n){if(Object.is(e,t))return"";const r=at(e);let i=r,o=!1;if(r==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),o=i==="string"}if(i!==at(t)){let c=function(C){return C.length<=f?C:`${C.slice(0,f)}...`};s(c,"truncate");const{aAnnotation:a,aColor:l,aIndicator:g,bAnnotation:h,bColor:y,bIndicator:w}=ie(n),p=Fe(Xr,n);let m=V(e,p),u=V(t,p);const f=1e5;m=c(m),u=c(u);const $=`${l(`${g} ${a}:`)}
|
|
31
|
+
${m}`,d=`${y(`${w} ${h}:`)}
|
|
32
|
+
${u}`;return`${$}
|
|
33
|
+
|
|
34
|
+
${d}`}if(!o)switch(r){case"string":return Ce(e.split(`
|
|
35
|
+
`),t.split(`
|
|
36
|
+
`),n);case"boolean":case"number":return Qr(e,t,n);case"map":return Pe(gt(e),gt(t),n);case"set":return Pe(pt(e),pt(t),n);default:return Pe(e,t,n)}}s(Zr,"diff");function Qr(e,t,n){const r=V(e,mt),i=V(t,mt);return r===i?"":Ce(r.split(`
|
|
37
|
+
`),i.split(`
|
|
38
|
+
`),n)}s(Qr,"comparePrimitive");function gt(e){return new Map(Array.from(e.entries()).sort())}s(gt,"sortMap");function pt(e){return new Set(Array.from(e.values()).sort())}s(pt,"sortSet");function Pe(e,t,n){let r,i=!1;try{const c=Fe(mt,n);r=ht(e,t,c,n)}catch{i=!0}const o=Re(Mr,n);if(r===void 0||r===o){const c=Fe(Xr,n);r=ht(e,t,c,n),r!==o&&!i&&(r=`${Re(_o,n)}
|
|
39
|
+
|
|
40
|
+
${r}`)}return r}s(Pe,"compareObjects");function Fe(e,t){const{compareKeys:n,printBasicPrototype:r,maxDepth:i}=ie(t);return{...e,compareKeys:n,printBasicPrototype:r,maxDepth:i??e.maxDepth}}s(Fe,"getFormatOptions");function ht(e,t,n,r){const i={...n,indent:0},o=V(e,i),c=V(t,i);if(o===c)return Re(Mr,r);{const a=V(e,n),l=V(t,n);return qr(a.split(`
|
|
41
|
+
`),l.split(`
|
|
42
|
+
`),o.split(`
|
|
43
|
+
`),c.split(`
|
|
44
|
+
`),r)}}s(ht,"getObjectsDifference");var yn=2e4;function yt(e){return Ie(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(yt,"isAsymmetricMatcher");function bt(e,t){const n=Ie(e),r=Ie(t);return n===r&&(n==="Object"||n==="Array")}s(bt,"isReplaceable");function ei(e,t,n){const{aAnnotation:r,bAnnotation:i}=ie(n);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=yn&&e.length<=yn&&t!==e){if(t.includes(`
|
|
45
|
+
`)||e.includes(`
|
|
46
|
+
`))return Jr(t,e,n);const[h]=qt(t,e,!0),y=h.some(u=>u[0]===M),w=ti(r,i),p=w(r)+ri($t(h,D,y)),m=w(i)+ni($t(h,F,y));return`${p}
|
|
47
|
+
${m}`}const o=st(t,{forceWritable:!0}),c=st(e,{forceWritable:!0}),{replacedExpected:a,replacedActual:l}=Ut(c,o);return Zr(a,l,n)}s(ei,"printDiffOrStringify");function Ut(e,t,n=new WeakSet,r=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):bt(e,t)?n.has(e)||r.has(t)?{replacedActual:e,replacedExpected:t}:(n.add(e),r.add(t),Dt(t).forEach(i=>{const o=t[i],c=e[i];if(yt(o))o.asymmetricMatch(c)&&(e[i]=o);else if(yt(c))c.asymmetricMatch(o)&&(t[i]=c);else if(bt(c,o)){const a=Ut(c,o,n,r);e[i]=a.replacedActual,t[i]=a.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(Ut,"replaceAsymmetricMatcher");function ti(...e){const t=e.reduce((n,r)=>r.length>n?r.length:n,0);return n=>`${n}: ${" ".repeat(t-n.length)}`}s(ti,"getLabelPrinter");var Lo="·";function Wt(e){return e.replace(/\s+$/gm,t=>Lo.repeat(t.length))}s(Wt,"replaceTrailingSpaces");function ni(e){return ee.red(Wt(ge(e)))}s(ni,"printReceived");function ri(e){return ee.green(Wt(ge(e)))}s(ri,"printExpected");function $t(e,t,n){return e.reduce((r,i)=>r+(i[0]===M?i[1]:i[0]===t?n?ee.inverse(i[1]):i[1]:""),"")}s($t,"getCommonAndChangedSubstrings");var Ro="@@__IMMUTABLE_RECORD__@@",Fo="@@__IMMUTABLE_ITERABLE__@@";function ii(e){return e&&(e[Fo]||e[Ro])}s(ii,"isImmutable");var Do=Object.getPrototypeOf({});function St(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(St,"getUnserializableMessage");function Q(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){const n=e.toJSON();return n&&n!==e&&typeof n=="object"&&(typeof e.message=="string"&&ye(()=>n.message??(n.message=e.message)),typeof e.stack=="string"&&ye(()=>n.stack??(n.stack=e.stack)),typeof e.name=="string"&&ye(()=>n.name??(n.name=e.name)),e.cause!=null&&ye(()=>n.cause??(n.cause=Q(e.cause,t)))),Q(n,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(ii(e))return Q(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Er(e.sample)}`;if(typeof e.toJSON=="function")return Q(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){const n=new Array(e.length);return t.set(e,n),e.forEach((r,i)=>{try{n[i]=Q(r,t)}catch(o){n[i]=St(o)}}),n}else{const n=Object.create(null);t.set(e,n);let r=e;for(;r&&r!==Do;)Object.getOwnPropertyNames(r).forEach(i=>{if(!(i in n))try{n[i]=Q(e[i],t)}catch(o){delete n[i],n[i]=St(o)}}),r=Object.getPrototypeOf(r);return n}}s(Q,"serializeValue");function ye(e){try{return e()}catch{}}s(ye,"safe");function oi(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(oi,"normalizeErrorMessage");function ci(e,t,n=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};const r=e;(r.showDiff||r.showDiff===void 0&&r.expected!==void 0&&r.actual!==void 0)&&(r.diff=ei(r.actual,r.expected,{...t,...r.diffOptions})),"expected"in r&&typeof r.expected!="string"&&(r.expected=ge(r.expected,10)),"actual"in r&&typeof r.actual!="string"&&(r.actual=ge(r.actual,10));try{typeof r.message=="string"&&(r.message=oi(r.message))}catch{}try{!n.has(r)&&typeof r.cause=="object"&&(n.add(r),r.cause=ci(r.cause,t,n))}catch{}try{return Q(r)}catch(i){return Q(new Error(`Failed to fully serialize error: ${i?.message}
|
|
48
|
+
Inner error message: ${r?.message}`))}}s(ci,"processError");export{yo as assertTypes,Zr as diff,_r as getDefaultExportFromCjs,Ie as getType,bo as isObject,$o as noop,ei as printDiffOrStringify,ci as processError,ee as s,ge as stringify};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Object.create,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,c=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,b=(r,e)=>a(r,"name",{value:e,configurable:!0}),l=(r,e)=>function(){return e||(0,r[p(r)[0]])((e={exports:{}}).exports,e),e.exports},P=(r,e)=>{for(var t in e)a(r,t,{get:e[t],enumerable:!0})},v=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let _ of p(e))!O.call(r,_)&&_!==t&&a(r,_,{get:()=>e[_],enumerable:!(n=u(e,_))||n.enumerable});return r},f=(r,e,t)=>(t=r!=null?o(c(r)):{},v(e||!r||!r.__esModule?a(t,"default",{value:r,enumerable:!0}):t,r));export{l as __commonJS,P as __export,b as __name,f as __toESM};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{__name as l}from"./chunk-MM7DTO55.js";function m(o){for(var f=[],i=1;i<arguments.length;i++)f[i-1]=arguments[i];var n=Array.from(typeof o=="string"?[o]:o);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var d=n.reduce(function(t,g){var a=g.match(/\n([\t ]+|(?!\s).)/g);return a?t.concat(a.map(function(u){var r,e;return(e=(r=u.match(/[\t ]/g))===null||r===void 0?void 0:r.length)!==null&&e!==void 0?e:0})):t},[]);if(d.length){var h=new RegExp(`
|
|
2
|
+
[ ]{`+Math.min.apply(Math,d)+"}","g");n=n.map(function(t){return t.replace(h,`
|
|
3
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return f.forEach(function(t,g){var a=c.match(/(?:^|\n)( *)$/),u=a?a[1]:"",r=t;typeof t=="string"&&t.includes(`
|
|
4
|
+
`)&&(r=String(t).split(`
|
|
5
|
+
`).map(function(e,s){return s===0?e:""+u+e}).join(`
|
|
6
|
+
`)),c+=r+n[g+1]}),c}l(m,"dedent");export{m as dedent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"};export{t as EVENTS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__commonJS as t,__name as i}from"./chunk-MM7DTO55.js";var l=t({"../node_modules/picocolors/picocolors.browser.js"(o,r){var e=String,g=i(function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}},"create");r.exports=g(),r.exports.createColors=g}});export{l as require_picocolors_browser};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__name as a}from"../_browser-chunks/chunk-MM7DTO55.js";import{global as d}from"../../../../../@storybook_global@5.0.0/node_modules/@storybook/global/dist/index.js";var{LOGLEVEL:v}=d,t={trace:1,debug:2,info:3,warn:4,error:5,silent:10},w=v,c=t[w]||t.info,g={trace:a((e,...r)=>{c<=t.trace&&console.trace(e,...r)},"trace"),debug:a((e,...r)=>{c<=t.debug&&console.debug(e,...r)},"debug"),info:a((e,...r)=>{c<=t.info&&console.info(e,...r)},"info"),warn:a((e,...r)=>{c<=t.warn&&console.warn(e,...r)},"warn"),error:a((e,...r)=>{c<=t.error&&console.error(e,...r)},"error"),log:a((e,...r)=>{c<t.silent&&console.log(e,...r)},"log")},f=new Set,o=a(e=>(r,...l)=>{if(!f.has(r))return f.add(r),g[e](r,...l)},"once");o.clear=()=>f.clear();o.trace=o("trace");o.debug=o("debug");o.info=o("info");o.warn=o("warn");o.error=o("error");o.log=o("log");o("warn");var n=a(e=>(...r)=>{const l=[];if(r.length){const u=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,p=/<\/span>/gi;let s;for(l.push(r[0].replace(u,"%c").replace(p,"%c"));s=u.exec(r[0]);)l.push(s[2]),l.push("");for(let i=1;i<r.length;i++)l.push(r[i])}g[e].apply(g,l)},"pretty");n.trace=n("trace");n.debug=n("debug");n.info=n("info");n.warn=n("warn");n.error=n("error");export{g as logger,o as once,n as pretty};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var R=(E=>(E.CHANNEL_WS_DISCONNECT="channelWSDisconnect",E.CHANNEL_CREATED="channelCreated",E.CONFIG_ERROR="configError",E.STORY_INDEX_INVALIDATED="storyIndexInvalidated",E.STORY_SPECIFIED="storySpecified",E.SET_CONFIG="setConfig",E.SET_STORIES="setStories",E.SET_INDEX="setIndex",E.SET_CURRENT_STORY="setCurrentStory",E.CURRENT_STORY_WAS_SET="currentStoryWasSet",E.FORCE_RE_RENDER="forceReRender",E.FORCE_REMOUNT="forceRemount",E.PRELOAD_ENTRIES="preloadStories",E.STORY_PREPARED="storyPrepared",E.DOCS_PREPARED="docsPrepared",E.STORY_CHANGED="storyChanged",E.STORY_UNCHANGED="storyUnchanged",E.STORY_RENDERED="storyRendered",E.STORY_FINISHED="storyFinished",E.STORY_MISSING="storyMissing",E.STORY_ERRORED="storyErrored",E.STORY_THREW_EXCEPTION="storyThrewException",E.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",E.STORY_HOT_UPDATED="storyHotUpdated",E.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",E.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",E.UPDATE_STORY_ARGS="updateStoryArgs",E.STORY_ARGS_UPDATED="storyArgsUpdated",E.RESET_STORY_ARGS="resetStoryArgs",E.SET_FILTER="setFilter",E.SET_GLOBALS="setGlobals",E.UPDATE_GLOBALS="updateGlobals",E.GLOBALS_UPDATED="globalsUpdated",E.REGISTER_SUBSCRIPTION="registerSubscription",E.PREVIEW_INITIALIZED="previewInitialized",E.PREVIEW_KEYDOWN="previewKeydown",E.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",E.SELECT_STORY="selectStory",E.STORIES_COLLAPSE_ALL="storiesCollapseAll",E.STORIES_EXPAND_ALL="storiesExpandAll",E.DOCS_RENDERED="docsRendered",E.SHARED_STATE_CHANGED="sharedStateChanged",E.SHARED_STATE_SET="sharedStateSet",E.NAVIGATE_URL="navigateUrl",E.UPDATE_QUERY_PARAMS="updateQueryParams",E.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",E.RESULT_WHATS_NEW_DATA="resultWhatsNewData",E.SET_WHATS_NEW_CACHE="setWhatsNewCache",E.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",E.TELEMETRY_ERROR="telemetryError",E.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",E.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",E.SAVE_STORY_REQUEST="saveStoryRequest",E.SAVE_STORY_RESPONSE="saveStoryResponse",E.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",E.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",E.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",E.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",E.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",E.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",E))(R||{}),{CHANNEL_WS_DISCONNECT:_,CHANNEL_CREATED:S,CONFIG_ERROR:T,CREATE_NEW_STORYFILE_REQUEST:O,CREATE_NEW_STORYFILE_RESPONSE:N,CURRENT_STORY_WAS_SET:A,DOCS_PREPARED:I,DOCS_RENDERED:D,FILE_COMPONENT_SEARCH_REQUEST:r,FILE_COMPONENT_SEARCH_RESPONSE:P,FORCE_RE_RENDER:C,FORCE_REMOUNT:o,GLOBALS_UPDATED:L,NAVIGATE_URL:Y,PLAY_FUNCTION_THREW_EXCEPTION:a,UNHANDLED_ERRORS_WHILE_PLAYING:U,PRELOAD_ENTRIES:H,PREVIEW_INITIALIZED:W,PREVIEW_BUILDER_PROGRESS:G,PREVIEW_KEYDOWN:d,REGISTER_SUBSCRIPTION:i,RESET_STORY_ARGS:F,SELECT_STORY:l,SET_CONFIG:p,SET_CURRENT_STORY:t,SET_FILTER:y,SET_GLOBALS:c,SET_INDEX:e,SET_STORIES:h,SHARED_STATE_CHANGED:g,SHARED_STATE_SET:u,STORIES_COLLAPSE_ALL:s,STORIES_EXPAND_ALL:Q,STORY_ARGS_UPDATED:V,STORY_CHANGED:M,STORY_ERRORED:f,STORY_INDEX_INVALIDATED:w,STORY_MISSING:B,STORY_PREPARED:X,STORY_RENDER_PHASE_CHANGED:q,STORY_RENDERED:x,STORY_FINISHED:b,STORY_SPECIFIED:m,STORY_THREW_EXCEPTION:K,STORY_UNCHANGED:Z,STORY_HOT_UPDATED:z,UPDATE_GLOBALS:j,UPDATE_QUERY_PARAMS:k,UPDATE_STORY_ARGS:J,REQUEST_WHATS_NEW_DATA:$,RESULT_WHATS_NEW_DATA:n,SET_WHATS_NEW_CACHE:v,TOGGLE_WHATS_NEW_NOTIFICATIONS:EE,TELEMETRY_ERROR:RE,SAVE_STORY_REQUEST:_E,SAVE_STORY_RESPONSE:SE,ARGTYPES_INFO_REQUEST:TE,ARGTYPES_INFO_RESPONSE:OE,OPEN_IN_EDITOR_REQUEST:NE,OPEN_IN_EDITOR_RESPONSE:AE}=R;export{TE as ARGTYPES_INFO_REQUEST,OE as ARGTYPES_INFO_RESPONSE,S as CHANNEL_CREATED,_ as CHANNEL_WS_DISCONNECT,T as CONFIG_ERROR,O as CREATE_NEW_STORYFILE_REQUEST,N as CREATE_NEW_STORYFILE_RESPONSE,A as CURRENT_STORY_WAS_SET,I as DOCS_PREPARED,D as DOCS_RENDERED,r as FILE_COMPONENT_SEARCH_REQUEST,P as FILE_COMPONENT_SEARCH_RESPONSE,o as FORCE_REMOUNT,C as FORCE_RE_RENDER,L as GLOBALS_UPDATED,Y as NAVIGATE_URL,NE as OPEN_IN_EDITOR_REQUEST,AE as OPEN_IN_EDITOR_RESPONSE,a as PLAY_FUNCTION_THREW_EXCEPTION,H as PRELOAD_ENTRIES,G as PREVIEW_BUILDER_PROGRESS,W as PREVIEW_INITIALIZED,d as PREVIEW_KEYDOWN,i as REGISTER_SUBSCRIPTION,$ as REQUEST_WHATS_NEW_DATA,F as RESET_STORY_ARGS,n as RESULT_WHATS_NEW_DATA,_E as SAVE_STORY_REQUEST,SE as SAVE_STORY_RESPONSE,l as SELECT_STORY,p as SET_CONFIG,t as SET_CURRENT_STORY,y as SET_FILTER,c as SET_GLOBALS,e as SET_INDEX,h as SET_STORIES,v as SET_WHATS_NEW_CACHE,g as SHARED_STATE_CHANGED,u as SHARED_STATE_SET,s as STORIES_COLLAPSE_ALL,Q as STORIES_EXPAND_ALL,V as STORY_ARGS_UPDATED,M as STORY_CHANGED,f as STORY_ERRORED,b as STORY_FINISHED,z as STORY_HOT_UPDATED,w as STORY_INDEX_INVALIDATED,B as STORY_MISSING,X as STORY_PREPARED,x as STORY_RENDERED,q as STORY_RENDER_PHASE_CHANGED,m as STORY_SPECIFIED,K as STORY_THREW_EXCEPTION,Z as STORY_UNCHANGED,RE as TELEMETRY_ERROR,EE as TOGGLE_WHATS_NEW_NOTIFICATIONS,U as UNHANDLED_ERRORS_WHILE_PLAYING,j as UPDATE_GLOBALS,k as UPDATE_QUERY_PARAMS,J as UPDATE_STORY_ARGS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{EVENTS as y}from"../_browser-chunks/chunk-SN4J4IQ3.js";import{processError as j}from"../_browser-chunks/chunk-JVSKG4YS.js";import{__name as u}from"../_browser-chunks/chunk-MM7DTO55.js";import{once as x}from"../client-logger/index.js";import{FORCE_REMOUNT as b,STORY_RENDER_PHASE_CHANGED as U,SET_CURRENT_STORY as B}from"../core-events/index.js";import{global as m}from"../../../../../@storybook_global@5.0.0/node_modules/@storybook/global/dist/index.js";var I=globalThis.__STORYBOOK_ADDONS_PREVIEW,L=new Error("This function ran after the play function completed. Did you forget to `await` it?"),N=u(_=>Object.prototype.toString.call(_)==="[object Object]","isObject"),k=u(_=>Object.prototype.toString.call(_)==="[object Module]","isModule"),M=u(_=>{if(!N(_)&&!k(_))return!1;if(_.constructor===void 0)return!0;const n=_.constructor.prototype;return!!N(n)},"isInstrumentable"),Y=u(_=>{try{return new _.constructor}catch{return{}}},"construct"),T=u(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),C=u((_,n=!1)=>{const i=(n?_.shadowCalls:_.calls).filter(d=>d.retain);if(!i.length)return;const e=new Map(Array.from(_.callRefsByResult.entries()).filter(([,d])=>d.retain));return{cursor:i.length,calls:i,callRefsByResult:e}},"getRetainedState"),A=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=u(()=>{try{this.state=m.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=u(()=>{try{m.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();const n=u(({storyId:s,renderPhase:r,isPlaying:a=!0,isDebugging:t=!1})=>{const l=this.getState(s);this.setState(s,{...T(),...C(l,t),renderPhase:r||l.renderPhase,shadowCalls:t?l.shadowCalls:[],chainedCallIds:t?l.chainedCallIds:new Set,playUntil:t?l.playUntil:void 0,isPlaying:a,isDebugging:t}),this.sync(s)},"resetState"),i=u(s=>({storyId:r,playUntil:a})=>{this.getState(r).isDebugging||this.setState(r,({calls:l})=>({calls:[],shadowCalls:l.map(f=>({...f,status:"waiting"})),isDebugging:!0}));const t=this.getLog(r);this.setState(r,({shadowCalls:l})=>{if(a||!t.length)return{playUntil:a};const f=l.findIndex(h=>h.id===t[0].callId);return{playUntil:l.slice(0,f).filter(h=>h.interceptable&&!h.ancestors?.length).slice(-1)[0]?.id}}),s.emit(b,{storyId:r,isDebugging:!0})},"start"),e=u(s=>({storyId:r})=>{const a=this.getLog(r).filter(l=>!l.ancestors?.length),t=a.reduceRight((l,f,h)=>l>=0||f.status==="waiting"?l:h,-1);i(s)({storyId:r,playUntil:a[t-1]?.callId})},"back"),d=u(s=>({storyId:r,callId:a})=>{const{calls:t,shadowCalls:l,resolvers:f}=this.getState(r),h=t.find(({id:S})=>S===a),p=l.find(({id:S})=>S===a);if(!h&&p&&Object.values(f).length>0){const S=this.getLog(r).find(O=>O.status==="waiting")?.callId;p.id!==S&&this.setState(r,{playUntil:p.id}),Object.values(f).forEach(O=>O())}else i(s)({storyId:r,playUntil:a})},"goto"),c=u(s=>({storyId:r})=>{const{resolvers:a}=this.getState(r);if(Object.values(a).length>0)Object.values(a).forEach(t=>t());else{const t=this.getLog(r).find(l=>l.status==="waiting")?.callId;t?i(s)({storyId:r,playUntil:t}):g({storyId:r})}},"next"),g=u(({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(r=>r())},"end"),o=u(({storyId:s,newPhase:r})=>{const{isDebugging:a}=this.getState(s);if(r==="preparing"&&a)return n({storyId:s,renderPhase:r,isDebugging:a});if(r==="playing")return n({storyId:s,renderPhase:r,isDebugging:a});r==="played"?this.setState(s,{renderPhase:r,isLocked:!1,isPlaying:!1,isDebugging:!1}):r==="errored"?this.setState(s,{renderPhase:r,isLocked:!1,isPlaying:!1}):r==="aborted"?this.setState(s,{renderPhase:r,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:r}),this.sync(s)},"renderPhaseChanged");I&&I.ready().then(()=>{this.channel=I.getChannel(),this.channel.on(b,n),this.channel.on(U,o),this.channel.on(B,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(y.START,i(this.channel)),this.channel.on(y.BACK,e(this.channel)),this.channel.on(y.GOTO,d(this.channel)),this.channel.on(y.NEXT,c(this.channel)),this.channel.on(y.END,g)})}getState(n){return this.state[n]||T()}setState(n,i){if(n){const e=this.getState(n),d=typeof i=="function"?i(e):i;this.state={...this.state,[n]:{...e,...d}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((e,[d,c])=>{const g=C(c);return g&&(e[d]=Object.assign(T(),g)),e},{});const i={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(y.SYNC,i),this.updateParentWindowState()}getLog(n){const{calls:i,shadowCalls:e}=this.getState(n),d=[...e];i.forEach((g,o)=>{d[o]=g});const c=new Set;return d.reduceRight((g,o)=>(o.args.forEach(s=>{s?.__callId__&&c.add(s.__callId__)}),o.path.forEach(s=>{s.__callId__&&c.add(s.__callId__)}),(o.interceptable||o.exception)&&!c.has(o.id)&&(g.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),c.add(o.id)),g),[])}instrument(n,i,e=0){if(!M(n))return n;const{mutate:d=!1,path:c=[]}=i,g=i.getKeys?i.getKeys(n,e):Object.keys(n);return e+=1,g.reduce((o,s)=>{const r=P(n,s);if(typeof r?.get=="function"){if(r.configurable){const t=u(()=>r?.get?.bind(n)?.(),"getter");Object.defineProperty(o,s,{get:u(()=>this.instrument(t(),{...i,path:c.concat(s)},e),"get")})}return o}const a=n[s];return typeof a!="function"?(o[s]=this.instrument(a,{...i,path:c.concat(s)},e),o):"__originalFn__"in a&&typeof a.__originalFn__=="function"?(o[s]=a,o):(o[s]=(...t)=>this.track(s,a,n,t,i),o[s].__originalFn__=a,Object.defineProperty(o[s],"name",{value:s,writable:!1}),Object.keys(a).length>0&&Object.assign(o[s],this.instrument({...a},{...i,path:c.concat(s)},e)),o)},d?n:Y(n))}track(n,i,e,d,c){const g=d?.[0]?.__storyId__||m.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:o,ancestors:s}=this.getState(g);this.setState(g,{cursor:o+1});const r=`${s.slice(-1)[0]||g} [${o}] ${n}`,{path:a=[],intercept:t=!1,retain:l=!1}=c,f=typeof t=="function"?t(n,a):t,h={id:r,cursor:o,storyId:g,ancestors:s,path:a,method:n,args:d,interceptable:f,retain:l},S=(f&&!s.length?this.intercept:this.invoke).call(this,i,e,h,c);return this.instrument(S,{...c,mutate:!0,path:[{__callId__:h.id}]})}intercept(n,i,e,d){const{chainedCallIds:c,isDebugging:g,playUntil:o}=this.getState(e.storyId),s=c.has(e.id);return!g||s||o?(o===e.id&&this.setState(e.storyId,{playUntil:void 0}),this.invoke(n,i,e,d)):new Promise(r=>{this.setState(e.storyId,({resolvers:a})=>({isLocked:!1,resolvers:{...a,[e.id]:r}}))}).then(()=>(this.setState(e.storyId,r=>{const{[e.id]:a,...t}=r.resolvers;return{isLocked:!0,resolvers:t}}),this.invoke(n,i,e,d)))}invoke(n,i,e,d){const{callRefsByResult:c,renderPhase:g}=this.getState(e.storyId),o=25,s=u((t,l,f)=>{if(f.includes(t))return"[Circular]";if(f=[...f,t],l>o)return"...";if(c.has(t))return c.get(t);if(t instanceof Array)return t.map(h=>s(h,++l,f));if(t instanceof Date)return{__date__:{value:t.toISOString()}};if(t instanceof Error){const{name:h,message:p,stack:S}=t;return{__error__:{name:h,message:p,stack:S}}}if(t instanceof RegExp){const{flags:h,source:p}=t;return{__regexp__:{flags:h,source:p}}}if(t instanceof m.window?.HTMLElement){const{prefix:h,localName:p,id:S,classList:O,innerText:w}=t,R=Array.from(O);return{__element__:{prefix:h,localName:p,id:S,classNames:R,innerText:w}}}return typeof t=="function"?{__function__:{name:"getMockName"in t?t.getMockName():t.name}}:typeof t=="symbol"?{__symbol__:{description:t.description}}:typeof t=="object"&&t?.constructor?.name&&t?.constructor?.name!=="Object"?{__class__:{name:t.constructor.name}}:Object.prototype.toString.call(t)==="[object Object]"?Object.fromEntries(Object.entries(t).map(([h,p])=>[h,s(p,++l,f)])):t},"serializeValues"),r={...e,args:e.args.map(t=>s(t,0,[]))};e.path.forEach(t=>{t?.__callId__&&this.setState(e.storyId,({chainedCallIds:l})=>({chainedCallIds:new Set(Array.from(l).concat(t.__callId__))}))});const a=u(t=>{if(t instanceof Error){const{name:l,message:f,stack:h,callId:p=e.id}=t,{showDiff:S=void 0,diff:O=void 0,actual:w=void 0,expected:R=void 0}=t.name==="AssertionError"?j(t):t,E={name:l,message:f,stack:h,callId:p,showDiff:S,diff:O,actual:w,expected:R};if(this.update({...r,status:"error",exception:E}),this.setState(e.storyId,v=>({callRefsByResult:new Map([...Array.from(v.callRefsByResult.entries()),[t,{__callId__:e.id,retain:e.retain}]])})),e.ancestors?.length)throw Object.prototype.hasOwnProperty.call(t,"callId")||Object.defineProperty(t,"callId",{value:e.id}),t}throw t},"handleException");try{if(g==="played"&&!e.retain)throw L;const l=(d.getArgs?d.getArgs(e,this.getState(e.storyId)):e.args).map(h=>typeof h!="function"||D(h)||Object.keys(h).length?h:(...p)=>{const{cursor:S,ancestors:O}=this.getState(e.storyId);this.setState(e.storyId,{cursor:0,ancestors:[...O,e.id]});const w=u(()=>this.setState(e.storyId,{cursor:S,ancestors:O}),"restore");let R=!1;try{const E=h(...p);return E instanceof Promise?(R=!0,E.finally(w)):E}finally{R||w()}}),f=n.apply(i,l);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(e.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[f,{__callId__:e.id,retain:e.retain}]])})),this.update({...r,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(h=>(this.update({...r,status:"done"}),h),a):f}catch(t){return a(t)}}update(n){this.channel?.emit(y.CALL,n),this.setState(n.storyId,({calls:i})=>{const e=i.concat(n).reduce((d,c)=>Object.assign(d,{[c.id]:c}),{});return{calls:Object.values(e).sort((d,c)=>d.id.localeCompare(c.id,void 0,{numeric:!0}))}}),this.sync(n.storyId)}sync(n){const i=u(()=>{const{isLocked:e,isPlaying:d}=this.getState(n),c=this.getLog(n),g=c.filter(({ancestors:t})=>!t.length).find(t=>t.status==="waiting")?.callId,o=c.some(t=>t.status==="active");if(this.detached||e||o||c.length===0){const l={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:c};this.channel?.emit(y.SYNC,l);return}const s=c.some(t=>t.status==="done"||t.status==="error"),a={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:d,end:d},logItems:c,pausedAt:g};this.channel?.emit(y.SYNC,a)},"synchronize");this.setState(n,({syncTimeout:e})=>(clearTimeout(e),{syncTimeout:setTimeout(i,0)}))}};u(A,"Instrumenter");var K=A;function W(_,n={}){try{let i=!1,e=!1;return m.window?.location?.search?.includes("instrument=true")?i=!0:m.window?.location?.search?.includes("instrument=false")&&(e=!0),m.window?.parent===m.window&&!i||e?_:(m.window&&!m.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(m.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new K),(m.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(_,n))}catch(i){return x.warn(i),_}}u(W,"instrument");function P(_,n){let i=_;for(;i!=null;){const e=Object.getOwnPropertyDescriptor(i,n);if(e)return e;i=Object.getPrototypeOf(i)}}u(P,"getPropertyDescriptor");function D(_){if(typeof _!="function")return!1;const n=Object.getOwnPropertyDescriptor(_,"prototype");return n?!n.writable:!1}u(D,"isClass");export{y as EVENTS,W as instrument};
|