@ncino/web-components 8.1.0-preview.8 → 9.0.0-preview.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/dist/_slds/icons/symbols-rtl.svg +1 -1
  2. package/dist/_slds/icons/symbols.svg +1 -1
  3. package/dist/_virtual/index5.js +1 -1
  4. package/dist/_virtual/index6.js +1 -1
  5. package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.1/node_modules/ckeditor5/dist/ckeditor5.css +1 -1
  6. package/dist/components/badge/gator/badge.gator.js +3 -3
  7. package/dist/components/image-card/gator/image-card.gator.js +3 -2
  8. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +42 -36
  9. package/dist/components/input/gator/input-phone/input-phone.gator.js +3 -1
  10. package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
  11. package/dist/components/modal/gator/modal.gator.js +7 -4
  12. package/dist/components/modal/modal.js +1 -1
  13. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  14. package/dist/components/progress-stepper/index.js +1 -0
  15. package/dist/index.gator.js +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.9/node_modules/@figma/code-connect/dist/connect/helpers.js +1 -1
  18. package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1 -1
  19. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +3 -3
  20. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +1 -1
  21. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
  22. package/dist/node_modules/.pnpm/@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js +1 -1
  23. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -1
  24. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js +19 -19
  25. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js +1 -1
  26. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +1 -1
  27. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  28. package/dist/node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js +1 -1
  29. package/dist/node_modules/.pnpm/axe-core@4.11.0/node_modules/axe-core/axe.js +12 -12
  30. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +1 -1
  31. package/dist/node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js +2 -0
  32. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/conversions.js +1 -1
  33. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js +1 -1
  34. package/dist/node_modules/.pnpm/{color-name@2.0.2 → color-name@2.1.0}/node_modules/color-name/index.js +1 -1
  35. package/dist/node_modules/.pnpm/color-parse@2.0.2/node_modules/color-parse/index.js +1 -1
  36. package/dist/node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js +1 -1
  37. package/dist/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js +1 -1
  38. package/dist/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js +1 -1
  39. package/dist/node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js +1 -1
  40. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/index.js +1 -1
  41. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/media.js +1 -1
  42. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table.js +1 -1
  43. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.30/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  44. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +1 -0
  45. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +1 -0
  46. package/dist/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js +1 -1
  47. package/dist/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js +1 -1
  48. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  49. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +1 -1
  50. package/dist/node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js +1 -0
  51. package/dist/node_modules/.pnpm/remark-rehype@11.1.2/node_modules/remark-rehype/lib/index.js +1 -1
  52. package/dist/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js +1 -1
  53. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/_browser-chunks/chunk-A242L54C.js +1 -0
  54. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/_browser-chunks/chunk-EZSQOHRI.js +1 -0
  55. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/_browser-chunks/chunk-JP7NCOJX.js +6 -0
  56. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/_browser-chunks/chunk-RP5RXKFU.js +48 -0
  57. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/client-logger/index.js +1 -0
  58. 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 → storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/storybook/dist/core-events/index.js +1 -1
  59. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/instrumenter/index.js +1 -0
  60. package/dist/node_modules/.pnpm/storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/test/index.js +152 -0
  61. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js +1 -0
  62. package/dist/node_modules/.pnpm/tinyspy@4.0.4/node_modules/tinyspy/dist/index.js +1 -0
  63. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
  64. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/client.js +3 -3
  65. package/dist/node_modules/.pnpm/unist-util-find-after@5.0.0/node_modules/unist-util-find-after/lib/index.js +1 -1
  66. package/dist/node_modules/.pnpm/{unist-util-visit-parents@6.0.1 → unist-util-visit-parents@6.0.2}/node_modules/unist-util-visit-parents/lib/index.js +1 -1
  67. package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js +1 -1
  68. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js +1 -1
  69. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/util.js +3 -3
  70. 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_10880c0a9445bba638204ee93166eaed → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.1_@vitest_browser@3.2.4_@vitest_ui@3_6e27007ba0535c26eedf5a22febb1842}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
  71. package/dist/packages/styles/src/gator/tokens/semantic.tokens.css.js +1 -1
  72. package/dist/packages/web-components/src/components/badge/gator/badge.gator.scss.js +1 -1
  73. package/dist/packages/web-components/src/components/chip/gator/chip.gator.scss.js +1 -1
  74. package/dist/packages/web-components/src/components/image-card/gator/image-card.gator.scss.js +1 -1
  75. package/dist/packages/web-components/src/components/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
  76. package/dist/packages/web-components/src/components/input/gator/input-date/input-date.gator.scss.js +1 -1
  77. package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
  78. package/dist/packages/web-components/src/index.slds.scss.js +1 -1
  79. package/dist/types/components/badge/gator/badge.gator.d.ts +8 -1
  80. package/dist/types/components/input/base/input-base.d.ts +1 -1
  81. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +10 -7
  82. package/dist/types/components/modal/modal.d.ts +4 -0
  83. package/dist/types/components/progress-stepper/index.d.ts +1 -0
  84. package/dist/types/index.d.ts +1 -0
  85. package/dist/types/index.gator.d.ts +1 -0
  86. package/dist/utils/vitest-a11y-utils.js +1 -1
  87. package/package.json +18 -18
  88. package/web-types.json +185 -169
  89. package/dist/design-tokens.source.json +0 -1
  90. package/dist/generated/locale-codes.js +0 -1
  91. package/dist/generated/locales/es-419.js +0 -10
  92. package/dist/generated/locales/fr-CA.js +0 -10
  93. package/dist/generated/locales/zh-Hans.js +0 -11
  94. package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +0 -2
  95. package/dist/node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js +0 -1
  96. package/dist/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js +0 -1
  97. package/dist/node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js +0 -1
  98. package/dist/node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js +0 -1
  99. package/dist/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js +0 -1
  100. package/dist/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js +0 -1
  101. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.26/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  102. package/dist/node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/index.js +0 -1
  103. package/dist/node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/promise.js +0 -1
  104. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -2
  105. package/dist/node_modules/.pnpm/possible-typed-array-names@1.0.0/node_modules/possible-typed-array-names/index.js +0 -1
  106. 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 +0 -48
  107. 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 +0 -1
  108. 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 +0 -6
  109. 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 +0 -1
  110. 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 +0 -1
  111. 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 +0 -1
  112. 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 +0 -152
  113. package/dist/node_modules/.pnpm/strip-literal@3.0.0/node_modules/strip-literal/dist/index.js +0 -1
  114. package/dist/node_modules/.pnpm/tinyspy@4.0.3/node_modules/tinyspy/dist/index.js +0 -1
  115. package/dist/types/generated/locale-codes.d.ts +0 -13
  116. package/dist/types/generated/locales/es-419.d.ts +0 -65
  117. package/dist/types/generated/locales/fr-CA.d.ts +0 -65
  118. package/dist/types/generated/locales/zh-Hans.d.ts +0 -65
  119. /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_fa5be4b0345b48b65ec4b7072214c2b3 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.10.1_typescript@5.9.3__playwright@1.57.0_4c7b68e67853c98910921d3bcdc3c508}/node_modules/@vitest/browser/context.js +0 -0
  120. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
  121. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
  122. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  123. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/format.js +0 -0
  124. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
  125. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
  126. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
  127. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
  128. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
  129. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
  130. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
  131. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
  132. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
  133. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
  134. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
  135. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
  136. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
  137. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -0
  138. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
  139. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -0
  140. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
  141. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
  142. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
  143. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
  144. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
  145. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
  146. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  147. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  148. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
  149. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
  150. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  151. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
  152. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  153. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
  154. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
  155. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
  156. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
  157. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.26 → libphonenumber-js@1.12.30}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
  158. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/arguments.js +0 -0
  159. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/array.js +0 -0
  160. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/bigint.js +0 -0
  161. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/class.js +0 -0
  162. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/date.js +0 -0
  163. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/error.js +0 -0
  164. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/function.js +0 -0
  165. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/helpers.js +0 -0
  166. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/html.js +0 -0
  167. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/map.js +0 -0
  168. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/number.js +0 -0
  169. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/object.js +0 -0
  170. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/regexp.js +0 -0
  171. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/set.js +0 -0
  172. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/string.js +0 -0
  173. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/symbol.js +0 -0
  174. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.2.1}/node_modules/loupe/lib/typedarray.js +0 -0
  175. /package/dist/node_modules/.pnpm/{magic-string@0.30.19 → magic-string@0.30.21}/node_modules/magic-string/dist/magic-string.es.js +0 -0
  176. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/footer.js +0 -0
  177. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -0
  178. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -0
  179. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -0
  180. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -0
  181. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -0
  182. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -0
  183. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -0
  184. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -0
  185. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -0
  186. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -0
  187. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -0
  188. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -0
  189. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -0
  190. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -0
  191. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -0
  192. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -0
  193. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -0
  194. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -0
  195. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -0
  196. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -0
  197. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -0
  198. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -0
  199. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -0
  200. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/index.js +0 -0
  201. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/revert.js +0 -0
  202. /package/dist/node_modules/.pnpm/{mdast-util-to-hast@13.2.0 → mdast-util-to-hast@13.2.1}/node_modules/mdast-util-to-hast/lib/state.js +0 -0
  203. /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 → storybook@10.1.2_@testing-library_dom@10.4.1_prettier@3.6.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/_browser-chunks/chunk-ZUWEVLDX.js} +0 -0
  204. /package/dist/node_modules/.pnpm/{unist-util-is@6.0.0 → unist-util-is@6.0.1}/node_modules/unist-util-is/lib/index.js +0 -0
  205. /package/dist/node_modules/.pnpm/{unist-util-visit-parents@6.0.1 → unist-util-visit-parents@6.0.2}/node_modules/unist-util-visit-parents/lib/color.js +0 -0
  206. /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_10880c0a9445bba638204ee93166eaed → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.1_@vitest_browser@3.2.4_@vitest_ui@3_6e27007ba0535c26eedf5a22febb1842}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  207. /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_10880c0a9445bba638204ee93166eaed → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.1_@vitest_browser@3.2.4_@vitest_ui@3_6e27007ba0535c26eedf5a22febb1842}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  208. /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_10880c0a9445bba638204ee93166eaed → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.1_@vitest_browser@3.2.4_@vitest_ui@3_6e27007ba0535c26eedf5a22febb1842}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import be from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";function v(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function Te(e,t){const r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(const o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function I(e,t,r,n,o,s,u=": "){let a="",l=0,m=e.next();if(!m.done){a+=t.spacingOuter;const p=r+t.indent;for(;!m.done;){if(a+=p,l++===t.maxWidth){a+="…";break}const E=s(m.value[0],t,p,n,o),S=s(m.value[1],t,p,n,o);a+=E+u+S,m=e.next(),m.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function L(e,t,r,n,o,s){let u="",a=0,l=e.next();if(!l.done){u+=t.spacingOuter;const m=r+t.indent;for(;!l.done;){if(u+=m,a++===t.maxWidth){u+="…";break}u+=s(l.value,t,m,n,o),l=e.next(),l.done?t.min||(u+=","):u+=`,${t.spacingInner}`}u+=t.spacingOuter+r}return u}function M(e,t,r,n,o,s){let u="";e=e instanceof ArrayBuffer?new DataView(e):e;const a=m=>m instanceof DataView,l=a(e)?e.byteLength:e.length;if(l>0){u+=t.spacingOuter;const m=r+t.indent;for(let p=0;p<l;p++){if(u+=m,p===t.maxWidth){u+="…";break}(a(e)||p in e)&&(u+=s(a(e)?e.getInt8(p):e[p],t,m,n,o)),p<l-1?u+=`,${t.spacingInner}`:t.min||(u+=",")}u+=t.spacingOuter+r}return u}function D(e,t,r,n,o,s){let u="";const a=Te(e,t.compareKeys);if(a.length>0){u+=t.spacingOuter;const l=r+t.indent;for(let m=0;m<a.length;m++){const p=a[m],E=s(p,t,l,n,o),S=s(e[p],t,l,n,o);u+=`${l+E}: ${S}`,m<a.length-1?u+=`,${t.spacingInner}`:t.min||(u+=",")}u+=t.spacingOuter+r}return u}const Ne=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,O=" ",Ie=(e,t,r,n,o,s)=>{const u=e.toString();if(u==="ArrayContaining"||u==="ArrayNotContaining")return++n>t.maxDepth?`[${u}]`:`${u+O}[${M(e.sample,t,r,n,o,s)}]`;if(u==="ObjectContaining"||u==="ObjectNotContaining")return++n>t.maxDepth?`[${u}]`:`${u+O}{${D(e.sample,t,r,n,o,s)}}`;if(u==="StringMatching"||u==="StringNotMatching"||u==="StringContaining"||u==="StringNotContaining")return u+O+s(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Oe=e=>e&&e.$$typeof===Ne,Ae={serialize:Ie,test:Oe},Me=" ",ee=new Set(["DOMStringMap","NamedNodeMap"]),Re=/^(?:HTML\w*Collection|NodeList)$/;function Ce(e){return ee.has(e)||Re.test(e)}const xe=e=>e&&e.constructor&&!!e.constructor.name&&Ce(e.constructor.name);function ge(e){return e.constructor.name==="NamedNodeMap"}const Pe=(e,t,r,n,o,s)=>{const u=e.constructor.name;return++n>t.maxDepth?`[${u}]`:(t.min?"":u+Me)+(ee.has(u)?`{${D(ge(e)?[...e].reduce((a,l)=>(a[l.name]=l.value,a),{}):{...e},t,r,n,o,s)}}`:`[${M([...e],t,r,n,o,s)}]`)},he={serialize:Pe,test:xe};function te(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function F(e,t,r,n,o,s,u){const a=n+r.indent,l=r.colors;return e.map(m=>{const p=t[m];let E=u(p,r,a,o,s);return typeof p!="string"&&(E.includes(`
2
- `)&&(E=r.spacingOuter+a+E+r.spacingOuter+n),E=`{${E}}`),`${r.spacingInner+n+l.prop.open+m+l.prop.close}=${l.value.open}${E}${l.value.close}`}).join("")}function j(e,t,r,n,o,s){return e.map(u=>t.spacingOuter+r+(typeof u=="string"?re(u,t):s(u,t,r,n,o))).join("")}function re(e,t){const r=t.colors.content;return r.open+te(e)+r.close}function we(e,t){const r=t.colors.comment;return`${r.open}<!--${te(e)}-->${r.close}`}function z(e,t,r,n,o){const s=n.colors.tag;return`${s.open}<${e}${t&&s.close+t+n.spacingOuter+o+s.open}${r?`>${s.close}${r}${n.spacingOuter}${o}${s.open}</${e}`:`${t&&!n.min?"":" "}/`}>${s.close}`}function B(e,t){const r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}const Le=1,ne=3,oe=8,ue=11,De=/^(?:(?:HTML|SVG)\w*)?Element$/;function Fe(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function je(e){const t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Fe(e);return r===Le&&(De.test(t)||o)||r===ne&&t==="Text"||r===oe&&t==="Comment"||r===ue&&t==="DocumentFragment"}const ze=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&je(e)};function Be(e){return e.nodeType===ne}function Ue(e){return e.nodeType===oe}function g(e){return e.nodeType===ue}const Ye=(e,t,r,n,o,s)=>{if(Be(e))return re(e.data,t);if(Ue(e))return we(e.data,t);const u=g(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?B(u,t):z(u,F(g(e)?[]:Array.from(e.attributes,a=>a.name).sort(),g(e)?{}:[...e.attributes].reduce((a,l)=>(a[l.name]=l.value,a),{}),t,r+t.indent,n,o,s),j(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,s),t,r)},ke={serialize:Ye,test:ze},Ve="@@__IMMUTABLE_ITERABLE__@@",Ke="@@__IMMUTABLE_LIST__@@",We="@@__IMMUTABLE_KEYED__@@",qe="@@__IMMUTABLE_MAP__@@",Y="@@__IMMUTABLE_ORDERED__@@",Je="@@__IMMUTABLE_RECORD__@@",Ge="@@__IMMUTABLE_SEQ__@@",He="@@__IMMUTABLE_SET__@@",Xe="@@__IMMUTABLE_STACK__@@",T=e=>`Immutable.${e}`,R=e=>`[${e}]`,N=" ",k="…";function Qe(e,t,r,n,o,s,u){return++n>t.maxDepth?R(T(u)):`${T(u)+N}{${I(e.entries(),t,r,n,o,s)}}`}function Ze(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function ve(e,t,r,n,o,s){const u=T(e._name||"Record");return++n>t.maxDepth?R(u):`${u+N}{${I(Ze(e),t,r,n,o,s)}}`}function et(e,t,r,n,o,s){const u=T("Seq");return++n>t.maxDepth?R(u):e[We]?`${u+N}{${e._iter||e._object?I(e.entries(),t,r,n,o,s):k}}`:`${u+N}[${e._iter||e._array||e._collection||e._iterable?L(e.values(),t,r,n,o,s):k}]`}function P(e,t,r,n,o,s,u){return++n>t.maxDepth?R(T(u)):`${T(u)+N}[${L(e.values(),t,r,n,o,s)}]`}const tt=(e,t,r,n,o,s)=>e[qe]?Qe(e,t,r,n,o,s,e[Y]?"OrderedMap":"Map"):e[Ke]?P(e,t,r,n,o,s,"List"):e[He]?P(e,t,r,n,o,s,e[Y]?"OrderedSet":"Set"):e[Xe]?P(e,t,r,n,o,s,"Stack"):e[Ge]?et(e,t,r,n,o,s):ve(e,t,r,n,o,s),rt=e=>e&&(e[Ve]===!0||e[Je]===!0),nt={serialize:tt,test:rt};function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var h={exports:{}},y={};var V;function ot(){if(V)return y;V=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function _(c){if(typeof c=="object"&&c!==null){var i=c.$$typeof;switch(i){case e:switch(c=c.type,c){case r:case o:case n:case l:case m:case S:return c;default:switch(c=c&&c.$$typeof,c){case u:case a:case E:case p:return c;case s:return c;default:return i}}case t:return i}}}return y.ContextConsumer=s,y.ContextProvider=u,y.Element=e,y.ForwardRef=a,y.Fragment=r,y.Lazy=E,y.Memo=p,y.Portal=t,y.Profiler=o,y.StrictMode=n,y.Suspense=l,y.SuspenseList=m,y.isContextConsumer=function(c){return _(c)===s},y.isContextProvider=function(c){return _(c)===u},y.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},y.isForwardRef=function(c){return _(c)===a},y.isFragment=function(c){return _(c)===r},y.isLazy=function(c){return _(c)===E},y.isMemo=function(c){return _(c)===p},y.isPortal=function(c){return _(c)===t},y.isProfiler=function(c){return _(c)===o},y.isStrictMode=function(c){return _(c)===n},y.isSuspense=function(c){return _(c)===l},y.isSuspenseList=function(c){return _(c)===m},y.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===l||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===E||c.$$typeof===p||c.$$typeof===u||c.$$typeof===s||c.$$typeof===a||c.$$typeof===C||c.getModuleId!==void 0)},y.typeOf=_,y}var K;function ut(){return K||(K=1,h.exports=ot()),h.exports}var ce=ut(),st=se(ce),ct=v({__proto__:null,default:st},[ce]),w={exports:{}},f={};var W;function it(){if(W)return f;W=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function c(i){if(typeof i=="object"&&i!==null){var x=i.$$typeof;switch(x){case e:switch(i=i.type,i){case r:case o:case n:case m:case p:return i;default:switch(i=i&&i.$$typeof,i){case a:case u:case l:case S:case E:case s:return i;default:return x}}case t:return x}}}return f.ContextConsumer=u,f.ContextProvider=s,f.Element=e,f.ForwardRef=l,f.Fragment=r,f.Lazy=S,f.Memo=E,f.Portal=t,f.Profiler=o,f.StrictMode=n,f.Suspense=m,f.SuspenseList=p,f.isAsyncMode=function(){return!1},f.isConcurrentMode=function(){return!1},f.isContextConsumer=function(i){return c(i)===u},f.isContextProvider=function(i){return c(i)===s},f.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===e},f.isForwardRef=function(i){return c(i)===l},f.isFragment=function(i){return c(i)===r},f.isLazy=function(i){return c(i)===S},f.isMemo=function(i){return c(i)===E},f.isPortal=function(i){return c(i)===t},f.isProfiler=function(i){return c(i)===o},f.isStrictMode=function(i){return c(i)===n},f.isSuspense=function(i){return c(i)===m},f.isSuspenseList=function(i){return c(i)===p},f.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===r||i===o||i===n||i===m||i===p||i===C||typeof i=="object"&&i!==null&&(i.$$typeof===S||i.$$typeof===E||i.$$typeof===s||i.$$typeof===u||i.$$typeof===l||i.$$typeof===_||i.getModuleId!==void 0)},f.typeOf=c,f}var q;function at(){return q||(q=1,w.exports=it()),w.exports}var ie=at(),lt=se(ie),mt=v({__proto__:null,default:lt},[ie]);const ft=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],b=Object.fromEntries(ft.map(e=>[e,t=>mt[e](t)||ct[e](t)]));function ae(e,t=[]){if(Array.isArray(e))for(const r of e)ae(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function J(e){const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(b.isFragment(e))return"React.Fragment";if(b.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(b.isContextProvider(e))return"Context.Provider";if(b.isContextConsumer(e))return"Context.Consumer";if(b.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(b.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function pt(e){const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}const yt=(e,t,r,n,o,s)=>++n>t.maxDepth?B(J(e),t):z(J(e),F(pt(e),e.props,t,r+t.indent,n,o,s),j(ae(e.props.children),t,r+t.indent,n,o,s),t,r),Et=e=>e!=null&&b.isElement(e),_t={serialize:yt,test:Et},$t=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function St(e){const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}const dt=(e,t,r,n,o,s)=>++n>t.maxDepth?B(e.type,t):z(e.type,e.props?F(St(e),e.props,t,r+t.indent,n,o,s):"",e.children?j(e.children,t,r+t.indent,n,o,s):"",t,r),bt=e=>e&&e.$$typeof===$t,Tt={serialize:dt,test:bt},le=Object.prototype.toString,Nt=Date.prototype.toISOString,It=Error.prototype.toString,G=RegExp.prototype.toString;function A(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Ot(e){return typeof window<"u"&&e===window}const At=/^Symbol\((.*)\)(.*)$/,Mt=/\n/g;class me extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function Rt(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]"}function Ct(e){return Object.is(e,-0)?"-0":String(e)}function xt(e){return`${e}n`}function H(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function X(e){return String(e).replace(At,"Symbol($1)")}function Q(e){return`[${It.call(e)}]`}function fe(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";const o=typeof e;if(o==="number")return Ct(e);if(o==="bigint")return xt(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return H(e,t);if(o==="symbol")return X(e);const s=le.call(e);return s==="[object WeakMap]"?"WeakMap {}":s==="[object WeakSet]"?"WeakSet {}":s==="[object Function]"||s==="[object GeneratorFunction]"?H(e,t):s==="[object Symbol]"?X(e):s==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Nt.call(e):s==="[object Error]"?Q(e):s==="[object RegExp]"?r?G.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):G.call(e):e instanceof Error?Q(e):null}function pe(e,t,r,n,o,s){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);const u=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!u&&e.toJSON&&typeof e.toJSON=="function"&&!s)return d(e.toJSON(),t,r,n,o,!0);const l=le.call(e);return l==="[object Arguments]"?u?"[Arguments]":`${a?"":"Arguments "}[${M(e,t,r,n,o,d)}]`:Rt(l)?u?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${M(e,t,r,n,o,d)}]`:l==="[object Map]"?u?"[Map]":`Map {${I(e.entries(),t,r,n,o,d," => ")}}`:l==="[object Set]"?u?"[Set]":`Set {${L(e.values(),t,r,n,o,d)}}`:u||Ot(e)?`[${A(e)}]`:`${a||!t.printBasicPrototype&&A(e)==="Object"?"":`${A(e)} `}{${D(e,t,r,n,o,d)}}`}const gt={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,s){if(o.includes(e))return"[Circular]";o=[...o,e];const u=++n>t.maxDepth,{message:a,cause:l,...m}=e,p={message:a,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...m},E=e.name!=="Error"?e.name:A(e);return u?`[${E}]`:`${E} {${I(Object.entries(p).values(),t,r,n,o,s)}}`}};function Pt(e){return e.serialize!=null}function ye(e,t,r,n,o,s){let u;try{u=Pt(e)?e.serialize(t,r,n,o,s,d):e.print(t,a=>d(a,r,n,o,s),a=>{const l=n+r.indent;return l+a.replaceAll(Mt,`
3
- ${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new me(a.message,a.stack)}if(typeof u!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof u}".`);return u}function Ee(e,t){for(const r of e)try{if(r.test(t))return r}catch(n){throw new me(n.message,n.stack)}return null}function d(e,t,r,n,o,s){const u=Ee(t.plugins,e);if(u!==null)return ye(u,e,t,r,n,o);const a=fe(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:pe(e,t,r,n,o,s)}const U={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},_e=Object.keys(U),$={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:U};function ht(e){for(const t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call($,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.')}function wt(){return _e.reduce((e,t)=>{const r=U[t],n=r&&be[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Lt(){return _e.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function $e(e){return e?.printFunctionName??$.printFunctionName}function Se(e){return e?.escapeRegex??$.escapeRegex}function de(e){return e?.escapeString??$.escapeString}function Z(e){return{callToJSON:e?.callToJSON??$.callToJSON,colors:e?.highlight?wt():Lt(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:$.compareKeys,escapeRegex:Se(e),escapeString:de(e),indent:e?.min?"":Dt(e?.indent??$.indent),maxDepth:e?.maxDepth??$.maxDepth,maxWidth:e?.maxWidth??$.maxWidth,min:e?.min??$.min,plugins:e?.plugins??$.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:$e(e),spacingInner:e?.min?" ":`
2
+ `)&&(E=r.spacingOuter+a+E+r.spacingOuter+n),E=`{${E}}`),`${r.spacingInner+n+l.prop.open+m+l.prop.close}=${l.value.open}${E}${l.value.close}`}).join("")}function j(e,t,r,n,o,s){return e.map(u=>t.spacingOuter+r+(typeof u=="string"?re(u,t):s(u,t,r,n,o))).join("")}function re(e,t){const r=t.colors.content;return r.open+te(e)+r.close}function we(e,t){const r=t.colors.comment;return`${r.open}<!--${te(e)}-->${r.close}`}function z(e,t,r,n,o){const s=n.colors.tag;return`${s.open}<${e}${t&&s.close+t+n.spacingOuter+o+s.open}${r?`>${s.close}${r}${n.spacingOuter}${o}${s.open}</${e}`:`${t&&!n.min?"":" "}/`}>${s.close}`}function B(e,t){const r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}const Le=1,ne=3,oe=8,ue=11,De=/^(?:(?:HTML|SVG)\w*)?Element$/;function Fe(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function je(e){const t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Fe(e);return r===Le&&(De.test(t)||o)||r===ne&&t==="Text"||r===oe&&t==="Comment"||r===ue&&t==="DocumentFragment"}const ze=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&je(e)};function Be(e){return e.nodeType===ne}function Ue(e){return e.nodeType===oe}function g(e){return e.nodeType===ue}const Ye=(e,t,r,n,o,s)=>{if(Be(e))return re(e.data,t);if(Ue(e))return we(e.data,t);const u=g(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?B(u,t):z(u,F(g(e)?[]:Array.from(e.attributes,a=>a.name).sort(),g(e)?{}:[...e.attributes].reduce((a,l)=>(a[l.name]=l.value,a),{}),t,r+t.indent,n,o,s),j(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,s),t,r)},ke={serialize:Ye,test:ze},Ve="@@__IMMUTABLE_ITERABLE__@@",Ke="@@__IMMUTABLE_LIST__@@",We="@@__IMMUTABLE_KEYED__@@",qe="@@__IMMUTABLE_MAP__@@",Y="@@__IMMUTABLE_ORDERED__@@",Je="@@__IMMUTABLE_RECORD__@@",Ge="@@__IMMUTABLE_SEQ__@@",He="@@__IMMUTABLE_SET__@@",Xe="@@__IMMUTABLE_STACK__@@",T=e=>`Immutable.${e}`,R=e=>`[${e}]`,N=" ",k="…";function Qe(e,t,r,n,o,s,u){return++n>t.maxDepth?R(T(u)):`${T(u)+N}{${I(e.entries(),t,r,n,o,s)}}`}function Ze(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function ve(e,t,r,n,o,s){const u=T(e._name||"Record");return++n>t.maxDepth?R(u):`${u+N}{${I(Ze(e),t,r,n,o,s)}}`}function et(e,t,r,n,o,s){const u=T("Seq");return++n>t.maxDepth?R(u):e[We]?`${u+N}{${e._iter||e._object?I(e.entries(),t,r,n,o,s):k}}`:`${u+N}[${e._iter||e._array||e._collection||e._iterable?L(e.values(),t,r,n,o,s):k}]`}function P(e,t,r,n,o,s,u){return++n>t.maxDepth?R(T(u)):`${T(u)+N}[${L(e.values(),t,r,n,o,s)}]`}const tt=(e,t,r,n,o,s)=>e[qe]?Qe(e,t,r,n,o,s,e[Y]?"OrderedMap":"Map"):e[Ke]?P(e,t,r,n,o,s,"List"):e[He]?P(e,t,r,n,o,s,e[Y]?"OrderedSet":"Set"):e[Xe]?P(e,t,r,n,o,s,"Stack"):e[Ge]?et(e,t,r,n,o,s):ve(e,t,r,n,o,s),rt=e=>e&&(e[Ve]===!0||e[Je]===!0),nt={serialize:tt,test:rt};function se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var h={exports:{}},y={};var V;function ot(){if(V)return y;V=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function $(c){if(typeof c=="object"&&c!==null){var i=c.$$typeof;switch(i){case e:switch(c=c.type,c){case r:case o:case n:case l:case m:case S:return c;default:switch(c=c&&c.$$typeof,c){case u:case a:case E:case p:return c;case s:return c;default:return i}}case t:return i}}}return y.ContextConsumer=s,y.ContextProvider=u,y.Element=e,y.ForwardRef=a,y.Fragment=r,y.Lazy=E,y.Memo=p,y.Portal=t,y.Profiler=o,y.StrictMode=n,y.Suspense=l,y.SuspenseList=m,y.isContextConsumer=function(c){return $(c)===s},y.isContextProvider=function(c){return $(c)===u},y.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},y.isForwardRef=function(c){return $(c)===a},y.isFragment=function(c){return $(c)===r},y.isLazy=function(c){return $(c)===E},y.isMemo=function(c){return $(c)===p},y.isPortal=function(c){return $(c)===t},y.isProfiler=function(c){return $(c)===o},y.isStrictMode=function(c){return $(c)===n},y.isSuspense=function(c){return $(c)===l},y.isSuspenseList=function(c){return $(c)===m},y.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===l||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===E||c.$$typeof===p||c.$$typeof===u||c.$$typeof===s||c.$$typeof===a||c.$$typeof===C||c.getModuleId!==void 0)},y.typeOf=$,y}var K;function ut(){return K||(K=1,h.exports=ot()),h.exports}var ce=ut(),st=se(ce),ct=v({__proto__:null,default:st},[ce]),w={exports:{}},f={};var W;function it(){if(W)return f;W=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),$;$=Symbol.for("react.module.reference");function c(i){if(typeof i=="object"&&i!==null){var x=i.$$typeof;switch(x){case e:switch(i=i.type,i){case r:case o:case n:case m:case p:return i;default:switch(i=i&&i.$$typeof,i){case a:case u:case l:case S:case E:case s:return i;default:return x}}case t:return x}}}return f.ContextConsumer=u,f.ContextProvider=s,f.Element=e,f.ForwardRef=l,f.Fragment=r,f.Lazy=S,f.Memo=E,f.Portal=t,f.Profiler=o,f.StrictMode=n,f.Suspense=m,f.SuspenseList=p,f.isAsyncMode=function(){return!1},f.isConcurrentMode=function(){return!1},f.isContextConsumer=function(i){return c(i)===u},f.isContextProvider=function(i){return c(i)===s},f.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===e},f.isForwardRef=function(i){return c(i)===l},f.isFragment=function(i){return c(i)===r},f.isLazy=function(i){return c(i)===S},f.isMemo=function(i){return c(i)===E},f.isPortal=function(i){return c(i)===t},f.isProfiler=function(i){return c(i)===o},f.isStrictMode=function(i){return c(i)===n},f.isSuspense=function(i){return c(i)===m},f.isSuspenseList=function(i){return c(i)===p},f.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===r||i===o||i===n||i===m||i===p||i===C||typeof i=="object"&&i!==null&&(i.$$typeof===S||i.$$typeof===E||i.$$typeof===s||i.$$typeof===u||i.$$typeof===l||i.$$typeof===$||i.getModuleId!==void 0)},f.typeOf=c,f}var q;function at(){return q||(q=1,w.exports=it()),w.exports}var ie=at(),lt=se(ie),mt=v({__proto__:null,default:lt},[ie]);const ft=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],b=Object.fromEntries(ft.map(e=>[e,t=>mt[e](t)||ct[e](t)]));function ae(e,t=[]){if(Array.isArray(e))for(const r of e)ae(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function J(e){const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(b.isFragment(e))return"React.Fragment";if(b.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(b.isContextProvider(e))return"Context.Provider";if(b.isContextConsumer(e))return"Context.Consumer";if(b.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(b.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function pt(e){const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}const yt=(e,t,r,n,o,s)=>++n>t.maxDepth?B(J(e),t):z(J(e),F(pt(e),e.props,t,r+t.indent,n,o,s),j(ae(e.props.children),t,r+t.indent,n,o,s),t,r),Et=e=>e!=null&&b.isElement(e),$t={serialize:yt,test:Et},_t=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function St(e){const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}const dt=(e,t,r,n,o,s)=>++n>t.maxDepth?B(e.type,t):z(e.type,e.props?F(St(e),e.props,t,r+t.indent,n,o,s):"",e.children?j(e.children,t,r+t.indent,n,o,s):"",t,r),bt=e=>e&&e.$$typeof===_t,Tt={serialize:dt,test:bt},le=Object.prototype.toString,Nt=Date.prototype.toISOString,It=Error.prototype.toString,G=RegExp.prototype.toString;function A(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Ot(e){return typeof window<"u"&&e===window}const At=/^Symbol\((.*)\)(.*)$/,Mt=/\n/g;class me extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function Rt(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]"}function Ct(e){return Object.is(e,-0)?"-0":String(e)}function xt(e){return`${e}n`}function H(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function X(e){return String(e).replace(At,"Symbol($1)")}function Q(e){return`[${It.call(e)}]`}function fe(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";const o=typeof e;if(o==="number")return Ct(e);if(o==="bigint")return xt(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return H(e,t);if(o==="symbol")return X(e);const s=le.call(e);return s==="[object WeakMap]"?"WeakMap {}":s==="[object WeakSet]"?"WeakSet {}":s==="[object Function]"||s==="[object GeneratorFunction]"?H(e,t):s==="[object Symbol]"?X(e):s==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Nt.call(e):s==="[object Error]"?Q(e):s==="[object RegExp]"?r?G.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):G.call(e):e instanceof Error?Q(e):null}function pe(e,t,r,n,o,s){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);const u=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!u&&e.toJSON&&typeof e.toJSON=="function"&&!s)return d(e.toJSON(),t,r,n,o,!0);const l=le.call(e);return l==="[object Arguments]"?u?"[Arguments]":`${a?"":"Arguments "}[${M(e,t,r,n,o,d)}]`:Rt(l)?u?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${M(e,t,r,n,o,d)}]`:l==="[object Map]"?u?"[Map]":`Map {${I(e.entries(),t,r,n,o,d," => ")}}`:l==="[object Set]"?u?"[Set]":`Set {${L(e.values(),t,r,n,o,d)}}`:u||Ot(e)?`[${A(e)}]`:`${a||!t.printBasicPrototype&&A(e)==="Object"?"":`${A(e)} `}{${D(e,t,r,n,o,d)}}`}const gt={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,s){if(o.includes(e))return"[Circular]";o=[...o,e];const u=++n>t.maxDepth,{message:a,cause:l,...m}=e,p={message:a,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...m},E=e.name!=="Error"?e.name:A(e);return u?`[${E}]`:`${E} {${I(Object.entries(p).values(),t,r,n,o,s)}}`}};function Pt(e){return e.serialize!=null}function ye(e,t,r,n,o,s){let u;try{u=Pt(e)?e.serialize(t,r,n,o,s,d):e.print(t,a=>d(a,r,n,o,s),a=>{const l=n+r.indent;return l+a.replaceAll(Mt,`
3
+ ${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new me(a.message,a.stack)}if(typeof u!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof u}".`);return u}function Ee(e,t){for(const r of e)try{if(r.test(t))return r}catch(n){throw new me(n.message,n.stack)}return null}function d(e,t,r,n,o,s){const u=Ee(t.plugins,e);if(u!==null)return ye(u,e,t,r,n,o);const a=fe(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:pe(e,t,r,n,o,s)}const U={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},$e=Object.keys(U),_={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:U};function ht(e){for(const t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(_,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.')}function wt(){return $e.reduce((e,t)=>{const r=U[t],n=r&&be[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Lt(){return $e.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function _e(e){return e?.printFunctionName??_.printFunctionName}function Se(e){return e?.escapeRegex??_.escapeRegex}function de(e){return e?.escapeString??_.escapeString}function Z(e){return{callToJSON:e?.callToJSON??_.callToJSON,colors:e?.highlight?wt():Lt(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:_.compareKeys,escapeRegex:Se(e),escapeString:de(e),indent:e?.min?"":Dt(e?.indent??_.indent),maxDepth:e?.maxDepth??_.maxDepth,maxWidth:e?.maxWidth??_.maxWidth,min:e?.min??_.min,plugins:e?.plugins??_.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:_e(e),spacingInner:e?.min?" ":`
4
4
  `,spacingOuter:e?.min?"":`
5
- `}}function Dt(e){return Array.from({length:e+1}).join(" ")}function jt(e,t){if(t&&(ht(t),t.plugins)){const n=Ee(t.plugins,e);if(n!==null)return ye(n,e,Z(t),"",0,[])}const r=fe(e,$e(t),Se(t),de(t));return r!==null?r:pe(e,Z(t),"",0,[])}const zt={AsymmetricMatcher:Ae,DOMCollection:he,DOMElement:ke,Immutable:nt,ReactElement:_t,ReactTestComponent:Tt,Error:gt};export{$ as DEFAULT_OPTIONS,jt as format,zt as plugins};
5
+ `}}function Dt(e){return Array.from({length:e+1}).join(" ")}function jt(e,t){if(t&&(ht(t),t.plugins)){const n=Ee(t.plugins,e);if(n!==null)return ye(n,e,Z(t),"",0,[])}const r=fe(e,_e(t),Se(t),de(t));return r!==null?r:pe(e,Z(t),"",0,[])}const zt={AsymmetricMatcher:Ae,DOMCollection:he,DOMElement:ke,Immutable:nt,ReactElement:$t,ReactTestComponent:Tt,Error:gt};export{_ as DEFAULT_OPTIONS,jt as format,zt as plugins};
@@ -1,4 +1,4 @@
1
- import{getSafeTimers as J}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js";import{parseSingleStack as Q}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js";import{stripLiteral as ue}from"../../../../../strip-literal@3.0.0/node_modules/strip-literal/dist/index.js";import{isNegativeNaN as le,isObject as Z,objectAttr as L,toArray as O,createDefer as X}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js";import{f as fe,o as he}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js";class de extends Error{code="VITEST_PENDING";taskId;constructor(e,o,i){super(e),this.message=e,this.note=i,this.taskId=o.id}}const pe=new WeakMap,ee=new WeakMap,te=new WeakMap;function ge(t,e){pe.set(t,e)}function me(t,e){ee.set(t,e)}function ve(t){return ee.get(t)}function ye(t,e){te.set(t,e)}function we(t){return te.get(t)}function Te(t,e){const o=e.reduce((s,r)=>(s[r.prop]=r,s),{}),i={};t.forEach(s=>{const r=o[s.prop]||{...s};i[r.prop]=r});for(const s in i){var n;const r=i[s];r.deps=(n=r.deps)===null||n===void 0?void 0:n.map(c=>i[c.prop])}return Object.values(i)}function ne(t,e,o){const i=["auto","injected","scope"],n=Object.entries(t).map(([s,r])=>{const c={value:r};if(Array.isArray(r)&&r.length>=2&&Z(r[1])&&Object.keys(r[1]).some(a=>i.includes(a))){var u;Object.assign(c,r[1]);const a=r[0];c.value=c.injected?((u=o.injectValue)===null||u===void 0?void 0:u.call(o,s))??a:a}return c.scope=c.scope||"test",c.scope==="worker"&&!o.getWorkerContext&&(c.scope="file"),c.prop=s,c.isFn=typeof c.value=="function",c});return Array.isArray(e.fixtures)?e.fixtures=e.fixtures.concat(n):e.fixtures=n,n.forEach(s=>{if(s.isFn){const c=oe(s.value);if(c.length&&(s.deps=e.fixtures.filter(({prop:u})=>u!==s.prop&&c.includes(u))),s.scope!=="test"){var r;(r=s.deps)===null||r===void 0||r.forEach(u=>{if(u.isFn&&!(s.scope==="worker"&&u.scope==="worker")&&!(s.scope==="file"&&u.scope!=="test"))throw new SyntaxError(`cannot use the ${u.scope} fixture "${u.prop}" inside the ${s.scope} fixture "${s.prop}"`)})}}}),e}const q=new Map,S=new Map;function ke(t,e,o){return i=>{const n=i||o;if(!n)return e({});const s=ve(n);if(!s?.length)return e(n);const r=oe(e),c=s.some(({auto:h})=>h);if(!r.length&&!c)return e(n);q.get(n)||q.set(n,new Map);const u=q.get(n);S.has(n)||S.set(n,[]);const a=S.get(n),l=s.filter(({prop:h,auto:m})=>m||r.includes(h)),p=re(l);if(!p.length)return e(n);async function d(){for(const h of p){if(u.has(h))continue;const m=await be(t,h,n,a);n[h.prop]=m,u.set(h,m),h.scope==="test"&&a.unshift(()=>{u.delete(h)})}}return d().then(()=>e(n))}}const R=new WeakMap;function be(t,e,o,i){var n;const s=Ue(o.task.file),r=(n=t.getWorkerContext)===null||n===void 0?void 0:n.call(t);if(!e.isFn){var c;if(s[c=e.prop]??(s[c]=e.value),r){var u;r[u=e.prop]??(r[u]=e.value)}return e.value}if(e.scope==="test")return B(e.value,o,i);if(R.has(e))return R.get(e);let a;if(e.scope==="worker"){if(!r)throw new TypeError("[@vitest/runner] The worker context is not available in the current test runner. Please, provide the `getWorkerContext` method when initiating the runner.");a=r}else a=s;if(e.prop in a)return a[e.prop];S.has(a)||S.set(a,[]);const l=S.get(a),p=B(e.value,a,l).then(d=>(a[e.prop]=d,R.delete(e),d));return R.set(e,p),p}async function B(t,e,o){const i=X();let n=!1;const s=t(e,async r=>{n=!0,i.resolve(r);const c=X();o.push(async()=>{c.resolve(),await s}),await c}).catch(r=>{if(!n){i.reject(r);return}throw r});return i}function re(t,e=new Set,o=[]){return t.forEach(i=>{if(!o.includes(i)){if(!i.isFn||!i.deps){o.push(i);return}if(e.has(i))throw new Error(`Circular fixture dependency detected: ${i.prop} <- ${[...e].reverse().map(n=>n.prop).join(" <- ")}`);e.add(i),re(i.deps,e,o),o.push(i),e.clear()}}),o}function oe(t){let e=ue(t.toString());/__async\((?:this|null), (?:null|arguments|\[[_0-9, ]*\]), function\*/.test(e)&&(e=e.split(/__async\((?:this|null),/)[1]);const o=e.match(/[^(]*\(([^)]*)/);if(!o)return[];const i=H(o[1]);if(!i.length)return[];let n=i[0];if("__VITEST_FIXTURE_INDEX__"in t&&(n=i[t.__VITEST_FIXTURE_INDEX__],!n))return[];if(!(n.startsWith("{")&&n.endsWith("}")))throw new Error(`The first argument inside a fixture must use object destructuring pattern, e.g. ({ test } => {}). Instead, received "${n}".`);const s=n.slice(1,-1).replace(/\s/g,""),r=H(s).map(u=>u.replace(/:.*|=.*/g,"")),c=r.at(-1);if(c&&c.startsWith("..."))throw new Error(`Rest parameters are not supported in fixtures, received "${c}".`);return r}function H(t){const e=[],o=[];let i=0;for(let s=0;s<t.length;s++)if(t[s]==="{"||t[s]==="[")o.push(t[s]==="{"?"}":"]");else if(t[s]===o[o.length-1])o.pop();else if(!o.length&&t[s]===","){const r=t.substring(i,s).trim();r&&e.push(r),i=s+1}const n=t.substring(i).trim();return n&&e.push(n),e}function ie(t,e){function o(n){const s=function(...r){return e.apply(n,r)};Object.assign(s,e),s.withContext=()=>s.bind(n),s.setContext=(r,c)=>{n[r]=c},s.mergeContext=r=>{Object.assign(n,r)};for(const r of t)Object.defineProperty(s,r,{get(){return o({...n,[r]:!0})}});return s}const i=o({});return i.fn=e,i}const F=je();D(function(t,e,o){W().test.fn.call(this,_(t),e,o)});let b,se,Ce;function ce(t,e){if(!t)throw new Error(`Vitest failed to find ${e}. This is a bug in Vitest. Please, open an issue with reproduction.`)}function _e(){return Ce}function Ee(){return ce(b,"the runner"),b}function W(){const t=E.currentSuite||se;return ce(t,"the current suite"),t}function Ae(){return{beforeAll:[],afterAll:[],beforeEach:[],afterEach:[]}}function A(t,e){let o={},i=()=>{};if(typeof e=="object"){if(typeof t=="object")throw new TypeError("Cannot use two objects as arguments. Please provide options and a function callback in that order.");console.warn("Using an object as a third argument is deprecated. Vitest 4 will throw an error if the third argument is not a timeout number. Please use the second argument for options. See more at https://vitest.dev/guide/migration"),o=e}else typeof e=="number"?o={timeout:e}:typeof t=="object"&&(o=t);if(typeof t=="function"){if(typeof e=="function")throw new TypeError("Cannot use two functions as arguments. Please use the second argument for options.");i=t}else typeof e=="function"&&(i=e);return{options:o,handler:i}}function Se(t,e=()=>{},o,i,n,s){const r=[];let c;h();const u=function(v="",f={}){var g;const w=f?.timeout??b.config.testTimeout,k={id:"",name:v,suite:(g=E.currentSuite)===null||g===void 0?void 0:g.suite,each:f.each,fails:f.fails,context:void 0,type:"test",file:void 0,timeout:w,retry:f.retry??b.config.retry,repeats:f.repeats,mode:f.only?"only":f.skip?"skip":f.todo?"todo":"run",meta:f.meta??Object.create(null),annotations:[]},j=f.handler;(f.concurrent||!f.sequential&&b.config.sequence.concurrent)&&(k.concurrent=!0),k.shuffle=n?.shuffle;const x=Ne(k,b);Object.defineProperty(k,"context",{value:x,enumerable:!1}),me(x,f.fixtures);const ae=Error.stackTraceLimit;Error.stackTraceLimit=15;const U=new Error("STACK_TRACE_ERROR");if(Error.stackTraceLimit=ae,j&&ge(k,N(Fe(ke(b,j,x),k),w,!1,U,(K,I)=>Me([x],I))),b.config.includeTaskLocation){const K=U.stack,I=Ie(K);I&&(k.location=I)}return r.push(k),k},a=D(function(v,f,g){let{options:w,handler:k}=A(f,g);typeof n=="object"&&(w=Object.assign({},n,w)),w.concurrent=this.concurrent||!this.sequential&&w?.concurrent,w.sequential=this.sequential||!this.concurrent&&w?.sequential;const j=u(_(v),{...this,...w,handler:k});j.type="test"});let l=s;const p={type:"collector",name:t,mode:o,suite:c,options:n,test:a,tasks:r,collect:y,task:u,clear:m,on:d,fixtures(){return l},scoped(v){const f=ne(v,{fixtures:l},b);f.fixtures&&(l=f.fixtures)}};function d(v,...f){we(c)[v].push(...f)}function h(v){var f;typeof n=="number"&&(n={timeout:n}),c={id:"",type:"suite",name:t,suite:(f=E.currentSuite)===null||f===void 0?void 0:f.suite,mode:o,each:i,file:void 0,shuffle:n?.shuffle,tasks:[],meta:Object.create(null),concurrent:n?.concurrent},ye(c,Ae())}function m(){r.length=0,h()}async function y(v){if(!v)throw new TypeError("File is required to collect tasks.");e&&await qe(p,()=>e(a));const f=[];for(const g of r)f.push(g.type==="collector"?await g.collect(v):g);return c.file=v,c.tasks=f,f.forEach(g=>{g.file=v}),c}return $e(p),p}function Fe(t,e){return async(...o)=>{const i=await t(...o);if(e.promises){const s=(await Promise.allSettled(e.promises)).map(r=>r.status==="rejected"?r.reason:void 0).filter(Boolean);if(s.length)throw s}return i}}function je(){function t(e,o,i){var n;const s=this.only?"only":this.skip?"skip":this.todo?"todo":"run",r=E.currentSuite||se;let{options:c,handler:u}=A(o,i);const a=c.concurrent||this.concurrent||c.sequential===!1,l=c.sequential||this.sequential||c.concurrent===!1;c={...r?.options,...c,shuffle:this.shuffle??c.shuffle??(r==null||(n=r.options)===null||n===void 0?void 0:n.shuffle)??void 0};const p=a||c.concurrent&&!l,d=l||c.sequential&&!a;return c.concurrent=p&&!d,c.sequential=d&&!p,Se(_(e),u,s,this.each,c,r?.fixtures())}return t.each=function(e,...o){const i=this.withContext();return this.setContext("each",!0),Array.isArray(e)&&o.length&&(e=$(e,o)),(n,s,r)=>{const c=_(n),u=e.every(Array.isArray),{options:a,handler:l}=A(s,r),p=typeof s=="function"&&typeof r=="object";e.forEach((d,h)=>{const m=Array.isArray(d)?d:[d];p?u?i(C(c,m,h),()=>l(...m),a):i(C(c,m,h),()=>l(d),a):u?i(C(c,m,h),a,()=>l(...m)):i(C(c,m,h),a,()=>l(d))}),this.setContext("each",void 0)}},t.for=function(e,...o){return Array.isArray(e)&&o.length&&(e=$(e,o)),(i,n,s)=>{const r=_(i),{options:c,handler:u}=A(n,s);e.forEach((a,l)=>{F(C(r,O(a),l),c,()=>u(a))})}},t.skipIf=e=>e?F.skip:F,t.runIf=e=>e?F:F.skip,ie(["concurrent","sequential","shuffle","skip","only","todo"],t)}function xe(t,e){const o=t;o.each=function(n,...s){const r=this.withContext();return this.setContext("each",!0),Array.isArray(n)&&s.length&&(n=$(n,s)),(c,u,a)=>{const l=_(c),p=n.every(Array.isArray),{options:d,handler:h}=A(u,a),m=typeof u=="function"&&typeof a=="object";n.forEach((y,v)=>{const f=Array.isArray(y)?y:[y];m?p?r(C(l,f,v),()=>h(...f),d):r(C(l,f,v),()=>h(y),d):p?r(C(l,f,v),d,()=>h(...f)):r(C(l,f,v),d,()=>h(y))}),this.setContext("each",void 0)}},o.for=function(n,...s){const r=this.withContext();return Array.isArray(n)&&s.length&&(n=$(n,s)),(c,u,a)=>{const l=_(c),{options:p,handler:d}=A(u,a);n.forEach((h,m)=>{const y=v=>d(h,v);y.__VITEST_FIXTURE_INDEX__=1,y.toString=()=>d.toString(),r(C(l,O(h),m),p,y)})}},o.skipIf=function(n){return n?this.skip:this},o.runIf=function(n){return n?this:this.skip},o.scoped=function(n){W().scoped(n)},o.extend=function(n){const s=ne(n,e||{},b),r=t;return D(function(c,u,a){const p=W().fixtures(),d={...this};p&&(d.fixtures=Te(d.fixtures||[],p));const{handler:h,options:m}=A(u,a),y=m.timeout??void 0;r.call(d,_(c),h,y)},s)};const i=ie(["concurrent","sequential","skip","only","todo","fails"],o);return e&&i.mergeContext(e),i}function D(t,e){return xe(t,e)}function _(t){return typeof t=="string"?t:typeof t=="function"?t.name||"<anonymous>":String(t)}function C(t,e,o){(t.includes("%#")||t.includes("%$"))&&(t=t.replace(/%%/g,"__vitest_escaped_%__").replace(/%#/g,`${o}`).replace(/%\$/g,`${o+1}`).replace(/__vitest_escaped_%__/g,"%%"));const i=t.split("%").length-1;t.includes("%f")&&(t.match(/%f/g)||[]).forEach((c,u)=>{if(le(e[u])||Object.is(e[u],-0)){let a=0;t=t.replace(/%f/g,l=>(a++,a===u+1?"-%f":l))}});let n=fe(t,...e.slice(0,i));const s=Z(e[0]);return n=n.replace(/\$([$\w.]+)/g,(r,c)=>{const u=/^\d+$/.test(c);if(!s&&!u)return`$${c}`;const a=u?L(e,c):void 0,l=s?L(e[0],c,a):a;return he(l,{truncate:void 0})}),n}function $(t,e){const o=t.join("").trim().replace(/ /g,"").split(`
1
+ import{getSafeTimers as J}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js";import{parseSingleStack as Q}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js";import{stripLiteral as ue}from"../../../../../strip-literal@3.1.0/node_modules/strip-literal/dist/index.js";import{isNegativeNaN as le,isObject as Z,objectAttr as L,toArray as O,createDefer as X}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js";import{f as fe,o as he}from"../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js";class de extends Error{code="VITEST_PENDING";taskId;constructor(e,o,i){super(e),this.message=e,this.note=i,this.taskId=o.id}}const pe=new WeakMap,ee=new WeakMap,te=new WeakMap;function ge(t,e){pe.set(t,e)}function me(t,e){ee.set(t,e)}function ve(t){return ee.get(t)}function ye(t,e){te.set(t,e)}function we(t){return te.get(t)}function Te(t,e){const o=e.reduce((s,r)=>(s[r.prop]=r,s),{}),i={};t.forEach(s=>{const r=o[s.prop]||{...s};i[r.prop]=r});for(const s in i){var n;const r=i[s];r.deps=(n=r.deps)===null||n===void 0?void 0:n.map(c=>i[c.prop])}return Object.values(i)}function ne(t,e,o){const i=["auto","injected","scope"],n=Object.entries(t).map(([s,r])=>{const c={value:r};if(Array.isArray(r)&&r.length>=2&&Z(r[1])&&Object.keys(r[1]).some(a=>i.includes(a))){var u;Object.assign(c,r[1]);const a=r[0];c.value=c.injected?((u=o.injectValue)===null||u===void 0?void 0:u.call(o,s))??a:a}return c.scope=c.scope||"test",c.scope==="worker"&&!o.getWorkerContext&&(c.scope="file"),c.prop=s,c.isFn=typeof c.value=="function",c});return Array.isArray(e.fixtures)?e.fixtures=e.fixtures.concat(n):e.fixtures=n,n.forEach(s=>{if(s.isFn){const c=oe(s.value);if(c.length&&(s.deps=e.fixtures.filter(({prop:u})=>u!==s.prop&&c.includes(u))),s.scope!=="test"){var r;(r=s.deps)===null||r===void 0||r.forEach(u=>{if(u.isFn&&!(s.scope==="worker"&&u.scope==="worker")&&!(s.scope==="file"&&u.scope!=="test"))throw new SyntaxError(`cannot use the ${u.scope} fixture "${u.prop}" inside the ${s.scope} fixture "${s.prop}"`)})}}}),e}const q=new Map,S=new Map;function ke(t,e,o){return i=>{const n=i||o;if(!n)return e({});const s=ve(n);if(!s?.length)return e(n);const r=oe(e),c=s.some(({auto:h})=>h);if(!r.length&&!c)return e(n);q.get(n)||q.set(n,new Map);const u=q.get(n);S.has(n)||S.set(n,[]);const a=S.get(n),l=s.filter(({prop:h,auto:m})=>m||r.includes(h)),p=re(l);if(!p.length)return e(n);async function d(){for(const h of p){if(u.has(h))continue;const m=await be(t,h,n,a);n[h.prop]=m,u.set(h,m),h.scope==="test"&&a.unshift(()=>{u.delete(h)})}}return d().then(()=>e(n))}}const R=new WeakMap;function be(t,e,o,i){var n;const s=Ue(o.task.file),r=(n=t.getWorkerContext)===null||n===void 0?void 0:n.call(t);if(!e.isFn){var c;if(s[c=e.prop]??(s[c]=e.value),r){var u;r[u=e.prop]??(r[u]=e.value)}return e.value}if(e.scope==="test")return B(e.value,o,i);if(R.has(e))return R.get(e);let a;if(e.scope==="worker"){if(!r)throw new TypeError("[@vitest/runner] The worker context is not available in the current test runner. Please, provide the `getWorkerContext` method when initiating the runner.");a=r}else a=s;if(e.prop in a)return a[e.prop];S.has(a)||S.set(a,[]);const l=S.get(a),p=B(e.value,a,l).then(d=>(a[e.prop]=d,R.delete(e),d));return R.set(e,p),p}async function B(t,e,o){const i=X();let n=!1;const s=t(e,async r=>{n=!0,i.resolve(r);const c=X();o.push(async()=>{c.resolve(),await s}),await c}).catch(r=>{if(!n){i.reject(r);return}throw r});return i}function re(t,e=new Set,o=[]){return t.forEach(i=>{if(!o.includes(i)){if(!i.isFn||!i.deps){o.push(i);return}if(e.has(i))throw new Error(`Circular fixture dependency detected: ${i.prop} <- ${[...e].reverse().map(n=>n.prop).join(" <- ")}`);e.add(i),re(i.deps,e,o),o.push(i),e.clear()}}),o}function oe(t){let e=ue(t.toString());/__async\((?:this|null), (?:null|arguments|\[[_0-9, ]*\]), function\*/.test(e)&&(e=e.split(/__async\((?:this|null),/)[1]);const o=e.match(/[^(]*\(([^)]*)/);if(!o)return[];const i=H(o[1]);if(!i.length)return[];let n=i[0];if("__VITEST_FIXTURE_INDEX__"in t&&(n=i[t.__VITEST_FIXTURE_INDEX__],!n))return[];if(!(n.startsWith("{")&&n.endsWith("}")))throw new Error(`The first argument inside a fixture must use object destructuring pattern, e.g. ({ test } => {}). Instead, received "${n}".`);const s=n.slice(1,-1).replace(/\s/g,""),r=H(s).map(u=>u.replace(/:.*|=.*/g,"")),c=r.at(-1);if(c&&c.startsWith("..."))throw new Error(`Rest parameters are not supported in fixtures, received "${c}".`);return r}function H(t){const e=[],o=[];let i=0;for(let s=0;s<t.length;s++)if(t[s]==="{"||t[s]==="[")o.push(t[s]==="{"?"}":"]");else if(t[s]===o[o.length-1])o.pop();else if(!o.length&&t[s]===","){const r=t.substring(i,s).trim();r&&e.push(r),i=s+1}const n=t.substring(i).trim();return n&&e.push(n),e}function ie(t,e){function o(n){const s=function(...r){return e.apply(n,r)};Object.assign(s,e),s.withContext=()=>s.bind(n),s.setContext=(r,c)=>{n[r]=c},s.mergeContext=r=>{Object.assign(n,r)};for(const r of t)Object.defineProperty(s,r,{get(){return o({...n,[r]:!0})}});return s}const i=o({});return i.fn=e,i}const F=je();D(function(t,e,o){W().test.fn.call(this,_(t),e,o)});let b,se,Ce;function ce(t,e){if(!t)throw new Error(`Vitest failed to find ${e}. This is a bug in Vitest. Please, open an issue with reproduction.`)}function _e(){return Ce}function Ee(){return ce(b,"the runner"),b}function W(){const t=E.currentSuite||se;return ce(t,"the current suite"),t}function Ae(){return{beforeAll:[],afterAll:[],beforeEach:[],afterEach:[]}}function A(t,e){let o={},i=()=>{};if(typeof e=="object"){if(typeof t=="object")throw new TypeError("Cannot use two objects as arguments. Please provide options and a function callback in that order.");console.warn("Using an object as a third argument is deprecated. Vitest 4 will throw an error if the third argument is not a timeout number. Please use the second argument for options. See more at https://vitest.dev/guide/migration"),o=e}else typeof e=="number"?o={timeout:e}:typeof t=="object"&&(o=t);if(typeof t=="function"){if(typeof e=="function")throw new TypeError("Cannot use two functions as arguments. Please use the second argument for options.");i=t}else typeof e=="function"&&(i=e);return{options:o,handler:i}}function Se(t,e=()=>{},o,i,n,s){const r=[];let c;h();const u=function(v="",f={}){var g;const w=f?.timeout??b.config.testTimeout,k={id:"",name:v,suite:(g=E.currentSuite)===null||g===void 0?void 0:g.suite,each:f.each,fails:f.fails,context:void 0,type:"test",file:void 0,timeout:w,retry:f.retry??b.config.retry,repeats:f.repeats,mode:f.only?"only":f.skip?"skip":f.todo?"todo":"run",meta:f.meta??Object.create(null),annotations:[]},j=f.handler;(f.concurrent||!f.sequential&&b.config.sequence.concurrent)&&(k.concurrent=!0),k.shuffle=n?.shuffle;const x=Ne(k,b);Object.defineProperty(k,"context",{value:x,enumerable:!1}),me(x,f.fixtures);const ae=Error.stackTraceLimit;Error.stackTraceLimit=15;const U=new Error("STACK_TRACE_ERROR");if(Error.stackTraceLimit=ae,j&&ge(k,N(Fe(ke(b,j,x),k),w,!1,U,(K,I)=>Me([x],I))),b.config.includeTaskLocation){const K=U.stack,I=Ie(K);I&&(k.location=I)}return r.push(k),k},a=D(function(v,f,g){let{options:w,handler:k}=A(f,g);typeof n=="object"&&(w=Object.assign({},n,w)),w.concurrent=this.concurrent||!this.sequential&&w?.concurrent,w.sequential=this.sequential||!this.concurrent&&w?.sequential;const j=u(_(v),{...this,...w,handler:k});j.type="test"});let l=s;const p={type:"collector",name:t,mode:o,suite:c,options:n,test:a,tasks:r,collect:y,task:u,clear:m,on:d,fixtures(){return l},scoped(v){const f=ne(v,{fixtures:l},b);f.fixtures&&(l=f.fixtures)}};function d(v,...f){we(c)[v].push(...f)}function h(v){var f;typeof n=="number"&&(n={timeout:n}),c={id:"",type:"suite",name:t,suite:(f=E.currentSuite)===null||f===void 0?void 0:f.suite,mode:o,each:i,file:void 0,shuffle:n?.shuffle,tasks:[],meta:Object.create(null),concurrent:n?.concurrent},ye(c,Ae())}function m(){r.length=0,h()}async function y(v){if(!v)throw new TypeError("File is required to collect tasks.");e&&await qe(p,()=>e(a));const f=[];for(const g of r)f.push(g.type==="collector"?await g.collect(v):g);return c.file=v,c.tasks=f,f.forEach(g=>{g.file=v}),c}return $e(p),p}function Fe(t,e){return async(...o)=>{const i=await t(...o);if(e.promises){const s=(await Promise.allSettled(e.promises)).map(r=>r.status==="rejected"?r.reason:void 0).filter(Boolean);if(s.length)throw s}return i}}function je(){function t(e,o,i){var n;const s=this.only?"only":this.skip?"skip":this.todo?"todo":"run",r=E.currentSuite||se;let{options:c,handler:u}=A(o,i);const a=c.concurrent||this.concurrent||c.sequential===!1,l=c.sequential||this.sequential||c.concurrent===!1;c={...r?.options,...c,shuffle:this.shuffle??c.shuffle??(r==null||(n=r.options)===null||n===void 0?void 0:n.shuffle)??void 0};const p=a||c.concurrent&&!l,d=l||c.sequential&&!a;return c.concurrent=p&&!d,c.sequential=d&&!p,Se(_(e),u,s,this.each,c,r?.fixtures())}return t.each=function(e,...o){const i=this.withContext();return this.setContext("each",!0),Array.isArray(e)&&o.length&&(e=$(e,o)),(n,s,r)=>{const c=_(n),u=e.every(Array.isArray),{options:a,handler:l}=A(s,r),p=typeof s=="function"&&typeof r=="object";e.forEach((d,h)=>{const m=Array.isArray(d)?d:[d];p?u?i(C(c,m,h),()=>l(...m),a):i(C(c,m,h),()=>l(d),a):u?i(C(c,m,h),a,()=>l(...m)):i(C(c,m,h),a,()=>l(d))}),this.setContext("each",void 0)}},t.for=function(e,...o){return Array.isArray(e)&&o.length&&(e=$(e,o)),(i,n,s)=>{const r=_(i),{options:c,handler:u}=A(n,s);e.forEach((a,l)=>{F(C(r,O(a),l),c,()=>u(a))})}},t.skipIf=e=>e?F.skip:F,t.runIf=e=>e?F:F.skip,ie(["concurrent","sequential","shuffle","skip","only","todo"],t)}function xe(t,e){const o=t;o.each=function(n,...s){const r=this.withContext();return this.setContext("each",!0),Array.isArray(n)&&s.length&&(n=$(n,s)),(c,u,a)=>{const l=_(c),p=n.every(Array.isArray),{options:d,handler:h}=A(u,a),m=typeof u=="function"&&typeof a=="object";n.forEach((y,v)=>{const f=Array.isArray(y)?y:[y];m?p?r(C(l,f,v),()=>h(...f),d):r(C(l,f,v),()=>h(y),d):p?r(C(l,f,v),d,()=>h(...f)):r(C(l,f,v),d,()=>h(y))}),this.setContext("each",void 0)}},o.for=function(n,...s){const r=this.withContext();return Array.isArray(n)&&s.length&&(n=$(n,s)),(c,u,a)=>{const l=_(c),{options:p,handler:d}=A(u,a);n.forEach((h,m)=>{const y=v=>d(h,v);y.__VITEST_FIXTURE_INDEX__=1,y.toString=()=>d.toString(),r(C(l,O(h),m),p,y)})}},o.skipIf=function(n){return n?this.skip:this},o.runIf=function(n){return n?this:this.skip},o.scoped=function(n){W().scoped(n)},o.extend=function(n){const s=ne(n,e||{},b),r=t;return D(function(c,u,a){const p=W().fixtures(),d={...this};p&&(d.fixtures=Te(d.fixtures||[],p));const{handler:h,options:m}=A(u,a),y=m.timeout??void 0;r.call(d,_(c),h,y)},s)};const i=ie(["concurrent","sequential","skip","only","todo","fails"],o);return e&&i.mergeContext(e),i}function D(t,e){return xe(t,e)}function _(t){return typeof t=="string"?t:typeof t=="function"?t.name||"<anonymous>":String(t)}function C(t,e,o){(t.includes("%#")||t.includes("%$"))&&(t=t.replace(/%%/g,"__vitest_escaped_%__").replace(/%#/g,`${o}`).replace(/%\$/g,`${o+1}`).replace(/__vitest_escaped_%__/g,"%%"));const i=t.split("%").length-1;t.includes("%f")&&(t.match(/%f/g)||[]).forEach((c,u)=>{if(le(e[u])||Object.is(e[u],-0)){let a=0;t=t.replace(/%f/g,l=>(a++,a===u+1?"-%f":l))}});let n=fe(t,...e.slice(0,i));const s=Z(e[0]);return n=n.replace(/\$([$\w.]+)/g,(r,c)=>{const u=/^\d+$/.test(c);if(!s&&!u)return`$${c}`;const a=u?L(e,c):void 0,l=s?L(e[0],c,a):a;return he(l,{truncate:void 0})}),n}function $(t,e){const o=t.join("").trim().replace(/ /g,"").split(`
2
2
  `).map(n=>n.split("|"))[0],i=[];for(let n=0;n<Math.floor(e.length/o.length);n++){const s={};for(let r=0;r<o.length;r++)s[o[r]]=e[n*o.length+r];i.push(s)}return i}function Ie(t){const e=_e(),o=t.split(`
3
3
  `).slice(1);for(const i of o){const n=Q(i);if(n&&n.file===e)return{line:n.line,column:n.column}}}globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;function Ge(t){const e=[t.name];let o=t;for(;o?.suite;)o=o.suite,o?.name&&e.unshift(o.name);return o!==t.file&&e.unshift(t.file.name),e}globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;J();const M=new Map,z=[],P=[];function Re(t){if(M.size){var e;const o=Array.from(M).map(([n,s])=>[n,s[0],s[1]]),i=(e=t.onTaskUpdate)===null||e===void 0?void 0:e.call(t,o,z);i&&(P.push(i),i.then(()=>P.splice(P.indexOf(i),1),()=>{})),z.length=0,M.clear()}}async function Pe(t){Re(t),await Promise.all(P)}const G=Date.now,E={currentSuite:null};function $e(t){var e;(e=E.currentSuite)===null||e===void 0||e.tasks.push(t)}async function qe(t,e){const o=E.currentSuite;E.currentSuite=t,await e(),E.currentSuite=o}function N(t,e,o=!1,i,n){if(e<=0||e===Number.POSITIVE_INFINITY)return t;const{setTimeout:s,clearTimeout:r}=J();return function(...u){const a=G(),l=Ee();return l._currentTaskStartTime=a,l._currentTaskTimeout=e,new Promise((p,d)=>{var h;const m=s(()=>{r(m),y()},e);(h=m.unref)===null||h===void 0||h.call(m);function y(){const g=Ve(o,e,i);n?.(u,g),d(g)}function v(g){if(l._currentTaskStartTime=void 0,l._currentTaskTimeout=void 0,r(m),G()-a>=e){y();return}p(g)}function f(g){l._currentTaskStartTime=void 0,l._currentTaskTimeout=void 0,r(m),d(g)}try{const g=t(...u);typeof g=="object"&&g!=null&&typeof g.then=="function"?g.then(v,f):v(g)}catch(g){f(g)}})}}const V=new WeakMap;function Me([t],e){t&&We(t,e)}function We(t,e){const o=V.get(t);o?.abort(e)}function Ne(t,e){var o;const i=function(){throw new Error("done() callback is deprecated, use promise instead")};let n=V.get(i);n||(n=new AbortController,V.set(i,n)),i.signal=n.signal,i.task=t,i.skip=(r,c)=>{if(r!==!1)throw t.result??(t.result={state:"skip"}),t.result.pending=!0,new de("test is skipped; abort execution",t,typeof r=="string"?r:c)};async function s(r,c,u,a){const l={message:r,type:u||"notice"};if(a){if(!a.body&&!a.path)throw new TypeError("Test attachment requires body or path to be set. Both are missing.");if(a.body&&a.path)throw new TypeError('Test attachment requires only one of "body" or "path" to be set. Both are specified.');l.attachment=a,a.body instanceof Uint8Array&&(a.body=Ke(a.body))}if(c&&(l.location=c),!e.onTestAnnotate)throw new Error("Test runner doesn't support test annotations.");await Pe(e);const p=await e.onTestAnnotate(t,l);return t.annotations.push(p),p}return i.annotate=(r,c,u)=>{if(t.result&&t.result.state!=="run")throw new Error(`Cannot annotate tests outside of the test run. The test "${t.name}" finished running with the "${t.result.state}" state already.`);let a;const l=new Error("STACK_TRACE").stack,p=l.includes("STACK_TRACE")?2:1,d=l.split(`
4
4
  `)[p],h=Q(d);return h&&(a={file:h.file,line:h.line,column:h.column}),typeof c=="object"?Y(t,s(r,a,void 0,c)):Y(t,s(r,a,c,u))},i.onTestFailed=(r,c)=>{t.onFailed||(t.onFailed=[]),t.onFailed.push(N(r,c??e.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(u,a)=>n.abort(a)))},i.onTestFinished=(r,c)=>{t.onFinished||(t.onFinished=[]),t.onFinished.push(N(r,c??e.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(u,a)=>n.abort(a)))},((o=e.extendTaskContext)===null||o===void 0?void 0:o.call(e,i))||i}function Ve(t,e,o){const i=`${t?"Hook":"Test"} timed out in ${e}ms.
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["node_modules/.pnpm/magic-string@0.30.19/node_modules/magic-string/dist/magic-string.es.js","node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js","node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js"])))=>i.map(i=>d[i]);
2
2
  import{__vitePreload as be}from"../../../../../../../_virtual/preload-helper.js";import{format as $e,plugins as ke}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import{r as Ne}from"../../../../../pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js";const Pe=44,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Re=new Uint8Array(64),me=new Uint8Array(128);for(let t=0;t<Y.length;t++){const e=Y.charCodeAt(t);Re[t]=e,me[e]=t}function M(t,e){let n=0,s=0,i=0;do{const a=t.next();i=me[a],n|=(i&31)<<s,s+=5}while(i&32);const r=n&1;return n>>>=1,r&&(n=-2147483648|-n),e+n}function ee(t,e){return t.pos>=e?!1:t.peek()!==Pe}class Ce{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:s}=this,i=n.indexOf(e,s);return i===-1?n.length:i}}function Te(t){const{length:e}=t,n=new Ce(t),s=[];let i=0,r=0,a=0,l=0,o=0;do{const c=n.indexOf(";"),d=[];let p=!0,u=0;for(i=0;n.pos<c;){let S;i=M(n,i),i<u&&(p=!1),u=i,ee(n,c)?(r=M(n,r),a=M(n,a),l=M(n,l),ee(n,c)?(o=M(n,o),S=[i,r,a,l,o]):S=[i,r,a,l]):S=[i],d.push(S),n.pos++}p||Oe(d),s.push(d),n.pos=c+1}while(n.pos<=e);return s}function Oe(t){t.sort(Ae)}function Ae(t,e){return t[0]-e[0]}const Me=/^[\w+.-]+:\/\//,Fe=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Le=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var y;(function(t){t[t.Empty=1]="Empty",t[t.Hash=2]="Hash",t[t.Query=3]="Query",t[t.RelativePath=4]="RelativePath",t[t.AbsolutePath=5]="AbsolutePath",t[t.SchemeRelative=6]="SchemeRelative",t[t.Absolute=7]="Absolute"})(y||(y={}));function Be(t){return Me.test(t)}function De(t){return t.startsWith("//")}function ge(t){return t.startsWith("/")}function Je(t){return t.startsWith("file:")}function te(t){return/^[.?#]/.test(t)}function L(t){const e=Fe.exec(t);return Se(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}function Xe(t){const e=Le.exec(t),n=e[2];return Se("file:","",e[1]||"","",ge(n)?n:"/"+n,e[3]||"",e[4]||"")}function Se(t,e,n,s,i,r,a){return{scheme:t,user:e,host:n,port:s,path:i,query:r,hash:a,type:y.Absolute}}function ne(t){if(De(t)){const n=L("http:"+t);return n.scheme="",n.type=y.SchemeRelative,n}if(ge(t)){const n=L("http://foo.com"+t);return n.scheme="",n.host="",n.type=y.AbsolutePath,n}if(Je(t))return Xe(t);if(Be(t))return L(t);const e=L("http://foo.com/"+t);return e.scheme="",e.host="",e.type=t?t.startsWith("?")?y.Query:t.startsWith("#")?y.Hash:y.RelativePath:y.Empty,e}function je(t){if(t.endsWith("/.."))return t;const e=t.lastIndexOf("/");return t.slice(0,e+1)}function We(t,e){_e(e,e.type),t.path==="/"?t.path=e.path:t.path=je(e.path)+t.path}function _e(t,e){const n=e<=y.RelativePath,s=t.path.split("/");let i=1,r=0,a=!1;for(let o=1;o<s.length;o++){const c=s[o];if(!c){a=!0;continue}if(a=!1,c!=="."){if(c===".."){r?(a=!0,r--,i--):n&&(s[i++]=c);continue}s[i++]=c,r++}}let l="";for(let o=1;o<i;o++)l+="/"+s[o];(!l||a&&!l.endsWith("/.."))&&(l+="/"),t.path=l}function Ke(t,e){if(!t&&!e)return"";const n=ne(t);let s=n.type;if(e&&s!==y.Absolute){const r=ne(e),a=r.type;switch(s){case y.Empty:n.hash=r.hash;case y.Hash:n.query=r.query;case y.Query:case y.RelativePath:We(n,r);case y.AbsolutePath:n.user=r.user,n.host=r.host,n.port=r.port;case y.SchemeRelative:n.scheme=r.scheme}a>s&&(s=a)}_e(n,s);const i=n.query+n.hash;switch(s){case y.Hash:case y.Query:return i;case y.RelativePath:{const r=n.path.slice(1);return r?te(e||t)&&!te(r)?"./"+r+i:r+i:i||"."}case y.AbsolutePath:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}function se(t,e){return e&&!e.endsWith("/")&&(e+="/"),Ke(t,e)}function Ue(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}const R=0,qe=1,ze=2,He=3,Ge=4;function Ve(t,e){const n=ie(t,0);if(n===t.length)return t;e||(t=t.slice());for(let s=n;s<t.length;s=ie(t,s+1))t[s]=Ze(t[s],e);return t}function ie(t,e){for(let n=e;n<t.length;n++)if(!Qe(t[n]))return n;return t.length}function Qe(t){for(let e=1;e<t.length;e++)if(t[e][R]<t[e-1][R])return!1;return!0}function Ze(t,e){return e||(t=t.slice()),t.sort(Ye)}function Ye(t,e){return t[R]-e[R]}let J=!1;function et(t,e,n,s){for(;n<=s;){const i=n+(s-n>>1),r=t[i][R]-e;if(r===0)return J=!0,i;r<0?n=i+1:s=i-1}return J=!1,n-1}function tt(t,e,n){for(let s=n+1;s<t.length&&t[s][R]===e;n=s++);return n}function nt(t,e,n){for(let s=n-1;s>=0&&t[s][R]===e;n=s--);return n}function st(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function it(t,e,n,s){const{lastKey:i,lastNeedle:r,lastIndex:a}=n;let l=0,o=t.length-1;if(s===i){if(e===r)return J=a!==-1&&t[a][R]===e,a;e>=r?l=a===-1?0:a:o=a}return n.lastKey=s,n.lastNeedle=e,n.lastIndex=et(t,e,l,o)}const rt="`line` must be greater than 0 (lines start at line 1)",at="`column` must be greater than or equal to 0 (columns start at column 0)",re=-1,ot=1;class lt{constructor(e,n){const s=typeof e=="string";if(!s&&e._decodedMemo)return e;const i=s?JSON.parse(e):e,{version:r,file:a,names:l,sourceRoot:o,sources:c,sourcesContent:d}=i;this.version=r,this.file=a,this.names=l||[],this.sourceRoot=o,this.sources=c,this.sourcesContent=d,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const p=se(o||"",Ue(n));this.resolvedSources=c.map(S=>se(S||"",p));const{mappings:u}=i;typeof u=="string"?(this._encoded=u,this._decoded=void 0):(this._encoded=void 0,this._decoded=Ve(u,s)),this._decodedMemo=st(),this._bySources=void 0,this._bySourceMemos=void 0}}function ct(t){var e;return(e=t)._decoded||(e._decoded=Te(t._encoded))}function ut(t,e){let{line:n,column:s,bias:i}=e;if(n--,n<0)throw new Error(rt);if(s<0)throw new Error(at);const r=ct(t);if(n>=r.length)return B(null,null,null,null);const a=r[n],l=ht(a,t._decodedMemo,n,s,i||ot);if(l===-1)return B(null,null,null,null);const o=a[l];if(o.length===1)return B(null,null,null,null);const{names:c,resolvedSources:d}=t;return B(d[o[qe]],o[ze]+1,o[He],o.length===5?c[o[Ge]]:null)}function B(t,e,n,s){return{source:t,line:e,column:n,name:s}}function ht(t,e,n,s,i){let r=it(t,s,e,n);return J?r=(i===re?tt:nt)(t,s,r):i===re&&r++,r===-1||r===t.length?-1:r}function ye(t){return t!=null}function dt(t){return t===null||typeof t!="function"&&typeof t!="object"}function D(t){return t!=null&&typeof t=="object"&&!Array.isArray(t)}function ft(t){let e=-1,n=null,s=0,i=0,r=null;for(;e<=t.length;){r=t[e],e++;const a=t[e];if((a==='"'||a==="'"||a==="`")&&r!=="\\"&&(n===a?n=null:n||(n=a)),n||(a==="("&&s++,a===")"&&i++),s&&i&&s===i)return e}return null}const ve=/^\s*at .*(?:\S:\d+|\(native\))/m,pt=/^(?:eval@)?(?:\[native code\])?$/,mt=["node:internal",/\/packages\/\w+\/dist\//,/\/@vitest\/\w+\/dist\//,"/vitest/dist/","/vitest/src/","/vite-node/dist/","/vite-node/src/","/node_modules/chai/","/node_modules/tinypool/","/node_modules/tinyspy/","/deps/chunk-","/deps/@vitest","/deps/loupe","/deps/chai",/node:\w+/,/__vitest_test__/,/__vitest_browser__/,/\/deps\/vitest_/];function xe(t){if(!t.includes(":"))return[t];const n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/^\(|\)$/g,""));if(!n)return[t];let s=n[1];if(s.startsWith("async ")&&(s=s.slice(6)),s.startsWith("http:")||s.startsWith("https:")){const i=new URL(s);i.searchParams.delete("import"),i.searchParams.delete("browserv"),s=i.pathname+i.hash+i.search}if(s.startsWith("/@fs/")){const i=/^\/@fs\/[a-zA-Z]:\//.test(s);s=s.slice(i?5:4)}return[s,n[2]||void 0,n[3]||void 0]}function gt(t){let e=t.trim();if(pt.test(e)||(e.includes(" > eval")&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!e.includes("@")&&!e.includes(":")))return null;const n=/((.*".+"[^@]*)?[^@]*)(@)/,s=e.match(n),i=s&&s[1]?s[1]:void 0,[r,a,l]=xe(e.replace(n,""));return!r||!a||!l?null:{file:r,method:i||"",line:Number.parseInt(a),column:Number.parseInt(l)}}function St(t){let e=t.trim();if(!ve.test(e))return null;e.includes("(eval ")&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let n=e.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const s=n.match(/ (\(.+\)$)/);n=s?n.replace(s[0],""):n;const[i,r,a]=xe(s?s[1]:n);let l=s&&n||"",o=i&&["eval","<anonymous>"].includes(i)?void 0:i;return!o||!r||!a?null:(l.startsWith("async ")&&(l=l.slice(6)),o.startsWith("file://")&&(o=o.slice(7)),o=o.startsWith("node:")||o.startsWith("internal:")?o:Ne(o),l&&(l=l.replace(/__vite_ssr_import_\d+__\./g,"")),{method:l,file:o,line:Number.parseInt(r),column:Number.parseInt(a)})}function X(t,e={}){const{ignoreStackEntries:n=mt}=e;return(ve.test(t)?yt(t):_t(t)).map(i=>{var r;e.getUrlId&&(i.file=e.getUrlId(i.file));const a=(r=e.getSourceMap)===null||r===void 0?void 0:r.call(e,i.file);if(!a||typeof a!="object"||!a.version)return ae(n,i.file)?null:i;const l=new lt(a),{line:o,column:c,source:d,name:p}=ut(l,i);let u=i.file;if(d){const S=i.file.startsWith("file://")?i.file:`file://${i.file}`,w=a.sourceRoot?new URL(a.sourceRoot,S):S;u=new URL(d,w).pathname,u.match(/\/\w:\//)&&(u=u.slice(1))}return ae(n,u)?null:o!=null&&c!=null?{line:o,column:c,file:u,method:p||i.method}:i}).filter(i=>i!=null)}function ae(t,e){return t.some(n=>e.match(n))}function _t(t){return t.split(`
3
3
  `).map(e=>gt(e)).filter(ye)}function yt(t){return t.split(`
4
- `).map(e=>St(e)).filter(ye)}function vt(t,e={}){if(!t||dt(t))return[];if(t.stacks)return t.stacks;const n=t.stack||"";let s=typeof n=="string"?X(n,e):[];if(!s.length){const i=t;i.fileName!=null&&i.lineNumber!=null&&i.columnNumber!=null&&(s=X(`${i.fileName}:${i.lineNumber}:${i.columnNumber}`,e)),i.sourceURL!=null&&i.line!=null&&i._column!=null&&(s=X(`${i.sourceURL}:${i.line}:${i.column}`,e))}return e.frameFilter&&(s=s.filter(i=>e.frameFilter(t,i)!==!1)),t.stacks=s,s}let xt=()=>"Promise{…}";try{const{getPromiseDetails:t,kPending:e,kRejected:n}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(xt=(s,i)=>{const[r,a]=t(s);return r===e?"Promise{<pending>}":`Promise${r===n?"!":""}{${i.inspect(a,i)}}`})}catch{}function wt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var j,oe;function It(){if(oe)return j;oe=1;var t,e,n,s,i,r,a,l,o,c,d,p,u,S,w,E,b,I,$;return u=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,t=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,w=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,E=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,$=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,o=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,S=/\/\/.*/y,n=/[<>.:={}]|\/(?![\/*])/y,e=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,s=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,I=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,r=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),j=function*(_,{jsx:C=!1}={}){var x,N,T,f,m,Q,h,P,Z,k,O,g,A,v;for({length:Q}=_,f=0,m="",v=[{tag:"JS"}],x=[],O=0,g=!1;f<Q;){switch(P=v[v.length-1],P.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[f]==="/"&&(I.test(m)||r.test(m))&&(u.lastIndex=f,h=u.exec(_))){f=u.lastIndex,m=h[0],g=!0,yield{type:"RegularExpressionLiteral",value:h[0],closed:h[1]!==void 0&&h[1]!=="\\"};continue}if(p.lastIndex=f,h=p.exec(_)){switch(A=h[0],Z=p.lastIndex,k=A,A){case"(":m==="?NonExpressionParenKeyword"&&v.push({tag:"JSNonExpressionParen",nesting:O}),O++,g=!1;break;case")":O--,g=!0,P.tag==="JSNonExpressionParen"&&O===P.nesting&&(v.pop(),k="?NonExpressionParenEnd",g=!1);break;case"{":p.lastIndex=0,T=!b.test(m)&&(I.test(m)||r.test(m)),x.push(T),g=!1;break;case"}":switch(P.tag){case"InterpolationInTemplate":if(x.length===P.nesting){E.lastIndex=f,h=E.exec(_),f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",g=!1,yield{type:"TemplateMiddle",value:h[0]}):(v.pop(),g=!0,yield{type:"TemplateTail",value:h[0],closed:h[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===P.nesting){v.pop(),f+=1,m="}",yield{type:"JSXPunctuator",value:"}"};continue}}g=x.pop(),k=g?"?ExpressionBraceEnd":"}";break;case"]":g=!0;break;case"++":case"--":k=g?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(C&&(I.test(m)||r.test(m))){v.push({tag:"JSXTag"}),f+=1,m="<",yield{type:"JSXPunctuator",value:A};continue}g=!1;break;default:g=!1}f=Z,m=k,yield{type:"Punctuator",value:A};continue}if(t.lastIndex=f,h=t.exec(_)){switch(f=t.lastIndex,k=h[0],h[0]){case"for":case"if":case"while":case"with":m!=="."&&m!=="?."&&(k="?NonExpressionParenKeyword")}m=k,g=!r.test(h[0]),yield{type:h[1]==="#"?"PrivateIdentifier":"IdentifierName",value:h[0]};continue}if(w.lastIndex=f,h=w.exec(_)){f=w.lastIndex,m=h[0],g=!0,yield{type:"StringLiteral",value:h[0],closed:h[2]!==void 0};continue}if(d.lastIndex=f,h=d.exec(_)){f=d.lastIndex,m=h[0],g=!0,yield{type:"NumericLiteral",value:h[0]};continue}if(E.lastIndex=f,h=E.exec(_)){f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",v.push({tag:"InterpolationInTemplate",nesting:x.length}),g=!1,yield{type:"TemplateHead",value:h[0]}):(g=!0,yield{type:"NoSubstitutionTemplate",value:h[0],closed:h[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(n.lastIndex=f,h=n.exec(_)){switch(f=n.lastIndex,k=h[0],h[0]){case"<":v.push({tag:"JSXTag"});break;case">":v.pop(),m==="/"||P.tag==="JSXTagEnd"?(k="?JSX",g=!0):v.push({tag:"JSXChildren"});break;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),k="?InterpolationInJSX",g=!1;break;case"/":m==="<"&&(v.pop(),v[v.length-1].tag==="JSXChildren"&&v.pop(),v.push({tag:"JSXTagEnd"}))}m=k,yield{type:"JSXPunctuator",value:h[0]};continue}if(e.lastIndex=f,h=e.exec(_)){f=e.lastIndex,m=h[0],yield{type:"JSXIdentifier",value:h[0]};continue}if(s.lastIndex=f,h=s.exec(_)){f=s.lastIndex,m=h[0],yield{type:"JSXString",value:h[0],closed:h[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=f,h=i.exec(_)){f=i.lastIndex,m=h[0],yield{type:"JSXText",value:h[0]};continue}switch(_[f]){case"<":v.push({tag:"JSXTag"}),f++,m="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),f++,m="?InterpolationInJSX",g=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if($.lastIndex=f,h=$.exec(_)){f=$.lastIndex,yield{type:"WhiteSpace",value:h[0]};continue}if(l.lastIndex=f,h=l.exec(_)){f=l.lastIndex,g=!1,a.test(m)&&(m="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:h[0]};continue}if(o.lastIndex=f,h=o.exec(_)){f=o.lastIndex,c.test(h[0])&&(g=!1,a.test(m)&&(m="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:h[0],closed:h[1]!==void 0};continue}if(S.lastIndex=f,h=S.exec(_)){f=S.lastIndex,g=!1,yield{type:"SingleLineComment",value:h[0]};continue}N=String.fromCodePoint(_.codePointAt(f)),f+=N.length,m=N,g=!1,yield{type:P.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:N}}},j}It();var we={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(we.keyword);new Set(we.strict);var Et={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},bt=Object.entries(Et);function q(t){return String(t)}q.open="";q.close="";function $t(t=!1){let e=typeof process<"u"?process:void 0,n=e?.env||{},s=e?.argv||[];return!("NO_COLOR"in n||s.includes("--no-color"))&&("FORCE_COLOR"in n||s.includes("--color")||e?.platform==="win32"||t&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}function kt(t=!1){let e=$t(t),n=(a,l,o,c)=>{let d="",p=0;do d+=a.substring(p,c)+o,p=c+l.length,c=a.indexOf(l,p);while(~c);return d+a.substring(p)},s=(a,l,o=a)=>{let c=d=>{let p=String(d),u=p.indexOf(l,a.length);return~u?a+n(p,l,o,u)+l:a+p+l};return c.open=a,c.close=l,c},i={isColorSupported:e},r=a=>`\x1B[${a}m`;for(let[a,l]of bt)i[a]=e?s(r(l[0]),r(l[1]),l[2]):q;return i}kt();const z=/\r?\n/;function Nt(t,e,n){const s=t.split(z),i=/\r\n/.test(t)?2:1;let r=0;if(e>s.length)return t.length;for(let a=0;a<e-1;a++)r+=s[a].length+i;return r+n}function Pt(t,e){if(e>t.length)throw new Error(`offset is longer than source length! offset ${e} > length ${t.length}`);const n=t.split(z),s=/\r\n/.test(t)?2:1;let i=0,r=0;for(;r<n.length;r++){const a=n[r].length+s;if(i+a>=e)break;i+=a}return r+1}async function Rt(t,e){const n=(await be(async()=>{const{default:i}=await import("../../../../../magic-string@0.30.19/node_modules/magic-string/dist/magic-string.es.js");return{default:i}},__vite__mapDeps([0,1]))).default,s=new Set(e.map(i=>i.file));await Promise.all(Array.from(s).map(async i=>{const r=e.filter(c=>c.file===i),a=await t.readSnapshotFile(i),l=new n(a);for(const c of r){const d=Nt(a,c.line,c.column);Ft(a,l,d,c.snapshot)}const o=l.toString();o!==a&&await t.saveSnapshotFile(i,o)}))}const Ct=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*\{/;function Tt(t,e,n,s){let i=t.slice(n);const r=Ct.exec(i);if(!r)return!1;i=i.slice(r.index);let a=ft(i);if(a===null)return!1;a+=n+r.index;const l=n+r.index+r[0].length,o=Ot(t,l),c=`, ${Ie(s,t,n)}`;return o===a?e.appendLeft(a,c):e.overwrite(o,a,c),!0}function Ot(t,e){let n=1,s=0;for(;n!==s&&e<t.length;){const i=t[e++];i==="{"?n++:i==="}"&&s++}return e}function Ie(t,e,n){const s=Pt(e,n),r=e.split(z)[s-1].match(/^\s*/)[0]||"",a=r.includes(" ")?`${r} `:`${r} `,l=t.trim().replace(/\\/g,"\\\\").split(/\n/g),o=l.length<=1,c="`";return o?`${c}${l.join(`
4
+ `).map(e=>St(e)).filter(ye)}function vt(t,e={}){if(!t||dt(t))return[];if(t.stacks)return t.stacks;const n=t.stack||"";let s=typeof n=="string"?X(n,e):[];if(!s.length){const i=t;i.fileName!=null&&i.lineNumber!=null&&i.columnNumber!=null&&(s=X(`${i.fileName}:${i.lineNumber}:${i.columnNumber}`,e)),i.sourceURL!=null&&i.line!=null&&i._column!=null&&(s=X(`${i.sourceURL}:${i.line}:${i.column}`,e))}return e.frameFilter&&(s=s.filter(i=>e.frameFilter(t,i)!==!1)),t.stacks=s,s}let xt=()=>"Promise{…}";try{const{getPromiseDetails:t,kPending:e,kRejected:n}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(xt=(s,i)=>{const[r,a]=t(s);return r===e?"Promise{<pending>}":`Promise${r===n?"!":""}{${i.inspect(a,i)}}`})}catch{}function wt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var j,oe;function It(){if(oe)return j;oe=1;var t,e,n,s,i,r,a,l,o,c,d,p,u,S,w,E,b,I,$;return u=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,t=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,w=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,E=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,$=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,o=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,S=/\/\/.*/y,n=/[<>.:={}]|\/(?![\/*])/y,e=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,s=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,I=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,r=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),j=function*(_,{jsx:C=!1}={}){var x,N,T,f,m,Q,h,P,Z,k,O,g,A,v;for({length:Q}=_,f=0,m="",v=[{tag:"JS"}],x=[],O=0,g=!1;f<Q;){switch(P=v[v.length-1],P.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[f]==="/"&&(I.test(m)||r.test(m))&&(u.lastIndex=f,h=u.exec(_))){f=u.lastIndex,m=h[0],g=!0,yield{type:"RegularExpressionLiteral",value:h[0],closed:h[1]!==void 0&&h[1]!=="\\"};continue}if(p.lastIndex=f,h=p.exec(_)){switch(A=h[0],Z=p.lastIndex,k=A,A){case"(":m==="?NonExpressionParenKeyword"&&v.push({tag:"JSNonExpressionParen",nesting:O}),O++,g=!1;break;case")":O--,g=!0,P.tag==="JSNonExpressionParen"&&O===P.nesting&&(v.pop(),k="?NonExpressionParenEnd",g=!1);break;case"{":p.lastIndex=0,T=!b.test(m)&&(I.test(m)||r.test(m)),x.push(T),g=!1;break;case"}":switch(P.tag){case"InterpolationInTemplate":if(x.length===P.nesting){E.lastIndex=f,h=E.exec(_),f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",g=!1,yield{type:"TemplateMiddle",value:h[0]}):(v.pop(),g=!0,yield{type:"TemplateTail",value:h[0],closed:h[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===P.nesting){v.pop(),f+=1,m="}",yield{type:"JSXPunctuator",value:"}"};continue}}g=x.pop(),k=g?"?ExpressionBraceEnd":"}";break;case"]":g=!0;break;case"++":case"--":k=g?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(C&&(I.test(m)||r.test(m))){v.push({tag:"JSXTag"}),f+=1,m="<",yield{type:"JSXPunctuator",value:A};continue}g=!1;break;default:g=!1}f=Z,m=k,yield{type:"Punctuator",value:A};continue}if(t.lastIndex=f,h=t.exec(_)){switch(f=t.lastIndex,k=h[0],h[0]){case"for":case"if":case"while":case"with":m!=="."&&m!=="?."&&(k="?NonExpressionParenKeyword")}m=k,g=!r.test(h[0]),yield{type:h[1]==="#"?"PrivateIdentifier":"IdentifierName",value:h[0]};continue}if(w.lastIndex=f,h=w.exec(_)){f=w.lastIndex,m=h[0],g=!0,yield{type:"StringLiteral",value:h[0],closed:h[2]!==void 0};continue}if(d.lastIndex=f,h=d.exec(_)){f=d.lastIndex,m=h[0],g=!0,yield{type:"NumericLiteral",value:h[0]};continue}if(E.lastIndex=f,h=E.exec(_)){f=E.lastIndex,m=h[0],h[1]==="${"?(m="?InterpolationInTemplate",v.push({tag:"InterpolationInTemplate",nesting:x.length}),g=!1,yield{type:"TemplateHead",value:h[0]}):(g=!0,yield{type:"NoSubstitutionTemplate",value:h[0],closed:h[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(n.lastIndex=f,h=n.exec(_)){switch(f=n.lastIndex,k=h[0],h[0]){case"<":v.push({tag:"JSXTag"});break;case">":v.pop(),m==="/"||P.tag==="JSXTagEnd"?(k="?JSX",g=!0):v.push({tag:"JSXChildren"});break;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),k="?InterpolationInJSX",g=!1;break;case"/":m==="<"&&(v.pop(),v[v.length-1].tag==="JSXChildren"&&v.pop(),v.push({tag:"JSXTagEnd"}))}m=k,yield{type:"JSXPunctuator",value:h[0]};continue}if(e.lastIndex=f,h=e.exec(_)){f=e.lastIndex,m=h[0],yield{type:"JSXIdentifier",value:h[0]};continue}if(s.lastIndex=f,h=s.exec(_)){f=s.lastIndex,m=h[0],yield{type:"JSXString",value:h[0],closed:h[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=f,h=i.exec(_)){f=i.lastIndex,m=h[0],yield{type:"JSXText",value:h[0]};continue}switch(_[f]){case"<":v.push({tag:"JSXTag"}),f++,m="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":v.push({tag:"InterpolationInJSX",nesting:x.length}),f++,m="?InterpolationInJSX",g=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if($.lastIndex=f,h=$.exec(_)){f=$.lastIndex,yield{type:"WhiteSpace",value:h[0]};continue}if(l.lastIndex=f,h=l.exec(_)){f=l.lastIndex,g=!1,a.test(m)&&(m="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:h[0]};continue}if(o.lastIndex=f,h=o.exec(_)){f=o.lastIndex,c.test(h[0])&&(g=!1,a.test(m)&&(m="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:h[0],closed:h[1]!==void 0};continue}if(S.lastIndex=f,h=S.exec(_)){f=S.lastIndex,g=!1,yield{type:"SingleLineComment",value:h[0]};continue}N=String.fromCodePoint(_.codePointAt(f)),f+=N.length,m=N,g=!1,yield{type:P.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:N}}},j}It();var we={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(we.keyword);new Set(we.strict);var Et={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},bt=Object.entries(Et);function q(t){return String(t)}q.open="";q.close="";function $t(t=!1){let e=typeof process<"u"?process:void 0,n=e?.env||{},s=e?.argv||[];return!("NO_COLOR"in n||s.includes("--no-color"))&&("FORCE_COLOR"in n||s.includes("--color")||e?.platform==="win32"||t&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}function kt(t=!1){let e=$t(t),n=(a,l,o,c)=>{let d="",p=0;do d+=a.substring(p,c)+o,p=c+l.length,c=a.indexOf(l,p);while(~c);return d+a.substring(p)},s=(a,l,o=a)=>{let c=d=>{let p=String(d),u=p.indexOf(l,a.length);return~u?a+n(p,l,o,u)+l:a+p+l};return c.open=a,c.close=l,c},i={isColorSupported:e},r=a=>`\x1B[${a}m`;for(let[a,l]of bt)i[a]=e?s(r(l[0]),r(l[1]),l[2]):q;return i}kt();const z=/\r?\n/;function Nt(t,e,n){const s=t.split(z),i=/\r\n/.test(t)?2:1;let r=0;if(e>s.length)return t.length;for(let a=0;a<e-1;a++)r+=s[a].length+i;return r+n}function Pt(t,e){if(e>t.length)throw new Error(`offset is longer than source length! offset ${e} > length ${t.length}`);const n=t.split(z),s=/\r\n/.test(t)?2:1;let i=0,r=0;for(;r<n.length;r++){const a=n[r].length+s;if(i+a>=e)break;i+=a}return r+1}async function Rt(t,e){const n=(await be(async()=>{const{default:i}=await import("../../../../../magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js");return{default:i}},__vite__mapDeps([0,1]))).default,s=new Set(e.map(i=>i.file));await Promise.all(Array.from(s).map(async i=>{const r=e.filter(c=>c.file===i),a=await t.readSnapshotFile(i),l=new n(a);for(const c of r){const d=Nt(a,c.line,c.column);Ft(a,l,d,c.snapshot)}const o=l.toString();o!==a&&await t.saveSnapshotFile(i,o)}))}const Ct=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*\{/;function Tt(t,e,n,s){let i=t.slice(n);const r=Ct.exec(i);if(!r)return!1;i=i.slice(r.index);let a=ft(i);if(a===null)return!1;a+=n+r.index;const l=n+r.index+r[0].length,o=Ot(t,l),c=`, ${Ie(s,t,n)}`;return o===a?e.appendLeft(a,c):e.overwrite(o,a,c),!0}function Ot(t,e){let n=1,s=0;for(;n!==s&&e<t.length;){const i=t[e++];i==="{"?n++:i==="}"&&s++}return e}function Ie(t,e,n){const s=Pt(e,n),r=e.split(z)[s-1].match(/^\s*/)[0]||"",a=r.includes(" ")?`${r} `:`${r} `,l=t.trim().replace(/\\/g,"\\\\").split(/\n/g),o=l.length<=1,c="`";return o?`${c}${l.join(`
5
5
  `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}${c}`:`${c}
6
6
  ${l.map(d=>d?a+d:"").join(`
7
7
  `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}
@@ -1 +1 @@
1
- import{internalSpyOn as y,getInternalState as I}from"../../../../../tinyspy@4.0.3/node_modules/tinyspy/dist/index.js";const b=new Set;function w(r){return typeof r=="function"&&"_isMockFunction"in r&&r._isMockFunction}function v(r,e,o){const i=o?{[{get:"getter",set:"setter"}[o]]:e}:e;let l;const s=S(r,e),m=s&&s[o||"value"];w(m)&&(l=m.mock._state());try{const n=y(r,i),u=h(n);return l&&u.mock._state(l),u}catch(n){throw n instanceof TypeError&&Symbol.toStringTag&&r[Symbol.toStringTag]==="Module"&&(n.message.includes("Cannot redefine property")||n.message.includes("Cannot replace module namespace")||n.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(i)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:n}):n}}let C=0;function h(r){const e=r;let o,c=[],i=!1,l=[],s=[],m=[];const n=I(r),u={get calls(){return n.calls},get contexts(){return s},get instances(){return l},get invocationCallOrder(){return m},get results(){return n.results.map(([t,a])=>({type:t==="error"?"throw":"return",value:a}))},get settledResults(){return n.resolves.map(([t,a])=>({type:t==="error"?"rejected":"fulfilled",value:a}))},get lastCall(){return n.calls[n.calls.length-1]},_state(t){return t&&(o=t.implementation,c=t.onceImplementations,i=t.implementationChangedTemporarily),{implementation:o,onceImplementations:c,implementationChangedTemporarily:i}}};function f(...t){return l.push(this),s.push(this),m.push(++C),(i?o:c.shift()||o||n.getOriginal()||(()=>{})).apply(this,t)}let k=e.name;e.getMockName=()=>k||"vi.fn()",e.mockName=t=>(k=t,e),e.mockClear=()=>(n.reset(),l=[],s=[],m=[],e),e.mockReset=()=>(e.mockClear(),o=void 0,c=[],e),e.mockRestore=()=>(e.mockReset(),n.restore(),e),Symbol.dispose&&(e[Symbol.dispose]=()=>e.mockRestore()),e.getMockImplementation=()=>i?o:c.at(0)||o,e.mockImplementation=t=>(o=t,n.willCall(f),e),e.mockImplementationOnce=t=>(c.push(t),e);function O(t,a){const g=o;o=t,n.willCall(f),i=!0;const d=()=>{o=g,i=!1},p=a();return typeof p=="object"&&p&&typeof p.then=="function"?p.then(()=>(d(),e)):(d(),e)}return e.withImplementation=O,e.mockReturnThis=()=>e.mockImplementation(function(){return this}),e.mockReturnValue=t=>e.mockImplementation(()=>t),e.mockReturnValueOnce=t=>e.mockImplementationOnce(()=>t),e.mockResolvedValue=t=>e.mockImplementation(()=>Promise.resolve(t)),e.mockResolvedValueOnce=t=>e.mockImplementationOnce(()=>Promise.resolve(t)),e.mockRejectedValue=t=>e.mockImplementation(()=>Promise.reject(t)),e.mockRejectedValueOnce=t=>e.mockImplementationOnce(()=>Promise.reject(t)),Object.defineProperty(e,"mock",{get:()=>u}),n.willCall(f),b.add(e),e}function j(r){const e=h(y({spy:r||function(){}},"spy"));return r&&e.mockImplementation(r),e}function S(r,e){const o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;let c=Object.getPrototypeOf(r);for(;c!==null;){const i=Object.getOwnPropertyDescriptor(c,e);if(i)return i;c=Object.getPrototypeOf(c)}}export{j as fn,w as isMockFunction,b as mocks,v as spyOn};
1
+ import{internalSpyOn as y,getInternalState as I}from"../../../../../tinyspy@4.0.4/node_modules/tinyspy/dist/index.js";const b=new Set;function w(r){return typeof r=="function"&&"_isMockFunction"in r&&r._isMockFunction}function v(r,e,o){const i=o?{[{get:"getter",set:"setter"}[o]]:e}:e;let s;const l=S(r,e),m=l&&l[o||"value"];w(m)&&(s=m.mock._state());try{const n=y(r,i),u=h(n);return s&&u.mock._state(s),u}catch(n){throw n instanceof TypeError&&Symbol.toStringTag&&r[Symbol.toStringTag]==="Module"&&(n.message.includes("Cannot redefine property")||n.message.includes("Cannot replace module namespace")||n.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(i)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:n}):n}}let C=0;function h(r){const e=r;let o,c=[],i=!1,s=[],l=[],m=[];const n=I(r),u={get calls(){return n.calls},get contexts(){return l},get instances(){return s},get invocationCallOrder(){return m},get results(){return n.results.map(([t,a])=>({type:t==="error"?"throw":"return",value:a}))},get settledResults(){return n.resolves.map(([t,a])=>({type:t==="error"?"rejected":"fulfilled",value:a}))},get lastCall(){return n.calls[n.calls.length-1]},_state(t){return t&&(o=t.implementation,c=t.onceImplementations,i=t.implementationChangedTemporarily),{implementation:o,onceImplementations:c,implementationChangedTemporarily:i}}};function f(...t){return s.push(this),l.push(this),m.push(++C),(i?o:c.shift()||o||n.getOriginal()||(()=>{})).apply(this,t)}let k=e.name;e.getMockName=()=>k||"vi.fn()",e.mockName=t=>(k=t,e),e.mockClear=()=>(n.reset(),s=[],l=[],m=[],e),e.mockReset=()=>(e.mockClear(),o=void 0,c=[],e),e.mockRestore=()=>(e.mockReset(),n.restore(),e),Symbol.dispose&&(e[Symbol.dispose]=()=>e.mockRestore()),e.getMockImplementation=()=>i?o:c.at(0)||o,e.mockImplementation=t=>(o=t,n.willCall(f),e),e.mockImplementationOnce=t=>(c.push(t),e);function O(t,a){const g=o;o=t,n.willCall(f),i=!0;const d=()=>{o=g,i=!1},p=a();return typeof p=="object"&&p&&typeof p.then=="function"?p.then(()=>(d(),e)):(d(),e)}return e.withImplementation=O,e.mockReturnThis=()=>e.mockImplementation(function(){return this}),e.mockReturnValue=t=>e.mockImplementation(()=>t),e.mockReturnValueOnce=t=>e.mockImplementationOnce(()=>t),e.mockResolvedValue=t=>e.mockImplementation(()=>Promise.resolve(t)),e.mockResolvedValueOnce=t=>e.mockImplementationOnce(()=>Promise.resolve(t)),e.mockRejectedValue=t=>e.mockImplementation(()=>Promise.reject(t)),e.mockRejectedValueOnce=t=>e.mockImplementationOnce(()=>Promise.reject(t)),Object.defineProperty(e,"mock",{get:()=>u}),n.willCall(f),b.add(e),e}function j(r){const e=h(y({spy:r||function(){}},"spy"));return r&&e.mockImplementation(r),e}function S(r,e){const o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;let c=Object.getPrototypeOf(r);for(;c!==null;){const i=Object.getOwnPropertyDescriptor(c,e);if(i)return i;c=Object.getPrototypeOf(c)}}export{j as fn,w as isMockFunction,b as mocks,v as spyOn};
@@ -1 +1 @@
1
- import{format as l,plugins as a}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import{inspect as p}from"../../../../../loupe@3.1.4/node_modules/loupe/lib/index.js";const{AsymmetricMatcher:y,DOMCollection:m,DOMElement:g,Immutable:S,ReactElement:b,ReactTestComponent:d}=a,f=[d,b,g,m,S,y];function h(t,c=10,{maxLength:r,...u}={}){const i=r??1e4;let n;try{n=l(t,{maxDepth:c,escapeString:!1,plugins:f,...u})}catch{n=l(t,{callToJSON:!1,maxDepth:c,escapeString:!1,plugins:f,...u})}return n.length>=i&&c>1?h(t,Math.floor(Math.min(c,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...u}):n}const j=/%[sdjifoOc%]/g;function $(...t){if(typeof t[0]!="string"){const n=[];for(let e=0;e<t.length;e++)n.push(o(t[e],{depth:0,colors:!1}));return n.join(" ")}const c=t.length;let r=1;const u=t[0];let i=String(u).replace(j,n=>{if(n==="%%")return"%";if(r>=c)return n;switch(n){case"%s":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:typeof e=="number"&&e===0&&1/e<0?"-0":typeof e=="object"&&e!==null?typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():o(e,{depth:0,colors:!1}):String(e)}case"%d":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:Number(e).toString()}case"%i":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:Number.parseInt(String(e)).toString()}case"%f":return Number.parseFloat(String(t[r++])).toString();case"%o":return o(t[r++],{showHidden:!0,showProxy:!0});case"%O":return o(t[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(t[r++])}catch(e){const s=e.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw e}default:return n}});for(let n=t[r];r<c;n=t[++r])n===null||typeof n!="object"?i+=` ${n}`:i+=` ${o(n)}`;return i}function o(t,c={}){return c.truncate===0&&(c.truncate=Number.POSITIVE_INFINITY),p(t,c)}function E(t,c={}){typeof c.truncate>"u"&&(c.truncate=40);const r=o(t,c),u=Object.prototype.toString.call(t);if(c.truncate&&r.length>=c.truncate)if(u==="[object Function]"){const i=t;return i.name?`[Function: ${i.name}]`:"[Function]"}else{if(u==="[object Array]")return`[ Array(${t.length}) ]`;if(u==="[object Object]"){const i=Object.keys(t);return`{ Object (${i.length>2?`${i.splice(0,2).join(", ")}, ...`:i.join(", ")}) }`}else return r}return r}function I(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}export{$ as f,I as g,o as i,E as o,h as s};
1
+ import{format as l,plugins as a}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import{inspect as p}from"../../../../../loupe@3.2.1/node_modules/loupe/lib/index.js";const{AsymmetricMatcher:y,DOMCollection:m,DOMElement:g,Immutable:S,ReactElement:b,ReactTestComponent:d}=a,f=[d,b,g,m,S,y];function h(t,c=10,{maxLength:r,...u}={}){const i=r??1e4;let n;try{n=l(t,{maxDepth:c,escapeString:!1,plugins:f,...u})}catch{n=l(t,{callToJSON:!1,maxDepth:c,escapeString:!1,plugins:f,...u})}return n.length>=i&&c>1?h(t,Math.floor(Math.min(c,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...u}):n}const j=/%[sdjifoOc%]/g;function $(...t){if(typeof t[0]!="string"){const n=[];for(let e=0;e<t.length;e++)n.push(o(t[e],{depth:0,colors:!1}));return n.join(" ")}const c=t.length;let r=1;const u=t[0];let i=String(u).replace(j,n=>{if(n==="%%")return"%";if(r>=c)return n;switch(n){case"%s":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:typeof e=="number"&&e===0&&1/e<0?"-0":typeof e=="object"&&e!==null?typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():o(e,{depth:0,colors:!1}):String(e)}case"%d":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:Number(e).toString()}case"%i":{const e=t[r++];return typeof e=="bigint"?`${e.toString()}n`:Number.parseInt(String(e)).toString()}case"%f":return Number.parseFloat(String(t[r++])).toString();case"%o":return o(t[r++],{showHidden:!0,showProxy:!0});case"%O":return o(t[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(t[r++])}catch(e){const s=e.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw e}default:return n}});for(let n=t[r];r<c;n=t[++r])n===null||typeof n!="object"?i+=` ${n}`:i+=` ${o(n)}`;return i}function o(t,c={}){return c.truncate===0&&(c.truncate=Number.POSITIVE_INFINITY),p(t,c)}function E(t,c={}){typeof c.truncate>"u"&&(c.truncate=40);const r=o(t,c),u=Object.prototype.toString.call(t);if(c.truncate&&r.length>=c.truncate)if(u==="[object Function]"){const i=t;return i.name?`[Function: ${i.name}]`:"[Function]"}else{if(u==="[object Array]")return`[ Array(${t.length}) ]`;if(u==="[object Object]"){const i=Object.keys(t);return`{ Object (${i.length>2?`${i.splice(0,2).join(", ")}, ...`:i.join(", ")}) }`}else return r}return r}function I(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}export{$ as f,I as g,o as i,E as o,h as s};
@@ -1,42 +1,42 @@
1
- import{format as Y,plugins as jn}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import V from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import{g as Yn,s as Bn}from"./chunk-_commonjsHelpers.js";import{deepClone as pn,getOwnProperties as Qn,getType as cn}from"./helpers.js";import"../../../../../loupe@3.1.4/node_modules/loupe/lib/promise.js";const j=-1,O=1,M=0;class A{0;1;constructor(e,t){this[0]=e,this[1]=t}}function Zn(n,e){if(!n||!e||n.charAt(0)!==e.charAt(0))return 0;let t=0,r=Math.min(n.length,e.length),o=r,l=0;for(;t<o;)n.substring(l,o)===e.substring(l,o)?(t=o,l=t):r=o,o=Math.floor((r-t)/2+t);return o}function Rn(n,e){if(!n||!e||n.charAt(n.length-1)!==e.charAt(e.length-1))return 0;let t=0,r=Math.min(n.length,e.length),o=r,l=0;for(;t<o;)n.substring(n.length-o,n.length-l)===e.substring(e.length-o,e.length-l)?(t=o,l=t):r=o,o=Math.floor((r-t)/2+t);return o}function wn(n,e){const t=n.length,r=e.length;if(t===0||r===0)return 0;t>r?n=n.substring(t-r):t<r&&(e=e.substring(0,t));const o=Math.min(t,r);if(n===e)return o;let l=0,s=1;for(;;){const b=n.substring(o-s),u=e.indexOf(b);if(u===-1)return l;s+=u,(u===0||n.substring(o-s)===e.substring(0,s))&&(l=s,s++)}}function vn(n){let e=!1;const t=[];let r=0,o=null,l=0,s=0,b=0,u=0,F=0;for(;l<n.length;)n[l][0]===M?(t[r++]=l,s=u,b=F,u=0,F=0,o=n[l][1]):(n[l][0]===O?u+=n[l][1].length:F+=n[l][1].length,o&&o.length<=Math.max(s,b)&&o.length<=Math.max(u,F)&&(n.splice(t[r-1],0,new A(j,o)),n[t[r-1]+1][0]=O,r--,r--,l=r>0?t[r-1]:-1,s=0,b=0,u=0,F=0,o=null,e=!0)),l++;for(e&&kn(n),ne(n),l=1;l<n.length;){if(n[l-1][0]===j&&n[l][0]===O){const y=n[l-1][1],C=n[l][1],D=wn(y,C),c=wn(C,y);D>=c?(D>=y.length/2||D>=C.length/2)&&(n.splice(l,0,new A(M,C.substring(0,D))),n[l-1][1]=y.substring(0,y.length-D),n[l+1][1]=C.substring(D),l++):(c>=y.length/2||c>=C.length/2)&&(n.splice(l,0,new A(M,y.substring(0,c))),n[l-1][0]=O,n[l-1][1]=C.substring(0,C.length-c),n[l+1][0]=j,n[l+1][1]=y.substring(c),l++),l++}l++}}const Cn=/[^a-z0-9]/i,bn=/\s/,yn=/[\r\n]/,xn=/\n\r?\n$/,dn=/^\r?\n\r?\n/;function ne(n){let e=1;for(;e<n.length-1;){if(n[e-1][0]===M&&n[e+1][0]===M){let t=n[e-1][1],r=n[e][1],o=n[e+1][1];const l=Rn(t,r);if(l){const y=r.substring(r.length-l);t=t.substring(0,t.length-l),r=y+r.substring(0,r.length-l),o=y+o}let s=t,b=r,u=o,F=nn(t,r)+nn(r,o);for(;r.charAt(0)===o.charAt(0);){t+=r.charAt(0),r=r.substring(1)+o.charAt(0),o=o.substring(1);const y=nn(t,r)+nn(r,o);y>=F&&(F=y,s=t,b=r,u=o)}n[e-1][1]!==s&&(s?n[e-1][1]=s:(n.splice(e-1,1),e--),n[e][1]=b,u?n[e+1][1]=u:(n.splice(e+1,1),e--))}e++}}function kn(n){n.push(new A(M,""));let e=0,t=0,r=0,o="",l="",s;for(;e<n.length;)switch(n[e][0]){case O:r++,l+=n[e][1],e++;break;case j:t++,o+=n[e][1],e++;break;case M:t+r>1?(t!==0&&r!==0&&(s=Zn(l,o),s!==0&&(e-t-r>0&&n[e-t-r-1][0]===M?n[e-t-r-1][1]+=l.substring(0,s):(n.splice(0,0,new A(M,l.substring(0,s))),e++),l=l.substring(s),o=o.substring(s)),s=Rn(l,o),s!==0&&(n[e][1]=l.substring(l.length-s)+n[e][1],l=l.substring(0,l.length-s),o=o.substring(0,o.length-s))),e-=t+r,n.splice(e,t+r),o.length&&(n.splice(e,0,new A(j,o)),e++),l.length&&(n.splice(e,0,new A(O,l)),e++),e++):e!==0&&n[e-1][0]===M?(n[e-1][1]+=n[e][1],n.splice(e,1)):e++,r=0,t=0,o="",l="";break}n[n.length-1][1]===""&&n.pop();let b=!1;for(e=1;e<n.length-1;)n[e-1][0]===M&&n[e+1][0]===M&&(n[e][1].substring(n[e][1].length-n[e-1][1].length)===n[e-1][1]?(n[e][1]=n[e-1][1]+n[e][1].substring(0,n[e][1].length-n[e-1][1].length),n[e+1][1]=n[e-1][1]+n[e+1][1],n.splice(e-1,1),b=!0):n[e][1].substring(0,n[e+1][1].length)===n[e+1][1]&&(n[e-1][1]+=n[e+1][1],n[e][1]=n[e][1].substring(n[e+1][1].length)+n[e+1][1],n.splice(e+1,1),b=!0)),e++;b&&kn(n)}function nn(n,e){if(!n||!e)return 6;const t=n.charAt(n.length-1),r=e.charAt(0),o=t.match(Cn),l=r.match(Cn),s=o&&t.match(bn),b=l&&r.match(bn),u=s&&t.match(yn),F=b&&r.match(yn),y=u&&n.match(xn),C=F&&e.match(dn);return y||C?5:u||F?4:o&&!s&&b?3:s||b?2:o||l?1:0}const Nn="Compared values have no visual difference.",ee="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";var en={},$n;function te(){if($n)return en;$n=1,Object.defineProperty(en,"__esModule",{value:!0}),en.default=D;const n="diff-sequences",e=0,t=(c,i,h,a,f)=>{let p=0;for(;c<i&&h<a&&f(c,h);)c+=1,h+=1,p+=1;return p},r=(c,i,h,a,f)=>{let p=0;for(;c<=i&&h<=a&&f(i,a);)i-=1,a-=1,p+=1;return p},o=(c,i,h,a,f,p,L)=>{let g=0,w=-c,$=p[g],m=$;p[g]+=t($+1,i,a+$-w+1,h,f);const P=c<L?c:L;for(g+=1,w+=2;g<=P;g+=1,w+=2){if(g!==c&&m<p[g])$=p[g];else if($=m+1,i<=$)return g-1;m=p[g],p[g]=$+t($+1,i,a+$-w+1,h,f)}return L},l=(c,i,h,a,f,p,L)=>{let g=0,w=c,$=p[g],m=$;p[g]-=r(i,$-1,h,a+$-w-1,f);const P=c<L?c:L;for(g+=1,w-=2;g<=P;g+=1,w-=2){if(g!==c&&p[g]<m)$=p[g];else if($=m-1,$<i)return g-1;m=p[g],p[g]=$-r(i,$-1,h,a+$-w-1,f)}return L},s=(c,i,h,a,f,p,L,g,w,$,m)=>{const P=a-i,z=h-i,E=f-a-z,R=-E-(c-1),H=-E+(c-1);let k=e;const _=c<g?c:g;for(let T=0,S=-c;T<=_;T+=1,S+=2){const W=T===0||T!==c&&k<L[T],B=W?L[T]:k,q=W?B:B+1,X=P+q-S,U=t(q+1,h,X+1,f,p),G=q+U;if(k=L[T],L[T]=G,R<=S&&S<=H){const Q=(c-1-(S+E))/2;if(Q<=$&&w[Q]-1<=G){const I=P+B-(W?S+1:S-1),N=r(i,B,a,I,p),J=B-N,d=I-N,v=J+1,rn=d+1;m.nChangePreceding=c-1,c-1===v+rn-i-a?(m.aEndPreceding=i,m.bEndPreceding=a):(m.aEndPreceding=v,m.bEndPreceding=rn),m.nCommonPreceding=N,N!==0&&(m.aCommonPreceding=v,m.bCommonPreceding=rn),m.nCommonFollowing=U,U!==0&&(m.aCommonFollowing=q+1,m.bCommonFollowing=X+1);const fn=G+1,mn=X+U+1;return m.nChangeFollowing=c-1,c-1===h+f-fn-mn?(m.aStartFollowing=h,m.bStartFollowing=f):(m.aStartFollowing=fn,m.bStartFollowing=mn),!0}}}return!1},b=(c,i,h,a,f,p,L,g,w,$,m)=>{const P=f-h,z=h-i,E=f-a-z,R=E-c,H=E+c;let k=e;const _=c<$?c:$;for(let T=0,S=c;T<=_;T+=1,S-=2){const W=T===0||T!==c&&w[T]<k,B=W?w[T]:k,q=W?B:B-1,X=P+q-S,U=r(i,q-1,a,X-1,p),G=q-U;if(k=w[T],w[T]=G,R<=S&&S<=H){const Q=(c+(S-E))/2;if(Q<=g&&G-1<=L[Q]){const I=X-U;if(m.nChangePreceding=c,c===G+I-i-a?(m.aEndPreceding=i,m.bEndPreceding=a):(m.aEndPreceding=G,m.bEndPreceding=I),m.nCommonPreceding=U,U!==0&&(m.aCommonPreceding=G,m.bCommonPreceding=I),m.nChangeFollowing=c-1,c===1)m.nCommonFollowing=0,m.aStartFollowing=h,m.bStartFollowing=f;else{const N=P+B-(W?S-1:S+1),J=t(B,h,N,f,p);m.nCommonFollowing=J,J!==0&&(m.aCommonFollowing=B,m.bCommonFollowing=N);const d=B+J,v=N+J;c-1===h+f-d-v?(m.aStartFollowing=h,m.bStartFollowing=f):(m.aStartFollowing=d,m.bStartFollowing=v)}return!0}}}return!1},u=(c,i,h,a,f,p,L,g,w)=>{const $=a-i,m=f-h,P=h-i,z=f-a,K=z-P;let E=P,R=P;if(L[0]=i-1,g[0]=h,K%2===0){const H=(c||K)/2,k=(P+z)/2;for(let _=1;_<=k;_+=1)if(E=o(_,h,f,$,p,L,E),_<H)R=l(_,i,a,m,p,g,R);else if(b(_,i,h,a,f,p,L,E,g,R,w))return}else{const H=((c||K)+1)/2,k=(P+z+1)/2;let _=1;for(E=o(_,h,f,$,p,L,E),_+=1;_<=k;_+=1)if(R=l(_-1,i,a,m,p,g,R),_<H)E=o(_,h,f,$,p,L,E);else if(s(_,i,h,a,f,p,L,E,g,R,w))return}throw new Error(`${n}: no overlap aStart=${i} aEnd=${h} bStart=${a} bEnd=${f}`)},F=(c,i,h,a,f,p,L,g,w,$)=>{if(f-a<h-i){if(p=!p,p&&L.length===1){const{foundSubsequence:G,isCommon:Q}=L[0];L[1]={foundSubsequence:(I,N,J)=>{G(I,J,N)},isCommon:(I,N)=>Q(N,I)}}const X=i,U=h;i=a,h=f,a=X,f=U}const{foundSubsequence:m,isCommon:P}=L[p?1:0];u(c,i,h,a,f,P,g,w,$);const{nChangePreceding:z,aEndPreceding:K,bEndPreceding:E,nCommonPreceding:R,aCommonPreceding:H,bCommonPreceding:k,nCommonFollowing:_,aCommonFollowing:T,bCommonFollowing:S,nChangeFollowing:W,aStartFollowing:B,bStartFollowing:q}=$;i<K&&a<E&&F(z,i,K,a,E,p,L,g,w,$),R!==0&&m(R,H,k),_!==0&&m(_,T,S),B<h&&q<f&&F(W,B,h,q,f,p,L,g,w,$)},y=(c,i)=>{if(typeof i!="number")throw new TypeError(`${n}: ${c} typeof ${typeof i} is not a number`);if(!Number.isSafeInteger(i))throw new RangeError(`${n}: ${c} value ${i} is not a safe integer`);if(i<0)throw new RangeError(`${n}: ${c} value ${i} is a negative integer`)},C=(c,i)=>{const h=typeof i;if(h!=="function")throw new TypeError(`${n}: ${c} typeof ${h} is not a function`)};function D(c,i,h,a){y("aLength",c),y("bLength",i),C("isCommon",h),C("foundSubsequence",a);const f=t(0,c,0,i,h);if(f!==0&&a(f,0,0),c!==f||i!==f){const p=f,L=f,g=r(p,c-1,L,i-1,h),w=c-g,$=i-g,m=f+g;c!==m&&i!==m&&F(0,p,w,L,$,!1,[{foundSubsequence:a,isCommon:h}],[e],[e],{aCommonFollowing:e,aCommonPreceding:e,aEndPreceding:e,aStartFollowing:e,bCommonFollowing:e,bCommonPreceding:e,bEndPreceding:e,bStartFollowing:e,nChangeFollowing:e,nChangePreceding:e,nCommonFollowing:e,nCommonPreceding:e}),g!==0&&a(g,w,$)}}return en}var re=te(),qn=Yn(re);function oe(n,e){return n.replace(/\s+$/,t=>e(t))}function gn(n,e,t,r,o,l){return n.length!==0?t(`${r} ${oe(n,o)}`):r!==" "?t(r):e&&l.length!==0?t(`${r} ${l}`):""}function Un(n,e,{aColor:t,aIndicator:r,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function Gn(n,e,{bColor:t,bIndicator:r,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function zn(n,e,{commonColor:t,commonIndicator:r,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function Fn(n,e,t,r,{patchColor:o}){return o(`@@ -${n+1},${e-n} +${t+1},${r-t} @@`)}function le(n,e){const t=n.length,r=e.contextLines,o=r+r;let l=t,s=!1,b=0,u=0;for(;u!==t;){const g=u;for(;u!==t&&n[u][0]===M;)u+=1;if(g!==u)if(g===0)u>r&&(l-=u-r,s=!0);else if(u===t){const w=u-g;w>r&&(l-=w-r,s=!0)}else{const w=u-g;w>o&&(l-=w-o,b+=1)}for(;u!==t&&n[u][0]!==M;)u+=1}const F=b!==0||s;b!==0?l+=b+1:s&&(l+=1);const y=l-1,C=[];let D=0;F&&C.push("");let c=0,i=0,h=0,a=0;const f=g=>{const w=C.length;C.push(zn(g,w===0||w===y,e)),h+=1,a+=1},p=g=>{const w=C.length;C.push(Un(g,w===0||w===y,e)),h+=1},L=g=>{const w=C.length;C.push(Gn(g,w===0||w===y,e)),a+=1};for(u=0;u!==t;){let g=u;for(;u!==t&&n[u][0]===M;)u+=1;if(g!==u)if(g===0){u>r&&(g=u-r,c=g,i=g,h=c,a=i);for(let w=g;w!==u;w+=1)f(n[w][1])}else if(u===t){const w=u-g>r?g+r:u;for(let $=g;$!==w;$+=1)f(n[$][1])}else{const w=u-g;if(w>o){const $=g+r;for(let P=g;P!==$;P+=1)f(n[P][1]);C[D]=Fn(c,h,i,a,e),D=C.length,C.push("");const m=w-o;c=h+m,i=a+m,h=c,a=i;for(let P=u-r;P!==u;P+=1)f(n[P][1])}else for(let $=g;$!==u;$+=1)f(n[$][1])}for(;u!==t&&n[u][0]===j;)p(n[u][1]),u+=1;for(;u!==t&&n[u][0]===O;)L(n[u][1]),u+=1}return F&&(C[D]=Fn(c,h,i,a,e)),C.join(`
2
- `)}function ce(n,e){return n.map((t,r,o)=>{const l=t[1],s=r===0||r===o.length-1;switch(t[0]){case j:return Un(l,s,e);case O:return Gn(l,s,e);default:return zn(l,s,e)}}).join(`
3
- `)}const on=n=>n,Hn=5,ie=0;function se(){return{aAnnotation:"Expected",aColor:V.green,aIndicator:"-",bAnnotation:"Received",bColor:V.red,bIndicator:"+",changeColor:V.inverse,changeLineTrailingSpaceColor:on,commonColor:V.dim,commonIndicator:" ",commonLineTrailingSpaceColor:on,compareKeys:void 0,contextLines:Hn,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:V.yellow,printBasicPrototype:!1,truncateThreshold:ie,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:on}}function ue(n){return n&&typeof n=="function"?n:void 0}function he(n){return typeof n=="number"&&Number.isSafeInteger(n)&&n>=0?n:Hn}function Z(n={}){return{...se(),...n,compareKeys:ue(n.compareKeys),contextLines:he(n.contextLines)}}function x(n){return n.length===1&&n[0].length===0}function ge(n){let e=0,t=0;return n.forEach(r=>{switch(r[0]){case j:e+=1;break;case O:t+=1;break}}),{a:e,b:t}}function ae({aAnnotation:n,aColor:e,aIndicator:t,bAnnotation:r,bColor:o,bIndicator:l,includeChangeCounts:s,omitAnnotationLines:b},u){if(b)return"";let F="",y="";if(s){const c=String(u.a),i=String(u.b),h=r.length-n.length,a=" ".repeat(Math.max(0,h)),f=" ".repeat(Math.max(0,-h)),p=i.length-c.length,L=" ".repeat(Math.max(0,p)),g=" ".repeat(Math.max(0,-p));F=`${a} ${t} ${L}${c}`,y=`${f} ${l} ${g}${i}`}const C=`${t} ${n}${F}`,D=`${l} ${r}${y}`;return`${e(C)}
1
+ import{format as Y,plugins as jn}from"../../../../../@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js";import V from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import{g as Yn,s as Bn}from"./chunk-_commonjsHelpers.js";import{deepClone as pn,getOwnProperties as Qn,getType as cn}from"./helpers.js";const j=-1,O=1,M=0;class A{0;1;constructor(e,t){this[0]=e,this[1]=t}}function Zn(n,e){if(!n||!e||n.charAt(0)!==e.charAt(0))return 0;let t=0,r=Math.min(n.length,e.length),o=r,l=0;for(;t<o;)n.substring(l,o)===e.substring(l,o)?(t=o,l=t):r=o,o=Math.floor((r-t)/2+t);return o}function Rn(n,e){if(!n||!e||n.charAt(n.length-1)!==e.charAt(e.length-1))return 0;let t=0,r=Math.min(n.length,e.length),o=r,l=0;for(;t<o;)n.substring(n.length-o,n.length-l)===e.substring(e.length-o,e.length-l)?(t=o,l=t):r=o,o=Math.floor((r-t)/2+t);return o}function wn(n,e){const t=n.length,r=e.length;if(t===0||r===0)return 0;t>r?n=n.substring(t-r):t<r&&(e=e.substring(0,t));const o=Math.min(t,r);if(n===e)return o;let l=0,i=1;for(;;){const b=n.substring(o-i),u=e.indexOf(b);if(u===-1)return l;i+=u,(u===0||n.substring(o-i)===e.substring(0,i))&&(l=i,i++)}}function vn(n){let e=!1;const t=[];let r=0,o=null,l=0,i=0,b=0,u=0,F=0;for(;l<n.length;)n[l][0]===M?(t[r++]=l,i=u,b=F,u=0,F=0,o=n[l][1]):(n[l][0]===O?u+=n[l][1].length:F+=n[l][1].length,o&&o.length<=Math.max(i,b)&&o.length<=Math.max(u,F)&&(n.splice(t[r-1],0,new A(j,o)),n[t[r-1]+1][0]=O,r--,r--,l=r>0?t[r-1]:-1,i=0,b=0,u=0,F=0,o=null,e=!0)),l++;for(e&&kn(n),ne(n),l=1;l<n.length;){if(n[l-1][0]===j&&n[l][0]===O){const y=n[l-1][1],C=n[l][1],D=wn(y,C),c=wn(C,y);D>=c?(D>=y.length/2||D>=C.length/2)&&(n.splice(l,0,new A(M,C.substring(0,D))),n[l-1][1]=y.substring(0,y.length-D),n[l+1][1]=C.substring(D),l++):(c>=y.length/2||c>=C.length/2)&&(n.splice(l,0,new A(M,y.substring(0,c))),n[l-1][0]=O,n[l-1][1]=C.substring(0,C.length-c),n[l+1][0]=j,n[l+1][1]=y.substring(c),l++),l++}l++}}const Cn=/[^a-z0-9]/i,bn=/\s/,yn=/[\r\n]/,xn=/\n\r?\n$/,dn=/^\r?\n\r?\n/;function ne(n){let e=1;for(;e<n.length-1;){if(n[e-1][0]===M&&n[e+1][0]===M){let t=n[e-1][1],r=n[e][1],o=n[e+1][1];const l=Rn(t,r);if(l){const y=r.substring(r.length-l);t=t.substring(0,t.length-l),r=y+r.substring(0,r.length-l),o=y+o}let i=t,b=r,u=o,F=nn(t,r)+nn(r,o);for(;r.charAt(0)===o.charAt(0);){t+=r.charAt(0),r=r.substring(1)+o.charAt(0),o=o.substring(1);const y=nn(t,r)+nn(r,o);y>=F&&(F=y,i=t,b=r,u=o)}n[e-1][1]!==i&&(i?n[e-1][1]=i:(n.splice(e-1,1),e--),n[e][1]=b,u?n[e+1][1]=u:(n.splice(e+1,1),e--))}e++}}function kn(n){n.push(new A(M,""));let e=0,t=0,r=0,o="",l="",i;for(;e<n.length;)switch(n[e][0]){case O:r++,l+=n[e][1],e++;break;case j:t++,o+=n[e][1],e++;break;case M:t+r>1?(t!==0&&r!==0&&(i=Zn(l,o),i!==0&&(e-t-r>0&&n[e-t-r-1][0]===M?n[e-t-r-1][1]+=l.substring(0,i):(n.splice(0,0,new A(M,l.substring(0,i))),e++),l=l.substring(i),o=o.substring(i)),i=Rn(l,o),i!==0&&(n[e][1]=l.substring(l.length-i)+n[e][1],l=l.substring(0,l.length-i),o=o.substring(0,o.length-i))),e-=t+r,n.splice(e,t+r),o.length&&(n.splice(e,0,new A(j,o)),e++),l.length&&(n.splice(e,0,new A(O,l)),e++),e++):e!==0&&n[e-1][0]===M?(n[e-1][1]+=n[e][1],n.splice(e,1)):e++,r=0,t=0,o="",l="";break}n[n.length-1][1]===""&&n.pop();let b=!1;for(e=1;e<n.length-1;)n[e-1][0]===M&&n[e+1][0]===M&&(n[e][1].substring(n[e][1].length-n[e-1][1].length)===n[e-1][1]?(n[e][1]=n[e-1][1]+n[e][1].substring(0,n[e][1].length-n[e-1][1].length),n[e+1][1]=n[e-1][1]+n[e+1][1],n.splice(e-1,1),b=!0):n[e][1].substring(0,n[e+1][1].length)===n[e+1][1]&&(n[e-1][1]+=n[e+1][1],n[e][1]=n[e][1].substring(n[e+1][1].length)+n[e+1][1],n.splice(e+1,1),b=!0)),e++;b&&kn(n)}function nn(n,e){if(!n||!e)return 6;const t=n.charAt(n.length-1),r=e.charAt(0),o=t.match(Cn),l=r.match(Cn),i=o&&t.match(bn),b=l&&r.match(bn),u=i&&t.match(yn),F=b&&r.match(yn),y=u&&n.match(xn),C=F&&e.match(dn);return y||C?5:u||F?4:o&&!i&&b?3:i||b?2:o||l?1:0}const Nn="Compared values have no visual difference.",ee="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";var en={},$n;function te(){if($n)return en;$n=1,Object.defineProperty(en,"__esModule",{value:!0}),en.default=D;const n="diff-sequences",e=0,t=(c,s,h,a,f)=>{let p=0;for(;c<s&&h<a&&f(c,h);)c+=1,h+=1,p+=1;return p},r=(c,s,h,a,f)=>{let p=0;for(;c<=s&&h<=a&&f(s,a);)s-=1,a-=1,p+=1;return p},o=(c,s,h,a,f,p,L)=>{let g=0,w=-c,$=p[g],m=$;p[g]+=t($+1,s,a+$-w+1,h,f);const P=c<L?c:L;for(g+=1,w+=2;g<=P;g+=1,w+=2){if(g!==c&&m<p[g])$=p[g];else if($=m+1,s<=$)return g-1;m=p[g],p[g]=$+t($+1,s,a+$-w+1,h,f)}return L},l=(c,s,h,a,f,p,L)=>{let g=0,w=c,$=p[g],m=$;p[g]-=r(s,$-1,h,a+$-w-1,f);const P=c<L?c:L;for(g+=1,w-=2;g<=P;g+=1,w-=2){if(g!==c&&p[g]<m)$=p[g];else if($=m-1,$<s)return g-1;m=p[g],p[g]=$-r(s,$-1,h,a+$-w-1,f)}return L},i=(c,s,h,a,f,p,L,g,w,$,m)=>{const P=a-s,z=h-s,E=f-a-z,R=-E-(c-1),H=-E+(c-1);let k=e;const _=c<g?c:g;for(let T=0,S=-c;T<=_;T+=1,S+=2){const W=T===0||T!==c&&k<L[T],B=W?L[T]:k,q=W?B:B+1,X=P+q-S,U=t(q+1,h,X+1,f,p),G=q+U;if(k=L[T],L[T]=G,R<=S&&S<=H){const Q=(c-1-(S+E))/2;if(Q<=$&&w[Q]-1<=G){const I=P+B-(W?S+1:S-1),N=r(s,B,a,I,p),J=B-N,d=I-N,v=J+1,rn=d+1;m.nChangePreceding=c-1,c-1===v+rn-s-a?(m.aEndPreceding=s,m.bEndPreceding=a):(m.aEndPreceding=v,m.bEndPreceding=rn),m.nCommonPreceding=N,N!==0&&(m.aCommonPreceding=v,m.bCommonPreceding=rn),m.nCommonFollowing=U,U!==0&&(m.aCommonFollowing=q+1,m.bCommonFollowing=X+1);const fn=G+1,mn=X+U+1;return m.nChangeFollowing=c-1,c-1===h+f-fn-mn?(m.aStartFollowing=h,m.bStartFollowing=f):(m.aStartFollowing=fn,m.bStartFollowing=mn),!0}}}return!1},b=(c,s,h,a,f,p,L,g,w,$,m)=>{const P=f-h,z=h-s,E=f-a-z,R=E-c,H=E+c;let k=e;const _=c<$?c:$;for(let T=0,S=c;T<=_;T+=1,S-=2){const W=T===0||T!==c&&w[T]<k,B=W?w[T]:k,q=W?B:B-1,X=P+q-S,U=r(s,q-1,a,X-1,p),G=q-U;if(k=w[T],w[T]=G,R<=S&&S<=H){const Q=(c+(S-E))/2;if(Q<=g&&G-1<=L[Q]){const I=X-U;if(m.nChangePreceding=c,c===G+I-s-a?(m.aEndPreceding=s,m.bEndPreceding=a):(m.aEndPreceding=G,m.bEndPreceding=I),m.nCommonPreceding=U,U!==0&&(m.aCommonPreceding=G,m.bCommonPreceding=I),m.nChangeFollowing=c-1,c===1)m.nCommonFollowing=0,m.aStartFollowing=h,m.bStartFollowing=f;else{const N=P+B-(W?S-1:S+1),J=t(B,h,N,f,p);m.nCommonFollowing=J,J!==0&&(m.aCommonFollowing=B,m.bCommonFollowing=N);const d=B+J,v=N+J;c-1===h+f-d-v?(m.aStartFollowing=h,m.bStartFollowing=f):(m.aStartFollowing=d,m.bStartFollowing=v)}return!0}}}return!1},u=(c,s,h,a,f,p,L,g,w)=>{const $=a-s,m=f-h,P=h-s,z=f-a,K=z-P;let E=P,R=P;if(L[0]=s-1,g[0]=h,K%2===0){const H=(c||K)/2,k=(P+z)/2;for(let _=1;_<=k;_+=1)if(E=o(_,h,f,$,p,L,E),_<H)R=l(_,s,a,m,p,g,R);else if(b(_,s,h,a,f,p,L,E,g,R,w))return}else{const H=((c||K)+1)/2,k=(P+z+1)/2;let _=1;for(E=o(_,h,f,$,p,L,E),_+=1;_<=k;_+=1)if(R=l(_-1,s,a,m,p,g,R),_<H)E=o(_,h,f,$,p,L,E);else if(i(_,s,h,a,f,p,L,E,g,R,w))return}throw new Error(`${n}: no overlap aStart=${s} aEnd=${h} bStart=${a} bEnd=${f}`)},F=(c,s,h,a,f,p,L,g,w,$)=>{if(f-a<h-s){if(p=!p,p&&L.length===1){const{foundSubsequence:G,isCommon:Q}=L[0];L[1]={foundSubsequence:(I,N,J)=>{G(I,J,N)},isCommon:(I,N)=>Q(N,I)}}const X=s,U=h;s=a,h=f,a=X,f=U}const{foundSubsequence:m,isCommon:P}=L[p?1:0];u(c,s,h,a,f,P,g,w,$);const{nChangePreceding:z,aEndPreceding:K,bEndPreceding:E,nCommonPreceding:R,aCommonPreceding:H,bCommonPreceding:k,nCommonFollowing:_,aCommonFollowing:T,bCommonFollowing:S,nChangeFollowing:W,aStartFollowing:B,bStartFollowing:q}=$;s<K&&a<E&&F(z,s,K,a,E,p,L,g,w,$),R!==0&&m(R,H,k),_!==0&&m(_,T,S),B<h&&q<f&&F(W,B,h,q,f,p,L,g,w,$)},y=(c,s)=>{if(typeof s!="number")throw new TypeError(`${n}: ${c} typeof ${typeof s} is not a number`);if(!Number.isSafeInteger(s))throw new RangeError(`${n}: ${c} value ${s} is not a safe integer`);if(s<0)throw new RangeError(`${n}: ${c} value ${s} is a negative integer`)},C=(c,s)=>{const h=typeof s;if(h!=="function")throw new TypeError(`${n}: ${c} typeof ${h} is not a function`)};function D(c,s,h,a){y("aLength",c),y("bLength",s),C("isCommon",h),C("foundSubsequence",a);const f=t(0,c,0,s,h);if(f!==0&&a(f,0,0),c!==f||s!==f){const p=f,L=f,g=r(p,c-1,L,s-1,h),w=c-g,$=s-g,m=f+g;c!==m&&s!==m&&F(0,p,w,L,$,!1,[{foundSubsequence:a,isCommon:h}],[e],[e],{aCommonFollowing:e,aCommonPreceding:e,aEndPreceding:e,aStartFollowing:e,bCommonFollowing:e,bCommonPreceding:e,bEndPreceding:e,bStartFollowing:e,nChangeFollowing:e,nChangePreceding:e,nCommonFollowing:e,nCommonPreceding:e}),g!==0&&a(g,w,$)}}return en}var re=te(),qn=Yn(re);function oe(n,e){return n.replace(/\s+$/,t=>e(t))}function gn(n,e,t,r,o,l){return n.length!==0?t(`${r} ${oe(n,o)}`):r!==" "?t(r):e&&l.length!==0?t(`${r} ${l}`):""}function Un(n,e,{aColor:t,aIndicator:r,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function Gn(n,e,{bColor:t,bIndicator:r,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function zn(n,e,{commonColor:t,commonIndicator:r,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:l}){return gn(n,e,t,r,o,l)}function Fn(n,e,t,r,{patchColor:o}){return o(`@@ -${n+1},${e-n} +${t+1},${r-t} @@`)}function le(n,e){const t=n.length,r=e.contextLines,o=r+r;let l=t,i=!1,b=0,u=0;for(;u!==t;){const g=u;for(;u!==t&&n[u][0]===M;)u+=1;if(g!==u)if(g===0)u>r&&(l-=u-r,i=!0);else if(u===t){const w=u-g;w>r&&(l-=w-r,i=!0)}else{const w=u-g;w>o&&(l-=w-o,b+=1)}for(;u!==t&&n[u][0]!==M;)u+=1}const F=b!==0||i;b!==0?l+=b+1:i&&(l+=1);const y=l-1,C=[];let D=0;F&&C.push("");let c=0,s=0,h=0,a=0;const f=g=>{const w=C.length;C.push(zn(g,w===0||w===y,e)),h+=1,a+=1},p=g=>{const w=C.length;C.push(Un(g,w===0||w===y,e)),h+=1},L=g=>{const w=C.length;C.push(Gn(g,w===0||w===y,e)),a+=1};for(u=0;u!==t;){let g=u;for(;u!==t&&n[u][0]===M;)u+=1;if(g!==u)if(g===0){u>r&&(g=u-r,c=g,s=g,h=c,a=s);for(let w=g;w!==u;w+=1)f(n[w][1])}else if(u===t){const w=u-g>r?g+r:u;for(let $=g;$!==w;$+=1)f(n[$][1])}else{const w=u-g;if(w>o){const $=g+r;for(let P=g;P!==$;P+=1)f(n[P][1]);C[D]=Fn(c,h,s,a,e),D=C.length,C.push("");const m=w-o;c=h+m,s=a+m,h=c,a=s;for(let P=u-r;P!==u;P+=1)f(n[P][1])}else for(let $=g;$!==u;$+=1)f(n[$][1])}for(;u!==t&&n[u][0]===j;)p(n[u][1]),u+=1;for(;u!==t&&n[u][0]===O;)L(n[u][1]),u+=1}return F&&(C[D]=Fn(c,h,s,a,e)),C.join(`
2
+ `)}function ce(n,e){return n.map((t,r,o)=>{const l=t[1],i=r===0||r===o.length-1;switch(t[0]){case j:return Un(l,i,e);case O:return Gn(l,i,e);default:return zn(l,i,e)}}).join(`
3
+ `)}const on=n=>n,Hn=5,se=0;function ie(){return{aAnnotation:"Expected",aColor:V.green,aIndicator:"-",bAnnotation:"Received",bColor:V.red,bIndicator:"+",changeColor:V.inverse,changeLineTrailingSpaceColor:on,commonColor:V.dim,commonIndicator:" ",commonLineTrailingSpaceColor:on,compareKeys:void 0,contextLines:Hn,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:V.yellow,printBasicPrototype:!1,truncateThreshold:se,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:on}}function ue(n){return n&&typeof n=="function"?n:void 0}function he(n){return typeof n=="number"&&Number.isSafeInteger(n)&&n>=0?n:Hn}function Z(n={}){return{...ie(),...n,compareKeys:ue(n.compareKeys),contextLines:he(n.contextLines)}}function x(n){return n.length===1&&n[0].length===0}function ge(n){let e=0,t=0;return n.forEach(r=>{switch(r[0]){case j:e+=1;break;case O:t+=1;break}}),{a:e,b:t}}function ae({aAnnotation:n,aColor:e,aIndicator:t,bAnnotation:r,bColor:o,bIndicator:l,includeChangeCounts:i,omitAnnotationLines:b},u){if(b)return"";let F="",y="";if(i){const c=String(u.a),s=String(u.b),h=r.length-n.length,a=" ".repeat(Math.max(0,h)),f=" ".repeat(Math.max(0,-h)),p=s.length-c.length,L=" ".repeat(Math.max(0,p)),g=" ".repeat(Math.max(0,-p));F=`${a} ${t} ${L}${c}`,y=`${f} ${l} ${g}${s}`}const C=`${t} ${n}${F}`,D=`${l} ${r}${y}`;return`${e(C)}
4
4
  ${o(D)}
5
5
 
6
6
  `}function an(n,e,t){return ae(t,ge(n))+(t.expand?ce(n,t):le(n,t))+(e?t.truncateAnnotationColor(`
7
- ${t.truncateAnnotation}`):"")}function tn(n,e,t){const r=Z(t),[o,l]=In(x(n)?[]:n,x(e)?[]:e,r);return an(o,l,r)}function fe(n,e,t,r,o){if(x(n)&&x(t)&&(n=[],t=[]),x(e)&&x(r)&&(e=[],r=[]),n.length!==t.length||e.length!==r.length)return tn(n,e,o);const[l,s]=In(t,r,o);let b=0,u=0;return l.forEach(F=>{switch(F[0]){case j:F[1]=n[b],b+=1;break;case O:F[1]=e[u],u+=1;break;default:F[1]=e[u],b+=1,u+=1}}),an(l,s,Z(o))}function In(n,e,t){const r=t?.truncateThreshold??!1,o=Math.max(Math.floor(t?.truncateThreshold??0),0),l=r?Math.min(n.length,o):n.length,s=r?Math.min(e.length,o):e.length,b=l!==n.length||s!==e.length,u=(c,i)=>n[c]===e[i],F=[];let y=0,C=0;for(qn(l,s,u,(c,i,h)=>{for(;y!==i;y+=1)F.push(new A(j,n[y]));for(;C!==h;C+=1)F.push(new A(O,e[C]));for(;c!==0;c-=1,y+=1,C+=1)F.push(new A(M,e[C]))});y!==l;y+=1)F.push(new A(j,n[y]));for(;C!==s;C+=1)F.push(new A(O,e[C]));return[F,b]}function Ln(n){if(n===void 0)return"undefined";if(n===null)return"null";if(Array.isArray(n))return"array";if(typeof n=="boolean")return"boolean";if(typeof n=="function")return"function";if(typeof n=="number")return"number";if(typeof n=="string")return"string";if(typeof n=="bigint")return"bigint";if(typeof n=="object"){if(n!=null){if(n.constructor===RegExp)return"regexp";if(n.constructor===Map)return"map";if(n.constructor===Set)return"set";if(n.constructor===Date)return"date"}return"object"}else if(typeof n=="symbol")return"symbol";throw new Error(`value of unknown type: ${n}`)}function Pn(n){return n.includes(`\r
7
+ ${t.truncateAnnotation}`):"")}function tn(n,e,t){const r=Z(t),[o,l]=In(x(n)?[]:n,x(e)?[]:e,r);return an(o,l,r)}function fe(n,e,t,r,o){if(x(n)&&x(t)&&(n=[],t=[]),x(e)&&x(r)&&(e=[],r=[]),n.length!==t.length||e.length!==r.length)return tn(n,e,o);const[l,i]=In(t,r,o);let b=0,u=0;return l.forEach(F=>{switch(F[0]){case j:F[1]=n[b],b+=1;break;case O:F[1]=e[u],u+=1;break;default:F[1]=e[u],b+=1,u+=1}}),an(l,i,Z(o))}function In(n,e,t){const r=t?.truncateThreshold??!1,o=Math.max(Math.floor(t?.truncateThreshold??0),0),l=r?Math.min(n.length,o):n.length,i=r?Math.min(e.length,o):e.length,b=l!==n.length||i!==e.length,u=(c,s)=>n[c]===e[s],F=[];let y=0,C=0;for(qn(l,i,u,(c,s,h)=>{for(;y!==s;y+=1)F.push(new A(j,n[y]));for(;C!==h;C+=1)F.push(new A(O,e[C]));for(;c!==0;c-=1,y+=1,C+=1)F.push(new A(M,e[C]))});y!==l;y+=1)F.push(new A(j,n[y]));for(;C!==i;C+=1)F.push(new A(O,e[C]));return[F,b]}function Ln(n){if(n===void 0)return"undefined";if(n===null)return"null";if(Array.isArray(n))return"array";if(typeof n=="boolean")return"boolean";if(typeof n=="function")return"function";if(typeof n=="number")return"number";if(typeof n=="string")return"string";if(typeof n=="bigint")return"bigint";if(typeof n=="object"){if(n!=null){if(n.constructor===RegExp)return"regexp";if(n.constructor===Map)return"map";if(n.constructor===Set)return"set";if(n.constructor===Date)return"date"}return"object"}else if(typeof n=="symbol")return"symbol";throw new Error(`value of unknown type: ${n}`)}function Pn(n){return n.includes(`\r
8
8
  `)?`\r
9
9
  `:`
10
- `}function me(n,e,t){const r=t?.truncateThreshold??!1,o=Math.max(Math.floor(t?.truncateThreshold??0),0);let l=n.length,s=e.length;if(r){const c=n.includes(`
11
- `),i=e.includes(`
10
+ `}function me(n,e,t){const r=t?.truncateThreshold??!1,o=Math.max(Math.floor(t?.truncateThreshold??0),0);let l=n.length,i=e.length;if(r){const c=n.includes(`
11
+ `),s=e.includes(`
12
12
  `),h=Pn(n),a=Pn(e),f=c?`${n.split(h,o).join(h)}
13
- `:n,p=i?`${e.split(a,o).join(a)}
14
- `:e;l=f.length,s=p.length}const b=l!==n.length||s!==e.length,u=(c,i)=>n[c]===e[i];let F=0,y=0;const C=[];return qn(l,s,u,(c,i,h)=>{F!==i&&C.push(new A(j,n.slice(F,i))),y!==h&&C.push(new A(O,e.slice(y,h))),F=i+c,y=h+c,C.push(new A(M,e.slice(h,y)))}),F!==l&&C.push(new A(j,n.slice(F))),y!==s&&C.push(new A(O,e.slice(y))),[C,b]}function pe(n,e,t){return e.reduce((r,o)=>r+(o[0]===M?o[1]:o[0]===n&&o[1].length!==0?t(o[1]):""),"")}class An{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new A(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new A(this.op,pe(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new A(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){const t=e[1];if(t.includes(`
13
+ `:n,p=s?`${e.split(a,o).join(a)}
14
+ `:e;l=f.length,i=p.length}const b=l!==n.length||i!==e.length,u=(c,s)=>n[c]===e[s];let F=0,y=0;const C=[];return qn(l,i,u,(c,s,h)=>{F!==s&&C.push(new A(j,n.slice(F,s))),y!==h&&C.push(new A(O,e.slice(y,h))),F=s+c,y=h+c,C.push(new A(M,e.slice(h,y)))}),F!==l&&C.push(new A(j,n.slice(F))),y!==i&&C.push(new A(O,e.slice(y))),[C,b]}function pe(n,e,t){return e.reduce((r,o)=>r+(o[0]===M?o[1]:o[0]===n&&o[1].length!==0?t(o[1]):""),"")}class An{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new A(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new A(this.op,pe(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new A(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){const t=e[1];if(t.includes(`
15
15
  `)){const r=t.split(`
16
- `),o=r.length-1;r.forEach((l,s)=>{s<o?(this.pushSubstring(l),this.pushLine()):l.length!==0&&this.pushSubstring(l)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}}class we{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){const t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){const t=e[0],r=e[1];if(r.includes(`
16
+ `),o=r.length-1;r.forEach((l,i)=>{i<o?(this.pushSubstring(l),this.pushLine()):l.length!==0&&this.pushSubstring(l)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}}class we{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){const t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){const t=e[0],r=e[1];if(r.includes(`
17
17
  `)){const o=r.split(`
18
- `),l=o.length-1;o.forEach((s,b)=>{if(b===0){const u=new A(t,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else b<l?this.pushDiffCommonLine(new A(t,s)):s.length!==0&&this.pushDiffChangeLines(new A(t,s))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}}function Ce(n,e){const t=new An(j,e),r=new An(O,e),o=new we(t,r);return n.forEach(l=>{switch(l[0]){case j:t.align(l);break;case O:r.align(l);break;default:o.align(l)}}),o.getLines()}function be(n,e){if(e){const t=n.length-1;return n.some((r,o)=>r[0]===M&&(o!==t||r[1]!==`
18
+ `),l=o.length-1;o.forEach((i,b)=>{if(b===0){const u=new A(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else b<l?this.pushDiffCommonLine(new A(t,i)):i.length!==0&&this.pushDiffChangeLines(new A(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}}function Ce(n,e){const t=new An(j,e),r=new An(O,e),o=new we(t,r);return n.forEach(l=>{switch(l[0]){case j:t.align(l);break;case O:r.align(l);break;default:o.align(l)}}),o.getLines()}function be(n,e){if(e){const t=n.length-1;return n.some((r,o)=>r[0]===M&&(o!==t||r[1]!==`
19
19
  `))}return n.some(t=>t[0]===M)}function ye(n,e,t){if(n!==e&&n.length!==0&&e.length!==0){const r=n.includes(`
20
20
  `)||e.includes(`
21
21
  `),[o,l]=Kn(r?`${n}
22
22
  `:n,r?`${e}
23
- `:e,!0,t);if(be(o,r)){const s=Z(t),b=Ce(o,s.changeColor);return an(b,l,s)}}return tn(n.split(`
23
+ `:e,!0,t);if(be(o,r)){const i=Z(t),b=Ce(o,i.changeColor);return an(b,l,i)}}return tn(n.split(`
24
24
  `),e.split(`
25
- `),t)}function Kn(n,e,t,r){const[o,l]=me(n,e,r);return vn(o),[o,l]}function sn(n,e){const{commonColor:t}=Z(e);return t(n)}const{AsymmetricMatcher:$e,DOMCollection:Fe,DOMElement:Le,Immutable:Pe,ReactElement:Ae,ReactTestComponent:De}=jn,Wn=[De,Ae,Le,Fe,Pe,$e,jn.Error],un={maxDepth:20,plugins:Wn},Xn={callToJSON:!1,maxDepth:8,plugins:Wn};function _e(n,e,t){if(Object.is(n,e))return"";const r=Ln(n);let o=r,l=!1;if(r==="object"&&typeof n.asymmetricMatch=="function"){if(n.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof n.getExpectedType!="function")return;o=n.getExpectedType(),l=o==="string"}if(o!==Ln(e)){let a=function(L){return L.length<=h?L:`${L.slice(0,h)}...`};const{aAnnotation:s,aColor:b,aIndicator:u,bAnnotation:F,bColor:y,bIndicator:C}=Z(t),D=hn(Xn,t);let c=Y(n,D),i=Y(e,D);const h=1e5;c=a(c),i=a(i);const f=`${b(`${u} ${s}:`)}
25
+ `),t)}function Kn(n,e,t,r){const[o,l]=me(n,e,r);return vn(o),[o,l]}function sn(n,e){const{commonColor:t}=Z(e);return t(n)}const{AsymmetricMatcher:$e,DOMCollection:Fe,DOMElement:Le,Immutable:Pe,ReactElement:Ae,ReactTestComponent:De}=jn,Wn=[De,Ae,Le,Fe,Pe,$e,jn.Error],un={maxDepth:20,plugins:Wn},Xn={callToJSON:!1,maxDepth:8,plugins:Wn};function _e(n,e,t){if(Object.is(n,e))return"";const r=Ln(n);let o=r,l=!1;if(r==="object"&&typeof n.asymmetricMatch=="function"){if(n.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof n.getExpectedType!="function")return;o=n.getExpectedType(),l=o==="string"}if(o!==Ln(e)){let a=function(L){return L.length<=h?L:`${L.slice(0,h)}...`};const{aAnnotation:i,aColor:b,aIndicator:u,bAnnotation:F,bColor:y,bIndicator:C}=Z(t),D=hn(Xn,t);let c=Y(n,D),s=Y(e,D);const h=1e5;c=a(c),s=a(s);const f=`${b(`${u} ${i}:`)}
26
26
  ${c}`,p=`${y(`${C} ${F}:`)}
27
- ${i}`;return`${f}
27
+ ${s}`;return`${f}
28
28
 
29
29
  ${p}`}if(!l)switch(r){case"string":return tn(n.split(`
30
30
  `),e.split(`
31
31
  `),t);case"boolean":case"number":return Me(n,e,t);case"map":return ln(Dn(n),Dn(e),t);case"set":return ln(_n(n),_n(e),t);default:return ln(n,e,t)}}function Me(n,e,t){const r=Y(n,un),o=Y(e,un);return r===o?"":tn(r.split(`
32
32
  `),o.split(`
33
- `),t)}function Dn(n){return new Map(Array.from(n.entries()).sort())}function _n(n){return new Set(Array.from(n.values()).sort())}function ln(n,e,t){let r,o=!1;try{const s=hn(un,t);r=Mn(n,e,s,t)}catch{o=!0}const l=sn(Nn,t);if(r===void 0||r===l){const s=hn(Xn,t);r=Mn(n,e,s,t),r!==l&&!o&&(r=`${sn(ee,t)}
33
+ `),t)}function Dn(n){return new Map(Array.from(n.entries()).sort())}function _n(n){return new Set(Array.from(n.values()).sort())}function ln(n,e,t){let r,o=!1;try{const i=hn(un,t);r=Mn(n,e,i,t)}catch{o=!0}const l=sn(Nn,t);if(r===void 0||r===l){const i=hn(Xn,t);r=Mn(n,e,i,t),r!==l&&!o&&(r=`${sn(ee,t)}
34
34
 
35
- ${r}`)}return r}function hn(n,e){const{compareKeys:t,printBasicPrototype:r,maxDepth:o}=Z(e);return{...n,compareKeys:t,printBasicPrototype:r,maxDepth:o??n.maxDepth}}function Mn(n,e,t,r){const o={...t,indent:0},l=Y(n,o),s=Y(e,o);if(l===s)return sn(Nn,r);{const b=Y(n,t),u=Y(e,t);return fe(b.split(`
35
+ ${r}`)}return r}function hn(n,e){const{compareKeys:t,printBasicPrototype:r,maxDepth:o}=Z(e);return{...n,compareKeys:t,printBasicPrototype:r,maxDepth:o??n.maxDepth}}function Mn(n,e,t,r){const o={...t,indent:0},l=Y(n,o),i=Y(e,o);if(l===i)return sn(Nn,r);{const b=Y(n,t),u=Y(e,t);return fe(b.split(`
36
36
  `),u.split(`
37
37
  `),l.split(`
38
- `),s.split(`
39
- `),r)}}const En=2e4;function Tn(n){return cn(n)==="Object"&&typeof n.asymmetricMatch=="function"}function Sn(n,e){const t=cn(n),r=cn(e);return t===r&&(t==="Object"||t==="Array")}function qe(n,e,t){const{aAnnotation:r,bAnnotation:o}=Z(t);if(typeof e=="string"&&typeof n=="string"&&e.length>0&&n.length>0&&e.length<=En&&n.length<=En&&e!==n){if(e.includes(`
38
+ `),i.split(`
39
+ `),r)}}const En=2e4;function Tn(n){return cn(n)==="Object"&&typeof n.asymmetricMatch=="function"}function Sn(n,e){const t=cn(n),r=cn(e);return t===r&&(t==="Object"||t==="Array")}function Ne(n,e,t){const{aAnnotation:r,bAnnotation:o}=Z(t);if(typeof e=="string"&&typeof n=="string"&&e.length>0&&n.length>0&&e.length<=En&&n.length<=En&&e!==n){if(e.includes(`
40
40
  `)||n.includes(`
41
- `))return ye(e,n,t);const[y]=Kn(e,n),C=y.some(h=>h[0]===M),D=Ee(r,o),c=D(r)+Oe(On(y,j,C)),i=D(o)+Se(On(y,O,C));return`${c}
42
- ${i}`}const l=pn(e,{forceWritable:!0}),s=pn(n,{forceWritable:!0}),{replacedExpected:b,replacedActual:u}=Jn(s,l);return _e(b,u,t)}function Jn(n,e,t=new WeakSet,r=new WeakSet){return n instanceof Error&&e instanceof Error&&typeof n.cause<"u"&&typeof e.cause>"u"?(delete n.cause,{replacedActual:n,replacedExpected:e}):Sn(n,e)?t.has(n)||r.has(e)?{replacedActual:n,replacedExpected:e}:(t.add(n),r.add(e),Qn(e).forEach(o=>{const l=e[o],s=n[o];if(Tn(l))l.asymmetricMatch(s)&&(n[o]=l);else if(Tn(s))s.asymmetricMatch(l)&&(e[o]=s);else if(Sn(s,l)){const b=Jn(s,l,t,r);n[o]=b.replacedActual,e[o]=b.replacedExpected}}),{replacedActual:n,replacedExpected:e}):{replacedActual:n,replacedExpected:e}}function Ee(...n){const e=n.reduce((t,r)=>r.length>t?r.length:t,0);return t=>`${t}: ${" ".repeat(e-t.length)}`}const Te="·";function Vn(n){return n.replace(/\s+$/gm,e=>Te.repeat(e.length))}function Se(n){return V.red(Vn(Bn(n)))}function Oe(n){return V.green(Vn(Bn(n)))}function On(n,e,t){return n.reduce((r,o)=>r+(o[0]===M?o[1]:o[0]===e?t?V.inverse(o[1]):o[1]:""),"")}export{j as DIFF_DELETE,M as DIFF_EQUAL,O as DIFF_INSERT,A as Diff,_e as diff,In as diffLinesRaw,tn as diffLinesUnified,fe as diffLinesUnified2,Kn as diffStringsRaw,ye as diffStringsUnified,Ee as getLabelPrinter,qe as printDiffOrStringify,Jn as replaceAsymmetricMatcher};
41
+ `))return ye(e,n,t);const[y]=Kn(e,n),C=y.some(h=>h[0]===M),D=Ee(r,o),c=D(r)+Oe(On(y,j,C)),s=D(o)+Se(On(y,O,C));return`${c}
42
+ ${s}`}const l=pn(e,{forceWritable:!0}),i=pn(n,{forceWritable:!0}),{replacedExpected:b,replacedActual:u}=Jn(i,l);return _e(b,u,t)}function Jn(n,e,t=new WeakSet,r=new WeakSet){return n instanceof Error&&e instanceof Error&&typeof n.cause<"u"&&typeof e.cause>"u"?(delete n.cause,{replacedActual:n,replacedExpected:e}):Sn(n,e)?t.has(n)||r.has(e)?{replacedActual:n,replacedExpected:e}:(t.add(n),r.add(e),Qn(e).forEach(o=>{const l=e[o],i=n[o];if(Tn(l))l.asymmetricMatch(i)&&(n[o]=l);else if(Tn(i))i.asymmetricMatch(l)&&(e[o]=i);else if(Sn(i,l)){const b=Jn(i,l,t,r);n[o]=b.replacedActual,e[o]=b.replacedExpected}}),{replacedActual:n,replacedExpected:e}):{replacedActual:n,replacedExpected:e}}function Ee(...n){const e=n.reduce((t,r)=>r.length>t?r.length:t,0);return t=>`${t}: ${" ".repeat(e-t.length)}`}const Te="·";function Vn(n){return n.replace(/\s+$/gm,e=>Te.repeat(e.length))}function Se(n){return V.red(Vn(Bn(n)))}function Oe(n){return V.green(Vn(Bn(n)))}function On(n,e,t){return n.reduce((r,o)=>r+(o[0]===M?o[1]:o[0]===e?t?V.inverse(o[1]):o[1]:""),"")}export{j as DIFF_DELETE,M as DIFF_EQUAL,O as DIFF_INSERT,A as Diff,_e as diff,In as diffLinesRaw,tn as diffLinesUnified,fe as diffLinesUnified2,Kn as diffStringsRaw,ye as diffStringsUnified,Ee as getLabelPrinter,Ne as printDiffOrStringify,Jn as replaceAsymmetricMatcher};
@@ -1,2 +1,2 @@
1
- import{printDiffOrStringify as a}from"./diff.js";import{s as c,f as p}from"./chunk-_commonjsHelpers.js";import"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import"../../../../../loupe@3.1.4/node_modules/loupe/lib/promise.js";const m="@@__IMMUTABLE_RECORD__@@",y="@@__IMMUTABLE_ITERABLE__@@";function g(e){return e&&(e[y]||e[m])}const d=Object.getPrototypeOf({});function u(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function o(e,n=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){const r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&f(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&f(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&f(()=>r.name??(r.name=e.name)),e.cause!=null&&f(()=>r.cause??(r.cause=o(e.cause,n)))),o(r,n)}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(g(e))return o(e.toJSON(),n);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()} ${p(e.sample)}`;if(typeof e.toJSON=="function")return o(e.toJSON(),n);if(n.has(e))return n.get(e);if(Array.isArray(e)){const r=new Array(e.length);return n.set(e,r),e.forEach((t,i)=>{try{r[i]=o(t,n)}catch(s){r[i]=u(s)}}),r}else{const r=Object.create(null);n.set(e,r);let t=e;for(;t&&t!==d;)Object.getOwnPropertyNames(t).forEach(i=>{if(!(i in r))try{r[i]=o(e[i],n)}catch(s){delete r[i],r[i]=u(s)}}),t=Object.getPrototypeOf(t);return r}}function f(e){try{return e()}catch{}}function O(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function _(e,n,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};const t=e;(t.showDiff||t.showDiff===void 0&&t.expected!==void 0&&t.actual!==void 0)&&(t.diff=a(t.actual,t.expected,{...n,...t.diffOptions})),"expected"in t&&typeof t.expected!="string"&&(t.expected=c(t.expected,10)),"actual"in t&&typeof t.actual!="string"&&(t.actual=c(t.actual,10));try{typeof t.message=="string"&&(t.message=O(t.message))}catch{}try{!r.has(t)&&typeof t.cause=="object"&&(r.add(t),t.cause=_(t.cause,n,r))}catch{}try{return o(t)}catch(i){return o(new Error(`Failed to fully serialize error: ${i?.message}
1
+ import{printDiffOrStringify as a}from"./diff.js";import{s as c,f as p}from"./chunk-_commonjsHelpers.js";import"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";const m="@@__IMMUTABLE_RECORD__@@",y="@@__IMMUTABLE_ITERABLE__@@";function g(e){return e&&(e[y]||e[m])}const d=Object.getPrototypeOf({});function u(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function o(e,n=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){const r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&f(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&f(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&f(()=>r.name??(r.name=e.name)),e.cause!=null&&f(()=>r.cause??(r.cause=o(e.cause,n)))),o(r,n)}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(g(e))return o(e.toJSON(),n);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()} ${p(e.sample)}`;if(typeof e.toJSON=="function")return o(e.toJSON(),n);if(n.has(e))return n.get(e);if(Array.isArray(e)){const r=new Array(e.length);return n.set(e,r),e.forEach((t,i)=>{try{r[i]=o(t,n)}catch(s){r[i]=u(s)}}),r}else{const r=Object.create(null);n.set(e,r);let t=e;for(;t&&t!==d;)Object.getOwnPropertyNames(t).forEach(i=>{if(!(i in r))try{r[i]=o(e[i],n)}catch(s){delete r[i],r[i]=u(s)}}),t=Object.getPrototypeOf(t);return r}}function f(e){try{return e()}catch{}}function O(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function _(e,n,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};const t=e;(t.showDiff||t.showDiff===void 0&&t.expected!==void 0&&t.actual!==void 0)&&(t.diff=a(t.actual,t.expected,{...n,...t.diffOptions})),"expected"in t&&typeof t.expected!="string"&&(t.expected=c(t.expected,10)),"actual"in t&&typeof t.actual!="string"&&(t.actual=c(t.actual,10));try{typeof t.message=="string"&&(t.message=O(t.message))}catch{}try{!r.has(t)&&typeof t.cause=="object"&&(r.add(t),t.cause=_(t.cause,n,r))}catch{}try{return o(t)}catch(i){return o(new Error(`Failed to fully serialize error: ${i?.message}
2
2
  Inner error message: ${t?.message}`))}}export{_ as processError,o as serializeError,o as serializeValue};
@@ -1 +1 @@
1
- import"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import"../../../../../loupe@3.1.4/node_modules/loupe/lib/promise.js";var P,D;function F(){if(D)return P;D=1;var f,p,I,x,y,c,g,d,S,_,v,m,J,X,k,u,L,w,E;return J=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,m=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,f=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,k=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,v=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,u=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,E=/[\t\v\f\ufeff\p{Zs}]+/yu,d=/\r?\n|[\r\u2028\u2029]/y,S=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,X=/\/\/.*/y,I=/[<>.:={}]|\/(?![\/*])/y,p=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,x=/(['"])(?:(?!\1)[^])*(\1)?/y,y=/[^<>{}]+/y,w=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,L=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,c=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,g=/^(?:return|throw|yield)$/,_=RegExp(d.source),P=function*(s,{jsx:q=!1}={}){var o,b,N,t,n,C,e,r,$,l,T,a,h,i;for({length:C}=s,t=0,n="",i=[{tag:"JS"}],o=[],T=0,a=!1;t<C;){switch(r=i[i.length-1],r.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(s[t]==="/"&&(w.test(n)||c.test(n))&&(J.lastIndex=t,e=J.exec(s))){t=J.lastIndex,n=e[0],a=!0,yield{type:"RegularExpressionLiteral",value:e[0],closed:e[1]!==void 0&&e[1]!=="\\"};continue}if(m.lastIndex=t,e=m.exec(s)){switch(h=e[0],$=m.lastIndex,l=h,h){case"(":n==="?NonExpressionParenKeyword"&&i.push({tag:"JSNonExpressionParen",nesting:T}),T++,a=!1;break;case")":T--,a=!0,r.tag==="JSNonExpressionParen"&&T===r.nesting&&(i.pop(),l="?NonExpressionParenEnd",a=!1);break;case"{":m.lastIndex=0,N=!L.test(n)&&(w.test(n)||c.test(n)),o.push(N),a=!1;break;case"}":switch(r.tag){case"InterpolationInTemplate":if(o.length===r.nesting){u.lastIndex=t,e=u.exec(s),t=u.lastIndex,n=e[0],e[1]==="${"?(n="?InterpolationInTemplate",a=!1,yield{type:"TemplateMiddle",value:e[0]}):(i.pop(),a=!0,yield{type:"TemplateTail",value:e[0],closed:e[1]==="`"});continue}break;case"InterpolationInJSX":if(o.length===r.nesting){i.pop(),t+=1,n="}",yield{type:"JSXPunctuator",value:"}"};continue}}a=o.pop(),l=a?"?ExpressionBraceEnd":"}";break;case"]":a=!0;break;case"++":case"--":l=a?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(q&&(w.test(n)||c.test(n))){i.push({tag:"JSXTag"}),t+=1,n="<",yield{type:"JSXPunctuator",value:h};continue}a=!1;break;default:a=!1}t=$,n=l,yield{type:"Punctuator",value:h};continue}if(f.lastIndex=t,e=f.exec(s)){switch(t=f.lastIndex,l=e[0],e[0]){case"for":case"if":case"while":case"with":n!=="."&&n!=="?."&&(l="?NonExpressionParenKeyword")}n=l,a=!c.test(e[0]),yield{type:e[1]==="#"?"PrivateIdentifier":"IdentifierName",value:e[0]};continue}if(k.lastIndex=t,e=k.exec(s)){t=k.lastIndex,n=e[0],a=!0,yield{type:"StringLiteral",value:e[0],closed:e[2]!==void 0};continue}if(v.lastIndex=t,e=v.exec(s)){t=v.lastIndex,n=e[0],a=!0,yield{type:"NumericLiteral",value:e[0]};continue}if(u.lastIndex=t,e=u.exec(s)){t=u.lastIndex,n=e[0],e[1]==="${"?(n="?InterpolationInTemplate",i.push({tag:"InterpolationInTemplate",nesting:o.length}),a=!1,yield{type:"TemplateHead",value:e[0]}):(a=!0,yield{type:"NoSubstitutionTemplate",value:e[0],closed:e[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(I.lastIndex=t,e=I.exec(s)){switch(t=I.lastIndex,l=e[0],e[0]){case"<":i.push({tag:"JSXTag"});break;case">":i.pop(),n==="/"||r.tag==="JSXTagEnd"?(l="?JSX",a=!0):i.push({tag:"JSXChildren"});break;case"{":i.push({tag:"InterpolationInJSX",nesting:o.length}),l="?InterpolationInJSX",a=!1;break;case"/":n==="<"&&(i.pop(),i[i.length-1].tag==="JSXChildren"&&i.pop(),i.push({tag:"JSXTagEnd"}))}n=l,yield{type:"JSXPunctuator",value:e[0]};continue}if(p.lastIndex=t,e=p.exec(s)){t=p.lastIndex,n=e[0],yield{type:"JSXIdentifier",value:e[0]};continue}if(x.lastIndex=t,e=x.exec(s)){t=x.lastIndex,n=e[0],yield{type:"JSXString",value:e[0],closed:e[2]!==void 0};continue}break;case"JSXChildren":if(y.lastIndex=t,e=y.exec(s)){t=y.lastIndex,n=e[0],yield{type:"JSXText",value:e[0]};continue}switch(s[t]){case"<":i.push({tag:"JSXTag"}),t++,n="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":i.push({tag:"InterpolationInJSX",nesting:o.length}),t++,n="?InterpolationInJSX",a=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(E.lastIndex=t,e=E.exec(s)){t=E.lastIndex,yield{type:"WhiteSpace",value:e[0]};continue}if(d.lastIndex=t,e=d.exec(s)){t=d.lastIndex,a=!1,g.test(n)&&(n="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:e[0]};continue}if(S.lastIndex=t,e=S.exec(s)){t=S.lastIndex,_.test(e[0])&&(a=!1,g.test(n)&&(n="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:e[0],closed:e[1]!==void 0};continue}if(X.lastIndex=t,e=X.exec(s)){t=X.lastIndex,a=!1,yield{type:"SingleLineComment",value:e[0]};continue}b=String.fromCodePoint(s.codePointAt(t)),t+=b.length,n=b,a=!1,yield{type:r.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:b}}},P}F();var M={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(M.keyword);new Set(M.strict);const A=Symbol("vitest:SAFE_TIMERS");function H(){const{setTimeout:f,setInterval:p,clearInterval:I,clearTimeout:x,setImmediate:y,clearImmediate:c,queueMicrotask:g}=globalThis[A]||globalThis,{nextTick:d}=globalThis[A]||globalThis.process||{nextTick:S=>S()};return{nextTick:d,setTimeout:f,setInterval:p,clearInterval:I,clearTimeout:x,setImmediate:y,clearImmediate:c,queueMicrotask:g}}export{H as getSafeTimers};
1
+ import"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";var P,D;function F(){if(D)return P;D=1;var f,p,I,x,y,c,g,d,S,_,v,m,J,X,k,u,L,w,E;return J=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,m=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,f=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,k=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,v=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,u=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,E=/[\t\v\f\ufeff\p{Zs}]+/yu,d=/\r?\n|[\r\u2028\u2029]/y,S=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,X=/\/\/.*/y,I=/[<>.:={}]|\/(?![\/*])/y,p=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,x=/(['"])(?:(?!\1)[^])*(\1)?/y,y=/[^<>{}]+/y,w=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,L=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,c=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,g=/^(?:return|throw|yield)$/,_=RegExp(d.source),P=function*(s,{jsx:q=!1}={}){var o,b,N,t,n,C,e,r,$,l,T,a,h,i;for({length:C}=s,t=0,n="",i=[{tag:"JS"}],o=[],T=0,a=!1;t<C;){switch(r=i[i.length-1],r.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(s[t]==="/"&&(w.test(n)||c.test(n))&&(J.lastIndex=t,e=J.exec(s))){t=J.lastIndex,n=e[0],a=!0,yield{type:"RegularExpressionLiteral",value:e[0],closed:e[1]!==void 0&&e[1]!=="\\"};continue}if(m.lastIndex=t,e=m.exec(s)){switch(h=e[0],$=m.lastIndex,l=h,h){case"(":n==="?NonExpressionParenKeyword"&&i.push({tag:"JSNonExpressionParen",nesting:T}),T++,a=!1;break;case")":T--,a=!0,r.tag==="JSNonExpressionParen"&&T===r.nesting&&(i.pop(),l="?NonExpressionParenEnd",a=!1);break;case"{":m.lastIndex=0,N=!L.test(n)&&(w.test(n)||c.test(n)),o.push(N),a=!1;break;case"}":switch(r.tag){case"InterpolationInTemplate":if(o.length===r.nesting){u.lastIndex=t,e=u.exec(s),t=u.lastIndex,n=e[0],e[1]==="${"?(n="?InterpolationInTemplate",a=!1,yield{type:"TemplateMiddle",value:e[0]}):(i.pop(),a=!0,yield{type:"TemplateTail",value:e[0],closed:e[1]==="`"});continue}break;case"InterpolationInJSX":if(o.length===r.nesting){i.pop(),t+=1,n="}",yield{type:"JSXPunctuator",value:"}"};continue}}a=o.pop(),l=a?"?ExpressionBraceEnd":"}";break;case"]":a=!0;break;case"++":case"--":l=a?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(q&&(w.test(n)||c.test(n))){i.push({tag:"JSXTag"}),t+=1,n="<",yield{type:"JSXPunctuator",value:h};continue}a=!1;break;default:a=!1}t=$,n=l,yield{type:"Punctuator",value:h};continue}if(f.lastIndex=t,e=f.exec(s)){switch(t=f.lastIndex,l=e[0],e[0]){case"for":case"if":case"while":case"with":n!=="."&&n!=="?."&&(l="?NonExpressionParenKeyword")}n=l,a=!c.test(e[0]),yield{type:e[1]==="#"?"PrivateIdentifier":"IdentifierName",value:e[0]};continue}if(k.lastIndex=t,e=k.exec(s)){t=k.lastIndex,n=e[0],a=!0,yield{type:"StringLiteral",value:e[0],closed:e[2]!==void 0};continue}if(v.lastIndex=t,e=v.exec(s)){t=v.lastIndex,n=e[0],a=!0,yield{type:"NumericLiteral",value:e[0]};continue}if(u.lastIndex=t,e=u.exec(s)){t=u.lastIndex,n=e[0],e[1]==="${"?(n="?InterpolationInTemplate",i.push({tag:"InterpolationInTemplate",nesting:o.length}),a=!1,yield{type:"TemplateHead",value:e[0]}):(a=!0,yield{type:"NoSubstitutionTemplate",value:e[0],closed:e[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(I.lastIndex=t,e=I.exec(s)){switch(t=I.lastIndex,l=e[0],e[0]){case"<":i.push({tag:"JSXTag"});break;case">":i.pop(),n==="/"||r.tag==="JSXTagEnd"?(l="?JSX",a=!0):i.push({tag:"JSXChildren"});break;case"{":i.push({tag:"InterpolationInJSX",nesting:o.length}),l="?InterpolationInJSX",a=!1;break;case"/":n==="<"&&(i.pop(),i[i.length-1].tag==="JSXChildren"&&i.pop(),i.push({tag:"JSXTagEnd"}))}n=l,yield{type:"JSXPunctuator",value:e[0]};continue}if(p.lastIndex=t,e=p.exec(s)){t=p.lastIndex,n=e[0],yield{type:"JSXIdentifier",value:e[0]};continue}if(x.lastIndex=t,e=x.exec(s)){t=x.lastIndex,n=e[0],yield{type:"JSXString",value:e[0],closed:e[2]!==void 0};continue}break;case"JSXChildren":if(y.lastIndex=t,e=y.exec(s)){t=y.lastIndex,n=e[0],yield{type:"JSXText",value:e[0]};continue}switch(s[t]){case"<":i.push({tag:"JSXTag"}),t++,n="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":i.push({tag:"InterpolationInJSX",nesting:o.length}),t++,n="?InterpolationInJSX",a=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(E.lastIndex=t,e=E.exec(s)){t=E.lastIndex,yield{type:"WhiteSpace",value:e[0]};continue}if(d.lastIndex=t,e=d.exec(s)){t=d.lastIndex,a=!1,g.test(n)&&(n="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:e[0]};continue}if(S.lastIndex=t,e=S.exec(s)){t=S.lastIndex,_.test(e[0])&&(a=!1,g.test(n)&&(n="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:e[0],closed:e[1]!==void 0};continue}if(X.lastIndex=t,e=X.exec(s)){t=X.lastIndex,a=!1,yield{type:"SingleLineComment",value:e[0]};continue}b=String.fromCodePoint(s.codePointAt(t)),t+=b.length,n=b,a=!1,yield{type:r.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:b}}},P}F();var M={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(M.keyword);new Set(M.strict);const A=Symbol("vitest:SAFE_TIMERS");function W(){const{setTimeout:f,setInterval:p,clearInterval:I,clearTimeout:x,setImmediate:y,clearImmediate:c,queueMicrotask:g}=globalThis[A]||globalThis,{nextTick:d}=globalThis[A]||globalThis.process||{nextTick:S=>S()};return{nextTick:d,setTimeout:f,setInterval:p,clearInterval:I,clearTimeout:x,setImmediate:y,clearImmediate:c,queueMicrotask:g}}export{W as getSafeTimers};
@@ -1 +1 @@
1
- import{__module as a}from"../../../../../_virtual/index6.js";import{__require as k}from"../../../color-convert@2.0.1/node_modules/color-convert/index.js";a.exports;var d;function j(){return d?a.exports:(d=1,(function(p){const u=(r,e)=>(...o)=>`\x1B[${r(...o)+e}m`,B=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};5;${t}m`},f=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};2;${t[0]};${t[1]};${t[2]}m`},g=r=>r,m=(r,e,o)=>[r,e,o],s=(r,e,o)=>{Object.defineProperty(r,e,{get:()=>{const t=o();return Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0}),t},enumerable:!0,configurable:!0})};let c;const i=(r,e,o,t)=>{c===void 0&&(c=k());const l=t?10:0,n={};for(const[b,h]of Object.entries(c)){const y=b==="ansi16"?"ansi":b;b===e?n[y]=r(o,l):typeof h=="object"&&(n[y]=r(h[e],l))}return n};function C(){const r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(const[o,t]of Object.entries(e)){for(const[l,n]of Object.entries(t))e[l]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[l]=e[l],r.set(n[0],n[1]);Object.defineProperty(e,o,{value:t,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",s(e.color,"ansi",()=>i(u,"ansi16",g,!1)),s(e.color,"ansi256",()=>i(B,"ansi256",g,!1)),s(e.color,"ansi16m",()=>i(f,"rgb",m,!1)),s(e.bgColor,"ansi",()=>i(u,"ansi16",g,!0)),s(e.bgColor,"ansi256",()=>i(B,"ansi256",g,!0)),s(e.bgColor,"ansi16m",()=>i(f,"rgb",m,!0)),e}Object.defineProperty(p,"exports",{enumerable:!0,get:C})})(a),a.exports)}export{j as __require};
1
+ import{__module as a}from"../../../../../_virtual/index5.js";import{__require as k}from"../../../color-convert@2.0.1/node_modules/color-convert/index.js";a.exports;var d;function j(){return d?a.exports:(d=1,(function(p){const u=(r,e)=>(...o)=>`\x1B[${r(...o)+e}m`,B=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};5;${t}m`},f=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};2;${t[0]};${t[1]};${t[2]}m`},g=r=>r,m=(r,e,o)=>[r,e,o],s=(r,e,o)=>{Object.defineProperty(r,e,{get:()=>{const t=o();return Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0}),t},enumerable:!0,configurable:!0})};let c;const i=(r,e,o,t)=>{c===void 0&&(c=k());const l=t?10:0,n={};for(const[b,h]of Object.entries(c)){const y=b==="ansi16"?"ansi":b;b===e?n[y]=r(o,l):typeof h=="object"&&(n[y]=r(h[e],l))}return n};function C(){const r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(const[o,t]of Object.entries(e)){for(const[l,n]of Object.entries(t))e[l]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[l]=e[l],r.set(n[0],n[1]);Object.defineProperty(e,o,{value:t,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",s(e.color,"ansi",()=>i(u,"ansi16",g,!1)),s(e.color,"ansi256",()=>i(B,"ansi256",g,!1)),s(e.color,"ansi16m",()=>i(f,"rgb",m,!1)),s(e.bgColor,"ansi",()=>i(u,"ansi16",g,!0)),s(e.bgColor,"ansi256",()=>i(B,"ansi256",g,!0)),s(e.bgColor,"ansi16m",()=>i(f,"rgb",m,!0)),e}Object.defineProperty(p,"exports",{enumerable:!0,get:C})})(a),a.exports)}export{j as __require};
@@ -1 +1 @@
1
- import{commonjsGlobal as s}from"../../../../../_virtual/_commonjsHelpers.js";import{__require as n}from"../../../possible-typed-array-names@1.0.0/node_modules/possible-typed-array-names/index.js";var o,i;function f(){if(i)return o;i=1;var e=n(),l=typeof globalThis>"u"?s:globalThis;return o=function(){for(var a=[],r=0;r<e.length;r++)typeof l[e[r]]=="function"&&(a[a.length]=e[r]);return a},o}export{f as __require};
1
+ import{commonjsGlobal as s}from"../../../../../_virtual/_commonjsHelpers.js";import{__require as n}from"../../../possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js";var o,i;function f(){if(i)return o;i=1;var e=n(),l=typeof globalThis>"u"?s:globalThis;return o=function(){for(var a=[],r=0;r<e.length;r++)typeof l[e[r]]=="function"&&(a[a.length]=e[r]);return a},o}export{f as __require};