From 5b0dec07521be7ada3a072b6192507cee2836c7e Mon Sep 17 00:00:00 2001 From: garethfoote Date: Wed, 26 Jun 2024 17:44:50 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20national?= =?UTF-8?q?archives/tdr-components@d3b250cd4e9803e0dc2e9c3c539690614b462d0?= =?UTF-8?q?2=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 648.ad4a206f.iframe.bundle.js | 1 + 648.edc20939.iframe.bundle.js | 1 - ...bundle.js => 989.db5d1cf3.iframe.bundle.js | 8 +- ... 989.db5d1cf3.iframe.bundle.js.LICENSE.txt | 0 ...s.map => 989.db5d1cf3.iframe.bundle.js.map | 2 +- iframe.html | 6 +- index.html | 4 + index.json | 2 +- main.2739fbad.iframe.bundle.js | 1 + main.3dc9709e.iframe.bundle.js | 1 - ...rt-alert-stories.40b81491.iframe.bundle.js | 1 + ...r-header-stories.16859abc.iframe.bundle.js | 1 - ...r-header-stories.98dad933.iframe.bundle.js | 1 + ...con-icon-stories.c2ddbce5.iframe.bundle.js | 1 + ...t-search-stories.9c1be627.iframe.bundle.js | 2 +- ...vigation-stories.eac2394b.iframe.bundle.js | 2 +- preview-stats.json | 11944 ++++++++++------ project.json | 2 +- runtime~main.6a6fcb7e.iframe.bundle.js | 1 + runtime~main.e11fd64a.iframe.bundle.js | 1 - .../whitespace-html-12/manager-bundle.js | 93 + .../manager-bundle.js.LEGAL.txt | 14 + 22 files changed, 7863 insertions(+), 4226 deletions(-) create mode 100644 648.ad4a206f.iframe.bundle.js delete mode 100644 648.edc20939.iframe.bundle.js rename 478.489c6547.iframe.bundle.js => 989.db5d1cf3.iframe.bundle.js (99%) rename 478.489c6547.iframe.bundle.js.LICENSE.txt => 989.db5d1cf3.iframe.bundle.js.LICENSE.txt (100%) rename 478.489c6547.iframe.bundle.js.map => 989.db5d1cf3.iframe.bundle.js.map (99%) create mode 100644 main.2739fbad.iframe.bundle.js delete mode 100644 main.3dc9709e.iframe.bundle.js create mode 100644 nationalarchives-components-alert-alert-stories.40b81491.iframe.bundle.js delete mode 100644 nationalarchives-components-header-header-stories.16859abc.iframe.bundle.js create mode 100644 nationalarchives-components-header-header-stories.98dad933.iframe.bundle.js create mode 100644 nationalarchives-components-icon-icon-stories.c2ddbce5.iframe.bundle.js rename nationalarchives-components-multi-select-search-multi-select-search-stories.d8fd685f.iframe.bundle.js => nationalarchives-components-multi-select-search-multi-select-search-stories.9c1be627.iframe.bundle.js (61%) rename nationalarchives-components-nested-navigation-nested-navigation-stories.bde1fdeb.iframe.bundle.js => nationalarchives-components-nested-navigation-nested-navigation-stories.eac2394b.iframe.bundle.js (53%) create mode 100644 runtime~main.6a6fcb7e.iframe.bundle.js delete mode 100644 runtime~main.e11fd64a.iframe.bundle.js create mode 100644 sb-addons/whitespace-html-12/manager-bundle.js create mode 100644 sb-addons/whitespace-html-12/manager-bundle.js.LEGAL.txt diff --git a/648.ad4a206f.iframe.bundle.js b/648.ad4a206f.iframe.bundle.js new file mode 100644 index 0000000..899060a --- /dev/null +++ b/648.ad4a206f.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_nationalarchives_tdr_components=self.webpackChunk_nationalarchives_tdr_components||[]).push([[648],{"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[14].use[2]!./src/nationalarchives/components/card/_index.scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".tdr-card{border:1px solid #b1b4b6;padding:15px;padding-right:20px;padding-left:20px;margin-bottom:20px}@media(min-width: 40.0625em){.tdr-card{padding:25px}}@media(min-width: 40.0625em){.tdr-card{padding-right:30px}}@media(min-width: 40.0625em){.tdr-card{padding-left:30px}}@media(min-width: 40.0625em){.tdr-card{margin-bottom:30px}}.tdr-card--error{border:2px solid #d4351c;padding-left:15px}@media(min-width: 40.0625em){.tdr-card--error{padding-left:20px}}.tdr-card--error .tdr-card__content{padding-left:15px;border-left:5px solid #d4351c;padding-left:15px}@media(min-width: 40.0625em){.tdr-card--error .tdr-card__content{padding-left:20px}}.tdr-card__content{position:relative}.tdr-card__content>*:last-child{margin:0}.tdr-card--metadata__state{position:absolute;top:0;right:0}.tdr-card--metadata__inset-text{color:#505a5f}","",{version:3,sources:["webpack://./src/nationalarchives/components/card/_index.scss","webpack://./node_modules/govuk-frontend/govuk/helpers/_spacing.scss","webpack://./node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss","webpack://./node_modules/govuk-frontend/govuk/settings/_colours-applied.scss"],names:[],mappings:"AAMA,UACE,wBAAA,CCiGM,YAAA,CAEA,kBAAA,CAAA,iBAAA,CAAA,kBAAA,CC0HA,6BF9NR,UCyGU,YAAA,CAAA,CCqHF,6BF9NR,UC2GU,kBAAA,CAAA,CCmHF,6BF9NR,UC2GU,iBAAA,CAAA,CCmHF,6BF9NR,UC2GU,kBAAA,CAAA,CDlGV,iBACE,wBAAA,CC0FM,iBAAA,CC0HA,6BFrNR,iBCkGU,iBAAA,CAAA,CD5FV,oCACE,iBAAA,CACA,6BAAA,CCmFM,iBAAA,CC0HA,6BF/MR,oCC4FU,iBAAA,CAAA,CDrFV,mBACE,iBAAA,CAGF,gCACE,QAAA,CAGF,2BACE,iBAAA,CACA,KAAA,CACA,OAAA,CAGF,gCACE,aGc4B",sourcesContent:['\n @import "node_modules/govuk-frontend/govuk/base";\n @import "node_modules/govuk-frontend/govuk/settings/all";\n @import "node_modules/govuk-frontend/govuk/tools/all";\n @import "node_modules/govuk-frontend/govuk/helpers/all";\n \n.tdr-card {\n border: 1px solid $govuk-border-colour;\n\n @include govuk-responsive-padding(5);\n @include govuk-responsive-padding(6, "right");\n @include govuk-responsive-padding(6, "left");\n @include govuk-responsive-margin(6, "bottom");\n}\n\n.tdr-card--error {\n border: 2px solid $govuk-error-colour;\n\n @include govuk-responsive-padding(4, "left");\n}\n\n.tdr-card--error .tdr-card__content {\n padding-left: 15px;\n border-left: 5px solid #d4351c;\n\n @include govuk-responsive-padding(4, "left");\n}\n\n.tdr-card__content {\n position: relative;\n}\n\n.tdr-card__content > *:last-child {\n margin: 0;\n}\n\n.tdr-card--metadata__state {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.tdr-card--metadata__inset-text {\n color: $govuk-secondary-text-colour;\n}\n','////\n/// @group helpers/spacing\n////\n\n// stylelint-disable indentation\n\n/// Single point spacing\n///\n/// Returns measurement corresponding to the spacing point requested.\n///\n/// @param {Number} $spacing-point - Point on the spacing scale\n/// (set in `settings/_spacing.scss`)\n///\n/// @returns {String} Spacing measurement eg. 10px\n///\n/// @example scss\n/// .element {\n/// padding: govuk-spacing(5);\n/// }\n///\n/// @example scss Using negative spacing\n/// .element {\n/// margin-top: govuk-spacing(-1);\n/// }\n///\n/// @example scss Marking spacing declarations as important\n/// .element {\n/// margin-top: govuk-spacing(1) !important;\n/// }\n///\n/// @access public\n\n@function govuk-spacing($spacing-point) {\n\n $actual-input-type: type-of($spacing-point);\n @if $actual-input-type != "number" {\n @error "Expected a number (integer), but got a "\n + "#{$actual-input-type}.";\n }\n\n $is-negative: false;\n @if $spacing-point < 0 {\n $is-negative: true;\n $spacing-point: abs($spacing-point);\n }\n\n @if not map-has-key($govuk-spacing-points, $spacing-point) {\n @error "Unknown spacing variable `#{$spacing-point}`. Make sure you are using a point from the spacing scale in `_settings/spacing.scss`.";\n }\n\n $value: map-get($govuk-spacing-points, $spacing-point);\n @return if($is-negative, $value * -1, $value);\n}\n\n/// Responsive spacing\n///\n/// Adds responsive spacing (either padding or margin, depending on `$property`)\n/// by fetching a \'spacing map\' from the responsive spacing scale, which defines\n/// different spacing values at different breakpoints.\n///\n/// To generate responsive spacing, use \'govuk-responsive-margin\' or\n/// \'govuk-responsive-padding\' mixins\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $property - Property to add spacing to (e.g. \'margin\')\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @access private\n\n@mixin _govuk-responsive-spacing($responsive-spacing-point, $property, $direction: "all", $important: false, $adjustment: false) {\n\n $actual-input-type: type-of($responsive-spacing-point);\n @if $actual-input-type != "number" {\n @error "Expected a number (integer), but got a " + "#{$actual-input-type}.";\n }\n\n @if not map-has-key($govuk-spacing-responsive-scale, $responsive-spacing-point) {\n @error "Unknown spacing point `#{$responsive-spacing-point}`. Make sure you are using a point from the "\n + "responsive spacing scale in `_settings/spacing.scss`.";\n }\n\n // Make sure that the return value from `_settings/spacing.scss` is a map.\n $scale-map: map-get($govuk-spacing-responsive-scale, $responsive-spacing-point);\n $actual-map-type: type-of($scale-map);\n @if $actual-map-type != "map" {\n @error "Expected a number (integer), but got a "\n + "#{$actual-map-type}. Make sure you are using a map to set the responsive spacing in `_settings/spacing.scss`)";\n }\n\n // Loop through each breakpoint in the map\n @each $breakpoint, $breakpoint-value in $scale-map {\n\n @if $adjustment {\n $breakpoint-value: $breakpoint-value + $adjustment;\n }\n\n // The \'null\' breakpoint is for mobile.\n @if not $breakpoint {\n\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n } @else {\n @include govuk-media-query($from: $breakpoint) {\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n }\n }\n }\n}\n\n/// Responsive margin\n///\n/// Adds responsive margin by fetching a \'spacing map\' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-margin(6, "left", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-margin($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, "margin", $direction, $important, $adjustment);\n}\n\n/// Responsive padding\n///\n/// Adds responsive padding by fetching a \'spacing map\' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-padding(6, "left", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-padding($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, "padding", $direction, $important, $adjustment);\n}\n\n/*# sourceMappingURL=_spacing.scss.map */',"// mq() v4.0.2\n// sass-mq/sass-mq\n\n@charset \"UTF-8\"; // Fixes an issue where Ruby locale is not set properly\n // See https://github.com/sass-mq/sass-mq/pull/10\n\n/// Base font size on the `` element\n/// @type Number (unit)\n$mq-base-font-size: 16px !default;\n\n/// Responsive mode\n///\n/// Set to `false` to enable support for browsers that do not support @media queries,\n/// (IE <= 8, Firefox <= 3, Opera <= 9)\n///\n/// You could create a stylesheet served exclusively to older browsers,\n/// where @media queries are rasterized\n///\n/// @example scss\n/// // old-ie.scss\n/// $mq-responsive: false;\n/// @import 'main'; // @media queries in this file will be rasterized up to $mq-static-breakpoint\n/// // larger breakpoints will be ignored\n///\n/// @type Boolean\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-off Disabled responsive mode documentation\n$mq-responsive: true !default;\n\n/// Breakpoint list\n///\n/// Name your breakpoints in a way that creates a ubiquitous language\n/// across team members. It will improve communication between\n/// stakeholders, designers, developers, and testers.\n///\n/// @type Map\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint Full documentation and examples\n$mq-breakpoints: (\n mobile: 320px,\n tablet: 740px,\n desktop: 980px,\n wide: 1300px\n) !default;\n\n/// Static breakpoint (for fixed-width layouts)\n///\n/// Define the breakpoint from $mq-breakpoints that should\n/// be used as the target width for the fixed-width layout\n/// (i.e. when $mq-responsive is set to 'false') in a old-ie.scss\n///\n/// @example scss\n/// // tablet-only.scss\n/// //\n/// // Ignore all styles above tablet breakpoint,\n/// // and fix the styles (e.g. layout) at tablet width\n/// $mq-responsive: false;\n/// $mq-static-breakpoint: tablet;\n/// @import 'main'; // @media queries in this file will be rasterized up to tablet\n/// // larger breakpoints will be ignored\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#adding-custom-breakpoints Full documentation and examples\n$mq-static-breakpoint: desktop !default;\n\n/// Show breakpoints in the top right corner\n///\n/// If you want to display the currently active breakpoint in the top\n/// right corner of your site during development, add the breakpoints\n/// to this list, ordered by width, e.g. (mobile, tablet, desktop).\n///\n/// @type map\n$mq-show-breakpoints: () !default;\n\n/// Customize the media type (e.g. `@media screen` or `@media print`)\n/// By default sass-mq uses an \"all\" media type (`@media all and …`)\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#changing-media-type Full documentation and examples\n$mq-media-type: all !default;\n\n/// Convert pixels to ems\n///\n/// @param {Number} $px - value to convert\n/// @param {Number} $base-font-size ($mq-base-font-size) - `` font size\n///\n/// @example scss\n/// $font-size-in-ems: mq-px2em(16px);\n/// p { font-size: mq-px2em(16px); }\n///\n/// @requires $mq-base-font-size\n/// @returns {Number}\n@function mq-px2em($px, $base-font-size: $mq-base-font-size) {\n @if unitless($px) {\n @warn \"Assuming #{$px} to be in pixels, attempting to convert it into pixels.\";\n @return mq-px2em($px * 1px, $base-font-size);\n } @else if unit($px) == em {\n @return $px;\n }\n @return ($px / $base-font-size) * 1em;\n}\n\n/// Get a breakpoint's width\n///\n/// @param {String} $name - Name of the breakpoint. One of $mq-breakpoints\n///\n/// @example scss\n/// $tablet-width: mq-get-breakpoint-width(tablet);\n/// @media (min-width: mq-get-breakpoint-width(desktop)) {}\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @returns {Number} Value in pixels\n@function mq-get-breakpoint-width($name, $breakpoints: $mq-breakpoints) {\n @if map-has-key($breakpoints, $name) {\n @return map-get($breakpoints, $name);\n } @else {\n @warn \"Breakpoint #{$name} wasn't found in $breakpoints.\";\n }\n}\n\n/// Media Query mixin\n///\n/// @param {String | Boolean} $from (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $until (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $and (false) - Additional media query parameters\n/// @param {String} $media-type ($mq-media-type) - Media type: screen, print…\n///\n/// @ignore Undocumented API, for advanced use only:\n/// @ignore @param {Map} $breakpoints ($mq-breakpoints)\n/// @ignore @param {String} $static-breakpoint ($mq-static-breakpoint)\n///\n/// @content styling rules, wrapped into a @media query when $responsive is true\n///\n/// @requires {Variable} $mq-media-type\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-static-breakpoint\n/// @requires {function} mq-px2em\n/// @requires {function} mq-get-breakpoint-width\n///\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-on-default Full documentation and examples\n///\n/// @example scss\n/// .element {\n/// @include mq($from: mobile) {\n/// color: red;\n/// }\n/// @include mq($until: tablet) {\n/// color: blue;\n/// }\n/// @include mq(mobile, tablet) {\n/// color: green;\n/// }\n/// @include mq($from: tablet, $and: '(orientation: landscape)') {\n/// color: teal;\n/// }\n/// @include mq(950px) {\n/// color: hotpink;\n/// }\n/// @include mq(tablet, $media-type: screen) {\n/// color: hotpink;\n/// }\n/// // Advanced use:\n/// $my-breakpoints: (L: 900px, XL: 1200px);\n/// @include mq(L, $breakpoints: $my-breakpoints, $static-breakpoint: L) {\n/// color: hotpink;\n/// }\n/// }\n@mixin mq(\n $from: false,\n $until: false,\n $and: false,\n $media-type: $mq-media-type,\n $breakpoints: $mq-breakpoints,\n $responsive: $mq-responsive,\n $static-breakpoint: $mq-static-breakpoint\n) {\n $min-width: 0;\n $max-width: 0;\n $media-query: '';\n\n // From: this breakpoint (inclusive)\n @if $from {\n @if type-of($from) == number {\n $min-width: mq-px2em($from);\n } @else {\n $min-width: mq-px2em(mq-get-breakpoint-width($from, $breakpoints));\n }\n }\n\n // Until: that breakpoint (exclusive)\n @if $until {\n @if type-of($until) == number {\n $max-width: mq-px2em($until);\n } @else {\n $max-width: mq-px2em(mq-get-breakpoint-width($until, $breakpoints)) - .01em;\n }\n }\n\n // Responsive support is disabled, rasterize the output outside @media blocks\n // The browser will rely on the cascade itself.\n @if $responsive == false {\n $static-breakpoint-width: mq-get-breakpoint-width($static-breakpoint, $breakpoints);\n $target-width: mq-px2em($static-breakpoint-width);\n\n // Output only rules that start at or span our target width\n @if (\n $and == false\n and $min-width <= $target-width\n and (\n $until == false or $max-width >= $target-width\n )\n and $media-type != 'print'\n ) {\n @content;\n }\n }\n\n // Responsive support is enabled, output rules inside @media queries\n @else {\n @if $min-width != 0 { $media-query: '#{$media-query} and (min-width: #{$min-width})'; }\n @if $max-width != 0 { $media-query: '#{$media-query} and (max-width: #{$max-width})'; }\n @if $and { $media-query: '#{$media-query} and #{$and}'; }\n\n // Remove unnecessary media query prefix 'all and '\n @if ($media-type == 'all' and $media-query != '') {\n $media-type: '';\n $media-query: str-slice(unquote($media-query), 6);\n }\n\n @media #{$media-type + $media-query} {\n @content;\n }\n }\n}\n\n/// Quick sort\n///\n/// @author Sam Richards\n/// @access private\n/// @param {List} $list - List to sort\n/// @returns {List} Sorted List\n@function _mq-quick-sort($list) {\n $less: ();\n $equal: ();\n $large: ();\n\n @if length($list) > 1 {\n $seed: nth($list, ceil(length($list) / 2));\n\n @each $item in $list {\n @if ($item == $seed) {\n $equal: append($equal, $item);\n } @else if ($item < $seed) {\n $less: append($less, $item);\n } @else if ($item > $seed) {\n $large: append($large, $item);\n }\n }\n\n @return join(join(_mq-quick-sort($less), $equal), _mq-quick-sort($large));\n }\n\n @return $list;\n}\n\n/// Sort a map by values (works with numbers only)\n///\n/// @access private\n/// @param {Map} $map - Map to sort\n/// @returns {Map} Map sorted by value\n@function _mq-map-sort-by-value($map) {\n $map-sorted: ();\n $map-keys: map-keys($map);\n $map-values: map-values($map);\n $map-values-sorted: _mq-quick-sort($map-values);\n\n // Reorder key/value pairs based on key values\n @each $value in $map-values-sorted {\n $index: index($map-values, $value);\n $key: nth($map-keys, $index);\n $map-sorted: map-merge($map-sorted, ($key: $value));\n\n // Unset the value in $map-values to prevent the loop\n // from finding the same index twice\n $map-values: set-nth($map-values, $index, 0);\n }\n\n @return $map-sorted;\n}\n\n/// Add a breakpoint\n///\n/// @param {String} $name - Name of the breakpoint\n/// @param {Number} $width - Width of the breakpoint\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @example scss\n/// @include mq-add-breakpoint(tvscreen, 1920px);\n/// @include mq(tvscreen) {}\n@mixin mq-add-breakpoint($name, $width) {\n $new-breakpoint: ($name: $width);\n $mq-breakpoints: map-merge($mq-breakpoints, $new-breakpoint) !global;\n $mq-breakpoints: _mq-map-sort-by-value($mq-breakpoints) !global;\n}\n\n/// Show the active breakpoint in the top right corner of the viewport\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint\n///\n/// @param {List} $show-breakpoints ($mq-show-breakpoints) - List of breakpoints to show in the top right corner\n/// @param {Map} $breakpoints ($mq-breakpoints) - Breakpoint names and sizes\n///\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-show-breakpoints\n///\n/// @example scss\n/// // Show breakpoints using global settings\n/// @include mq-show-breakpoints;\n///\n/// // Show breakpoints using custom settings\n/// @include mq-show-breakpoints((L, XL), (S: 300px, L: 800px, XL: 1200px));\n@mixin mq-show-breakpoints($show-breakpoints: $mq-show-breakpoints, $breakpoints: $mq-breakpoints) {\n body:before {\n background-color: #FCF8E3;\n border-bottom: 1px solid #FBEED5;\n border-left: 1px solid #FBEED5;\n color: #C09853;\n font: small-caption;\n padding: 3px 6px;\n pointer-events: none;\n position: fixed;\n right: 0;\n top: 0;\n z-index: 100;\n\n // Loop through the breakpoints that should be shown\n @each $show-breakpoint in $show-breakpoints {\n $width: mq-get-breakpoint-width($show-breakpoint, $breakpoints);\n @include mq($show-breakpoint, $breakpoints: $breakpoints) {\n content: \"#{$show-breakpoint} ≥ #{$width} (#{mq-px2em($width)})\";\n }\n }\n }\n}\n\n@if length($mq-show-breakpoints) > 0 {\n @include mq-show-breakpoints;\n}\n\n/*# sourceMappingURL=_sass-mq.scss.map */",'////\n/// @group settings/colours\n////\n\n@import "../helpers/colour";\n\n// =========================================================\n// Generic\n// =========================================================\n\n/// Brand colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-brand-colour: govuk-colour("blue") !default;\n\n/// Text colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-text-colour: govuk-colour("black") !default;\n\n/// Canvas background colour\n///\n/// Used by the footer component and template to give the illusion of a long\n/// footer.\n///\n/// @type Colour\n/// @access public\n\n$govuk-canvas-background-colour: govuk-colour("light-grey", $legacy: "grey-3") !default;\n\n/// Body background colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-body-background-colour: govuk-colour("white") !default;\n\n/// Text colour for print media\n///\n/// Use \'true black\' to avoid printers using colour ink to print body text\n///\n/// @type Colour\n/// @access public\n\n$govuk-print-text-colour: #000000 !default;\n\n/// Secondary text colour\n///\n/// Used in for example \'muted\' text and help text.\n///\n/// @type Colour\n/// @access public\n\n$govuk-secondary-text-colour: govuk-colour("dark-grey", $legacy: "grey-1") !default;\n\n/// Focus colour\n///\n/// Used for outline (and background, where appropriate) when interactive\n/// elements (links, form controls) have keyboard focus.\n///\n/// @type Colour\n/// @access public\n\n$govuk-focus-colour: govuk-colour("yellow") !default;\n\n/// Focused text colour\n///\n/// Ensure that the contrast between the text and background colour passes\n/// WCAG Level AA contrast requirements.\n///\n/// @type Colour\n/// @access public\n\n$govuk-focus-text-colour: govuk-colour("black") !default;\n\n/// Error colour\n///\n/// Used to highlight error messages and form controls in an error state\n///\n/// @type Colour\n/// @access public\n\n$govuk-error-colour: govuk-colour("red") !default;\n\n/// Success colour\n///\n/// Used to highlight success messages and banners\n///\n/// @type Colour\n/// @access public\n\n$govuk-success-colour: govuk-colour("green") !default;\n\n/// Border colour\n///\n/// Used in for example borders, separators, rules and keylines.\n///\n/// @type Colour\n/// @access public\n\n$govuk-border-colour: govuk-colour("mid-grey", $legacy: "grey-2");\n\n/// Input border colour\n///\n/// Used for form inputs and controls\n///\n/// @type Colour\n/// @access public\n\n$govuk-input-border-colour: govuk-colour("black") !default;\n\n/// Input hover colour\n///\n/// Used for hover states on form controls\n///\n/// @type Colour\n/// @access public\n\n$govuk-hover-colour: govuk-colour("mid-grey", $legacy: "grey-3");\n\n// =============================================================================\n// Links\n// =============================================================================\n\n/// Link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-colour: govuk-colour("blue") !default;\n\n/// Visited link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-visited-colour: govuk-colour("purple", $legacy: #4c2c92) !default;\n\n/// Link hover colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-hover-colour: govuk-colour("dark-blue", $legacy: "light-blue") !default;\n\n/// Active link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-active-colour: govuk-colour("black", $legacy: "light-blue") !default;\n\n/*# sourceMappingURL=_colours-applied.scss.map */'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/runtime/api.js":module=>{module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content="",needLayer=void 0!==item[5];return item[4]&&(content+="@supports (".concat(item[4],") {")),item[2]&&(content+="@media ".concat(item[2]," {")),needLayer&&(content+="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {")),content+=cssWithMappingToString(item),needLayer&&(content+="}"),item[2]&&(content+="}"),item[4]&&(content+="}"),content})).join("")},list.i=function i(modules,media,dedupe,supports,layer){"string"==typeof modules&&(modules=[[null,modules,void 0]]);var alreadyImportedModules={};if(dedupe)for(var k=0;k0?" ".concat(item[5]):""," {").concat(item[1],"}")),item[5]=layer),media&&(item[2]?(item[1]="@media ".concat(item[2]," {").concat(item[1],"}"),item[2]=media):item[2]=media),supports&&(item[4]?(item[1]="@supports (".concat(item[4],") {").concat(item[1],"}"),item[4]=supports):item[4]="".concat(supports)),list.push(item))}},list}},"./node_modules/css-loader/dist/runtime/sourceMaps.js":module=>{module.exports=function(item){var content=item[1],cssMapping=item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */");return[content].concat([sourceMapping]).join("\n")}return[content].join("\n")}},"./src/nationalarchives/components/card/_index.scss":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[14].use[2]!./src/nationalarchives/components/card/_index.scss"),options={};options.styleTagTransform=_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(),options.setAttributes=_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(),options.insert=_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null,"head"),options.domAPI=_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(),options.insertStyleElement=_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default();_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A,options),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":module=>{var stylesInDOM=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i{var memo={};module.exports=function insertBySelector(insert,style){var target=function getTarget(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}(insert);if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}},"./node_modules/style-loader/dist/runtime/insertStyleElement.js":module=>{module.exports=function insertStyleElement(options){var element=document.createElement("style");return options.setAttributes(element,options.attributes),options.insert(element,options.options),element}},"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=function setAttributesWithoutAttributes(styleElement){var nonce=__webpack_require__.nc;nonce&&styleElement.setAttribute("nonce",nonce)}},"./node_modules/style-loader/dist/runtime/styleDomAPI.js":module=>{module.exports=function domAPI(options){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var styleElement=options.insertStyleElement(options);return{update:function update(obj){!function apply(styleElement,options,obj){var css="";obj.supports&&(css+="@supports (".concat(obj.supports,") {")),obj.media&&(css+="@media ".concat(obj.media," {"));var needLayer=void 0!==obj.layer;needLayer&&(css+="@layer".concat(obj.layer.length>0?" ".concat(obj.layer):""," {")),css+=obj.css,needLayer&&(css+="}"),obj.media&&(css+="}"),obj.supports&&(css+="}");var sourceMap=obj.sourceMap;sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),options.styleTagTransform(css,styleElement,options.options)}(styleElement,options,obj)},remove:function remove(){!function removeStyleElement(styleElement){if(null===styleElement.parentNode)return!1;styleElement.parentNode.removeChild(styleElement)}(styleElement)}}}},"./node_modules/style-loader/dist/runtime/styleTagTransform.js":module=>{module.exports=function styleTagTransform(css,styleElement){if(styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}}}]); \ No newline at end of file diff --git a/648.edc20939.iframe.bundle.js b/648.edc20939.iframe.bundle.js deleted file mode 100644 index 81547e6..0000000 --- a/648.edc20939.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_nationalarchives_tdr_components=self.webpackChunk_nationalarchives_tdr_components||[]).push([[648],{"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[14].use[2]!./src/nationalarchives/components/card/_index.scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".tdr-card{border:1px solid #b1b4b6;padding:15px;padding-right:20px;padding-left:20px;margin-bottom:20px}@media(min-width: 40.0625em){.tdr-card{padding:25px}}@media(min-width: 40.0625em){.tdr-card{padding-right:30px}}@media(min-width: 40.0625em){.tdr-card{padding-left:30px}}@media(min-width: 40.0625em){.tdr-card{margin-bottom:30px}}.tdr-card--error{border:2px solid #d4351c;padding-left:15px}@media(min-width: 40.0625em){.tdr-card--error{padding-left:20px}}.tdr-card--error .tdr-card__content{padding-left:15px;border-left:5px solid #d4351c;padding-left:15px}@media(min-width: 40.0625em){.tdr-card--error .tdr-card__content{padding-left:20px}}.tdr-card__content{position:relative}.tdr-card__content>*:last-child{margin:0}.tdr-card--metadata__state{position:absolute;top:0;right:0}.tdr-card--metadata__inset-text{color:#505a5f}","",{version:3,sources:["webpack://./src/nationalarchives/components/card/_index.scss","webpack://./node_modules/govuk-frontend/govuk/helpers/_spacing.scss","webpack://./node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss","webpack://./node_modules/govuk-frontend/govuk/settings/_colours-applied.scss"],names:[],mappings:"AAGA,UACE,wBAAA,CCoGM,YAAA,CAEA,kBAAA,CAAA,iBAAA,CAAA,kBAAA,CC0HA,6BFjOR,UC4GU,YAAA,CAAA,CCqHF,6BFjOR,UC8GU,kBAAA,CAAA,CCmHF,6BFjOR,UC8GU,iBAAA,CAAA,CCmHF,6BFjOR,UC8GU,kBAAA,CAAA,CDrGV,iBACE,wBAAA,CC6FM,iBAAA,CC0HA,6BFxNR,iBCqGU,iBAAA,CAAA,CD/FV,oCACE,iBAAA,CACA,6BAAA,CCsFM,iBAAA,CC0HA,6BFlNR,oCC+FU,iBAAA,CAAA,CDxFV,mBACE,iBAAA,CAGF,gCACE,QAAA,CAGF,2BACE,iBAAA,CACA,KAAA,CACA,OAAA,CAGF,gCACE,aGiB4B",sourcesContent:['\n @import "node_modules/govuk-frontend/govuk/base";\n \n.tdr-card {\n border: 1px solid $govuk-border-colour;\n\n @include govuk-responsive-padding(5);\n @include govuk-responsive-padding(6, "right");\n @include govuk-responsive-padding(6, "left");\n @include govuk-responsive-margin(6, "bottom");\n}\n\n.tdr-card--error {\n border: 2px solid $govuk-error-colour;\n\n @include govuk-responsive-padding(4, "left");\n}\n\n.tdr-card--error .tdr-card__content {\n padding-left: 15px;\n border-left: 5px solid #d4351c;\n\n @include govuk-responsive-padding(4, "left");\n}\n\n.tdr-card__content {\n position: relative;\n}\n\n.tdr-card__content > *:last-child {\n margin: 0;\n}\n\n.tdr-card--metadata__state {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n.tdr-card--metadata__inset-text {\n color: $govuk-secondary-text-colour;\n}\n','////\n/// @group helpers/spacing\n////\n\n// stylelint-disable indentation\n\n/// Single point spacing\n///\n/// Returns measurement corresponding to the spacing point requested.\n///\n/// @param {Number} $spacing-point - Point on the spacing scale\n/// (set in `settings/_spacing.scss`)\n///\n/// @returns {String} Spacing measurement eg. 10px\n///\n/// @example scss\n/// .element {\n/// padding: govuk-spacing(5);\n/// }\n///\n/// @example scss Using negative spacing\n/// .element {\n/// margin-top: govuk-spacing(-1);\n/// }\n///\n/// @example scss Marking spacing declarations as important\n/// .element {\n/// margin-top: govuk-spacing(1) !important;\n/// }\n///\n/// @access public\n\n@function govuk-spacing($spacing-point) {\n\n $actual-input-type: type-of($spacing-point);\n @if $actual-input-type != "number" {\n @error "Expected a number (integer), but got a "\n + "#{$actual-input-type}.";\n }\n\n $is-negative: false;\n @if $spacing-point < 0 {\n $is-negative: true;\n $spacing-point: abs($spacing-point);\n }\n\n @if not map-has-key($govuk-spacing-points, $spacing-point) {\n @error "Unknown spacing variable `#{$spacing-point}`. Make sure you are using a point from the spacing scale in `_settings/spacing.scss`.";\n }\n\n $value: map-get($govuk-spacing-points, $spacing-point);\n @return if($is-negative, $value * -1, $value);\n}\n\n/// Responsive spacing\n///\n/// Adds responsive spacing (either padding or margin, depending on `$property`)\n/// by fetching a \'spacing map\' from the responsive spacing scale, which defines\n/// different spacing values at different breakpoints.\n///\n/// To generate responsive spacing, use \'govuk-responsive-margin\' or\n/// \'govuk-responsive-padding\' mixins\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $property - Property to add spacing to (e.g. \'margin\')\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @access private\n\n@mixin _govuk-responsive-spacing($responsive-spacing-point, $property, $direction: "all", $important: false, $adjustment: false) {\n\n $actual-input-type: type-of($responsive-spacing-point);\n @if $actual-input-type != "number" {\n @error "Expected a number (integer), but got a " + "#{$actual-input-type}.";\n }\n\n @if not map-has-key($govuk-spacing-responsive-scale, $responsive-spacing-point) {\n @error "Unknown spacing point `#{$responsive-spacing-point}`. Make sure you are using a point from the "\n + "responsive spacing scale in `_settings/spacing.scss`.";\n }\n\n // Make sure that the return value from `_settings/spacing.scss` is a map.\n $scale-map: map-get($govuk-spacing-responsive-scale, $responsive-spacing-point);\n $actual-map-type: type-of($scale-map);\n @if $actual-map-type != "map" {\n @error "Expected a number (integer), but got a "\n + "#{$actual-map-type}. Make sure you are using a map to set the responsive spacing in `_settings/spacing.scss`)";\n }\n\n // Loop through each breakpoint in the map\n @each $breakpoint, $breakpoint-value in $scale-map {\n\n @if $adjustment {\n $breakpoint-value: $breakpoint-value + $adjustment;\n }\n\n // The \'null\' breakpoint is for mobile.\n @if not $breakpoint {\n\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n } @else {\n @include govuk-media-query($from: $breakpoint) {\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n }\n }\n }\n}\n\n/// Responsive margin\n///\n/// Adds responsive margin by fetching a \'spacing map\' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-margin(6, "left", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-margin($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, "margin", $direction, $important, $adjustment);\n}\n\n/// Responsive padding\n///\n/// Adds responsive padding by fetching a \'spacing map\' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-padding(6, "left", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-padding($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, "padding", $direction, $important, $adjustment);\n}\n\n/*# sourceMappingURL=_spacing.scss.map */',"// mq() v4.0.2\n// sass-mq/sass-mq\n\n@charset \"UTF-8\"; // Fixes an issue where Ruby locale is not set properly\n // See https://github.com/sass-mq/sass-mq/pull/10\n\n/// Base font size on the `` element\n/// @type Number (unit)\n$mq-base-font-size: 16px !default;\n\n/// Responsive mode\n///\n/// Set to `false` to enable support for browsers that do not support @media queries,\n/// (IE <= 8, Firefox <= 3, Opera <= 9)\n///\n/// You could create a stylesheet served exclusively to older browsers,\n/// where @media queries are rasterized\n///\n/// @example scss\n/// // old-ie.scss\n/// $mq-responsive: false;\n/// @import 'main'; // @media queries in this file will be rasterized up to $mq-static-breakpoint\n/// // larger breakpoints will be ignored\n///\n/// @type Boolean\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-off Disabled responsive mode documentation\n$mq-responsive: true !default;\n\n/// Breakpoint list\n///\n/// Name your breakpoints in a way that creates a ubiquitous language\n/// across team members. It will improve communication between\n/// stakeholders, designers, developers, and testers.\n///\n/// @type Map\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint Full documentation and examples\n$mq-breakpoints: (\n mobile: 320px,\n tablet: 740px,\n desktop: 980px,\n wide: 1300px\n) !default;\n\n/// Static breakpoint (for fixed-width layouts)\n///\n/// Define the breakpoint from $mq-breakpoints that should\n/// be used as the target width for the fixed-width layout\n/// (i.e. when $mq-responsive is set to 'false') in a old-ie.scss\n///\n/// @example scss\n/// // tablet-only.scss\n/// //\n/// // Ignore all styles above tablet breakpoint,\n/// // and fix the styles (e.g. layout) at tablet width\n/// $mq-responsive: false;\n/// $mq-static-breakpoint: tablet;\n/// @import 'main'; // @media queries in this file will be rasterized up to tablet\n/// // larger breakpoints will be ignored\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#adding-custom-breakpoints Full documentation and examples\n$mq-static-breakpoint: desktop !default;\n\n/// Show breakpoints in the top right corner\n///\n/// If you want to display the currently active breakpoint in the top\n/// right corner of your site during development, add the breakpoints\n/// to this list, ordered by width, e.g. (mobile, tablet, desktop).\n///\n/// @type map\n$mq-show-breakpoints: () !default;\n\n/// Customize the media type (e.g. `@media screen` or `@media print`)\n/// By default sass-mq uses an \"all\" media type (`@media all and …`)\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#changing-media-type Full documentation and examples\n$mq-media-type: all !default;\n\n/// Convert pixels to ems\n///\n/// @param {Number} $px - value to convert\n/// @param {Number} $base-font-size ($mq-base-font-size) - `` font size\n///\n/// @example scss\n/// $font-size-in-ems: mq-px2em(16px);\n/// p { font-size: mq-px2em(16px); }\n///\n/// @requires $mq-base-font-size\n/// @returns {Number}\n@function mq-px2em($px, $base-font-size: $mq-base-font-size) {\n @if unitless($px) {\n @warn \"Assuming #{$px} to be in pixels, attempting to convert it into pixels.\";\n @return mq-px2em($px * 1px, $base-font-size);\n } @else if unit($px) == em {\n @return $px;\n }\n @return ($px / $base-font-size) * 1em;\n}\n\n/// Get a breakpoint's width\n///\n/// @param {String} $name - Name of the breakpoint. One of $mq-breakpoints\n///\n/// @example scss\n/// $tablet-width: mq-get-breakpoint-width(tablet);\n/// @media (min-width: mq-get-breakpoint-width(desktop)) {}\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @returns {Number} Value in pixels\n@function mq-get-breakpoint-width($name, $breakpoints: $mq-breakpoints) {\n @if map-has-key($breakpoints, $name) {\n @return map-get($breakpoints, $name);\n } @else {\n @warn \"Breakpoint #{$name} wasn't found in $breakpoints.\";\n }\n}\n\n/// Media Query mixin\n///\n/// @param {String | Boolean} $from (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $until (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $and (false) - Additional media query parameters\n/// @param {String} $media-type ($mq-media-type) - Media type: screen, print…\n///\n/// @ignore Undocumented API, for advanced use only:\n/// @ignore @param {Map} $breakpoints ($mq-breakpoints)\n/// @ignore @param {String} $static-breakpoint ($mq-static-breakpoint)\n///\n/// @content styling rules, wrapped into a @media query when $responsive is true\n///\n/// @requires {Variable} $mq-media-type\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-static-breakpoint\n/// @requires {function} mq-px2em\n/// @requires {function} mq-get-breakpoint-width\n///\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-on-default Full documentation and examples\n///\n/// @example scss\n/// .element {\n/// @include mq($from: mobile) {\n/// color: red;\n/// }\n/// @include mq($until: tablet) {\n/// color: blue;\n/// }\n/// @include mq(mobile, tablet) {\n/// color: green;\n/// }\n/// @include mq($from: tablet, $and: '(orientation: landscape)') {\n/// color: teal;\n/// }\n/// @include mq(950px) {\n/// color: hotpink;\n/// }\n/// @include mq(tablet, $media-type: screen) {\n/// color: hotpink;\n/// }\n/// // Advanced use:\n/// $my-breakpoints: (L: 900px, XL: 1200px);\n/// @include mq(L, $breakpoints: $my-breakpoints, $static-breakpoint: L) {\n/// color: hotpink;\n/// }\n/// }\n@mixin mq(\n $from: false,\n $until: false,\n $and: false,\n $media-type: $mq-media-type,\n $breakpoints: $mq-breakpoints,\n $responsive: $mq-responsive,\n $static-breakpoint: $mq-static-breakpoint\n) {\n $min-width: 0;\n $max-width: 0;\n $media-query: '';\n\n // From: this breakpoint (inclusive)\n @if $from {\n @if type-of($from) == number {\n $min-width: mq-px2em($from);\n } @else {\n $min-width: mq-px2em(mq-get-breakpoint-width($from, $breakpoints));\n }\n }\n\n // Until: that breakpoint (exclusive)\n @if $until {\n @if type-of($until) == number {\n $max-width: mq-px2em($until);\n } @else {\n $max-width: mq-px2em(mq-get-breakpoint-width($until, $breakpoints)) - .01em;\n }\n }\n\n // Responsive support is disabled, rasterize the output outside @media blocks\n // The browser will rely on the cascade itself.\n @if $responsive == false {\n $static-breakpoint-width: mq-get-breakpoint-width($static-breakpoint, $breakpoints);\n $target-width: mq-px2em($static-breakpoint-width);\n\n // Output only rules that start at or span our target width\n @if (\n $and == false\n and $min-width <= $target-width\n and (\n $until == false or $max-width >= $target-width\n )\n and $media-type != 'print'\n ) {\n @content;\n }\n }\n\n // Responsive support is enabled, output rules inside @media queries\n @else {\n @if $min-width != 0 { $media-query: '#{$media-query} and (min-width: #{$min-width})'; }\n @if $max-width != 0 { $media-query: '#{$media-query} and (max-width: #{$max-width})'; }\n @if $and { $media-query: '#{$media-query} and #{$and}'; }\n\n // Remove unnecessary media query prefix 'all and '\n @if ($media-type == 'all' and $media-query != '') {\n $media-type: '';\n $media-query: str-slice(unquote($media-query), 6);\n }\n\n @media #{$media-type + $media-query} {\n @content;\n }\n }\n}\n\n/// Quick sort\n///\n/// @author Sam Richards\n/// @access private\n/// @param {List} $list - List to sort\n/// @returns {List} Sorted List\n@function _mq-quick-sort($list) {\n $less: ();\n $equal: ();\n $large: ();\n\n @if length($list) > 1 {\n $seed: nth($list, ceil(length($list) / 2));\n\n @each $item in $list {\n @if ($item == $seed) {\n $equal: append($equal, $item);\n } @else if ($item < $seed) {\n $less: append($less, $item);\n } @else if ($item > $seed) {\n $large: append($large, $item);\n }\n }\n\n @return join(join(_mq-quick-sort($less), $equal), _mq-quick-sort($large));\n }\n\n @return $list;\n}\n\n/// Sort a map by values (works with numbers only)\n///\n/// @access private\n/// @param {Map} $map - Map to sort\n/// @returns {Map} Map sorted by value\n@function _mq-map-sort-by-value($map) {\n $map-sorted: ();\n $map-keys: map-keys($map);\n $map-values: map-values($map);\n $map-values-sorted: _mq-quick-sort($map-values);\n\n // Reorder key/value pairs based on key values\n @each $value in $map-values-sorted {\n $index: index($map-values, $value);\n $key: nth($map-keys, $index);\n $map-sorted: map-merge($map-sorted, ($key: $value));\n\n // Unset the value in $map-values to prevent the loop\n // from finding the same index twice\n $map-values: set-nth($map-values, $index, 0);\n }\n\n @return $map-sorted;\n}\n\n/// Add a breakpoint\n///\n/// @param {String} $name - Name of the breakpoint\n/// @param {Number} $width - Width of the breakpoint\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @example scss\n/// @include mq-add-breakpoint(tvscreen, 1920px);\n/// @include mq(tvscreen) {}\n@mixin mq-add-breakpoint($name, $width) {\n $new-breakpoint: ($name: $width);\n $mq-breakpoints: map-merge($mq-breakpoints, $new-breakpoint) !global;\n $mq-breakpoints: _mq-map-sort-by-value($mq-breakpoints) !global;\n}\n\n/// Show the active breakpoint in the top right corner of the viewport\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint\n///\n/// @param {List} $show-breakpoints ($mq-show-breakpoints) - List of breakpoints to show in the top right corner\n/// @param {Map} $breakpoints ($mq-breakpoints) - Breakpoint names and sizes\n///\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-show-breakpoints\n///\n/// @example scss\n/// // Show breakpoints using global settings\n/// @include mq-show-breakpoints;\n///\n/// // Show breakpoints using custom settings\n/// @include mq-show-breakpoints((L, XL), (S: 300px, L: 800px, XL: 1200px));\n@mixin mq-show-breakpoints($show-breakpoints: $mq-show-breakpoints, $breakpoints: $mq-breakpoints) {\n body:before {\n background-color: #FCF8E3;\n border-bottom: 1px solid #FBEED5;\n border-left: 1px solid #FBEED5;\n color: #C09853;\n font: small-caption;\n padding: 3px 6px;\n pointer-events: none;\n position: fixed;\n right: 0;\n top: 0;\n z-index: 100;\n\n // Loop through the breakpoints that should be shown\n @each $show-breakpoint in $show-breakpoints {\n $width: mq-get-breakpoint-width($show-breakpoint, $breakpoints);\n @include mq($show-breakpoint, $breakpoints: $breakpoints) {\n content: \"#{$show-breakpoint} ≥ #{$width} (#{mq-px2em($width)})\";\n }\n }\n }\n}\n\n@if length($mq-show-breakpoints) > 0 {\n @include mq-show-breakpoints;\n}\n\n/*# sourceMappingURL=_sass-mq.scss.map */",'////\n/// @group settings/colours\n////\n\n@import "../helpers/colour";\n\n// =========================================================\n// Generic\n// =========================================================\n\n/// Brand colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-brand-colour: govuk-colour("blue") !default;\n\n/// Text colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-text-colour: govuk-colour("black") !default;\n\n/// Canvas background colour\n///\n/// Used by the footer component and template to give the illusion of a long\n/// footer.\n///\n/// @type Colour\n/// @access public\n\n$govuk-canvas-background-colour: govuk-colour("light-grey", $legacy: "grey-3") !default;\n\n/// Body background colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-body-background-colour: govuk-colour("white") !default;\n\n/// Text colour for print media\n///\n/// Use \'true black\' to avoid printers using colour ink to print body text\n///\n/// @type Colour\n/// @access public\n\n$govuk-print-text-colour: #000000 !default;\n\n/// Secondary text colour\n///\n/// Used in for example \'muted\' text and help text.\n///\n/// @type Colour\n/// @access public\n\n$govuk-secondary-text-colour: govuk-colour("dark-grey", $legacy: "grey-1") !default;\n\n/// Focus colour\n///\n/// Used for outline (and background, where appropriate) when interactive\n/// elements (links, form controls) have keyboard focus.\n///\n/// @type Colour\n/// @access public\n\n$govuk-focus-colour: govuk-colour("yellow") !default;\n\n/// Focused text colour\n///\n/// Ensure that the contrast between the text and background colour passes\n/// WCAG Level AA contrast requirements.\n///\n/// @type Colour\n/// @access public\n\n$govuk-focus-text-colour: govuk-colour("black") !default;\n\n/// Error colour\n///\n/// Used to highlight error messages and form controls in an error state\n///\n/// @type Colour\n/// @access public\n\n$govuk-error-colour: govuk-colour("red") !default;\n\n/// Success colour\n///\n/// Used to highlight success messages and banners\n///\n/// @type Colour\n/// @access public\n\n$govuk-success-colour: govuk-colour("green") !default;\n\n/// Border colour\n///\n/// Used in for example borders, separators, rules and keylines.\n///\n/// @type Colour\n/// @access public\n\n$govuk-border-colour: govuk-colour("mid-grey", $legacy: "grey-2");\n\n/// Input border colour\n///\n/// Used for form inputs and controls\n///\n/// @type Colour\n/// @access public\n\n$govuk-input-border-colour: govuk-colour("black") !default;\n\n/// Input hover colour\n///\n/// Used for hover states on form controls\n///\n/// @type Colour\n/// @access public\n\n$govuk-hover-colour: govuk-colour("mid-grey", $legacy: "grey-3");\n\n// =============================================================================\n// Links\n// =============================================================================\n\n/// Link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-colour: govuk-colour("blue") !default;\n\n/// Visited link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-visited-colour: govuk-colour("purple", $legacy: #4c2c92) !default;\n\n/// Link hover colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-hover-colour: govuk-colour("dark-blue", $legacy: "light-blue") !default;\n\n/// Active link colour\n///\n/// @type Colour\n/// @access public\n\n$govuk-link-active-colour: govuk-colour("black", $legacy: "light-blue") !default;\n\n/*# sourceMappingURL=_colours-applied.scss.map */'],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/runtime/api.js":module=>{module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content="",needLayer=void 0!==item[5];return item[4]&&(content+="@supports (".concat(item[4],") {")),item[2]&&(content+="@media ".concat(item[2]," {")),needLayer&&(content+="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {")),content+=cssWithMappingToString(item),needLayer&&(content+="}"),item[2]&&(content+="}"),item[4]&&(content+="}"),content})).join("")},list.i=function i(modules,media,dedupe,supports,layer){"string"==typeof modules&&(modules=[[null,modules,void 0]]);var alreadyImportedModules={};if(dedupe)for(var k=0;k0?" ".concat(item[5]):""," {").concat(item[1],"}")),item[5]=layer),media&&(item[2]?(item[1]="@media ".concat(item[2]," {").concat(item[1],"}"),item[2]=media):item[2]=media),supports&&(item[4]?(item[1]="@supports (".concat(item[4],") {").concat(item[1],"}"),item[4]=supports):item[4]="".concat(supports)),list.push(item))}},list}},"./node_modules/css-loader/dist/runtime/sourceMaps.js":module=>{module.exports=function(item){var content=item[1],cssMapping=item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */");return[content].concat([sourceMapping]).join("\n")}return[content].join("\n")}},"./src/nationalarchives/components/card/_index.scss":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[14].use[2]!./src/nationalarchives/components/card/_index.scss"),options={};options.styleTagTransform=_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(),options.setAttributes=_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(),options.insert=_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null,"head"),options.domAPI=_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(),options.insertStyleElement=_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default();_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A,options),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_14_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":module=>{var stylesInDOM=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i{var memo={};module.exports=function insertBySelector(insert,style){var target=function getTarget(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}(insert);if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}},"./node_modules/style-loader/dist/runtime/insertStyleElement.js":module=>{module.exports=function insertStyleElement(options){var element=document.createElement("style");return options.setAttributes(element,options.attributes),options.insert(element,options.options),element}},"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=function setAttributesWithoutAttributes(styleElement){var nonce=__webpack_require__.nc;nonce&&styleElement.setAttribute("nonce",nonce)}},"./node_modules/style-loader/dist/runtime/styleDomAPI.js":module=>{module.exports=function domAPI(options){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var styleElement=options.insertStyleElement(options);return{update:function update(obj){!function apply(styleElement,options,obj){var css="";obj.supports&&(css+="@supports (".concat(obj.supports,") {")),obj.media&&(css+="@media ".concat(obj.media," {"));var needLayer=void 0!==obj.layer;needLayer&&(css+="@layer".concat(obj.layer.length>0?" ".concat(obj.layer):""," {")),css+=obj.css,needLayer&&(css+="}"),obj.media&&(css+="}"),obj.supports&&(css+="}");var sourceMap=obj.sourceMap;sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),options.styleTagTransform(css,styleElement,options.options)}(styleElement,options,obj)},remove:function remove(){!function removeStyleElement(styleElement){if(null===styleElement.parentNode)return!1;styleElement.parentNode.removeChild(styleElement)}(styleElement)}}}},"./node_modules/style-loader/dist/runtime/styleTagTransform.js":module=>{module.exports=function styleTagTransform(css,styleElement){if(styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}}}]); \ No newline at end of file diff --git a/478.489c6547.iframe.bundle.js b/989.db5d1cf3.iframe.bundle.js similarity index 99% rename from 478.489c6547.iframe.bundle.js rename to 989.db5d1cf3.iframe.bundle.js index d6c5820..d9cd3e5 100644 --- a/478.489c6547.iframe.bundle.js +++ b/989.db5d1cf3.iframe.bundle.js @@ -1,5 +1,5 @@ -/*! For license information please see 478.489c6547.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunk_nationalarchives_tdr_components=self.webpackChunk_nationalarchives_tdr_components||[]).push([[478],{"./node_modules/@storybook/addon-a11y/dist/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);var activeStoryId,_storybook_global__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/global"),_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/preview-api"),ADDON_ID="storybook/a11y",EVENTS={RESULT:`${ADDON_ID}/result`,REQUEST:`${ADDON_ID}/request`,RUNNING:`${ADDON_ID}/running`,ERROR:`${ADDON_ID}/error`,MANUAL:`${ADDON_ID}/manual`},{document}=_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global,channel=_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__.addons.getChannel(),active=!1,defaultParameters={config:{},options:{}},run=async(storyId,input=defaultParameters)=>{activeStoryId=storyId;try{if(!active){active=!0,channel.emit(EVENTS.RUNNING);let axe=(await __webpack_require__.e(609).then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/axe-core/axe.js",23))).default,{element="#storybook-root",config,options={}}=input,htmlElement=document.querySelector(element);if(!htmlElement)return;axe.reset(),config&&axe.configure(config);let result=await axe.run(htmlElement,options),resultJson=JSON.parse(JSON.stringify(result));activeStoryId===storyId?channel.emit(EVENTS.RESULT,resultJson):(active=!1,run(activeStoryId))}}catch(error){channel.emit(EVENTS.ERROR,error)}finally{active=!1}};channel.on(EVENTS.REQUEST,(async(storyId,input=defaultParameters)=>{input?.manual||await run(storyId,input)})),channel.on(EVENTS.MANUAL,run)},"./node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty},"./node_modules/@storybook/addon-essentials/dist/actions/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argsEnhancers:()=>argsEnhancers,loaders:()=>loaders,tinySpyInternalState:()=>tinySpyInternalState});const esm_browser_native={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let i=0;i<256;++i)byteToHex.push((i+256).toString(16).slice(1));function unsafeStringify(arr,offset=0){return byteToHex[arr[offset+0]]+byteToHex[arr[offset+1]]+byteToHex[arr[offset+2]]+byteToHex[arr[offset+3]]+"-"+byteToHex[arr[offset+4]]+byteToHex[arr[offset+5]]+"-"+byteToHex[arr[offset+6]]+byteToHex[arr[offset+7]]+"-"+byteToHex[arr[offset+8]]+byteToHex[arr[offset+9]]+"-"+byteToHex[arr[offset+10]]+byteToHex[arr[offset+11]]+byteToHex[arr[offset+12]]+byteToHex[arr[offset+13]]+byteToHex[arr[offset+14]]+byteToHex[arr[offset+15]]}const esm_browser_v4=function v4(options,buf,offset){if(esm_browser_native.randomUUID&&!buf&&!options)return esm_browser_native.randomUUID();const rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf){offset=offset||0;for(let i=0;i<16;++i)buf[offset+i]=rnds[i];return buf}return unsafeStringify(rnds)};var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_=__webpack_require__("@storybook/core-events/preview-errors"),config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a};function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.ImplicitActionsDuringRendering({phase:storyRenderer.phase,name,deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?esm_browser_v4():Date.now().toString(36)+Math.random().toString(36).substring(2),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit("storybook/actions/action-event",actionDisplayToEmit)};return handler.isAction=!0,handler.implicit=options.implicit,handler}var isInInitialArgs=(name,initialArgs)=>typeof initialArgs[name]>"u"&&!(name in initialArgs),argsEnhancers=[context=>{let{initialArgs,argTypes,parameters:{actions}}=context;return actions?.disable||!argTypes?{}:Object.entries(argTypes).filter((([name,argType])=>!!argType.action)).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action("string"==typeof argType.action?argType.action:name)),acc)),{})},context=>{let{initialArgs,argTypes,id,parameters:{actions}}=context;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return{};let argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter((([name])=>!!argTypesRegex.test(name))).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(name,{implicit:!0,id})),acc)),{})}],tinySpyInternalState=Symbol.for("tinyspy:spy"),loaders=[context=>{let{args,parameters:{actions}}=context;actions?.disable||Object.entries(args).filter((([,value])=>"function"==typeof value&&"_isMockFunction"in value&&value._isMockFunction)).forEach((([key,value])=>{let previous=value.getMockImplementation()??(tinySpyInternalState in value?value[tinySpyInternalState]?.getOriginal():void 0);if(!0!==previous?._actionAttached&&!0!==previous?.isAction){let implementation=(...params)=>(action(key)(...params),previous?.(...params));implementation._actionAttached=!0,value.mockImplementation(implementation)}}))}]},"./node_modules/@storybook/addon-essentials/dist/backgrounds/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals,parameters:()=>parameters});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),PARAM_KEY="backgrounds",{document:preview_document,window:preview_window}=external_STORYBOOK_MODULE_GLOBAL_.global,clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=selector=>{let element=preview_document.getElementById(selector);element&&element.parentElement?.removeChild(element)},decorators=[(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2.backgrounds.grid,isActive=!0===globals2.backgrounds?.grid&&!0!==gridParameters.disable,{cellAmount,cellSize,opacity}=gridParameters,isInDocs="docs"===context.viewMode,defaultOffset=void 0===parameters2.layout||"padded"===parameters2.layout?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${"docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main"} {\n background-size: ${[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(", ")} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `),[cellSize]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-grid-docs-${context.id}`:"addon-backgrounds-grid";isActive?((selector,css)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,preview_document.head.appendChild(style)}})(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2.backgrounds?.value,backgroundsConfig=parameters2.backgrounds,selectedBackgroundColor=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>backgroundsConfig.disable?"transparent":((currentSelectedValue,backgrounds=[],defaultName)=>{if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((background=>background.value===currentSelectedValue)))return currentSelectedValue;let defaultBackground=backgrounds.find((background=>background.name===defaultName));if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map((background=>background.name)).join(", ");external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(esm.T` +/*! For license information please see 989.db5d1cf3.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_nationalarchives_tdr_components=self.webpackChunk_nationalarchives_tdr_components||[]).push([[989],{"./node_modules/@storybook/addon-a11y/dist/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);var activeStoryId,_storybook_global__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/global"),_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/preview-api"),ADDON_ID="storybook/a11y",EVENTS={RESULT:`${ADDON_ID}/result`,REQUEST:`${ADDON_ID}/request`,RUNNING:`${ADDON_ID}/running`,ERROR:`${ADDON_ID}/error`,MANUAL:`${ADDON_ID}/manual`},{document}=_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global,channel=_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__.addons.getChannel(),active=!1,defaultParameters={config:{},options:{}},run=async(storyId,input=defaultParameters)=>{activeStoryId=storyId;try{if(!active){active=!0,channel.emit(EVENTS.RUNNING);let axe=(await __webpack_require__.e(609).then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/axe-core/axe.js",23))).default,{element="#storybook-root",config,options={}}=input,htmlElement=document.querySelector(element);if(!htmlElement)return;axe.reset(),config&&axe.configure(config);let result=await axe.run(htmlElement,options),resultJson=JSON.parse(JSON.stringify(result));activeStoryId===storyId?channel.emit(EVENTS.RESULT,resultJson):(active=!1,run(activeStoryId))}}catch(error){channel.emit(EVENTS.ERROR,error)}finally{active=!1}};channel.on(EVENTS.REQUEST,(async(storyId,input=defaultParameters)=>{input?.manual||await run(storyId,input)})),channel.on(EVENTS.MANUAL,run)},"./node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty},"./node_modules/@storybook/addon-essentials/dist/actions/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argsEnhancers:()=>argsEnhancers,loaders:()=>loaders,tinySpyInternalState:()=>tinySpyInternalState});const esm_browser_native={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let i=0;i<256;++i)byteToHex.push((i+256).toString(16).slice(1));function unsafeStringify(arr,offset=0){return byteToHex[arr[offset+0]]+byteToHex[arr[offset+1]]+byteToHex[arr[offset+2]]+byteToHex[arr[offset+3]]+"-"+byteToHex[arr[offset+4]]+byteToHex[arr[offset+5]]+"-"+byteToHex[arr[offset+6]]+byteToHex[arr[offset+7]]+"-"+byteToHex[arr[offset+8]]+byteToHex[arr[offset+9]]+"-"+byteToHex[arr[offset+10]]+byteToHex[arr[offset+11]]+byteToHex[arr[offset+12]]+byteToHex[arr[offset+13]]+byteToHex[arr[offset+14]]+byteToHex[arr[offset+15]]}const esm_browser_v4=function v4(options,buf,offset){if(esm_browser_native.randomUUID&&!buf&&!options)return esm_browser_native.randomUUID();const rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf){offset=offset||0;for(let i=0;i<16;++i)buf[offset+i]=rnds[i];return buf}return unsafeStringify(rnds)};var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_=__webpack_require__("@storybook/core-events/preview-errors"),config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a};function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.ImplicitActionsDuringRendering({phase:storyRenderer.phase,name,deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?esm_browser_v4():Date.now().toString(36)+Math.random().toString(36).substring(2),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit("storybook/actions/action-event",actionDisplayToEmit)};return handler.isAction=!0,handler.implicit=options.implicit,handler}var isInInitialArgs=(name,initialArgs)=>typeof initialArgs[name]>"u"&&!(name in initialArgs),argsEnhancers=[context=>{let{initialArgs,argTypes,parameters:{actions}}=context;return actions?.disable||!argTypes?{}:Object.entries(argTypes).filter((([name,argType])=>!!argType.action)).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action("string"==typeof argType.action?argType.action:name)),acc)),{})},context=>{let{initialArgs,argTypes,id,parameters:{actions}}=context;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return{};let argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter((([name])=>!!argTypesRegex.test(name))).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(name,{implicit:!0,id})),acc)),{})}],tinySpyInternalState=Symbol.for("tinyspy:spy"),loaders=[context=>{let{args,parameters:{actions}}=context;actions?.disable||Object.entries(args).filter((([,value])=>"function"==typeof value&&"_isMockFunction"in value&&value._isMockFunction)).forEach((([key,value])=>{let previous=value.getMockImplementation()??(tinySpyInternalState in value?value[tinySpyInternalState]?.getOriginal():void 0);if(!0!==previous?._actionAttached&&!0!==previous?.isAction){let implementation=(...params)=>(action(key)(...params),previous?.(...params));implementation._actionAttached=!0,value.mockImplementation(implementation)}}))}]},"./node_modules/@storybook/addon-essentials/dist/backgrounds/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals,parameters:()=>parameters});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),PARAM_KEY="backgrounds",{document:preview_document,window:preview_window}=external_STORYBOOK_MODULE_GLOBAL_.global,clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=selector=>{let element=preview_document.getElementById(selector);element&&element.parentElement?.removeChild(element)},decorators=[(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2.backgrounds.grid,isActive=!0===globals2.backgrounds?.grid&&!0!==gridParameters.disable,{cellAmount,cellSize,opacity}=gridParameters,isInDocs="docs"===context.viewMode,defaultOffset=void 0===parameters2.layout||"padded"===parameters2.layout?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${"docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main"} {\n background-size: ${[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(", ")} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `),[cellSize]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-grid-docs-${context.id}`:"addon-backgrounds-grid";isActive?((selector,css)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,preview_document.head.appendChild(style)}})(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2.backgrounds?.value,backgroundsConfig=parameters2.backgrounds,selectedBackgroundColor=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>backgroundsConfig.disable?"transparent":((currentSelectedValue,backgrounds=[],defaultName)=>{if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((background=>background.value===currentSelectedValue)))return currentSelectedValue;let defaultBackground=backgrounds.find((background=>background.name===defaultName));if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map((background=>background.name)).join(", ");external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(esm.T` Backgrounds Addon: could not find the default color "${defaultName}". These are the available colors for your story based on your configuration: ${availableColors}. @@ -407,5 +407,5 @@ `})}var parameters={renderer:"html"}},"./node_modules/@storybook/instrumenter/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{wV:()=>instrument});var _storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/preview-api"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/client-logger"),_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("@storybook/core-events"),_storybook_global__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("@storybook/global"),process=__webpack_require__("./node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("./node_modules/@storybook/instrumenter/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_ansi_styles=__commonJS({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches)return[0,0,0];let{colorString}=matches.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value[0],config,indentationNext,depth,refs)+separator+printer(current.value[1],config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value,config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config,indentation,depth,refs,printer){let result="";if(list.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys.push(symbol)})),keys})(val,config.compareKeys);if(keys.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config.maxDepth?`[${name}]`:(config.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys,props,config,indentation,depth,refs,printer)=>{let indentationNext=indentation+config.indent,colors=config.colors;return keys.map((key=>{let value=props[key],printed=printer(value,config,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config.spacingOuter+indentationNext+printed+config.spacingOuter+indentation),printed=`{${printed}}`),`${config.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config,indentation,depth,refs,printer)=>children.map((child=>config.spacingOuter+indentation+("string"==typeof child?printText(child,config):printer(child,config,indentation,depth,refs)))).join("");var printText=(text,config)=>{let contentColor=config.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText;exports.printComment=(comment,config)=>{let commentColor=config.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type,printedProps,printedChildren,config,indentation)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${printedProps&&tagColor.close+printedProps+config.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type,config)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config);if(function nodeIsComment(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config);let type=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(type,config):(0,_markup.printElement)(type,(0,_markup.printProps)(nodeIsFragment(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config,indentation+config.indent,depth,refs,printer),config,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}[${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}]`,serialize=(val,config,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer)}}`)(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer):"…"}]`})(val,config,indentation,depth,refs,printer):((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type){return!("string"!=typeof type&&"function"!=typeof type&&type!==REACT_FRAGMENT_TYPE&&type!==REACT_PROFILER_TYPE&&type!==REACT_STRICT_MODE_TYPE&&type!==REACT_SUSPENSE_TYPE&&type!==REACT_SUSPENSE_LIST_TYPE&&type!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type||null===type||type.$$typeof!==REACT_LAZY_TYPE&&type.$$typeof!==REACT_MEMO_TYPE&&type.$$typeof!==REACT_PROVIDER_TYPE&&type.$$typeof!==REACT_CONTEXT_TYPE&&type.$$typeof!==REACT_FORWARD_REF_TYPE&&type.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module){module.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type=element.type;if("string"==typeof type)return type;if("function"==typeof type)return type.displayName||type.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type&&null!==type){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type.displayName)return type.displayName;let functionName=type.render.displayName||type.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type.displayName||type.type.displayName||type.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config,indentation+config.indent,depth,refs,printer),config,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config,indentation+config.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config,indentation+config.indent,depth,refs,printer):"",config,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format3,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config.maxDepth,min=config.min;if(config.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config,indentation,depth,refs)),(str=>{let indentationNext=indentation+config.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config.spacingOuter,min:config.min,spacing:config.spacingInner},config.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins4,val){for(let p=0;pDEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format3(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig(options),"",0,[])}var plugins3={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins3;var _default=format3;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d{let iR=0,kR=d,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d-1),kMaxOverlapF=d-1-baDeltaLength,aIndexPrev1=0,nF=d{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d,kMaxOverlapR=baDeltaLength+d,aIndexPrev1=0,nR=d{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d=1;d<=dMax;d+=1)if(iMaxF=extendPathsF(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type=typeof arg;if("function"!==type)throw new TypeError(`${pkg}: ${name} typeof ${type} is not a function`)}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module){var global2,factory;global2=exports,factory=function(exports2){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat(truncator,"(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},hex=16,unicodeLength=4;function escape(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat(truncator,"(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type=null===value?"null":_typeof(value);if("object"===type&&(type=toString$1.call(value).slice(8,-1)),baseTypesMap[type])return baseTypesMap[type](value,options);if(customInspect&&value){var output=function(value,options,type){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type]?stringTagMap[type](value,options):""}(value,options,type);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),import_pretty_format=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1),SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getType(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}},NO_DIFF_MESSAGE="Compared values have no visual difference.",SIMILAR_MESSAGE="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b)}\n\n`}(options,function countChanges(diffs){let a=0,b=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b+=1}})),{a,b}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher],FORMAT_OPTIONS={plugins:PLUGINS},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS};function diff(a,b,options){if(Object.is(a,b))return"";let aType=getType(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType(b)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b,options){let aFormat=(0,import_pretty_format.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format.format)(b,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b,options);case"map":return compareObjects(sortMap(a),sortMap(b),options);case"set":return compareObjects(sortSet(a),sortSet(b),options);default:return compareObjects(a,b,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format.format)(b,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}var import_pretty_format2=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format2.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format2.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}catch{result=(0,import_pretty_format2.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}function getType2(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var IS_RECORD_SYMBOL="@@__IMMUTABLE_RECORD__@@",IS_COLLECTION_SYMBOL="@@__IMMUTABLE_ITERABLE__@@";var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v){return v&&(v[IS_COLLECTION_SYMBOL]||v[IS_RECORD_SYMBOL])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format2(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m=err.message;if(m.includes("circular structure")||m.includes("cyclic structures")||m.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType2(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType2(obj1);return obj1Type===getType2(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var CallStates2,CallStates=((CallStates2=CallStates||{}).DONE="done",CallStates2.ERROR="error",CallStates2.ACTIVE="active",CallStates2.WAITING="waiting",CallStates2),EVENTS_CALL="storybook/instrumenter/call",EVENTS_SYNC="storybook/instrumenter/sync",EVENTS_START="storybook/instrumenter/start",EVENTS_BACK="storybook/instrumenter/back",EVENTS_GOTO="storybook/instrumenter/goto",EVENTS_NEXT="storybook/instrumenter/next",EVENTS_END="storybook/instrumenter/end",controlsDisabled={start:!1,back:!1,goto:!1,next:!1,end:!1},alreadyCompletedException=new Error("This function ran after the play function completed. Did you forget to `await` it?"),isObject=o=>"[object Object]"===Object.prototype.toString.call(o),isInstrumentable=o=>{if(!isObject(o)&&!(o=>"[object Module]"===Object.prototype.toString.call(o))(o))return!1;if(void 0===o.constructor)return!0;let proto=o.constructor.prototype;return!!isObject(proto)},getInitialState=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),getRetainedState=(state,isDebugging=!1)=>{let calls=(isDebugging?state.shadowCalls:state.calls).filter((call=>call.retain));if(!calls.length)return;let callRefsByResult=new Map(Array.from(state.callRefsByResult.entries()).filter((([,ref])=>ref.retain)));return{cursor:calls.length,calls,callRefsByResult}},Instrumenter=class{constructor(){this.initialized=!1,this.channel=_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__.addons.getChannel(),this.state=_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let resetState=({storyId,isPlaying=!0,isDebugging=!1})=>{let state=this.getState(storyId);this.setState(storyId,{...getInitialState(),...getRetainedState(state,isDebugging),shadowCalls:isDebugging?state.shadowCalls:[],chainedCallIds:isDebugging?state.chainedCallIds:new Set,playUntil:isDebugging?state.playUntil:void 0,isPlaying,isDebugging}),this.sync(storyId)};this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,resetState),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.STORY_RENDER_PHASE_CHANGED,(({storyId,newPhase})=>{let{isDebugging}=this.getState(storyId);this.setState(storyId,{renderPhase:newPhase}),"preparing"===newPhase&&isDebugging&&resetState({storyId}),"playing"===newPhase&&resetState({storyId,isDebugging}),"played"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1,isDebugging:!1}),"errored"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1})})),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.SET_CURRENT_STORY,(()=>{this.initialized?this.cleanup():this.initialized=!0}));let start=({storyId,playUntil})=>{this.getState(storyId).isDebugging||this.setState(storyId,(({calls})=>({calls:[],shadowCalls:calls.map((call=>({...call,status:"waiting"}))),isDebugging:!0})));let log=this.getLog(storyId);this.setState(storyId,(({shadowCalls})=>{if(playUntil||!log.length)return{playUntil};let firstRowIndex=shadowCalls.findIndex((call=>call.id===log[0].callId));return{playUntil:shadowCalls.slice(0,firstRowIndex).filter((call=>call.interceptable&&!call.ancestors.length)).slice(-1)[0]?.id}})),this.channel.emit(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,{storyId,isDebugging:!0})},end=({storyId})=>{this.setState(storyId,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(storyId).resolvers).forEach((resolve=>resolve()))};this.channel.on(EVENTS_START,start),this.channel.on(EVENTS_BACK,(({storyId})=>{let log=this.getLog(storyId).filter((call=>!call.ancestors.length)),last=log.reduceRight(((res,item,index)=>res>=0||"waiting"===item.status?res:index),-1);start({storyId,playUntil:log[last-1]?.callId})})),this.channel.on(EVENTS_GOTO,(({storyId,callId})=>{let{calls,shadowCalls,resolvers}=this.getState(storyId),call=calls.find((({id})=>id===callId)),shadowCall=shadowCalls.find((({id})=>id===callId));if(!call&&shadowCall&&Object.values(resolvers).length>0){let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;shadowCall.id!==nextId&&this.setState(storyId,{playUntil:shadowCall.id}),Object.values(resolvers).forEach((resolve=>resolve()))}else start({storyId,playUntil:callId})})),this.channel.on(EVENTS_NEXT,(({storyId})=>{let{resolvers}=this.getState(storyId);if(Object.values(resolvers).length>0)Object.values(resolvers).forEach((resolve=>resolve()));else{let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;nextId?start({storyId,playUntil:nextId}):end({storyId})}})),this.channel.on(EVENTS_END,end)}getState(storyId){return this.state[storyId]||getInitialState()}setState(storyId,update){let state=this.getState(storyId),patch="function"==typeof update?update(state):update;this.state={...this.state,[storyId]:{...state,...patch}},_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}cleanup(){this.state=Object.entries(this.state).reduce(((acc,[storyId,state])=>{let retainedState=getRetainedState(state);return retainedState&&(acc[storyId]=Object.assign(getInitialState(),retainedState)),acc}),{});let payload={controlStates:controlsDisabled,logItems:[]};this.channel.emit(EVENTS_SYNC,payload),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}getLog(storyId){let{calls,shadowCalls}=this.getState(storyId),merged=[...shadowCalls];calls.forEach(((call,index)=>{merged[index]=call}));let seen=new Set;return merged.reduceRight(((acc,call)=>(call.args.forEach((arg=>{arg?.__callId__&&seen.add(arg.__callId__)})),call.path.forEach((node=>{node.__callId__&&seen.add(node.__callId__)})),(call.interceptable||call.exception)&&!seen.has(call.id)&&(acc.unshift({callId:call.id,status:call.status,ancestors:call.ancestors}),seen.add(call.id)),acc)),[])}instrument(obj,options,depth=0){if(!isInstrumentable(obj))return obj;let{mutate=!1,path=[]}=options,keys=options.getKeys?options.getKeys(obj,depth):Object.keys(obj);return depth+=1,keys.reduce(((acc,key)=>{let descriptor=function getPropertyDescriptor(obj,propName){let target=obj;for(;null!=target;){let descriptor=Object.getOwnPropertyDescriptor(target,propName);if(descriptor)return descriptor;target=Object.getPrototypeOf(target)}}(obj,key);if("function"==typeof descriptor?.get){let getter=()=>descriptor?.get?.bind(obj)?.();return Object.defineProperty(acc,key,{get:()=>this.instrument(getter(),{...options,path:path.concat(key)},depth)}),acc}let value=obj[key];return"function"!=typeof value?(acc[key]=this.instrument(value,{...options,path:path.concat(key)},depth),acc):"__originalFn__"in value&&"function"==typeof value.__originalFn__?(acc[key]=value,acc):(acc[key]=(...args)=>this.track(key,value,obj,args,options),acc[key].__originalFn__=value,Object.defineProperty(acc[key],"name",{value:key,writable:!1}),Object.keys(value).length>0&&Object.assign(acc[key],this.instrument({...value},{...options,path:path.concat(key)},depth)),acc)}),mutate?obj:(obj=>{try{return new obj.constructor}catch{return{}}})(obj))}track(method,fn,object,args,options){let storyId=args?.[0]?.__storyId__||_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor,ancestors}=this.getState(storyId);this.setState(storyId,{cursor:cursor+1});let id=`${ancestors.slice(-1)[0]||storyId} [${cursor}] ${method}`,{path=[],intercept=!1,retain=!1}=options,interceptable="function"==typeof intercept?intercept(method,path):intercept,call={id,cursor,storyId,ancestors,path,method,args,interceptable,retain},result=(interceptable&&!ancestors.length?this.intercept:this.invoke).call(this,fn,object,call,options);return this.instrument(result,{...options,mutate:!0,path:[{__callId__:call.id}]})}intercept(fn,object,call,options){let{chainedCallIds,isDebugging,playUntil}=this.getState(call.storyId),isChainedUpon=chainedCallIds.has(call.id);return!isDebugging||isChainedUpon||playUntil?(playUntil===call.id&&this.setState(call.storyId,{playUntil:void 0}),this.invoke(fn,object,call,options)):new Promise((resolve=>{this.setState(call.storyId,(({resolvers})=>({isLocked:!1,resolvers:{...resolvers,[call.id]:resolve}})))})).then((()=>(this.setState(call.storyId,(state=>{let{[call.id]:_,...resolvers}=state.resolvers;return{isLocked:!0,resolvers}})),this.invoke(fn,object,call,options))))}invoke(fn,object,call,options){let{callRefsByResult,renderPhase}=this.getState(call.storyId),serializeValues=value=>{if(callRefsByResult.has(value))return callRefsByResult.get(value);if(value instanceof Array)return value.map(serializeValues);if(value instanceof Date)return{__date__:{value:value.toISOString()}};if(value instanceof Error){let{name,message,stack}=value;return{__error__:{name,message,stack}}}if(value instanceof RegExp){let{flags,source}=value;return{__regexp__:{flags,source}}}if(value instanceof _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.HTMLElement){let{prefix,localName,id,classList,innerText}=value;return{__element__:{prefix,localName,id,classNames:Array.from(classList),innerText}}}return"function"==typeof value?{__function__:{name:"getMockName"in value?value.getMockName():value.name}}:"symbol"==typeof value?{__symbol__:{description:value.description}}:"object"==typeof value&&value?.constructor?.name&&"Object"!==value?.constructor?.name?{__class__:{name:value.constructor.name}}:"[object Object]"===Object.prototype.toString.call(value)?Object.fromEntries(Object.entries(value).map((([key,val])=>[key,serializeValues(val)]))):value},info={...call,args:call.args.map(serializeValues)};call.path.forEach((ref=>{ref?.__callId__&&this.setState(call.storyId,(({chainedCallIds})=>({chainedCallIds:new Set(Array.from(chainedCallIds).concat(ref.__callId__))})))}));let handleException=e=>{if(e instanceof Error){let{name,message,stack,callId=call.id}=e,{showDiff,diff:diff2,actual,expected}="AssertionError"===e.name?processError(e):e,exception={name,message,stack,callId,showDiff,diff:diff2,actual,expected};if(this.update({...info,status:"error",exception}),this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[e,{__callId__:call.id,retain:call.retain}]])}))),call.ancestors.length)throw Object.prototype.hasOwnProperty.call(e,"callId")||Object.defineProperty(e,"callId",{value:call.id}),e}throw e};try{if("played"===renderPhase&&!call.retain)throw alreadyCompletedException;let finalArgs=(options.getArgs?options.getArgs(call,this.getState(call.storyId)):call.args).map((arg=>"function"!=typeof arg||Object.keys(arg).length?arg:(...args)=>{let{cursor,ancestors}=this.getState(call.storyId);this.setState(call.storyId,{cursor:0,ancestors:[...ancestors,call.id]});let restore=()=>this.setState(call.storyId,{cursor,ancestors}),willRestore=!1;try{let res=arg(...args);return res instanceof Promise?(willRestore=!0,res.finally(restore)):res}finally{willRestore||restore()}})),result=fn.apply(object,finalArgs);return result&&["object","function","symbol"].includes(typeof result)&&this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[result,{__callId__:call.id,retain:call.retain}]])}))),this.update({...info,status:result instanceof Promise?"active":"done"}),result instanceof Promise?result.then((value=>(this.update({...info,status:"done"}),value)),handleException):result}catch(e){return handleException(e)}}update(call){this.channel.emit(EVENTS_CALL,call),this.setState(call.storyId,(({calls})=>{let callsById=calls.concat(call).reduce(((a,c)=>Object.assign(a,{[c.id]:c})),{});return{calls:Object.values(callsById).sort(((a,b)=>a.id.localeCompare(b.id,void 0,{numeric:!0})))}})),this.sync(call.storyId)}sync(storyId){let synchronize=()=>{let{isLocked,isPlaying}=this.getState(storyId),logItems=this.getLog(storyId),pausedAt=logItems.filter((({ancestors})=>!ancestors.length)).find((item=>"waiting"===item.status))?.callId,hasActive=logItems.some((item=>"active"===item.status));if(isLocked||hasActive||0===logItems.length){let payload2={controlStates:controlsDisabled,logItems};return void this.channel.emit(EVENTS_SYNC,payload2)}let hasPrevious=logItems.some((item=>"done"===item.status||"error"===item.status)),payload={controlStates:{start:hasPrevious,back:hasPrevious,goto:!0,next:isPlaying,end:isPlaying},logItems,pausedAt};this.channel.emit(EVENTS_SYNC,payload)};this.setState(storyId,(({syncTimeout})=>(clearTimeout(syncTimeout),{syncTimeout:setTimeout(synchronize,0)})))}};function instrument(obj,options={}){try{let forceInstrument=!1,skipInstrument=!1;return _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.location?.search?.includes("instrument=true")?forceInstrument=!0:_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.location?.search?.includes("instrument=false")&&(skipInstrument=!0),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent===_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window&&!forceInstrument||skipInstrument?obj:(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Instrumenter),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(obj,options))}catch(e){return _storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.once.warn(e),obj}}},"./node_modules/@storybook/test/dist/index.mjs":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E3:()=>expect3,Q4:()=>userEvent2,ZT:()=>isMockFunction,fm:()=>waitFor2,fn:()=>fn,ux:()=>within});var _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/instrumenter/dist/index.mjs"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/client-logger");module=__webpack_require__.hmd(module);var process=__webpack_require__("./node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("./node_modules/@storybook/test/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_assertion_error=__commonJS({"../../node_modules/assertion-error/index.js"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach((function(key){~excludes.indexOf(key)||(res[key]=obj[key])}))}return function(){for(var args=[].slice.call(arguments),i=0,res={};i"u"||null===obj)&&name in Object(obj)}function parsePath(path){return path.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(value){if("constructor"===value||"__proto__"===value||"prototype"===value)return{};var mArr=/^\[(\d+)\]$/.exec(value);return mArr?{i:parseFloat(mArr[1])}:{p:value.replace(/\\([.[\]])/g,"$1")}}))}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>"u"?parsed.length:pathDepth;for(var i=0;i"u"?temporaryValue[part.i]:temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue))}return res}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}module2.exports={hasProperty,getPathInfo,getPathValue:function getPathValue(obj,path){return getPathInfo(obj,path).value},setPathValue:function setPathValue(obj,path,val){return function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i"u"?part.i:part.p]=val;else if(typeof part.p<"u"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<"u"&&tempObj[part.i])tempObj=tempObj[part.i];else{var next=parsed[i+1];propName=typeof part.p>"u"?part.i:part.p,propVal=typeof next.p>"u"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName]}}}(obj,val,parsePath(path)),obj}}}}),require_flag=__commonJS({"../../node_modules/chai/lib/chai/utils/flag.js"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(3!==arguments.length)return flags[key];flags[key]=value}}}),require_test=__commonJS({"../../node_modules/chai/lib/chai/utils/test.js"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,"negate"),expr=args[0];return negate?!expr:expr}}}),require_type_detect=__commonJS({"../../node_modules/type-detect/type-detect.js"(exports,module2){var global2,factory;global2=exports,factory=function(){var promiseExists="function"==typeof Promise,globalObject="object"==typeof self?self:__webpack_require__.g,symbolExists=typeof Symbol<"u",mapExists=typeof Map<"u",setExists=typeof Set<"u",weakMapExists=typeof WeakMap<"u",weakSetExists=typeof WeakSet<"u",dataViewExists=typeof DataView<"u",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<"u",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<"u",setEntriesExists=setExists&&"function"==typeof Set.prototype.entries,mapEntriesExists=mapExists&&"function"==typeof Map.prototype.entries,setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf((new Set).entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf((new Map).entries()),arrayIteratorExists=symbolIteratorExists&&"function"==typeof Array.prototype[Symbol.iterator],arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&"function"==typeof String.prototype[Symbol.iterator],stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(""[Symbol.iterator]());return function typeDetect(obj){var typeofObj=typeof obj;if("object"!==typeofObj)return typeofObj;if(null===obj)return"null";if(obj===globalObject)return"global";if(Array.isArray(obj)&&(!1===symbolToStringTagExists||!(Symbol.toStringTag in obj)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&obj===window.location)return"Location";if("object"==typeof window.document&&obj===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&obj===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&obj===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&obj instanceof window.HTMLElement){if("BLOCKQUOTE"===obj.tagName)return"HTMLQuoteElement";if("TD"===obj.tagName)return"HTMLTableDataCellElement";if("TH"===obj.tagName)return"HTMLTableHeaderCellElement"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if("string"==typeof stringTag)return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?"RegExp":objPrototype===Date.prototype?"Date":promiseExists&&objPrototype===Promise.prototype?"Promise":setExists&&objPrototype===Set.prototype?"Set":mapExists&&objPrototype===Map.prototype?"Map":weakSetExists&&objPrototype===WeakSet.prototype?"WeakSet":weakMapExists&&objPrototype===WeakMap.prototype?"WeakMap":dataViewExists&&objPrototype===DataView.prototype?"DataView":mapExists&&objPrototype===mapIteratorPrototype?"Map Iterator":setExists&&objPrototype===setIteratorPrototype?"Set Iterator":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?"Array Iterator":stringIteratorExists&&objPrototype===stringIteratorPrototype?"String Iterator":null===objPrototype?"Object":Object.prototype.toString.call(obj).slice(8,-1)}},"object"==typeof exports&&typeof module2<"u"?module2.exports=factory():"function"==typeof define&&__webpack_require__.amdO?define(factory):global2.typeDetect=factory()}}),require_expectTypes=__commonJS({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,"message"),ssfi=flag(obj,"ssfi");flagMsg=flagMsg?flagMsg+": ":"",obj=flag(obj,"object"),(types=types.map((function(t){return t.toLowerCase()}))).sort();var str=types.map((function(t,index){var art=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an":"a";return(types.length>1&&index===types.length-1?"or ":"")+art+" "+t})).join(", "),objType=type3(obj).toLowerCase();if(!types.some((function(expected){return objType===expected})))throw new AssertionError2(flagMsg+"object tested must be "+str+", but "+objType+" given",void 0,ssfi)}}}),require_getActual=__commonJS({"../../node_modules/chai/lib/chai/utils/getActual.js"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj}}}),require_get_func_name=__commonJS({"../../node_modules/get-func-name/index.js"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;module2.exports=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module2){var global2,factory;global2=exports,factory=function(exports2){function _typeof5(obj){return(_typeof5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat(truncator,"(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat(truncator,"(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type3=null===value?"null":_typeof5(value);if("object"===type3&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=function(value,options,type3){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):""}(value,options,type3);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module2<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),require_config=__commonJS({"../../node_modules/chai/lib/chai/config.js"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}}}),require_inspect=__commonJS({"../../node_modules/chai/lib/chai/utils/inspect.js"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>"u"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}}),require_objDisplay=__commonJS({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if("[object Function]"===type3)return obj.name&&""!==obj.name?"[Function: "+obj.name+"]":"[Function]";if("[object Array]"===type3)return"[ Array("+obj.length+") ]";if("[object Object]"===type3){var keys2=Object.keys(obj);return"{ Object ("+(keys2.length>2?keys2.splice(0,2).join(", ")+", ...":keys2.join(", "))+") }"}return str}return str}}}),require_getMessage=__commonJS({"../../node_modules/chai/lib/chai/utils/getMessage.js"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,"negate"),val=flag(obj,"object"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,"message");return"function"==typeof msg&&(msg=msg()),msg=(msg=msg||"").replace(/#\{this\}/g,(function(){return objDisplay2(val)})).replace(/#\{act\}/g,(function(){return objDisplay2(actual)})).replace(/#\{exp\}/g,(function(){return objDisplay2(expected)})),flagMsg?flagMsg+": "+msg:msg}}}),require_transferFlags=__commonJS({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));for(var flag in object.__flags||(object.__flags=Object.create(null)),includeAll=3!==arguments.length||includeAll,flags)(includeAll||"object"!==flag&&"ssfi"!==flag&&"lockSsfi"!==flag&&"message"!=flag)&&(object.__flags[flag]=flags[flag])}}}),require_deep_eql=__commonJS({"../../node_modules/deep-eql/index.js"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key="chai/deep-eql__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0})}};var MemoizeMap="function"==typeof WeakMap?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if("boolean"==typeof result)return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(memoizeMap&&!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):((leftHandMap=new MemoizeMap).set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap))}}function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return null!==simpleResult?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?0!==leftHandOperand||1/leftHandOperand==1/rightHandOperand:leftHandOperand!=leftHandOperand&&rightHandOperand!=rightHandOperand||!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)&&null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){(options=options||{}).memoize=!1!==options.memoize&&(options.memoize||new MemoizeMap);var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(null!==memoizeResultLeft)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(null!==memoizeResultRight)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(!1===comparatorResult||!0===comparatorResult)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(null!==simpleResult)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case"String":case"Number":case"Boolean":case"Date":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return leftHandOperand===rightHandOperand;case"Error":return keysEqual(leftHandOperand,rightHandOperand,["name","message","code"],options);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return iterableEqual(leftHandOperand,rightHandOperand,options);case"RegExp":return function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}(leftHandOperand,rightHandOperand);case"Generator":return function generatorEqual(leftHandOperand,rightHandOperand,options){return iterableEqual(getGeneratorEntries(leftHandOperand),getGeneratorEntries(rightHandOperand),options)}(leftHandOperand,rightHandOperand,options);case"DataView":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case"ArrayBuffer":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case"Set":case"Map":return entriesEqual(leftHandOperand,rightHandOperand,options);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return leftHandOperand.equals(rightHandOperand);case"Temporal.Duration":return leftHandOperand.total("nanoseconds")===rightHandOperand.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return leftHandOperand.toString()===rightHandOperand.toString();default:return function objectEqual(leftHandOperand,rightHandOperand,options){var leftHandKeys=getEnumerableKeys(leftHandOperand),rightHandKeys=getEnumerableKeys(rightHandOperand),leftHandSymbols=getEnumerableSymbols(leftHandOperand),rightHandSymbols=getEnumerableSymbols(rightHandOperand);if(leftHandKeys=leftHandKeys.concat(leftHandSymbols),rightHandKeys=rightHandKeys.concat(rightHandSymbols),leftHandKeys.length&&leftHandKeys.length===rightHandKeys.length)return!1!==iterableEqual(mapSymbols(leftHandKeys).sort(),mapSymbols(rightHandKeys).sort())&&keysEqual(leftHandOperand,rightHandOperand,leftHandKeys,options);var leftHandEntries=getIteratorEntries(leftHandOperand),rightHandEntries=getIteratorEntries(rightHandOperand);return leftHandEntries.length&&leftHandEntries.length===rightHandEntries.length?(leftHandEntries.sort(),rightHandEntries.sort(),iterableEqual(leftHandEntries,rightHandEntries,options)):0===leftHandKeys.length&&0===leftHandEntries.length&&0===rightHandKeys.length&&0===rightHandEntries.length}(leftHandOperand,rightHandOperand,options)}}(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return!1;if(0===leftHandOperand.size)return!0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach((function(key,value){leftHandItems.push([key,value])})),rightHandOperand.forEach((function(key,value){rightHandItems.push([key,value])})),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return!1;if(0===length)return!0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap?memo[i][j]=cap:memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1))}return memo[strA.length][strB.length]}(property,prop,suggestionDistance);dist1&&numErrs===props.length)throw firstErr;return}this.assert(included,"expected #{this} to "+descriptor+"include "+_.inspect(val),"expected #{this} to not "+descriptor+"include "+_.inspect(val))}function assertExist(){var val=flag(this,"object");this.assert(null!=val,"expected #{this} to exist","expected #{this} to not exist")}function checkArguments(){var obj=flag(this,"object"),type3=_.type(obj);this.assert("Arguments"===type3,"expected #{this} to be arguments but got "+type3,"expected #{this} to not be arguments")}function assertEqual(val,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");if(flag(this,"deep")){var prevLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0),this.eql(val),flag(this,"lockSsfi",prevLockSsfi)}else this.assert(val===obj,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",val,this._obj,!0)}function assertEql(obj,msg){msg&&flag(this,"message",msg);var eql=flag(this,"eql");this.assert(eql(obj,flag(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",obj,this._obj,!0)}function assertAbove(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to above must be a number";else errorMessage=msgPrefix+"the argument to above must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,"expected #{this} to have a "+descriptor+" above #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" above #{exp}",n,itemsCount)}else this.assert(obj>n,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",n)}function assertLeast(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to least must be a number";else errorMessage=msgPrefix+"the argument to least must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,"expected #{this} to have a "+descriptor+" at least #{exp} but got #{act}","expected #{this} to have a "+descriptor+" below #{exp}",n,itemsCount)}else this.assert(obj>=n,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",n)}function assertBelow(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to below must be a number";else errorMessage=msgPrefix+"the argument to below must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCountval1===val2,descriptor="";isDeep&&(descriptor+="deep "),isOwn&&(descriptor+="own "),isNested&&(descriptor+="nested "),descriptor+="property ",hasProperty=isOwn?Object.prototype.hasOwnProperty.call(obj,name):isNested?pathInfo.exists:_.hasProperty(obj,name),(!negate||1===arguments.length)&&this.assert(hasProperty,"expected #{this} to have "+descriptor+_.inspect(name),"expected #{this} to not have "+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),"expected #{this} to have "+descriptor+_.inspect(name)+" of #{exp}, but got #{act}","expected #{this} to not have "+descriptor+_.inspect(name)+" of #{act}",val,value),flag(this,"object",value)}function assertOwnProperty(name,value,msg){flag(this,"own",!0),assertProperty.apply(this,arguments)}function assertOwnPropertyDescriptor(name,descriptor,msg){"string"==typeof descriptor&&(msg=descriptor,descriptor=null),msg&&flag(this,"message",msg);var obj=flag(this,"object"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,"eql");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to match "+_.inspect(descriptor)+", got "+_.inspect(actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to not match "+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,"expected #{this} to have an own property descriptor for "+_.inspect(name),"expected #{this} to not have an own property descriptor for "+_.inspect(name)),flag(this,"object",actualDescriptor)}function assertLengthChain(){flag(this,"doLength",!0)}function assertLength(n,msg){msg&&flag(this,"message",msg);var itemsCount,obj=flag(this,"object"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),descriptor="length";switch(objType){case"map":case"set":descriptor="size",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),itemsCount=obj.length}this.assert(itemsCount==n,"expected #{this} to have a "+descriptor+" of #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" of #{act}",n,itemsCount)}function assertMatch(re,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");this.assert(re.exec(obj),"expected #{this} to match "+re,"expected #{this} not to match "+re)}function assertKeys(keys2){var str,actual,obj=flag(this,"object"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,"ssfi"),isDeep=flag(this,"deep"),deepStr="",ok=!0,flagMsg=flag(this,"message"),mixedArgsMsg=(flagMsg=flagMsg?flagMsg+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===objType||"Set"===objType)deepStr=isDeep?"deeply ":"",actual=[],obj.forEach((function(val,key){actual.push(key)})),"Array"!==keysType&&(keys2=Array.prototype.slice.call(arguments));else{switch(actual=_.getOwnEnumerableProperties(obj),keysType){case"Array":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case"Object":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments)}keys2=keys2.map((function(val){return"symbol"==typeof val?val:String(val)}))}if(!keys2.length)throw new AssertionError2(flagMsg+"keys required",void 0,ssfi);var len=keys2.length,any=flag(this,"any"),all=flag(this,"all"),expected=keys2,isEql=isDeep?flag(this,"eql"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))}))),all&&(ok=expected.every((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))})),flag(this,"contains")||(ok=ok&&keys2.length==actual.length)),len>1){var last=(keys2=keys2.map((function(key){return _.inspect(key)}))).pop();all&&(str=keys2.join(", ")+", and "+last),any&&(str=keys2.join(", ")+", or "+last)}else str=_.inspect(keys2[0]);str=(len>1?"keys ":"key ")+str,str=(flag(this,"contains")?"contain ":"have ")+str,this.assert(ok,"expected #{this} to "+deepStr+str,"expected #{this} to not "+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0)}function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,"message",msg);var caughtErr,obj=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message"),negate=flag(this,"negate")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a("function"),(errorLike instanceof RegExp||"string"==typeof errorLike)&&(errMsgMatcher=errorLike,errorLike=null);try{obj()}catch(err){caughtErr=err}var everyArgIsUndefined=void 0===errorLike&&void 0===errMsgMatcher,everyArgIsDefined=!(!errorLike||!errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString="an error";errorLike instanceof Error?errorLikeString="#{exp}":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,"expected #{this} to throw "+errorLikeString,"expected #{this} to not throw an error but #{act} was thrown",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():"string"==typeof caughtErr?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr))}if(errorLike&&caughtErr){if(errorLike instanceof Error)_.checkError.compatibleInstance(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr&&!negate?" but #{act} was thrown":""),errorLike.toString(),caughtErr.toString()));_.checkError.compatibleConstructor(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)))}if(caughtErr&&null!=errMsgMatcher){var placeholder="including";errMsgMatcher instanceof RegExp&&(placeholder="matching"),_.checkError.compatibleMessage(caughtErr,errMsgMatcher)===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,"expected #{this} to throw error "+placeholder+" #{exp} but got #{act}","expected #{this} to throw error not "+placeholder+" #{exp}",errMsgMatcher,_.checkError.getMessage(caughtErr)))}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,"object",caughtErr)}function respondTo(method,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),itself=flag(this,"itself"),context="function"!=typeof obj||itself?obj[method]:obj.prototype[method];this.assert("function"==typeof context,"expected #{this} to respond to "+_.inspect(method),"expected #{this} to not respond to "+_.inspect(method))}function satisfy(matcher,msg){msg&&flag(this,"message",msg);var result=matcher(flag(this,"object"));this.assert(result,"expected #{this} to satisfy "+_.objDisplay(matcher),"expected #{this} to not satisfy"+_.objDisplay(matcher),!flag(this,"negate"),result)}function closeTo(expected,delta,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a("number"),"number"!=typeof expected||"number"!=typeof delta)throw new AssertionError2((flagMsg=flagMsg?flagMsg+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===delta?", and a delta is required":""),void 0,ssfi);this.assert(Math.abs(obj-expected)<=delta,"expected #{this} to be close to "+expected+" +/- "+delta,"expected #{this} not to be close to "+expected+" +/- "+delta)}function assertChanges(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","change"),flag(this,"realDelta",final!==initial),this.assert(initial!==final,"expected "+msgObj+" to change","expected "+msgObj+" to not change")}function assertIncreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","increase"),flag(this,"realDelta",final-initial),this.assert(final-initial>0,"expected "+msgObj+" to increase","expected "+msgObj+" to not increase")}function assertDecreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","decrease"),flag(this,"realDelta",initial-final),this.assert(final-initial<0,"expected "+msgObj+" to decrease","expected "+msgObj+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(chain){Assertion2.addProperty(chain)})),Assertion2.addProperty("not",(function(){flag(this,"negate",!0)})),Assertion2.addProperty("deep",(function(){flag(this,"deep",!0)})),Assertion2.addProperty("nested",(function(){flag(this,"nested",!0)})),Assertion2.addProperty("own",(function(){flag(this,"own",!0)})),Assertion2.addProperty("ordered",(function(){flag(this,"ordered",!0)})),Assertion2.addProperty("any",(function(){flag(this,"any",!0),flag(this,"all",!1)})),Assertion2.addProperty("all",(function(){flag(this,"all",!0),flag(this,"any",!1)})),Assertion2.addChainableMethod("an",an),Assertion2.addChainableMethod("a",an),Assertion2.addChainableMethod("include",include,includeChainingBehavior),Assertion2.addChainableMethod("contain",include,includeChainingBehavior),Assertion2.addChainableMethod("contains",include,includeChainingBehavior),Assertion2.addChainableMethod("includes",include,includeChainingBehavior),Assertion2.addProperty("ok",(function(){this.assert(flag(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),Assertion2.addProperty("true",(function(){this.assert(!0===flag(this,"object"),"expected #{this} to be true","expected #{this} to be false",!flag(this,"negate"))})),Assertion2.addProperty("false",(function(){this.assert(!1===flag(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!flag(this,"negate"))})),Assertion2.addProperty("null",(function(){this.assert(null===flag(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),Assertion2.addProperty("undefined",(function(){this.assert(void 0===flag(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),Assertion2.addProperty("NaN",(function(){this.assert(_.isNaN(flag(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),Assertion2.addProperty("exist",assertExist),Assertion2.addProperty("exists",assertExist),Assertion2.addProperty("empty",(function(){var itemsCount,val=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message");switch(flagMsg=flagMsg?flagMsg+": ":"",_.type(val).toLowerCase()){case"array":case"string":itemsCount=val.length;break;case"map":case"set":itemsCount=val.size;break;case"weakmap":case"weakset":throw new AssertionError2(flagMsg+".empty was passed a weak collection",void 0,ssfi);case"function":var msg=flagMsg+".empty was passed a function "+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+".empty was passed non-string primitive "+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length}this.assert(0===itemsCount,"expected #{this} to be empty","expected #{this} not to be empty")})),Assertion2.addProperty("arguments",checkArguments),Assertion2.addProperty("Arguments",checkArguments),Assertion2.addMethod("equal",assertEqual),Assertion2.addMethod("equals",assertEqual),Assertion2.addMethod("eq",assertEqual),Assertion2.addMethod("eql",assertEql),Assertion2.addMethod("eqls",assertEql),Assertion2.addMethod("above",assertAbove),Assertion2.addMethod("gt",assertAbove),Assertion2.addMethod("greaterThan",assertAbove),Assertion2.addMethod("least",assertLeast),Assertion2.addMethod("gte",assertLeast),Assertion2.addMethod("greaterThanOrEqual",assertLeast),Assertion2.addMethod("below",assertBelow),Assertion2.addMethod("lt",assertBelow),Assertion2.addMethod("lessThan",assertBelow),Assertion2.addMethod("most",assertMost),Assertion2.addMethod("lte",assertMost),Assertion2.addMethod("lessThanOrEqual",assertMost),Assertion2.addMethod("within",(function(start,finish,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),startType=_.type(start).toLowerCase(),finishType=_.type(finish).toLowerCase(),shouldThrow=!0,range="date"===startType&&"date"===finishType?start.toISOString()+".."+finish.toISOString():start+".."+finish;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===startType&&"date"===finishType)if("number"===startType&&"number"===finishType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the arguments to within must be numbers";else errorMessage=msgPrefix+"the arguments to within must be dates";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=start&&itemsCount<=finish,"expected #{this} to have a "+descriptor+" within "+range,"expected #{this} to not have a "+descriptor+" within "+range)}else this.assert(obj>=start&&obj<=finish,"expected #{this} to be within "+range,"expected #{this} to not be within "+range)})),Assertion2.addMethod("instanceof",assertInstanceOf),Assertion2.addMethod("instanceOf",assertInstanceOf),Assertion2.addMethod("property",assertProperty),Assertion2.addMethod("ownProperty",assertOwnProperty),Assertion2.addMethod("haveOwnProperty",assertOwnProperty),Assertion2.addMethod("ownPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addMethod("haveOwnPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addChainableMethod("length",assertLength,assertLengthChain),Assertion2.addChainableMethod("lengthOf",assertLength,assertLengthChain),Assertion2.addMethod("match",assertMatch),Assertion2.addMethod("matches",assertMatch),Assertion2.addMethod("string",(function(str,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).is.a("string"),this.assert(~obj.indexOf(str),"expected #{this} to contain "+_.inspect(str),"expected #{this} to not contain "+_.inspect(str))})),Assertion2.addMethod("keys",assertKeys),Assertion2.addMethod("key",assertKeys),Assertion2.addMethod("throw",assertThrows),Assertion2.addMethod("throws",assertThrows),Assertion2.addMethod("Throw",assertThrows),Assertion2.addMethod("respondTo",respondTo),Assertion2.addMethod("respondsTo",respondTo),Assertion2.addProperty("itself",(function(){flag(this,"itself",!0)})),Assertion2.addMethod("satisfy",satisfy),Assertion2.addMethod("satisfies",satisfy),Assertion2.addMethod("closeTo",closeTo),Assertion2.addMethod("approximately",closeTo),Assertion2.addMethod("members",(function(subset,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an("array"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an("array");var subject,failMsg,failNegateMsg,contains=flag(this,"contains"),ordered=flag(this,"ordered");contains?(failMsg="expected #{this} to be "+(subject=ordered?"an ordered superset":"a superset")+" of #{exp}",failNegateMsg="expected #{this} to not be "+subject+" of #{exp}"):(failMsg="expected #{this} to have the same "+(subject=ordered?"ordered members":"members")+" as #{exp}",failNegateMsg="expected #{this} to not have the same "+subject+" as #{exp}");var cmp=flag(this,"deep")?flag(this,"eql"):void 0;this.assert(function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return!1;superset=superset.slice()}return subset.every((function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return-1!==matchIdx&&(contains||superset.splice(matchIdx,1),!0)}return superset.some((function(elem2,matchIdx2){return!!cmp(elem,elem2)&&(contains||superset.splice(matchIdx2,1),!0)}))}))}(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0)})),Assertion2.addMethod("oneOf",(function oneOf(list,msg){msg&&flag(this,"message",msg);var expected=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),contains=flag(this,"contains"),isDeep=flag(this,"deep"),eql=flag(this,"eql");new Assertion2(list,flagMsg,ssfi,!0).to.be.an("array"),contains?this.assert(list.some((function(possibility){return expected.indexOf(possibility)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",list,expected):isDeep?this.assert(list.some((function(possibility){return eql(expected,possibility)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",list,expected):this.assert(list.indexOf(expected)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",list,expected)})),Assertion2.addMethod("change",assertChanges),Assertion2.addMethod("changes",assertChanges),Assertion2.addMethod("increase",assertIncreases),Assertion2.addMethod("increases",assertIncreases),Assertion2.addMethod("decrease",assertDecreases),Assertion2.addMethod("decreases",assertDecreases),Assertion2.addMethod("by",(function assertDelta(delta,msg){msg&&flag(this,"message",msg);var expression,msgObj=flag(this,"deltaMsgObj"),initial=flag(this,"initialDeltaValue"),final=flag(this,"finalDeltaValue"),behavior2=flag(this,"deltaBehavior"),realDelta=flag(this,"realDelta");expression="change"===behavior2?Math.abs(final-initial)===Math.abs(delta):realDelta===Math.abs(delta),this.assert(expression,"expected "+msgObj+" to "+behavior2+" by "+delta,"expected "+msgObj+" to not "+behavior2+" by "+delta)})),Assertion2.addProperty("extensible",(function(){var obj=flag(this,"object"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,"expected #{this} to be extensible","expected #{this} to not be extensible")})),Assertion2.addProperty("sealed",(function(){var obj=flag(this,"object"),isSealed=obj!==Object(obj)||Object.isSealed(obj);this.assert(isSealed,"expected #{this} to be sealed","expected #{this} to not be sealed")})),Assertion2.addProperty("frozen",(function(){var obj=flag(this,"object"),isFrozen=obj!==Object(obj)||Object.isFrozen(obj);this.assert(isFrozen,"expected #{this} to be frozen","expected #{this} to not be frozen")})),Assertion2.addProperty("finite",(function(msg){var obj=flag(this,"object");this.assert("number"==typeof obj&&isFinite(obj),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}}}),require_expect=__commonJS({"../../node_modules/chai/lib/chai/interface/expect.js"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"expect.fail()",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)}}}}),require_should=__commonJS({"../../node_modules/chai/lib/chai/interface/should.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){Object.defineProperty(Object.prototype,"should",{set:function shouldSetter(value){Object.defineProperty(this,"should",{value,enumerable:!0,configurable:!0,writable:!0})},get:function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)},configurable:!0});var should2={fail:function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"should.fail()",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},equal:function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2)},Throw:function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.Throw(errt,errs)},exist:function(val,msg){new Assertion2(val,msg).to.exist},not:{}};return should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2)},should2.not.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.not.Throw(errt,errs)},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould}}}),require_assert=__commonJS({"../../node_modules/chai/lib/chai/interface/assert.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag,assert2=chai2.assert=function(express,errmsg){new Assertion2(null,null,chai2.assert,!0).assert(express,errmsg,"[ negation message unavailable ]")};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"assert.fail()",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",exp,act,!0)},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",exp,act,!0)},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp)},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp)},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp)},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp)},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv)},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst)},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw)},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst)},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0)},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1)},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null)},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null)},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0)},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0)},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a("function")},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a("function")},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a("object")},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a("object")},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an("array")},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an("array")},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a("string")},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a("string")},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a("number")},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a("number")},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a("boolean")},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a("boolean")},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3)},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3)},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3)},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3)},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc)},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc)},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc)},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc)},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc)},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc)},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc)},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc)},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc)},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc)},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc)},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc)},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re)},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re)},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop)},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop)},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val)},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val)},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val)},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val)},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop)},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop)},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value)},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value)},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value)},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value)},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop)},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop)},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val)},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val)},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val)},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val)},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len)},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2)},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2)},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2)},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2)},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2)},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2)},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2)},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2)},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2)},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2)},assert2.throws=function(fn2,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn2,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,"object")},assert2.doesNotThrow=function(fn2,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn2,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher)},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case"==":ok=val==val2;break;case"===":ok=val===val2;break;case">":ok=val>val2;break;case">=":ok=val>=val2;break;case"<":ok=valcode=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys2=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config3,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?`[${name}]`:(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}[${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`)(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…"}]`})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type3.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=d2-1-baDeltaLength,aIndexPrev1=0,nF=d2{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=0,nR=d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if("function"!==type3)throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)}}}),require_min_indent=__commonJS({"../../node_modules/min-indent/index.js"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \t]*(?=\S)/gm);return match?match.reduce(((r,a)=>Math.min(r,a.length)),1/0):0}}}),require_strip_indent=__commonJS({"../../node_modules/strip-indent/index.js"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(0===indent)return string2;let regex=new RegExp(`^[ \\t]{${indent}}`,"gm");return string2.replace(regex,"")}}}),require_indent_string=__commonJS({"../../node_modules/indent-string/index.js"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:" ",includeEmptyLines:!1,...options},"string"!=typeof string2)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string2}\``);if("number"!=typeof count)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);if("string"!=typeof options.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);if(0===count)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))}}}),require_redent=__commonJS({"../../node_modules/redent/index.js"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options)}}),require_listCacheClear=__commonJS({"../../node_modules/lodash/_listCacheClear.js"(exports,module2){module2.exports=function listCacheClear(){this.__data__=[],this.size=0}}}),require_eq=__commonJS({"../../node_modules/lodash/eq.js"(exports,module2){module2.exports=function eq2(value,other){return value===other||value!=value&&other!=other}}}),require_assocIndexOf=__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(exports,module2){var eq2=require_eq();module2.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return-1}}}),require_listCacheDelete=__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(exports,module2){var assocIndexOf=require_assocIndexOf(),splice=Array.prototype.splice;module2.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}}}),require_listCacheGet=__commonJS({"../../node_modules/lodash/_listCacheGet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}}}),require_listCacheHas=__commonJS({"../../node_modules/lodash/_listCacheHas.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}}}),require_listCacheSet=__commonJS({"../../node_modules/lodash/_listCacheSet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}}}),require_ListCache=__commonJS({"../../node_modules/lodash/_ListCache.js"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++indexarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=9007199254740991}}}),require_baseIsTypedArray=__commonJS({"../../node_modules/lodash/_baseIsTypedArray.js"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module2.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}}}),require_baseUnary=__commonJS({"../../node_modules/lodash/_baseUnary.js"(exports,module2){module2.exports=function baseUnary(func){return function(value){return func(value)}}}}),require_nodeUtil=__commonJS({"../../node_modules/lodash/_nodeUtil.js"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module2&&module2&&!module2.nodeType&&module2,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{return freeModule&&freeModule.require&&freeModule.require("util").types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();module2.exports=nodeUtil}}),require_isTypedArray=__commonJS({"../../node_modules/lodash/isTypedArray.js"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray}}),require_arrayLikeKeys=__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&(!skipIndexes||!("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length)))&&result.push(key);return result}}}),require_isPrototype=__commonJS({"../../node_modules/lodash/_isPrototype.js"(exports,module2){var objectProto=Object.prototype;module2.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}}}),require_overArg=__commonJS({"../../node_modules/lodash/_overArg.js"(exports,module2){module2.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}}}),require_nativeKeys=__commonJS({"../../node_modules/lodash/_nativeKeys.js"(exports,module2){var nativeKeys=require_overArg()(Object.keys,Object);module2.exports=nativeKeys}}),require_baseKeys=__commonJS({"../../node_modules/lodash/_baseKeys.js"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}}}),require_isArrayLike=__commonJS({"../../node_modules/lodash/isArrayLike.js"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();module2.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}}}),require_keys=__commonJS({"../../node_modules/lodash/keys.js"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();module2.exports=function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}}}),require_getAllKeys=__commonJS({"../../node_modules/lodash/_getAllKeys.js"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();module2.exports=function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}}}),require_equalObjects=__commonJS({"../../node_modules/lodash/_equalObjects.js"(exports,module2){var getAllKeys=require_getAllKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++indexarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(properties);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,properties)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=properties.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!ariaPropsMap.get(key)},keys:function(){return properties.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return properties.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default}}),require_domMap=__commonJS({"node_modules/aria-query/lib/domMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_iterationDecorator());function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(dom);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,dom)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=dom.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!domMap.get(key)},keys:function(){return dom.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return dom.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(domMap,domMap.entries());exports.default=_default}}),require_commandRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_compositeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_inputRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_landmarkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_rangeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_roletypeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_sectionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sectionheadRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_selectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};exports.default=_default}}),require_structureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_widgetRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_windowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_ariaAbstractRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["command",_commandRole.default],["composite",_compositeRole.default],["input",_inputRole.default],["landmark",_landmarkRole.default],["range",_rangeRole.default],["roletype",_roletypeRole.default],["section",_sectionRole.default],["sectionhead",_sectionheadRole.default],["select",_selectRole.default],["structure",_structureRole.default],["widget",_widgetRole.default],["window",_windowRole.default]];exports.default=_default}}),require_alertRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_alertdialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};exports.default=_default}}),require_applicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_articleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_bannerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_blockquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_buttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_captionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_cellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_checkboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_codeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_columnheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_comboboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_complementaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_contentinfoRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_definitionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_deletionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_dialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};exports.default=_default}}),require_directoryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_documentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_emphasisRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_feedRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_figureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_formRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/formRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_genericRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_gridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};exports.default=_default}}),require_gridcellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};exports.default=_default}}),require_groupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_headingRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_imgRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_insertionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_linkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_listRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_listboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_listitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_logRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/logRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mainRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_marqueeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mathRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_menuRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_menubarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};exports.default=_default}}),require_menuitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_menuitemcheckboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};exports.default=_default}}),require_menuitemradioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};exports.default=_default}}),require_meterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};exports.default=_default}}),require_navigationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_noneRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_noteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_optionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_paragraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_presentationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_progressbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_radioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_radiogroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_regionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_rowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};exports.default=_default}}),require_rowgroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_rowheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_scrollbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_searchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_searchboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};exports.default=_default}}),require_separatorRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sliderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_spinbuttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_statusRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_strongRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_subscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_superscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_switchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};exports.default=_default}}),require_tabRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};exports.default=_default}}),require_tableRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_tablistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};exports.default=_default}}),require_tabpanelRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_termRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/termRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_textboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_timeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_timerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};exports.default=_default}}),require_toolbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_tooltipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_treeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_treegridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};exports.default=_default}}),require_treeitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};exports.default=_default}}),require_ariaLiteralRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["alert",_alertRole.default],["alertdialog",_alertdialogRole.default],["application",_applicationRole.default],["article",_articleRole.default],["banner",_bannerRole.default],["blockquote",_blockquoteRole.default],["button",_buttonRole.default],["caption",_captionRole.default],["cell",_cellRole.default],["checkbox",_checkboxRole.default],["code",_codeRole.default],["columnheader",_columnheaderRole.default],["combobox",_comboboxRole.default],["complementary",_complementaryRole.default],["contentinfo",_contentinfoRole.default],["definition",_definitionRole.default],["deletion",_deletionRole.default],["dialog",_dialogRole.default],["directory",_directoryRole.default],["document",_documentRole.default],["emphasis",_emphasisRole.default],["feed",_feedRole.default],["figure",_figureRole.default],["form",_formRole.default],["generic",_genericRole.default],["grid",_gridRole.default],["gridcell",_gridcellRole.default],["group",_groupRole.default],["heading",_headingRole.default],["img",_imgRole.default],["insertion",_insertionRole.default],["link",_linkRole.default],["list",_listRole.default],["listbox",_listboxRole.default],["listitem",_listitemRole.default],["log",_logRole.default],["main",_mainRole.default],["marquee",_marqueeRole.default],["math",_mathRole.default],["menu",_menuRole.default],["menubar",_menubarRole.default],["menuitem",_menuitemRole.default],["menuitemcheckbox",_menuitemcheckboxRole.default],["menuitemradio",_menuitemradioRole.default],["meter",_meterRole.default],["navigation",_navigationRole.default],["none",_noneRole.default],["note",_noteRole.default],["option",_optionRole.default],["paragraph",_paragraphRole.default],["presentation",_presentationRole.default],["progressbar",_progressbarRole.default],["radio",_radioRole.default],["radiogroup",_radiogroupRole.default],["region",_regionRole.default],["row",_rowRole.default],["rowgroup",_rowgroupRole.default],["rowheader",_rowheaderRole.default],["scrollbar",_scrollbarRole.default],["search",_searchRole.default],["searchbox",_searchboxRole.default],["separator",_separatorRole.default],["slider",_sliderRole.default],["spinbutton",_spinbuttonRole.default],["status",_statusRole.default],["strong",_strongRole.default],["subscript",_subscriptRole.default],["superscript",_superscriptRole.default],["switch",_switchRole.default],["tab",_tabRole.default],["table",_tableRole.default],["tablist",_tablistRole.default],["tabpanel",_tabpanelRole.default],["term",_termRole.default],["textbox",_textboxRole.default],["time",_timeRole.default],["timer",_timerRole.default],["toolbar",_toolbarRole.default],["tooltip",_tooltipRole.default],["tree",_treeRole.default],["treegrid",_treegridRole.default],["treeitem",_treeitemRole.default]];exports.default=_default}}),require_docAbstractRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docAcknowledgmentsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAfterwordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAppendixRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBacklinkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docBiblioentryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docBibliographyRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBibliorefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docChapterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docColophonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docConclusionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docCoverRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_docCreditRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docCreditsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docDedicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEndnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docEndnotesRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docEpigraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEpilogueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docErrataRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docExampleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docFootnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docForewordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossrefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docIndexRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docIntroductionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docNoterefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docNoticeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docPagebreakRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};exports.default=_default}}),require_docPagelistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docPartRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrefaceRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrologueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPullquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};exports.default=_default}}),require_docQnaRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docSubtitleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_docTipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docTocRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_ariaDpubRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["doc-abstract",_docAbstractRole.default],["doc-acknowledgments",_docAcknowledgmentsRole.default],["doc-afterword",_docAfterwordRole.default],["doc-appendix",_docAppendixRole.default],["doc-backlink",_docBacklinkRole.default],["doc-biblioentry",_docBiblioentryRole.default],["doc-bibliography",_docBibliographyRole.default],["doc-biblioref",_docBibliorefRole.default],["doc-chapter",_docChapterRole.default],["doc-colophon",_docColophonRole.default],["doc-conclusion",_docConclusionRole.default],["doc-cover",_docCoverRole.default],["doc-credit",_docCreditRole.default],["doc-credits",_docCreditsRole.default],["doc-dedication",_docDedicationRole.default],["doc-endnote",_docEndnoteRole.default],["doc-endnotes",_docEndnotesRole.default],["doc-epigraph",_docEpigraphRole.default],["doc-epilogue",_docEpilogueRole.default],["doc-errata",_docErrataRole.default],["doc-example",_docExampleRole.default],["doc-footnote",_docFootnoteRole.default],["doc-foreword",_docForewordRole.default],["doc-glossary",_docGlossaryRole.default],["doc-glossref",_docGlossrefRole.default],["doc-index",_docIndexRole.default],["doc-introduction",_docIntroductionRole.default],["doc-noteref",_docNoterefRole.default],["doc-notice",_docNoticeRole.default],["doc-pagebreak",_docPagebreakRole.default],["doc-pagelist",_docPagelistRole.default],["doc-part",_docPartRole.default],["doc-preface",_docPrefaceRole.default],["doc-prologue",_docPrologueRole.default],["doc-pullquote",_docPullquoteRole.default],["doc-qna",_docQnaRole.default],["doc-subtitle",_docSubtitleRole.default],["doc-tip",_docTipRole.default],["doc-toc",_docTocRole.default]];exports.default=_default}}),require_graphicsDocumentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_graphicsObjectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_graphicsSymbolRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_ariaGraphicsRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["graphics-document",_graphicsDocumentRole.default],["graphics-object",_graphicsObjectRole.default],["graphics-symbol",_graphicsSymbolRole.default]];exports.default=_default}}),require_rolesMap=__commonJS({"node_modules/aria-query/lib/rolesMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn2.call(thisArg,values,key,roles3)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}},get:function(key){var item=roles3.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!rolesMap.get(key)},keys:function(){return roles3.map((function(_ref5){return _slicedToArray(_ref5,1)[0]}))},values:function(){return roles3.map((function(_ref7){return _slicedToArray(_ref7,2)[1]}))}},_default=(0,_iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default}}),require_isArguments2=__commonJS({"../../node_modules/object-keys/isArguments.js"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr3.call(value.callee)),isArgs}}}),require_implementation=__commonJS({"../../node_modules/object-keys/implementation.js"(exports,module2){var keysShim,has,toStr3,isArgs,isEnumerable,hasDontEnumBug,hasProtoEnumBug,dontEnums,equalsConstructorPrototype,excludedKeys,hasAutomationEqualityBug,equalsConstructorPrototypeIfNotBuggy;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>"u")return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch{return!0}}catch{return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>"u"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return!1}},keysShim=function(object){var isObject2=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr3.call(object),isArguments=isArgs(object),isString=isObject2&&"[object String]"===toStr3.call(object),theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j"u"||!getProto?undefined:getProto(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined:Atomics,"%BigInt%":typeof BigInt>"u"?undefined:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":typeof Map>"u"?undefined:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined:getProto((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined:Promise,"%Proxy%":typeof Proxy>"u"?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined:getProto((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array>"u"?undefined:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined:WeakSet};if(getProto)try{null.error}catch(e){errorProto=getProto(getProto(e)),INTRINSICS["%Error.prototype%"]=errorProto}var errorProto,doEval=function doEval2(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn2=doEval2("%AsyncGeneratorFunction%");fn2&&(value=fn2.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval2("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>"u"&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module2.exports=function(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string2,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}}}),require_es_define_property=__commonJS({"../../node_modules/es-define-property/index.js"(exports,module2){var $defineProperty=require_get_intrinsic()("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch{$defineProperty=!1}module2.exports=$defineProperty}}),require_gopd=__commonJS({"../../node_modules/gopd/index.js"(exports,module2){var $gOPD=require_get_intrinsic()("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}module2.exports=$gOPD}}),require_define_data_property=__commonJS({"../../node_modules/define-data-property/index.js"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}}}),require_has_property_descriptors=__commonJS({"../../node_modules/has-property-descriptors/index.js"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch{return!0}},module2.exports=hasPropertyDescriptors}}),require_define_properties=__commonJS({"../../node_modules/define-properties/index.js"(exports,module2){var keys2=require_object_keys(),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn2=predicate)||"[object Function]"!==toStr3.call(fn2)||!predicate())return;var fn2;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn2&&gOPD){var desc=gOPD(fn2,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn2,"length",length,!0,!0):define2(fn2,"length",length)),fn2}}}),require_call_bind=__commonJS({"../../node_modules/call-bind/index.js"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic("%Math.max%");module2.exports=function(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,"apply",{value:applyBind}):module2.exports.apply=applyBind}}),require_callBound=__commonJS({"../../node_modules/call-bind/callBound.js"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_implementation3=__commonJS({"../../node_modules/object.assign/implementation.js"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s2&&!!arguments[2])||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn2,"name",name,!0,!0):define2(fn2,"name",name)),fn2}}}),require_implementation4=__commonJS({"../../node_modules/regexp.prototype.flags/implementation.js"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName((function(){if(null==this||this!==$Object(this))throw new $TypeError("RegExp.prototype.flags getter called on non-object");var result="";return this.hasIndices&&(result+="d"),this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.dotAll&&(result+="s"),this.unicode&&(result+="u"),this.unicodeSets&&(result+="v"),this.sticky&&(result+="y"),result}),"get flags",!0)}}),require_polyfill2=__commonJS({"../../node_modules/regexp.prototype.flags/polyfill.js"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&"gim"===/a/gim.flags){var descriptor=$gOPD(RegExp.prototype,"flags");if(descriptor&&"function"==typeof descriptor.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var calls="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){calls+="d"}}),Object.defineProperty(o,"sticky",{get:function(){calls+="y"}}),"dy"===calls)return descriptor.get}}return implementation}}}),require_shim2=__commonJS({"../../node_modules/regexp.prototype.flags/shim.js"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,"flags");return(!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,"flags",{configurable:!0,enumerable:!1,get:polyfill}),polyfill}}}),require_regexp_prototype=__commonJS({"../../node_modules/regexp.prototype.flags/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim}),module2.exports=flagsBound}}),require_shams2=__commonJS({"../../node_modules/has-tostringtag/shams.js"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_arguments=__commonJS({"../../node_modules/is-arguments/index.js"(exports,module2){var hasToStringTag=require_shams2()(),$toString=require_callBound()("Object.prototype.toString"),isStandardArguments=function(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments}}),require_util=__commonJS({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),require_object_inspect=__commonJS({"../../node_modules/object-inspect/index.js"(exports,module2){var hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,weakMapHas="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,weakSetHas="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,weakRefDeref="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"==typeof Symbol.iterator,toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!=num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof num){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;function wrapQuotes(s,defaultStyle,opts){var quoteChar="double"===(opts.quoteStyle||defaultStyle)?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return!("[object Array]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isRegExp(obj){return!("[object RegExp]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isSymbol(obj){if(hasShammedSymbols)return obj&&"object"==typeof obj&&obj instanceof Symbol;if("symbol"==typeof obj)return!0;if(!obj||"object"!=typeof obj||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&"single"!==opts.quoteStyle&&"double"!==opts.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&("number"==typeof opts.maxStringLength?opts.maxStringLength<0&&opts.maxStringLength!==1/0:null!==opts.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=!has(opts,"customInspect")||opts.customInspect;if("boolean"!=typeof customInspect&&"symbol"!==customInspect)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&null!==opts.indent&&"\t"!==opts.indent&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&"boolean"!=typeof opts.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(null===obj)return"null";if("boolean"==typeof obj)return obj?"true":"false";if("string"==typeof obj)return inspectString(obj,opts);if("number"==typeof obj){if(0===obj)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if("bigint"==typeof obj){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&"object"==typeof obj)return isArray(obj)?"[Array]":"[Object]";var indent=function getIndent(opts,depth){var baseIndent;if("\t"===opts.indent)baseIndent="\t";else{if(!("number"==typeof opts.indent&&opts.indent>0))return null;baseIndent=$join.call(Array(opts.indent+1)," ")}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen)).push(from),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if("function"==typeof obj&&!isRegExp(obj)){var name=function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\s*([\w$]+)/);return m2?m2[1]:null}(obj),keys2=arrObjKeys(obj,inspect3);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys2.length>0?" { "+$join.call(keys2,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return"object"!=typeof obj||hasShammedSymbols?symString:markBoxed(symString)}if(function isElement5(x){return!(!x||"object"!=typeof x)&&(typeof HTMLElement<"u"&&x instanceof HTMLElement||"string"==typeof x.nodeName&&"function"==typeof x.getAttribute)}(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i"}if(isArray(obj)){if(0===obj.length)return"[]";var xs=arrObjKeys(obj,inspect3);return indent&&!function singleLineValues(xs){for(var i=0;i=0)return!1;return!0}(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(function isError(obj){return!("[object Error]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var parts=arrObjKeys(obj,inspect3);return"cause"in Error.prototype||!("cause"in obj)||isEnumerable.call(obj,"cause")?0===parts.length?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }":"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect3(obj.cause),parts),", ")+" }"}if("object"==typeof obj&&customInspect){if(inspectSymbol&&"function"==typeof obj[inspectSymbol]&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if("symbol"!==customInspect&&"function"==typeof obj.inspect)return obj.inspect()}if(function isMap(x){if(!mapSize||!x||"object"!=typeof x)return!1;try{mapSize.call(x);try{setSize.call(x)}catch{return!0}return x instanceof Map}catch{}return!1}(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,(function(value,key){mapParts.push(inspect3(key,obj,!0)+" => "+inspect3(value,obj))})),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(function isSet(x){if(!setSize||!x||"object"!=typeof x)return!1;try{setSize.call(x);try{mapSize.call(x)}catch{return!0}return x instanceof Set}catch{}return!1}(obj)){var setParts=[];return setForEach&&setForEach.call(obj,(function(value){setParts.push(inspect3(value,obj))})),collectionOf("Set",setSize.call(obj),setParts,indent)}if(function isWeakMap(x){if(!weakMapHas||!x||"object"!=typeof x)return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch{return!0}return x instanceof WeakMap}catch{}return!1}(obj))return weakCollectionOf("WeakMap");if(function isWeakSet(x){if(!weakSetHas||!x||"object"!=typeof x)return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch{return!0}return x instanceof WeakSet}catch{}return!1}(obj))return weakCollectionOf("WeakSet");if(function isWeakRef(x){if(!weakRefDeref||!x||"object"!=typeof x)return!1;try{return weakRefDeref.call(x),!0}catch{}return!1}(obj))return weakCollectionOf("WeakRef");if(function isNumber(obj){return!("[object Number]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(Number(obj)));if(function isBigInt(obj){if(!obj||"object"!=typeof obj||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(function isBoolean(obj){return!("[object Boolean]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(booleanValueOf.call(obj));if(function isString(obj){return!("[object String]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(String(obj)));if(typeof window<"u"&&obj===window)return"{ [object Window] }";if(obj===__webpack_require__.g)return"{ [object globalThis] }";if(!function isDate(obj){return!("[object Date]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?"Object":"",tag=(isPlainObject||"function"!=typeof obj.constructor?"":obj.constructor.name?obj.constructor.name+" ":"")+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return 0===ys.length?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}return wrapQuotes($replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type3){return type3+" { ? }"}function collectionOf(type3,size,entries,indent){return type3+" ("+size+") {"+(indent?indentedJoin(entries,indent):$join.call(entries,", "))+"}"}function indentedJoin(xs,indent){if(0===xs.length)return"";var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=S.length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return{next:function(){var value,done=i>=arraylike.length;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return{next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}return noPrimordialCollections&&typeof iterable["_es6-shim iterator_"]<"u"?iterable["_es6-shim iterator_"]():void 0},$Map||$Set?(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound("Map.prototype.forEach",!0),$setForEach=callBound("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&($mapIterator=callBound("Map.prototype.iterator",!0),$setIterator=callBound("Set.prototype.iterator",!0)),$mapAtAtIterator=callBound("Map.prototype.@@iterator",!0)||callBound("Map.prototype._es6-shim iterator_",!0),$setAtAtIterator=callBound("Set.prototype.@@iterator",!0)||callBound("Set.prototype._es6-shim iterator_",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,(function(v2,k){$arrayPush(entries,[k,v2])})),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,(function(v2){$arrayPush(values,v2)})),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}):module2.exports=function(iterable){if(null!=iterable)return getNonCollectionIterator(iterable,!0)})}}),require_implementation5=__commonJS({"../../node_modules/object-is/implementation.js"(exports,module2){var numberIsNaN=function(value){return value!=value};module2.exports=function(a,b2){return 0===a&&0===b2?1/a==1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))}}}),require_polyfill3=__commonJS({"../../node_modules/object-is/polyfill.js"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return"function"==typeof Object.is?Object.is:implementation}}}),require_shim3=__commonJS({"../../node_modules/object-is/shim.js"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill}}}),require_object_is=__commonJS({"../../node_modules/object-is/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim}),module2.exports=polyfill}}),require_is_array_buffer=__commonJS({"../../node_modules/is-array-buffer/index.js"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),$ArrayBuffer=require_get_intrinsic()("%ArrayBuffer%",!0),$byteLength=callBound("ArrayBuffer.prototype.byteLength",!0),$toString=callBound("Object.prototype.toString"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return!1}}:$ArrayBuffer?function(obj){return"[object ArrayBuffer]"===$toString(obj)}:function(obj){return!1}}}),require_is_date_object=__commonJS({"../../node_modules/is-date-object/index.js"(exports,module2){var getDay=Date.prototype.getDay,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"object"==typeof value&&null!==value&&(hasToStringTag?function(value){try{return getDay.call(value),!0}catch{return!1}}(value):"[object Date]"===toStr3.call(value))}}}),require_is_regex=__commonJS({"../../node_modules/is-regex/index.js"(exports,module2){var has,$exec,isRegexMarker,badStringifier,callBound=require_callBound(),hasToStringTag=require_shams2()();hasToStringTag&&(has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},badStringifier={toString:throwRegexMarker=function(){throw isRegexMarker},valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module2.exports=hasToStringTag?function(value){if(!value||"object"!=typeof value)return!1;var descriptor=gOPD(value,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value,badStringifier)}catch(e){return e===isRegexMarker}}:function(value){return!(!value||"object"!=typeof value&&"function"!=typeof value)&&"[object RegExp]"===$toString(value)}}}),require_is_shared_array_buffer=__commonJS({"../../node_modules/is-shared-array-buffer/index.js"(exports,module2){var $byteLength=require_callBound()("SharedArrayBuffer.prototype.byteLength",!0);module2.exports=$byteLength?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength(obj),!0}catch{return!1}}:function(obj){return!1}}}),require_is_number_object=__commonJS({"../../node_modules/is-number-object/index.js"(exports,module2){var numToStr=Number.prototype.toString,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"number"==typeof value||"object"==typeof value&&(hasToStringTag?function(value){try{return numToStr.call(value),!0}catch{return!1}}(value):"[object Number]"===toStr3.call(value))}}}),require_is_boolean_object=__commonJS({"../../node_modules/is-boolean-object/index.js"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound("Boolean.prototype.toString"),$toString=callBound("Object.prototype.toString"),hasToStringTag=require_shams2()();module2.exports=function(value){return"boolean"==typeof value||null!==value&&"object"==typeof value&&(hasToStringTag&&Symbol.toStringTag in value?function(value){try{return $boolToStr(value),!0}catch{return!1}}(value):"[object Boolean]"===$toString(value))}}}),require_is_symbol=__commonJS({"../../node_modules/is-symbol/index.js"(exports,module2){var symToStr,symStringRegex,isSymbolObject,toStr3=Object.prototype.toString;require_has_symbols()()?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr3.call(value))return!1;try{return isSymbolObject(value)}catch{return!1}}):module2.exports=function(value){return!1}}}),require_has_bigints=__commonJS({"../../node_modules/has-bigints/index.js"(exports,module2){var $BigInt=typeof BigInt<"u"&&BigInt;module2.exports=function(){return"function"==typeof $BigInt&&"function"==typeof BigInt&&"bigint"==typeof $BigInt(42)&&"bigint"==typeof BigInt(42)}}}),require_is_bigint=__commonJS({"../../node_modules/is-bigint/index.js"(exports,module2){var bigIntValueOf,tryBigInt;require_has_bigints()()?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return!1},module2.exports=function(value){return!(null===value||typeof value>"u"||"boolean"==typeof value||"string"==typeof value||"number"==typeof value||"symbol"==typeof value||"function"==typeof value)&&("bigint"==typeof value||tryBigInt(value))}):module2.exports=function(value){return!1}}}),require_which_boxed_primitive=__commonJS({"../../node_modules/which-boxed-primitive/index.js"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){return null==value||"object"!=typeof value&&"function"!=typeof value?null:isString(value)?"String":isNumber(value)?"Number":isBoolean(value)?"Boolean":isSymbol(value)?"Symbol":isBigInt(value)?"BigInt":void 0}}}),require_is_weakmap=__commonJS({"../../node_modules/is-weakmap/index.js"(exports,module2){var exported,$WeakMap="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,$WeakSet="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;$WeakMap||(exported=function(x){return!1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return!1}),module2.exports=exported||function(x){if(!x||"object"!=typeof x)return!1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas)}catch{return!0}return x instanceof $WeakMap}catch{}return!1}}}),require_is_weakset=__commonJS({"../../node_modules/is-weakset/index.js"(exports,module2){var $mapHas,GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic("%WeakSet%",!0),$setHas=callBound("WeakSet.prototype.has",!0);$setHas?($mapHas=callBound("WeakMap.prototype.has",!0),module2.exports=function(x){if(!x||"object"!=typeof x)return!1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas)}catch{return!0}return x instanceof $WeakSet}catch{}return!1}):module2.exports=function(x){return!1}}}),require_which_collection=__commonJS({"../../node_modules/which-collection/index.js"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&"object"==typeof value){if(isMap(value))return"Map";if(isSet(value))return"Set";if(isWeakMap(value))return"WeakMap";if(isWeakSet(value))return"WeakSet"}return!1}}}),require_is_callable=__commonJS({"../../node_modules/is-callable/index.js"(exports,module2){var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var all,constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch{return!1}},toStr3=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};"object"==typeof document&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||"object"==typeof value))try{var str=toStr3.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch{}return!1})),module2.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr3.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}}}),require_for_each=__commonJS({"../../node_modules/for-each/index.js"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function(list,iterator,thisArg){if(!isCallable3(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr3.call(list)?function(array,iterator,receiver){for(var i=0,len=array.length;i"u"?__webpack_require__.g:globalThis;module2.exports=function(){for(var out=[],i=0;i"u"?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(array,value){for(var i=0;i-1?tag:"Object"===tag&&function(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch{}})),found}(value)}return gOPD?function(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch{}})),found}(value):null}}}),require_array_buffer_byte_length=__commonJS({"../../node_modules/array-buffer-byte-length/index.js"(exports,module2){var $byteLength=require_callBound()("ArrayBuffer.prototype.byteLength",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN}}}),require_deep_equal=__commonJS({"../../node_modules/deep-equal/index.js"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound("SharedArrayBuffer.prototype.byteLength",!0),$getTime=callBound("Date.prototype.getTime"),gPO=Object.getPrototypeOf,$objToString=callBound("Object.prototype.toString"),$Set=GetIntrinsic("%Set%",!0),$mapHas=callBound("Map.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSize=callBound("Map.prototype.size",!0),$setAdd=callBound("Set.prototype.add",!0),$setDelete=callBound("Set.prototype.delete",!0),$setHas=callBound("Set.prototype.has",!0),$setSize=callBound("Set.prototype.size",!0);function setHasEqualElement(set,val1,opts,channel){for(var result,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return!1}function findLooseMatchingPrimitives(prim){return typeof prim>"u"?null:"object"!=typeof prim?"symbol"!=typeof prim&&("string"!=typeof prim&&"number"!=typeof prim||+prim==+prim):void 0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(null!=altValue)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return!(typeof curB>"u"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel))&&(!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel))}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var result,key2,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(key1,key2=result.value,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return!1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return!0;if(whichBoxedPrimitive(actual)!==whichBoxedPrimitive(expected))return!1;if(!actual||!expected||"object"!=typeof actual&&"object"!=typeof expected)return opts.strict?is(actual,expected):actual==expected;var sentinel,hasActual=channel.has(actual),hasExpected=channel.has(expected);if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return!0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||null==a||null==b2||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return!1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return!1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return!1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return!1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return!1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return!1;if(aWhich||bWhich){if(a.length!==b2.length)return!1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return!1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection===bCollection&&("Set"===aCollection||"Set"===bCollection?function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return!1;for(var resultA,resultB,set,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(resultA.value&&"object"==typeof resultA.value)set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return!1;set||(set=new $Set),$setAdd(set,resultA.value)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&"object"==typeof resultB.value){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel):"Map"!==aCollection||function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return!1;for(var resultA,resultB,set,key,item1,item2,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&"object"==typeof key)set||(set=new $Set),$setAdd(set,key);else if(typeof(item2=$mapGet(b2,key))>"u"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return!1;set||(set=new $Set),$setAdd(set,key)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&"object"==typeof key){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return!1}else if(!(opts.strict||a.has(key)&&internalDeepEqual($mapGet(a,key),item2,opts,channel)||mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel)))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel))}(actual,expected,opts,channel)}function isBuffer(x){return!(!x||"object"!=typeof x||"number"!=typeof x.length||"function"!=typeof x.copy||"function"!=typeof x.slice||x.length>0&&"number"!=typeof x[0])&&!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())}}}),require_elementRoleMap=__commonJS({"node_modules/aria-query/lib/elementRoleMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(elementRoles3);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,_key,elementRoles3)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key2){var item=elementRoles3.find((function(tuple){return(0,_deepEqual.default)(key2,tuple[0])}));return item&&item[1]},has:function(key2){return!!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return elementRoles3.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default}}),require_roleElementMap=__commonJS({"node_modules/aria-query/lib/roleElementMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(roleElement);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,roleElement)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=roleElement.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!roleElementMap.get(key)},keys:function(){return roleElement.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return roleElement.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default}}),require_lib=__commonJS({"node_modules/aria-query/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2}}),require_color_name=__commonJS({"../../node_modules/color-name/index.js"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),require_conversions=__commonJS({"../../node_modules/color-convert/conversions.js"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){let h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(60*h,360),h<0&&(h+=360);let l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return(v2-c)/6/diff2+.5};return 0===diff2?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v2]},convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,100*w,100*b2]},convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2);return[100*((1-r-k)/(1-k)||0),100*((1-g2-k)/(1-k)||0),100*((1-b2-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=(y2=value,((x=rgb)[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92,[100*(.4124*r+.3576*g2+.1805*b2),100*(.2126*r+.7152*g2+.0722*b2),100*(.0193*r+.1192*g2+.9505*b2)]},convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.hsl.rgb=function(hsl){let t2,t3,val,h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return[v2,t,p2];case 1:return[q,v2,p2];case 2:return[p2,v2,t];case 3:return[p2,q,v2];case 4:return[t,p2,v2];case 5:return[v2,p2,q]}},convert.hsv.hsl=function(hsv){let sl,l,h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01);l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){let f,h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,1&i&&(f=1-f);let r,g2,b2,n=wh+f*(v2-wh);switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n}return[255*r,255*g2,255*b2]},convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m2*(1-k)+k)),255*(1-Math.min(1,y2*(1-k)+k))]},convert.xyz.rgb=function(xyz){let r,g2,b2,x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100;return r=3.2406*x+-1.5372*y2+-.4986*z,g2=-.9689*x+1.8758*y2+.0415*z,b2=.0557*x+-.204*y2+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:12.92*g2,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:12.92*b2,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[255*r,255*g2,255*b2]},convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.lab.xyz=function(lab){let x,y2,z;y2=(lab[0]+16)/116,x=lab[1]/500+y2,z=y2-lab[2]/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]},convert.lab.lch=function(lab){let h,l=lab[0],a=lab[1],b2=lab[2];return h=360*Math.atan2(b2,a)/2/Math.PI,h<0&&(h+=360),[l,Math.sqrt(a*a+b2*b2),h]},convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){let c=10*(args-232)+8;return[c,c,c]}let rem;return args-=16,[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){let string2=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));let integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){let grayscale,hue,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g2-b2)/chroma%6:max===g2?2+(b2-r)/chroma:4+(r-g2)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(0===c)return[255*g2,255*g2,255*g2];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g2,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],100*f,100*v2]},convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c);return[hcg[0],100*(v2-c),100*(1-v2)]},convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],100*c,100*g2]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){let val=255&Math.round(gray[0]/100*255),string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}}}),require_route=__commonJS({"../../node_modules/color-convert/route.js"(exports,module2){var conversions=require_conversions();function deriveBFS(fromModel){let graph=function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach((toModel=>{let fn2=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn2){let wrappedFn=function(...args){let arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);let result=fn2(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn2(args))};return"conversion"in fn2&&(wrappedFn.conversion=fn2.conversion),wrappedFn}(fn2)}))})),module2.exports=convert}}),require_ansi_styles2=__commonJS({"../../node_modules/ansi-styles/index.js"(exports,module2){var colorConvert,wrapAnsi16=(fn2,offset)=>(...args)=>`[${fn2(...args)+offset}m`,wrapAnsi256=(fn2,offset)=>(...args)=>{let code=fn2(...args);return`[${38+offset};5;${code}m`},wrapAnsi16m=(fn2,offset)=>(...args)=>{let rgb=fn2(...args);return`[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0})},makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{void 0===colorConvert&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name="ansi16"===sourceSpace?"ansi":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):"object"==typeof suite&&(styles[name]=wrap(suite[targetSpace],offset))}return styles};Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",setLazyProperty(styles.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!1))),setLazyProperty(styles.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!0))),styles}})}}),require_browser=__commonJS({"../../node_modules/supports-color/browser.js"(exports,module2){module2.exports={stdout:!1,stderr:!1}}}),require_util2=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(exports,module2){module2.exports={stringReplaceAll:(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(-1===index)return string2;let substringLength=substring.length,endIndex=0,returnValue="";do{returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex:(string2,prefix,postfix,index)=>{let endIndex=0,returnValue="";do{let gotCR="\r"===string2[index-1];returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?"\r\n":"\n")+postfix,endIndex=index+1,index=string2.indexOf("\n",endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue}}}}),require_templates=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(exports,module2){var TEMPLATE_REGEX=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(c){let u2="u"===c[0],bracket="{"===c[1];return u2&&!bracket&&5===c.length||"x"===c[0]&&3===c.length?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let matches3,results=[],chunks=arguments_.trim().split(/\s*,\s*/g);for(let chunk of chunks){let number=Number(chunk);if(Number.isNaN(number)){if(!(matches3=chunk.match(STRING_REGEX)))throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);results.push(matches3[2].replace(ESCAPE_REGEX,((m2,escape2,character)=>escape2?unescape(escape2):character)))}else results.push(number)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let matches3,results=[];for(;null!==(matches3=STYLE_REGEX.exec(style));){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args))}else results.push([name])}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName]}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,((m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join("");chunk=[],chunks.push(0===styles.length?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)})}else if(close){if(0===styles.length)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk3,styles)(chunk.join(""))),chunk=[],styles.pop()}else chunk.push(character)})),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${1===styles.length?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")}}}),require_source=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=["ansi","ansi","ansi256","ansi16m"],styles=Object.create(null),ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return((object,options={})=>{if(options.level>3||options.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=void 0===options.level?colorLevel:options.level})(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:builder}),builder}};var usedModels=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){styles["bg"+model[0].toUpperCase()+model.slice(1)]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}}}var template,proto=Object.defineProperties((()=>{}),{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return void 0===parent?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,1===arguments_.length?""+arguments_[0]:arguments_.join(" "));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?"":string2;let styler=self2._styler;if(void 0===styler)return string2;let{openAll,closeAll}=styler;if(-1!==string2.indexOf(""))for(;void 0!==styler;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf("\n");return-1!==lfIndex&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(" ");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}}}),require_arrayIncludesWith=__commonJS({"../../node_modules/lodash/_arrayIncludesWith.js"(exports,module2){module2.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":0==index&&1==length&&45==codeUnit||!(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?"\\"+string2.charAt(index):string2.charAt(index):result+="�";return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape},"object"==typeof exports?module2.exports=factory(root):"function"==typeof define&&__webpack_require__.amdO?define([],factory.bind(root,root)):factory(root)}}),require_ansi_styles3=__commonJS({"node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections2=__commonJS({"node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){result+=indentationNext+printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner;result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return"ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" ["+(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+"]":"ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" {"+(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+"}":"StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue?stringedValue+" "+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ansi_regex=__commonJS({"../../node_modules/ansi-regex/index.js"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pattern,onlyFirst?void 0:"g")}}}),require_ConvertAnsi=__commonJS({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var test=val=>"string"==typeof val&&!!val.match((0,_ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(val.replace((0,_ansiRegex.default)(),(match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return"";case _ansiStyles.default.red.open:return"";case _ansiStyles.default.green.open:return"";case _ansiStyles.default.cyan.open:return"";case _ansiStyles.default.gray.open:return"";case _ansiStyles.default.white.open:return"";case _ansiStyles.default.yellow.open:return"";case _ansiStyles.default.bgRed.open:return"";case _ansiStyles.default.bgGreen.open:return"";case _ansiStyles.default.bgYellow.open:return"";case _ansiStyles.default.inverse.open:return"";case _ansiStyles.default.dim.open:return"";case _ansiStyles.default.bold.open:return"";default:return""}})),config3,indentation,depth,refs);exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_DOMCollection2=__commonJS({"node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?"["+name+"]":(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?"{"+(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)+"}":"["+(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+"]")};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML2=__commonJS({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup2=__commonJS({"node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML2());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+(0,_escapeHTML.default)(comment)+"--\x3e"+commentColor.close};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close}}}),require_DOMElement2=__commonJS({"node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>{var _val$constructor;return(null==val||null===(_val$constructor=val.constructor)||void 0===_val$constructor?void 0:_val$constructor.name)&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val)};function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable2=__commonJS({"node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),getImmutableName=name=>"Immutable."+name,printAsLeaf=name=>"["+name+"]";var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" ["+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"]",serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+"}")(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?name+" {"+(val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…")+"}":name+" ["+(val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…")+"]"})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):name+" {"+(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development2=__commonJS({"node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if("function"==typeof Symbol&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor("react.element"),REACT_PORTAL_TYPE=symbolFor("react.portal"),REACT_FRAGMENT_TYPE=symbolFor("react.fragment"),REACT_STRICT_MODE_TYPE=symbolFor("react.strict_mode"),REACT_PROFILER_TYPE=symbolFor("react.profiler"),REACT_PROVIDER_TYPE=symbolFor("react.provider"),REACT_CONTEXT_TYPE=symbolFor("react.context"),REACT_FORWARD_REF_TYPE=symbolFor("react.forward_ref"),REACT_SUSPENSE_TYPE=symbolFor("react.suspense"),REACT_SUSPENSE_LIST_TYPE=symbolFor("react.suspense_list"),REACT_MEMO_TYPE=symbolFor("react.memo"),REACT_LAZY_TYPE=symbolFor("react.lazy"),REACT_BLOCK_TYPE=symbolFor("react.block"),REACT_SERVER_BLOCK_TYPE=symbolFor("react.server.block"),REACT_FUNDAMENTAL_TYPE=symbolFor("react.fundamental"),symbolFor("react.scope"),symbolFor("react.opaque.id"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor("react.debug_trace_mode"),symbolFor("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=symbolFor("react.legacy_hidden")}function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_DEBUG_TRACING_MODE_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_LEGACY_HIDDEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_FUNDAMENTAL_TYPE&&type3.$$typeof!==REACT_BLOCK_TYPE&&type3[0]!==REACT_SERVER_BLOCK_TYPE))},exports.typeOf=typeOf}()}}),require_react_is2=__commonJS({"node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development2()}}),require_ReactElement2=__commonJS({"node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?"ForwardRef("+functionName+")":"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?"Memo("+functionName+")":"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent2=__commonJS({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=typeof globalThis<"u"?globalThis:typeof global2<"u"?global2:typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Symbol2=global2["jest-symbol-do-not-touch"]||global2.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build3=__commonJS({"node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?"[Function "+(val.name||"anonymous")+"]":"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return"["+errorToString.call(val)+"]"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return""+val;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?'"'+val.replace(/"|\\/g,"\\$&")+'"':'"'+val+'"';if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":(min?"":"Arguments ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?"["+val.constructor.name+"]":(min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":val.constructor.name+" ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":"[object Map]"===toStringed?hitMaxDepth?"[Map]":"Map {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")+"}":"[object Set]"===toStringed?hitMaxDepth?"[Set]":"Set {"+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"}":hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?"["+getConstructorName(val)+"]":(min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":getConstructorName(val)+" ")+"{"+(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+"}"}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,"\n"+indentationNext)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options&&void 0!==options.printFunctionName?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&void 0!==options.escapeRegex?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&void 0!==options.escapeString?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr,indent;return{callToJSON:options&&void 0!==options.callToJSON?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:options&&"function"==typeof options.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?"":(indent=options&&void 0!==options.indent?options.indent:DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options&&void 0!==options.maxDepth?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&void 0!==options.min?options.min:DEFAULT_OPTIONS.min,plugins:options&&void 0!==options.plugins?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:null===(_options$printBasicPr=options?.printBasicPrototype)||void 0===_options$printBasicPr||_options$printBasicPr,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?" ":"\n",spacingOuter:options&&options.min?"":"\n"}};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_lz_string=__commonJS({"../../node_modules/lz-string/libs/lz-string.js"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",keyStrUriSafe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[2*i+1]=current_value%256}return buf},decompressFromUint8Array:function(compressed){if(null==compressed)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c)}if(""!==context_w){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++)}for(value=2,i=0;i>=1;for(;;){if(context_data_val<<=1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}context_data_position++}return context_data.join("")},decompress:function(compressed){return null==compressed?"":""==compressed?null:LZString2._decompress(compressed.length,32768,(function(index){return compressed.charCodeAt(index)}))},_decompress:function(length,resetValue,getNextValue){var i,w,bits,resb,maxpower,power,c,dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry="",result=[],data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return""}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return"";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join("")}if(0==enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else{if(c!==dictSize)return null;entry=w+w.charAt(0)}result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),w=entry,0==--enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++)}}};return LZString2}();"function"==typeof define&&__webpack_require__.amdO?define((function(){return LZString})):typeof module2<"u"&&null!=module2?module2.exports=LZString:typeof angular<"u"&&null!=angular&&angular.module("LZString",[]).factory("LZString",(function(){return LZString}))}}),import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version,import_index.default.Assertion,import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default,scope=(()=>{let win;return win=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:{},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(" or ")}, received "${receivedType}"`)}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options})}catch{result=(0,import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}var SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1),__toESM(require_loupe(),1),RegExp(/\r?\n|[\r\u2028\u2029]/y.source);var reservedWords_strict=["implements","interface","let","package","private","protected","public","static","yield"];new Set(["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"]),new Set(reservedWords_strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}},NO_DIFF_MESSAGE="Compared values have no visual difference.",SIMILAR_MESSAGE="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b2=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b2)}\n\n`}(options,function countChanges(diffs){let a=0,b2=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1}})),{a,b:b2}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return"";let aType=getType2(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b2.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b2,options){let aFormat=(0,import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b2,options);case"map":return compareObjects(sortMap(a),sortMap(b2),options);case"set":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b2,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b2,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function d(e,t,n){Object.defineProperty(e,t,n)}function p(e,t,n){Object.defineProperty(e,t,{value:n})}var u=Symbol.for("tinyspy:spy"),I=new Set,v=e=>e[u]||(e=>(d(e,u,{value:{reset:()=>(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]})(e[u])}}),e[u]))(e);function T(e){m(y("function",e)||y("undefined",e),"cannot spy on a non-function value");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if("ok"===s)return l;throw l}let o,c="ok";if(r.impl)try{o=new.target?Reflect.construct(r.impl,a,new.target):r.impl.apply(this,a),c="ok"}catch(s){throw o=s,c="error",r.results.push([c,s]),s}let x=[c,o];if(function b(e){return e instanceof Promise}(o)){let s=o.then((l=>x[1]=l)).catch((l=>{throw x[0]="error",x[1]=l,l}));Object.assign(s,o),o=s}return r.results.push(x),o};p(t,"_isMockFunction",!0),p(t,"length",e?e.length:0),p(t,"name",e&&e.name||"spy");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y("undefined",e),"spyOn could not find an object to spy upon"),m(y("object",e)||y("function",e),"cannot spyOn on a primitive value");let[r,i]=(()=>{if(!y("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let f,l=!1;"value"===i&&s&&!s.value&&s.get&&(i="get",l=!0,n=s.get()),f=s?s[i]:"value"!==i?()=>e[r]:e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};"value"!==i&&delete k.writable,k[i]=w,d(e,r,k)},A=S[u];return p(A,"restore",(()=>s?d(e,r,s):O(f))),p(A,"getOriginal",(()=>l?f():f)),p(A,"willCall",(w=>(A.impl=w,S))),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn2){return"function"==typeof fn2&&"_isMockFunction"in fn2&&fn2._isMockFunction}var callOrder=0;function enhanceSpy(spy){let implementation,stub=spy,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map((([callType,value])=>({type:"error"===callType?"throw":"return",value})))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;return stub.getMockName=()=>name||"vi.fn()",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn2=>(implementation=fn2,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn2=>(onceImplementations.push(fn2),stub),stub.withImplementation=function withImplementation(fn2,cb){let originalImplementation=implementation;implementation=fn2,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1},result=cb();return result instanceof Promise?result.then((()=>(reset(),stub))):(reset(),stub)},stub.mockReturnThis=()=>stub.mockImplementation((function(){return this})),stub.mockReturnValue=val=>stub.mockImplementation((()=>val)),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce((()=>val)),stub.mockResolvedValue=val=>stub.mockImplementation((()=>Promise.resolve(val))),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.resolve(val))),stub.mockRejectedValue=val=>stub.mockImplementation((()=>Promise.reject(val))),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.reject(val))),Object.defineProperty(stub,"mock",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},"spy"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var IS_RECORD_SYMBOL="@@__IMMUTABLE_RECORD__@@",IS_COLLECTION_SYMBOL="@@__IMMUTABLE_ITERABLE__@@";var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes("circular structure")||m2.includes("cyclic structures")||m2.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1);return obj1Type===getType(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for("matchers-object"),JEST_MATCHERS_OBJECT=Symbol.for("$$jest-matchers-object-storybook"),GLOBAL_EXPECT=Symbol.for("expect-global"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState})}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers})}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current)}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;let replaceTrailingSpaces=text=>text.replace(/\s+$/gm,(spaces=>"·".repeat(spaces.length)));return{EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint:function matcherHint(matcherName,received="received",expected="expected",options={}){let{comment="",isDirectExpectCall=!1,isNot=!1,promise="",secondArgument="",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint="",dimString="expect";return!isDirectExpectCall&&""!==received&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=")"),""!==promise&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=""),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=""),matcherName.includes(".")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=""),""===expected?dimString+="()":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(", ")+secondArgumentColor(secondArgument)),dimString=")"),""!==comment&&(dimString+=` // ${comment}`),""!==dimString&&(hint+=DIM_COLOR(dimString)),hint},printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return eq(a,b2,[],[],customTesters=customTesters||[],strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return!!obj&&"object"==typeof obj&&"asymmetricMatch"in obj&&isA("Function",obj.asymmetricMatch)}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!asymmetricA||!asymmetricB){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}(a,b2);if(void 0!==asymmetricResult)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable)))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&void 0!==obj[key]}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return null!==obj&&"object"==typeof obj&&"nodeType"in obj&&"number"==typeof obj.nodeType&&"nodeName"in obj&&"string"==typeof obj.nodeName&&"isEqualNode"in obj&&"function"==typeof obj.isEqualNode}var IS_KEYED_SENTINEL="@@__IMMUTABLE_KEYED__@@",IS_SET_SENTINEL="@@__IMMUTABLE_SET__@@",IS_ORDERED_SENTINEL="@@__IMMUTABLE_ORDERED__@@";var IteratorSymbol=Symbol.iterator;function hasIterator(object){return!(null==object||!object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if("object"!=typeof a||"object"!=typeof b2||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return!1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter((t=>t!==iterableEquality)),function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}];if(void 0!==a.size){if(a.size!==b2.size)return!1;if(isA("Set",a)||function isImmutableUnorderedSet(maybeSet){return!(!maybeSet||!maybeSet[IS_SET_SENTINEL]||maybeSet[IS_ORDERED_SENTINEL])}(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)!0===equals(aValue,bValue,filteredCustomTesters)&&(has=!0);if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}if(isA("Map",a)||function isImmutableUnorderedKeyed(maybeKeyed){return!(!maybeKeyed||!maybeKeyed[IS_KEYED_SENTINEL]||maybeKeyed[IS_ORDERED_SENTINEL])}(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedValue=!1;!0===equals(aEntry[0],bEntry[0],filteredCustomTesters)&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),!0===matchedValue&&(has=!0)}if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return!1}return!!bIterator.next().done&&(aStack.pop(),bStack.pop(),!0)}function hasPropertyInObject(object,key){return!(!object||"object"!=typeof object||object===Object.prototype)&&(Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key))}function isObjectWithKeys(a){return function isObject(item){return null!=item&&"object"==typeof item&&!Array.isArray(item)}(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter((t=>t!==subsetEquality)),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every((key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0)}let result=null!=object2&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result}))};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(null!=a&&null!=b2&&a.constructor!==b2.constructor)return!1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer&&b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2)}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return!1;for(let i=0;it!==sparseArrayEquality)),!0)&&equals(aKeys,bKeys)}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(expect4){return{...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for("chai/inspect")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{…}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample))throw new Error("Expected is not a string");super(sample,inverse)}asymmetricMatch(other){let result=isA("String",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return null!=other}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return!!obj&&(!!Object.prototype.hasOwnProperty.call(obj,property)||this.hasProperty(this.getPrototype(obj),property))}asymmetricMatch(other){if("object"!=typeof this.sample)throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=0===this.sample.length||Array.isArray(other)&&this.sample.every((item=>other.some((another=>equals(item,another,matcherContext.customTesters)))));return this.inverse?!result:result}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(sample)}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return matches3?matches3[1]:""}asymmetricMatch(other){return this.sample===String?"string"==typeof other||other instanceof String:this.sample===Number?"number"==typeof other||other instanceof Number:this.sample===Function?"function"==typeof other||other instanceof Function:this.sample===Boolean?"boolean"==typeof other||other instanceof Boolean:this.sample===BigInt?"bigint"==typeof other||other instanceof BigInt:this.sample===Symbol?"symbol"==typeof other||other instanceof Symbol:this.sample===Object?"object"==typeof other:other instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample)&&!isA("RegExp",sample))throw new Error("Expected is not a String or a RegExp");super(new RegExp(sample),inverse)}asymmetricMatch(other){let result=isA("String",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA("Number",sample))throw new Error("Expected is not a Number");if(!isA("Number",precision))throw new Error("Precision is not a Number");super(sample),this.inverse=inverse,this.precision=precision}asymmetricMatch(other){if(!isA("Number",other))return!1;let result=!1;return result=other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY||Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${word="digit",count=this.precision,`${count} ${word}${1===count?"":"s"}`})`].join(" ");var word,count}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,"anything",(()=>new Anything)),utils.addMethod(chai2.expect,"any",(expected=>new Any(expected))),utils.addMethod(chai2.expect,"stringContaining",(expected=>new StringContaining(expected))),utils.addMethod(chai2.expect,"objectContaining",(expected=>new ObjectContaining(expected))),utils.addMethod(chai2.expect,"arrayContaining",(expected=>new ArrayContaining(expected))),utils.addMethod(chai2.expect,"stringMatching",(expected=>new StringMatching(expected))),utils.addMethod(chai2.expect,"closeTo",((expected,precision)=>new CloseTo(expected,precision))),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)}};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally((()=>{let index=test.promises.indexOf(promise);-1!==index&&test.promises.splice(index,1)})),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn2){return function(...args){var _a;let test=utils.flag(this,"vitest-test");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn2.apply(this,args);if(!test)throw new Error("expect.soft() can only be used inside a test");try{return fn2.apply(this,args)}catch(err){test.result||(test.result={state:"fail"}),test.result.state="fail",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err))}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn2){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn2);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper)};Array.isArray(name)?name.forEach((n=>addMethod(n))):addMethod(name)}["throw","throws","Throw"].forEach((m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,(_super=>function(...args){let promise=utils.flag(this,"promise"),object=utils.flag(this,"object"),isNot=utils.flag(this,"negate");if("rejects"===promise)utils.flag(this,"object",(()=>{throw object}));else if("resolves"===promise&&"function"!=typeof object){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}_super.apply(this,args)}))})),def("withTest",(function(test){return utils.flag(this,"vitest-test",test),this})),def("toEqual",(function(expected){let actual=utils.flag(this,"object"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",expected,actual)})),def("toStrictEqual",(function(expected){let obj=utils.flag(this,"object"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",expected,obj)})),def("toBe",(function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName="";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName="toStrictEqual":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName="toEqual")),this.assert(pass,function generateToBeMessage(deepEqualityName,expected="#{this}",actual="#{exp}"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return["toStrictEqual","toEqual"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace "toBe" with "${deepEqualityName}"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}(deepEqualityName),"expected #{this} not to be #{exp} // Object.is equality",expected,actual)})),def("toMatchObject",(function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",expected,actual)})),def("toMatch",(function(expected){return"string"==typeof expected?this.include(expected):this.match(expected)})),def("toContain",(function(item){let actual=this._obj;if(typeof Node<"u"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError("toContain() expected a DOM node as the argument, but got "+typeof item);return this.assert(actual.contains(item),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",item,actual)}if(typeof DOMTokenList<"u"&&actual instanceof DOMTokenList){assertTypes(item,"class name",["string"]);let expectedClassList=utils.flag(this,"negate")?actual.value.replace(item,"").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected "${actual.value}" to contain "${item}"`,`expected "${actual.value}" not to contain "${item}"`,expectedClassList,actual.value)}return null!=actual&&"string"!=typeof actual&&utils.flag(this,"object",Array.from(actual)),this.contain(item)})),def("toContainEqual",(function(expected){let obj=utils.flag(this,"object"),index=Array.from(obj).findIndex((item=>equals(item,expected,customTesters)));this.assert(-1!==index,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",expected)})),def("toBeTruthy",(function(){let obj=utils.flag(this,"object");this.assert(!!obj,"expected #{this} to be truthy","expected #{this} to not be truthy",obj,!1)})),def("toBeFalsy",(function(){let obj=utils.flag(this,"object");this.assert(!obj,"expected #{this} to be falsy","expected #{this} to not be falsy",obj,!1)})),def("toBeGreaterThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)})),def("toBeGreaterThanOrEqual",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)})),def("toBeLessThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actualString(key).replace(/([.[\]])/g,"\\$1"))).join("."));let actual=this._obj,[propertyName,expected]=args,{value,exists}=Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),pass=exists&&(1===args.length||equals(expected,value,customTesters)),valueString=1===args.length?"":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property "${propertyName}"${valueString}`,`expected #{this} to not have property "${propertyName}"${valueString}`,expected,exists?value:void 0)})),def("toBeCloseTo",(function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff((assertion=>{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)})(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return 1===j&&11!==k?`${i}st`:2===j&&12!==k?`${i}nd`:3===j&&13!==k?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map(((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return methodCall+=actualCall?diff(actualCall,callArg,{omitAnnotationLines:!0}):stringify(callArg).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`));def(["toHaveBeenCalledTimes","toBeCalledTimes"],(function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected "${spyName}" to be called #{exp} times, but got ${callCount} times`,`expected "${spyName}" to not be called #{exp} times`,number,callCount,!1)})),def("toHaveBeenCalledOnce",(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(1===callCount,`expected "${spyName}" to be called once, but got ${callCount} times`,`expected "${spyName}" to not be called once`,1,callCount,!1)})),def(["toHaveBeenCalled","toBeCalled"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[called,`expected "${spyName}" to be called at least once`,`expected "${spyName}" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)})),def(["toHaveBeenCalledWith","toBeCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some((callArg=>equals(callArg,args,[...customTesters,iterableEquality]))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to be called with arguments: #{exp}`,`expected "${spyName}" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))})),def(["toHaveBeenNthCalledWith","nthCalledWith"],(function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} "${spyName}" call to have been called with #{exp}`,`expected ${ordinalOf(times)} "${spyName}" call to not have been called with #{exp}`,args,nthCall)})),def(["toHaveBeenLastCalledWith","lastCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last "${spyName}" call to have been called with #{exp}`,`expected last "${spyName}" call to not have been called with #{exp}`,args,lastCall)})),def(["toThrow","toThrowError"],(function(expected){if("string"==typeof expected||typeof expected>"u"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,"promise"),isNot=utils.flag(this,"negate"),thrown=null;if("rejects"===promise)thrown=obj;else{if("resolves"===promise&&"function"!=typeof obj){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}{let isThrow=!1;try{obj()}catch(err){isThrow=!0,thrown=err}if(!isThrow&&!isNot){let message=utils.flag(this,"message")||"expected function to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}}if("function"==typeof expected){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if("object"==typeof expected&&"asymmetricMatch"in expected&&"function"==typeof expected.asymmetricMatch){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",matcher,thrown)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof expected}"`)})),def(["toHaveReturned","toReturn"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some((({type:type3})=>"throw"!==type3));this.assert(calledAndNotThrew,`expected "${spyName}" to be successfully called at least once`,`expected "${spyName}" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1)})),def(["toHaveReturnedTimes","toReturnTimes"],(function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce(((success,{type:type3})=>"throw"===type3?success:++success),0);this.assert(successfulReturns===times,`expected "${spyName}" to be successfully called ${times} times`,`expected "${spyName}" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1)})),def(["toHaveReturnedWith","toReturnWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some((({type:type3,value:result})=>"return"===type3&&equals(value,result))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to return with: #{exp} at least once`,`expected "${spyName}" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(((spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map(((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return methodCall+=actualReturn?diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):stringify(callReturn).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`),msg+c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`)))(spy,msg,value))})),def(["toHaveLastReturnedWith","lastReturnedWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last "${spyName}" call to return #{exp}`,`expected last "${spyName}" call to not return #{exp}`,value,lastResult)})),def(["toHaveNthReturnedWith","nthReturnedWith"],(function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,"negate"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&"throw"===callType&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} "${spyName}" call to return #{exp}`,`expected ${ordinalCall} "${spyName}" call to not return #{exp}`,value,callResult)})),def("toSatisfy",(function(matcher,message){return this.be.satisfy(matcher,message)})),utils.addProperty(chai2.Assertion.prototype,"resolves",(function(){let error=new Error("resolves");utils.flag(this,"promise","resolves"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object");if("function"!=typeof obj?.then)throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then((value=>(utils.flag(this,"object",value),result.call(this,...args))),(err=>{let _error=new AssertionError2(`promise rejected "${utils.inspect(err)}" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error}));return recordAsyncExpect(test,promise)}}});return proxy})),utils.addProperty(chai2.Assertion.prototype,"rejects",(function(){let error=new Error("rejects");utils.flag(this,"promise","rejects"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object"),wrapper="function"==typeof obj?obj():obj;if("function"!=typeof wrapper?.then)throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then((value=>{let _error=new AssertionError2(`promise resolved "${utils.inspect(value)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error}),(err=>(utils.flag(this,"object",err),result.call(this,...args))));return recordAsyncExpect(test,promise)}}});return proxy}))};var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected}};function JestExtendPlugin(expect4,matchers){return(c,utils)=>{Object.entries(matchers).forEach((([expectAssertionName,expectAssertion])=>{let softWrapper=wrapSoft(utils,(function expectWrapper(...args){let{state,isNot,obj}=function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,"negate"),promise=util.flag(assertion,"promise")||"",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return{state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&"object"==typeof result&&result instanceof Promise)return result.then((({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)}));let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}));utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse)}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return`${this.inverse?"not.":""}${expectAssertionName}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0})}))}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,"extend",((expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects))}))},matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,"__esModule",{value:!0,configurable:!0})}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0})}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports),$parcel$export($009ddb00d3ec72b8$exports,"default",(()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039));var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+":"+lineno+":"+column+": "+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports),$parcel$export($0865a9fb4cc365fe$exports,"default",(()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039));var $b2e137848b48cf4f$export$9be5dd6e61d5d73a,CssTypes,$0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source}};$parcel$export({},"CssTypes",(()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a)),(CssTypes=$b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={})).stylesheet="stylesheet",CssTypes.rule="rule",CssTypes.declaration="declaration",CssTypes.comment="comment",CssTypes.container="container",CssTypes.charset="charset",CssTypes.document="document",CssTypes.customMedia="custom-media",CssTypes.fontFace="font-face",CssTypes.host="host",CssTypes.import="import",CssTypes.keyframes="keyframes",CssTypes.keyframe="keyframe",CssTypes.layer="layer",CssTypes.media="media",CssTypes.namespace="namespace",CssTypes.page="page",CssTypes.supports="supports";var $d708735ed1303b43$var$commentre=/\/\*[^]*?(?:\*\/|$)/g;function $d708735ed1303b43$var$trim(str){return str?str.trim():""}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&"string"==typeof obj.type,childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach((v2=>{$d708735ed1303b43$var$addParent(v2,childParent)})):value&&"object"==typeof value&&$d708735ed1303b43$var$addParent(value,childParent)}return isNode&&Object.defineProperty(obj,"parent",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $149c1bd638913645$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||""),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||"",msg,lineno,column,css);if(!options?.silent)throw err;errorsList.push(err)}function open(){return match(/^{\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&"}"!==css.charAt(0)&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return function updatePosition(str){let lines=str.match(/\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf("\n");column=~i?str.length-i:column+str.length}(str),css=css.slice(str.length),m2}function whitespace(){match(/^\s*/)}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if("/"!==css.charAt(0)||"*"!==css.charAt(1))return;let m2=match(/^\/\*[^]*?\*\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error("End of comment missing")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(")",ptr);for(;!found&&-1!==closeParentheses;){let nextParentheses=str.indexOf("(",ptr);-1!==nextParentheses&&nextParenthesesm3.replace(/,/g,"‌"))),res.split(",").map((s=>$d708735ed1303b43$var$trim(s.replace(/\u200C/g,","))))}function declaration(){let pos=position(),propMatch=match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\s*/))return error("property missing ':'");let val=match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,""),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,""):""});return match(/^[;\s]*/),ret}function declarations(){let decl,decls=[];if(!open())return error("missing '{'");for(comments(decls);decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error("missing '}'")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)vals.push(m2[1]),match(/^,\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}let atimport=_compileAtrule("import"),atcharset=_compileAtrule("charset"),atnamespace=_compileAtrule("namespace");function _compileAtrule(name){let re=new RegExp("^@"+name+"\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)");return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if("@"===css[0])return function atkeyframes(){let pos=position(),m1=match(/^@([-\w]+)?keyframes\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\w]+)\s*/);if(!m2)return error("@keyframes missing name");let name=m2[1];if(!open())return error("@keyframes missing '{'");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error("@keyframes missing '}'")}()||function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@media missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error("@media missing '}'")}()||function atcustommedia(){let pos=position(),m2=match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}()||function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@supports missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error("@supports missing '}'")}()||atimport()||atcharset()||atnamespace()||function atdocument(){let pos=position(),m2=match(/^@([-\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error("@document missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error("@document missing '}'")}()||function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error("@page missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error("@page missing '}'")}()||function athost(){let pos=position();if(!match(/^@host\s*/))return;if(!open())return error("@host missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error("@host missing '}'")}()||function atfontface(){let pos=position();if(!match(/^@font-face\s*/))return;if(!open())return error("@font-face missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error("@font-face missing '}'")}()||function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@container missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error("@container missing '}'")}()||function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error("@layer missing '}'")}()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error("selector missing")}return $d708735ed1303b43$var$addParent(function stylesheet(){let rulesList=rules();return{type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}())},toStr=Object.prototype.toString;function isCallable(fn2){return"function"==typeof fn2||"[object Function]"===toStr.call(fn2)}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=function toInteger(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>"u"?Set:SetLike;function getLocalName(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole(element,implicitRole){return function hasGlobalAriaAttributes(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole(element){var explicitRole=function getExplicitRole(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||-1!==presentationRoles.indexOf(explicitRole)){var implicitRole=function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if(-1===presentationRoles.indexOf(explicitRole||"")||ignorePresentationalRole(element,implicitRole||""))return implicitRole}return explicitRole}var presentationRoles=["presentation","none"];function isElement(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&"caption"===getLocalName(node)}function isHTMLInputElement(node){return isElement(node)&&"input"===getLocalName(node)}function isHTMLLegendElement(node){return isElement(node)&&"legend"===getLocalName(node)}function isSVGTitleElement(node){return function isSVGElement(node){return isElement(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName(node)}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles(node,roles3){return!!isElement(node)&&-1!==roles3.indexOf(getRole(node))}function hasAbstractRole(node,role){if(!isElement(node))return!1;if("range"===role)return hasAnyConcreteRoles(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions(listbox){return function isHTMLSelectElement(node){return isElement(node)&&"select"===getLocalName(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,"[selected]"):querySelectorAllSubtree(listbox,'[aria-selected="true"]')}function getValueOfTextbox(element){return isHTMLInputElement(element)||function isHTMLTextAreaElement(node){return isElement(node)&&"textarea"===getLocalName(node)}(element)?element.value:element.textContent||""}function getTextualContent(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement(element){var localName=getLocalName(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function computeTextAlternative(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default,window2=function safeWindow(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement(node){return isElement(node)&&"slot"===getLocalName(node)}(node)?function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom(slot.childNodes):assignedNodes}(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement(node))return null;if(function isHTMLFieldSetElement(node){return isElement(node)&&"fieldset"===getLocalName(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl(node){return hasAnyConcreteRoles(node,["button","combobox","listbox","textbox"])||hasAbstractRole(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return 0===selectedOptions.length?isHTMLInputElement(current)?current.value:"":arrayFrom(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(function allowsNameFromContent(node){return hasAnyConcreteRoles(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof2(o){return(_typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o2){return typeof o2}:function(o2){return o2&&"function"==typeof Symbol&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2})(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming(node){return hasAnyConcreteRoles(node,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType="";try{withType=context.utils.printWithType("Received",received,context.utils.printReceived)}catch{}this.message=[context.utils.matcherHint(`${context.isNot?".not":""}.${matcherFn.name}`,"received",""),"",`${context.utils.RECEIVED_COLOR("received")} value must ${expectedString}.`,withType].join("\n")}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super("be an HTMLElement or an SVGElement",...args)}},NodeTypeError=class extends GenericTypeError{constructor(...args){super("be a Node",...args)}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement||htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,"",context.utils.RECEIVED_COLOR("Failing css:"),context.utils.RECEIVED_COLOR(`${received.css}`)].join("\n")}};function display(context,value){return"string"==typeof value?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return[`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0,import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0,import_redent.default)(display(context,receivedValue),2))}`].join("\n")}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText)}function normalize(text){return text.replace(/\s+/g," ").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case"input":return function getInputValue(inputElement){switch(inputElement.type){case"number":return""===inputElement.value?null:Number(inputElement.value);case"checkbox":return inputElement.checked;default:return inputElement.value}}(element);case"select":return function getSelectValue({multiple,options}){let selectedOptions=[...options].filter((option=>option.selected));return multiple?[...selectedOptions].map((opt=>opt.value)):0!==selectedOptions.length?selectedOptions[0].value:void 0}(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return(0,import_isEqual.default)(new Set(a),new Set(b2))}function toBeInTheDOM(element,container){return deprecate("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDOM","element",""),"","Received:",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join("\n")}}function toBeInTheDocument(element){(null!==element||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=null!==element&&element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`;return{pass,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDocument","element",""),"",this.utils.RECEIVED_COLOR(this.isNot?errorFound():"element could not be found in the document")].join("\n")}}function toBeEmpty(element){return deprecate("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),checkHtmlElement(element,toBeEmpty,this),{pass:""===element.innerHTML,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmpty","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmptyDOMElement","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function isEmptyElement(element){return 0===[...element.childNodes].filter((node=>8!==node.nodeType)).length}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),null!==element&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainElement","element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join("\n")}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement("div");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),"string"!=typeof htmlText)throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return{pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainHTML","element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(htmlText)}`,"Received:",` ${this.utils.printReceived(container.cloneNode(!0))}`].join("\n")}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){!function checkNode(node,...args){if(checkHasWindow(node,NodeTypeError,...args),!(node instanceof node.ownerDocument.defaultView.Node))throw new NodeTypeError(node,...args)}(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\u00a0/g," "),checkingWithEmptyString=""!==textContent&&""===checkWith;return{pass:!checkingWithEmptyString&&(textToMatch=textContent,matcher=checkWith,matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveTextContent","element",""),checkingWithEmptyString?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${to} have text content`,checkWith,"Received",textContent)}};var textToMatch,matcher}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=function computeAccessibleDescription(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs(root,"aria-describedby").map((function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:"description"}))})).join(" ");if(""===description){var ariaDescription=root.getAttribute("aria-description");description=null===ariaDescription?"":ariaDescription}if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleDescription:expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleDescription.name}`,"element",""),`Expected element ${to} have accessible description`,expectedAccessibleDescription,"Received",actualAccessibleDescription)}}}var ariaInvalidName="aria-invalid",validStates=["false"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?"not to":"to",method=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",errormessageId=htmlElement.getAttribute("aria-errormessage");if(errormessageId&&/\s+/.test(errormessageId))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${errormessageId}"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element to be marked as invalid with attribute",`${ariaInvalidName}="${String(!0)}"`,"Received",htmlElement.hasAttribute("aria-invalid")?`${ariaInvalidName}="${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??"");return{pass:void 0===expectedAccessibleErrorMessage?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,"element"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??"","Received",error)}}var elementRoleList=function buildElementRoleList(elementRolesMap){function getSelectorSpecificity({attributes=[]}){return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector({name,attributes}){return`${name}${attributes.map((({name:attributeName,value,constraints=[]})=>-1!==constraints.indexOf("undefined")?`:not([${attributeName}])`:value?`[${attributeName}="${value}"]`:`[${attributeName}]`)).join("")}`}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}))}(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute("role")?htmlElement.getAttribute("role").split(" ").filter(Boolean):function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return[...roles3];return[]}(htmlElement)}(htmlElement);return{pass:actualRoles.some((el=>el===expectedRole)),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveRole.name}`,"element",""),`Expected element ${to} have role`,expectedRole,"Received",actualRoles.join(", "))}}}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleName:expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleName.name}`,"element",""),`Expected element ${to} have accessible name`,expectedAccessibleName,"Received",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return void 0===value?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return void 0===value?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=void 0!==expectedValue,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return{pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?"not to":"to",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null;return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveAttribute","element",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)}),`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),"Received",receivedAttribute)}}}function splitClassNames(str){return str?str.split(/\s+/).filter((s=>s.length>0)):[]}function isSubset$1(subset,superset){return subset.every((strOrRegexp=>"string"==typeof strOrRegexp?superset.includes(strOrRegexp):superset.some((className=>strOrRegexp.test(className)))))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=function getExpectedClassNamesAndOptions(params){let expectedClassNames,options,lastParam=params.pop();return"object"!=typeof lastParam||lastParam instanceof RegExp?(expectedClassNames=params.concat(lastParam),options={exact:!1}):(expectedClassNames=params,options=lastParam),{expectedClassNames,options}}(params),received=splitClassNames(htmlElement.getAttribute("class")),expected=expectedClassNames.reduce(((acc,className)=>acc.concat("string"!=typeof className&&className?className:splitClassNames(className))),[]),hasRegExp=expected.some((className=>className instanceof RegExp));if(options.exact&&hasRegExp)throw new Error("Exact option does not support RegExp expected class names");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(" "),"Received",received.join(" "))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have class`,expected.join(" "),"Received",received.join(" "))}}:{pass:!!this.isNot&&received.length>0,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",received.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join("\n")}}function printoutStyles(styles){return Object.keys(styles).sort().map((prop=>`${prop}: ${styles[prop]};`)).join("\n")}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter((prop=>void 0!==expected[prop])).reduce(((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)})),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red("+ Received")}\n`,"")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS="object"==typeof css?css:function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter((d2=>"declaration"===d2.type)).reduce(((obj,{property,value})=>Object.assign(obj,{[property]:value})),{})}(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement("div");return Object.keys(css).forEach((property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property]})),styles}(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return{pass:(styles=expected,computedStyle=received,!!Object.keys(styles).length&&Object.entries(styles).every((([prop,value])=>{let isCustomProperty=prop.startsWith("--"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some((name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value))}))),message:()=>{let matcher=(this.isNot?".not":"")+".toHaveStyle";return[this.utils.matcherHint(matcher,"element",""),expectedDiff(this.utils.diff,expected,received)].join("\n\n")}};var styles,computedStyle}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toHaveFocus","element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(element)}`]:["Expected element with focus:",` ${this.utils.printExpected(element)}`,"Received element with focus:",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join("\n")}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name="${(0,import_css.default)(name)}"]`)];if(0!==elements.length){if(1===elements.length)return getSingleElementValue(elements[0]);return function getMultiElementValue(elements){let types=(0,import_uniq.default)(elements.map((element=>element.type)));if(1!==types.length)throw new Error("Multiple form elements with the same name must be of the same type");switch(types[0]){case"radio":{let theChosenOne=elements.find((radio=>radio.checked));return theChosenOne?theChosenOne.value:void 0}case"checkbox":return elements.filter((checkbox=>checkbox.checked)).map((checkbox=>checkbox.value));default:return elements.map((element=>element.value))}}(elements)}}function getPureName(name){return/\[\]$/.test(name)?name.slice(0,-2):name}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let formValues=function getAllFormValues(container){return Array.from(container.elements).map((element=>element.name)).reduce(((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)})),{})}(formElement);return{pass:Object.entries(expectedValues).every((([name,expectedValue])=>(0,import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet))),message:()=>{let to=this.isNot?"not to":"to",matcher=(this.isNot?".not":"")+".toHaveFormValues",commonKeyValues=Object.keys(formValues).filter((key=>expectedValues.hasOwnProperty(key))).reduce(((obj,key)=>({...obj,[key]:formValues[key]})),{});return[this.utils.matcherHint(matcher,"element",""),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join("\n\n")}}}function isElementVisible(element,previousElement){return function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return"none"!==display2&&"hidden"!==visibility&&"collapse"!==visibility&&"0"!==opacity&&0!==opacity}(element)&&function isAttributeVisible(element,previousElement){let detailsVisibility;return detailsVisibility=previousElement?"DETAILS"!==element.nodeName||"SUMMARY"===previousElement.nodeName||element.hasAttribute("open"):"DETAILS"!==element.nodeName||element.hasAttribute("open"),!element.hasAttribute("hidden")&&detailsVisibility}(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return{pass:isVisible2,message:()=>{let is=isVisible2?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeVisible","element",""),"",`Received element ${is} visible${isInDocument?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$2=["fieldset","input","select","optgroup","option","button","textarea"];function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!function isFirstLegendChildOfFieldset(element,parent){return"legend"===getTag(element)&&"fieldset"===getTag(parent)&&element.isSameNode(Array.from(parent.children).find((child=>"legend"===getTag(child))))}(element,parent)}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||function isCustomElement(tag){return tag.includes("-")}(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute("disabled")}function isAncestorDisabled(element){let parent=element.parentElement;return!!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return{pass:isDisabled3,message:()=>{let is=isDisabled3?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeDisabled","element",""),"",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return{pass:isEnabled,message:()=>{let is=isEnabled?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeEnabled","element",""),"",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$1=["select","textarea"],ARIA_FORM_TAGS=["input","select","textarea"],UNSUPPORTED_INPUT_TYPES=["color","hidden","range","submit","image","reset"],SUPPORTED_ARIA_ROLES=["combobox","gridcell","radiogroup","spinbutton","tree"];function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute("required")}(element)||function isRequiredOnSupportedInput(element){return"input"===getTag(element)&&element.hasAttribute("required")&&(element.hasAttribute("type")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute("type"))||!element.hasAttribute("type"))}(element)||function isElementRequiredByARIA(element){return element.hasAttribute("aria-required")&&"true"===element.getAttribute("aria-required")&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute("role")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute("role")))}(element);return{pass:isRequired,message:()=>{let is=isRequired?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeRequired","element",""),"",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS=["form","input","select","textarea"];function isElementInvalid(element){let isHaveAriaInvalid=function isElementHavingAriaInvalid(element){return element.hasAttribute("aria-invalid")&&"false"!==element.getAttribute("aria-invalid")}(element);return function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return{pass:isInvalid,message:()=>{let is=isInvalid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeInvalid","element",""),"",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return{pass:isValid,message:()=>{let is=isValid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeValid","element",""),"",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),"input"===htmlElement.tagName.toLowerCase()&&["checkbox","radio"].includes(htmlElement.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let receivedValue=getSingleElementValue(htmlElement),expectsValue=void 0!==expectedValue,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0,import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveValue","element",expectedValue),`Expected the element ${to} have value`,expectsValue?expectedTypedValue:"(any)","Received",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(!["select","input","textarea"].includes(tagName))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if("input"===tagName&&["radio","checkbox"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${htmlElement.type}"], try with another matcher instead.`);let values=function getValues(tagName,htmlElement){return"select"===tagName?Array.from(htmlElement).filter((option=>option.selected)).map((option=>option.textContent)):[htmlElement.value]}(tagName,htmlElement),expectedValues=function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}(expectedValue),numberOfMatchesWithValues=expectedValues.filter((expected=>values.some((value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return{pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDisplayValue","element",""),`Expected element ${this.isNot?"not ":""}to have display value`,expectedValue,"Received",values)}}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&["checkbox","radio"].includes(element.type);if(!(isValidInput()||roleSupportsChecked(element.getAttribute("role"))&&["true","false"].includes(element.getAttribute("aria-checked"))))return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${function supportedRolesSentence(){return function toSentence(array,{wordConnector=", ",lastWordConnector=" and "}={}){return[array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:"")}(function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}().map((role=>`role="${role}"`)),{lastWordConnector:" or "})}()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:"true"===element.getAttribute("aria-checked");return{pass:isChecked(),message:()=>{let is=isChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeChecked","element",""),"",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function roleSupportsChecked(role){return void 0!==import_aria_query.roles.get(role)?.props["aria-checked"]}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&"checkbox"===element.type;if(!isValidInput()&&"checkbox"!==element.getAttribute("role"))return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed="mixed"===element.getAttribute("aria-checked");return isValidInput()&&element.indeterminate||isAriaMixed};return{pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBePartiallyChecked","element",""),"",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveDescription(htmlElement,checkWith){deprecate("toHaveDescription","Please use toHaveAccessibleDescription."),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=void 0!==checkWith,descriptionIDs=(htmlElement.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),description="";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map((descriptionID=>document2.getElementById(descriptionID))).filter(Boolean);description=normalize(descriptionEls.map((el=>el.textContent)).join(" "))}return{pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDescription","element",""),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute("aria-invalid")||"false"===htmlElement.getAttribute("aria-invalid")){let not=this.isNot?".not":"";return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",htmlElement.hasAttribute("aria-invalid")?`aria-invalid="${htmlElement.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let expectsErrorMessage=void 0!==checkWith,errormessageIDs=(htmlElement.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),errormessage="";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map((errormessageID=>document2.getElementById(errormessageID))).filter(Boolean);errormessage=normalize(errormessageEls.map((el=>el.textContent)).join(" "))}return{pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveErrorMessage","element",""),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1),__toESM(require_isEqual(),1),__toESM(require_lib(),1),__toESM(require_source(),1),__toESM(require_isEqualWith(),1),__toESM(require_uniq(),1),__toESM(require_css_escape(),1);var expect2=function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};return Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` "${message}" `:" "}not to be reached`)},setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,"assertions",(function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen})})),util.addMethod(expect4,"hasAssertions",(function hasAssertions(){let error=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error})})),expect4.extend(matchers_exports),expect4}();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3()),toStr2=Object.prototype.toString;function isCallable2(fn2){return"function"==typeof fn2||"[object Function]"===toStr2.call(fn2)}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=function toInteger2(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable2(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck2(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty3(obj,key,value){return(key=_toPropertyKey3(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass2(Constructor,protoProps,staticProps){return protoProps&&_defineProperties2(Constructor.prototype,protoProps),staticProps&&_defineProperties2(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>"u"?Set:SetLike2;function getLocalName2(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes2={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole2(element,implicitRole){return function hasGlobalAriaAttributes2(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes2[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole2(element){var explicitRole=function getExplicitRole2(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||"presentation"===explicitRole){var implicitRole=function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName2(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole2(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if("presentation"!==explicitRole||ignorePresentationalRole2(element,implicitRole||""))return implicitRole}return explicitRole}function isElement2(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&"caption"===getLocalName2(node)}function isHTMLInputElement2(node){return isElement2(node)&&"input"===getLocalName2(node)}function isHTMLLegendElement2(node){return isElement2(node)&&"legend"===getLocalName2(node)}function isSVGTitleElement2(node){return function isSVGElement2(node){return isElement2(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName2(node)}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles2(node,roles3){return!!isElement2(node)&&-1!==roles3.indexOf(getRole2(node))}function hasAbstractRole2(node,role){if(!isElement2(node))return!1;if("range"===role)return hasAnyConcreteRoles2(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions2(listbox){return function isHTMLSelectElement2(node){return isElement2(node)&&"select"===getLocalName2(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,"[selected]"):querySelectorAllSubtree2(listbox,'[aria-selected="true"]')}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||function isHTMLTextAreaElement2(node){return isElement2(node)&&"textarea"===getLocalName2(node)}(element)?element.value:element.textContent||""}function getTextualContent2(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement2(element){var localName=getLocalName2(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel2(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function computeTextAlternative2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default2,window2=function safeWindow2(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement2(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent2(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement2(node){return isElement2(node)&&"slot"===getLocalName2(node)}(node)?function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom2(slot.childNodes):assignedNodes}(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement2(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement2(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent2(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(function isHTMLFieldSetElement2(node){return isElement2(node)&&"fieldset"===getLocalName2(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement2(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles2(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement2(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs2(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl2(node){return hasAnyConcreteRoles2(node,["button","combobox","listbox","textbox"])||hasAbstractRole2(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,["none","presentation"])}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return 0===selectedOptions.length?isHTMLInputElement2(current)?current.value:"":arrayFrom2(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole2(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles2(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement2(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString2(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof4(obj){return(_typeof4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys2.push.apply(keys2,symbols)}return keys2}function _objectSpread2(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs2(root,"aria-describedby").map((function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:"description"}))})).join(" ");if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}function computeAccessibleName2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,">")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")},printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>{let printedChild="string"==typeof child?printText(child,config3):printer(child,config3,indentation,depth,refs);return""===printedChild&&"object"==typeof child&&null!==child&&3!==child.nodeType?"":config3.spacingOuter+indentation+printedChild})).join(""),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+escapeHTML(comment)+"--\x3e"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close},TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||"function"==typeof val.hasAttribute&&val.hasAttribute("is");return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&"Text"===constructorName||nodeType===COMMENT_NODE$1&&"Comment"===constructorName||nodeType===FRAGMENT_NODE&&"DocumentFragment"===constructorName};function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return{test:val=>{var _val$constructor2;return(null==val||null==(_val$constructor2=val.constructor)?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return node.nodeType===TEXT_NODE$1}(node))return printText(node.data,config3);if(function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,"fs").readFileSync,codeFrameColumns=nodeRequire.call(module,"@babel/code-frame").codeFrameColumns,chalk2=nodeRequire.call(module,"chalk")}catch{}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return"";return function getCodeFrame(frame){let locationStart=frame.indexOf("(")+1,locationEnd=frame.indexOf(")"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(":"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents="";try{rawFileContents=readFileSync(filename,"utf-8")}catch{return""}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+"\n"+codeFrame+"\n"}((new Error).stack.split("\n").slice(1).find((frame=>!frame.includes("node_modules/"))))}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<"u"&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function getDocument(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&null===node.ownerDocument.defaultView?new Error("It looks like the window object is not available for the provided node."):node.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(node)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):"function"==typeof node.debug&&"function"==typeof node.logTestingPlaygroundURL?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof node+".")}function checkContainerType(container){if(!container||"function"!=typeof container.querySelector||"function"!=typeof container.querySelectorAll)throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+function getTypeName(object){return"object"==typeof object?null===object?"null":object.constructor.name:typeof object}(container)+".")}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse(null==(_process=process)||null==(_process=_process.env)?void 0:_process.COLORS)}catch{}return"boolean"==typeof colors?colors:typeof process<"u"&&void 0!==process.versions&&void 0!==process.versions.node},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(void 0===options&&(options={}),dom||(dom=getDocument().body),"number"!=typeof maxLength&&(maxLength=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),0===maxLength)return"";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if("object"===domTypeName?domTypeName=dom.constructor.name:dom={},!("outerHTML"in dom))throw new TypeError("Expected an element or document but got "+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return void 0!==maxLength&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+"...":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+"\n\n"+userCodeFrame:prettyDOM(...arguments))},config2={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,"Ignored nodes: comments, "+config2.defaultIgnore+"\n"+prettifiedDOM].filter(Boolean).join("\n\n"));return error.name="TestingLibraryElementError",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function configure(newConfig){"function"==typeof newConfig&&(newConfig=newConfig(config2)),config2={...config2,...newConfig}}function getConfig(){return config2}var labelledNodeNames=["button","meter","output","progress","select","textarea","input"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?"":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map((childNode=>getTextContent(childNode))).join("")}function getLabelContent(element){let textContent;return textContent="label"===element.tagName.toLowerCase()?getTextContent(element):element.value||element.textContent,textContent}function getRealLabels(element){var _labels;if(void 0!==element.labels)return null!=(_labels=element.labels)?_labels:[];if(!function isLabelable(element){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||"INPUT"===element.tagName&&"hidden"!==element.getAttribute("type")}(element))return[];let labels=element.ownerDocument.querySelectorAll("label");return Array.from(labels).filter((label=>label.control===element))}function getLabels3(container,element,_temp){let{selector="*"}=void 0===_temp?{}:_temp,ariaLabelledBy=element.getAttribute("aria-labelledby"),labelsId=ariaLabelledBy?ariaLabelledBy.split(" "):[];return labelsId.length?labelsId.map((labelId=>{let labellingElement=container.querySelector('[id="'+labelId+'"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:"",formControl:null}})):Array.from(getRealLabels(element)).map((label=>({content:getLabelContent(label),formControl:Array.from(label.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((formControlElement=>formControlElement.matches(selector)))[0]})))}function assertNotNullOrUndefined(matcher){if(null==matcher)throw new Error("It looks like "+matcher+" was passed instead of a matcher. Did you do something like getByText("+matcher+")?")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return"string"==typeof matcher||"number"==typeof matcher?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):"function"==typeof matcher?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=void 0===_temp?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\s+/g," "):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<"u"||typeof collapseWhitespace<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&0!==matcher.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),matcher.lastIndex=0),match}function getNodeText(node){return node.matches("input[type=submit], input[type=button], input[type=reset]")?node.value:Array.from(node.childNodes).filter((child=>child.nodeType===TEXT_NODE&&!!child.textContent)).map((c=>c.textContent)).join("")}var elementRoleList2=function buildElementRoleList2(elementRolesMap){function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector(_ref){let{name,attributes}=_ref;return""+name+attributes.map((_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return-1!==constraints.indexOf("undefined")?":not(["+attributeName+"])":value?"["+attributeName+'="'+value+'"]':"["+attributeName+"]"})).join("")}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}))}(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return!0===element.hidden||"true"===element.getAttribute("aria-hidden")||"none"===element.ownerDocument.defaultView.getComputedStyle(element).display}function isInaccessible(element,options){void 0===options&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if("hidden"===element.ownerDocument.defaultView.getComputedStyle(element).visibility)return!0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return!0;currentElement=currentElement.parentElement}return!1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return[...roles3];return[]}function getRoles(container,_temp){let{hidden=!1}=void 0===_temp?{}:_temp;return function flattenDOM(node){return[node,...Array.from(node.children).reduce(((acc,child)=>[...acc,...flattenDOM(child)]),[])]}(container).filter((element=>!1!==hidden||!1===isInaccessible(element))).reduce(((acc,node)=>{let roles3=[];return roles3=node.hasAttribute("role")?node.getAttribute("role").split(" ").slice(0,1):getImplicitAriaRoles2(node),roles3.reduce(((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]}),acc)}),{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter((_ref7=>{let[role]=_ref7;return"generic"!==role})).map((_ref8=>{let[role,elements]=_ref8,delimiterBar="-".repeat(50);return role+":\n\n"+elements.map((el=>{let nameString='Name "'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n',domString=prettyDOM(el.cloneNode(!1));if(includeDescription){return""+nameString+('Description "'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n')+domString}return""+nameString+domString})).join("\n\n")+"\n\n"+delimiterBar})).join("\n")}var logRoles=function(dom,_temp2){let{hidden=!1}=void 0===_temp2?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);return"true"===attributeValue||"false"!==attributeValue&&void 0}var normalize2=getDefaultNormalizer();function getRegExpMatcher(string2){return new RegExp(function escapeRegExp(string2){return string2.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}(string2.toLowerCase()),"i")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning="",queryOptions={},queryArgs=[["Role","TestId"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),"Role"===queryName&&isInaccessible(element)&&(queryOptions.hidden=!0,warning="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+"By"+queryName;return{queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text="string"==typeof text?"'"+text+"'":text,options=options?", { "+Object.entries(options).map((_ref2=>{let[k,v2]=_ref2;return k+": "+v2})).join(", ")+" }":"",queryMethod+"("+text+options+")"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(void 0===variant&&(variant="get"),element.matches(getConfig().defaultIgnore))return;let role=null!=(_element$getAttribute=element.getAttribute("role"))?_element$getAttribute:null==(_getImplicitAriaRoles=getImplicitAriaRoles2(element))?void 0:_getImplicitAriaRoles[0];if("generic"!==role&&canSuggest("Role",method,role))return makeSuggestion("Role",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map((label=>label.content)).join(" ");if(canSuggest("LabelText",method,labelText))return makeSuggestion("LabelText",element,labelText,{variant});let placeholderText=element.getAttribute("placeholder");if(canSuggest("PlaceholderText",method,placeholderText))return makeSuggestion("PlaceholderText",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest("Text",method,textContent))return makeSuggestion("Text",element,textContent,{variant});if(canSuggest("DisplayValue",method,element.value))return makeSuggestion("DisplayValue",element,normalize2(element.value),{variant});let alt=element.getAttribute("alt");if(canSuggest("AltText",method,alt))return makeSuggestion("AltText",element,alt,{variant});let title=element.getAttribute("title");if(canSuggest("Title",method,title))return makeSuggestion("Title",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);return canSuggest("TestId",method,testId)?makeSuggestion("TestId",element,testId,{variant}):void 0}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message)}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,"message",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if("function"!=typeof callback)throw new TypeError("Received `callback` arg must be a function");return new Promise((async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus="idle",overallTimeoutTimer=setTimeout((function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&"TestingLibraryElementError"===error.name&©StackTrace(error,stackTraceError)):(error=new Error("Timed out in waitFor."),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null)}),timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),void reject(error)}if(await advanceTimersWrapper((async()=>{jest.advanceTimersByTime(interval)})),finished)break;checkCallback()}}else{try{checkContainerType(container)}catch(e){return void reject(e)}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback()}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result)}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}return checkCallback()}function checkCallback(){if("pending"!==promiseStatus)try{let result=function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1}}(callback);"function"==typeof result?.then?(promiseStatus="pending",result.then((resolvedValue=>{promiseStatus="resolved",onDone(null,resolvedValue)}),(rejectedValue=>{promiseStatus="rejected",lastError=rejectedValue}))):onDone(null,result)}catch(error){lastError=error}}}))}function waitForWrapper(callback,options){let stackTraceError=new Error("STACK_TRACE_MESSAGE");return getConfig().asyncWrapper((()=>waitFor(callback,{stackTraceError,...options})))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("["+attribute+"]")).filter((node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer)))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError("Found multiple elements by ["+attribute+"="+text+"]",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map((element=>getElementError(null,element).message)).join("\n\n");throw getMultipleElementsFoundError(getMultipleError2(container,...args)+"\n\nHere are the matching elements:\n\n"+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError("A better query is available, try this:\n"+suggestion.toString()+"\n",container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return(container,text,options,waitForOptions)=>waitForWrapper((()=>getter(container,text,options)),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map((element=>{var _getSuggestedQuery;return null==(_getSuggestedQuery=getSuggestedQuery(element,variant))?void 0:_getSuggestedQuery.toString()})))];if(1===uniqueSuggestionMessages.length&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,"query"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"get");return[queryBy,wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace("query","get"),"getAll"),getByWithSuggestions,makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,"findAll")),makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"find"))]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return function queryAllLabels(container){return Array.from(container.querySelectorAll("label,input")).map((node=>({node,textToMatch:getLabelContent(node)}))).filter((_ref=>{let{textToMatch}=_ref;return null!==textToMatch}))}(container).filter((_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)})).map((_ref3=>{let{node}=_ref3;return node}))},queryAllByLabelText=function(container,text,_temp2){let{selector="*",exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp2?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll("*")).filter((element=>getRealLabels(element).length||element.hasAttribute("aria-labelledby"))).reduce(((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter((label=>!!label.formControl)).forEach((label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl)}));let labelsValue=labelList.filter((label=>!!label.content)).map((label=>label.content));return matcher(labelsValue.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach(((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement)})),labelledElements}),[]).concat(queryAllByAttribute("aria-label",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter((element=>element.matches(selector)))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map((label=>function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute("for");if(!htmlFor)return null;let element=container.querySelector('[id="'+htmlFor+'"]');return element?element.tagName.toLowerCase():null}(container,label))).filter((tagName=>!!tagName));throw tagNames.length?getConfig().getElementError(tagNames.map((tagName=>"Found a label with the text of: "+text+", however the element associated with this label (<"+tagName+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+tagName+" />, you can use aria-label or aria-labelledby instead.")).join("\n\n"),container):getConfig().getElementError("Found a label with the text of: "+text+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',container)}throw getConfig().getElementError("Unable to find a label with the text of: "+text,container)}return els};var getMultipleError$7=(c,text)=>"Found multiple elements with the text of: "+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,"query"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"findAll")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"find")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"getAll"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"get"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,"queryAll"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute("placeholder",...args)},queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,"queryAll"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,((c,text)=>"Found multiple elements with the placeholder text of: "+text),((c,text)=>"Unable to find an element with the placeholder text of: "+text)),queryAllByText=function(container,text,_temp){let{selector="*",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return"function"==typeof container.matches&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter((node=>!ignore||!node.matches(ignore))).filter((node=>matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,"queryAll"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,((c,text)=>"Found multiple elements with the text: "+text),(function(c,text,options){void 0===options&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString());return"Unable to find an element with the text: "+(normalizedText!==text.toString()?normalizedText+" (normalized from '"+text+"')":text)+("*"!==(selector??"*")?", which matches selector '"+selector+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."})),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("input,textarea,select")).filter((node=>"SELECT"===node.tagName?Array.from(node.options).filter((option=>option.selected)).some((optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer))):matcher(node.value,node,value,matchNormalizer)))},queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,"queryAll"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,((c,value)=>"Found multiple elements with the display value: "+value+"."),((c,value)=>"Unable to find an element with the display value: "+value+".")),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return void 0===options&&(options={}),checkContainerType(container),queryAllByAttribute("alt",container,alt,options).filter((node=>VALID_TAG_REGEXP.test(node.tagName)))},queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,"queryAll"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,((c,alt)=>"Found multiple elements with the alt text: "+alt),((c,alt)=>"Unable to find an element with the alt text: "+alt)),queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("[title], svg > title")).filter((node=>matcher(node.getAttribute("title"),node,text,matchNormalizer)||(node=>{var _node$parentElement;return"title"===node.tagName.toLowerCase()&&"svg"===(null==(_node$parentElement=node.parentElement)?void 0:_node$parentElement.tagName.toLowerCase())})(node)&&matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,"queryAll"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,((c,title)=>"Found multiple elements with the title: "+title+"."),((c,title)=>"Unable to find an element with the title: "+title+".")),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=void 0===_temp?{}:_temp;var _allRoles$get,_allRoles$get2,_allRoles$get3,_allRoles$get4,_allRoles$get5,_allRoles$get6,_allRoles$get7,_allRoles$get8,_allRoles$get9,_allRoles$get10;if((checkContainerType(container),void 0!==selected)&&void 0===(null==(_allRoles$get=import_aria_query3.roles.get(role))?void 0:_allRoles$get.props["aria-selected"]))throw new Error('"aria-selected" is not supported on role "'+role+'".');if(void 0!==busy&&void 0===(null==(_allRoles$get2=import_aria_query3.roles.get(role))?void 0:_allRoles$get2.props["aria-busy"]))throw new Error('"aria-busy" is not supported on role "'+role+'".');if(void 0!==checked&&void 0===(null==(_allRoles$get3=import_aria_query3.roles.get(role))?void 0:_allRoles$get3.props["aria-checked"]))throw new Error('"aria-checked" is not supported on role "'+role+'".');if(void 0!==pressed&&void 0===(null==(_allRoles$get4=import_aria_query3.roles.get(role))?void 0:_allRoles$get4.props["aria-pressed"]))throw new Error('"aria-pressed" is not supported on role "'+role+'".');if(void 0!==current&&void 0===(null==(_allRoles$get5=import_aria_query3.roles.get(role))?void 0:_allRoles$get5.props["aria-current"]))throw new Error('"aria-current" is not supported on role "'+role+'".');if(void 0!==level&&"heading"!==role)throw new Error('Role "'+role+'" cannot have "level" property.');if(void 0!==valueNow&&void 0===(null==(_allRoles$get6=import_aria_query3.roles.get(role))?void 0:_allRoles$get6.props["aria-valuenow"]))throw new Error('"aria-valuenow" is not supported on role "'+role+'".');if(void 0!==valueMax&&void 0===(null==(_allRoles$get7=import_aria_query3.roles.get(role))?void 0:_allRoles$get7.props["aria-valuemax"]))throw new Error('"aria-valuemax" is not supported on role "'+role+'".');if(void 0!==valueMin&&void 0===(null==(_allRoles$get8=import_aria_query3.roles.get(role))?void 0:_allRoles$get8.props["aria-valuemin"]))throw new Error('"aria-valuemin" is not supported on role "'+role+'".');if(void 0!==valueText&&void 0===(null==(_allRoles$get9=import_aria_query3.roles.get(role))?void 0:_allRoles$get9.props["aria-valuetext"]))throw new Error('"aria-valuetext" is not supported on role "'+role+'".');if(void 0!==expanded&&void 0===(null==(_allRoles$get10=import_aria_query3.roles.get(role))?void 0:_allRoles$get10.props["aria-expanded"]))throw new Error('"aria-expanded" is not supported on role "'+role+'".');let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~="'+role+'"]',roleRelations=null!=(_roleElements$get=import_aria_query3.roleElements.get(role))?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map((_ref=>{let{name}=_ref;return name})));return[explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(",")}(role))).filter((node=>{if(node.hasAttribute("role")){let roleValue=node.getAttribute("role");if(queryFallbacks)return roleValue.split(" ").filter(Boolean).some((roleAttributeToken=>roleAttributeToken===role));let[firstRoleAttributeToken]=roleValue.split(" ");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some((implicitRole=>implicitRole===role))})).filter((element=>{if(void 0!==selected)return selected===function computeAriaSelected(element){return"OPTION"===element.tagName?element.selected:checkBooleanAttribute(element,"aria-selected")}(element);if(void 0!==busy)return busy===function computeAriaBusy(element){return"true"===element.getAttribute("aria-busy")}(element);if(void 0!==checked)return checked===function computeAriaChecked(element){if(!("indeterminate"in element)||!element.indeterminate)return"checked"in element?element.checked:checkBooleanAttribute(element,"aria-checked")}(element);if(void 0!==pressed)return pressed===function computeAriaPressed(element){return checkBooleanAttribute(element,"aria-pressed")}(element);if(void 0!==current)return current===function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return null!=(_ref9=null!=(_checkBooleanAttribut=checkBooleanAttribute(element,"aria-current"))?_checkBooleanAttribut:element.getAttribute("aria-current"))&&_ref9}(element);if(void 0!==expanded)return expanded===function computeAriaExpanded(element){return checkBooleanAttribute(element,"aria-expanded")}(element);if(void 0!==level)return level===function computeHeadingLevel(element){return element.getAttribute("aria-level")&&Number(element.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[element.tagName]}(element);if(void 0!==valueNow||void 0!==valueMax||void 0!==valueMin||void 0!==valueText){let valueMatches=!0;var _computeAriaValueText;if(void 0!==valueNow&&valueMatches&&(valueMatches=valueNow===function computeAriaValueNow(element){let valueNow=element.getAttribute("aria-valuenow");return null===valueNow?void 0:+valueNow}(element)),void 0!==valueMax&&valueMatches&&(valueMatches=valueMax===function computeAriaValueMax(element){let valueMax=element.getAttribute("aria-valuemax");return null===valueMax?void 0:+valueMax}(element)),void 0!==valueMin&&valueMatches&&(valueMatches=valueMin===function computeAriaValueMin(element){let valueMin=element.getAttribute("aria-valuemin");return null===valueMin?void 0:+valueMin}(element)),void 0!==valueText)valueMatches&&(valueMatches=matches2(null!=(_computeAriaValueText=function computeAriaValueText(element){let valueText=element.getAttribute("aria-valuetext");return null===valueText?void 0:valueText}(element))?_computeAriaValueText:null,element,valueText,(text=>text)));return valueMatches}return!0})).filter((element=>void 0===name||matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,(text=>text)))).filter((element=>void 0===description||matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,(text=>text)))).filter((element=>!1!==hidden||!1===isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})))};var getNameHint=name=>{let nameHint="";return nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`",nameHint},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,"queryAll"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,(function(c,role,_temp2){let{name}=void 0===_temp2?{}:_temp2;return'Found multiple elements with the role "'+role+'"'+getNameHint(name)}),(function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=void 0===_temp3?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+role+'"'+getNameHint(name);let roleMessage,roles3="";Array.from(container.children).forEach((childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:void 0!==description})})),roleMessage=0===roles3.length?!1===hidden?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===hidden?"accessible":"available")+" roles:\n\n "+roles3.replace(/\n/g,"\n ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim();let nameHint="";nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`";let descriptionHint="";return descriptionHint=void 0===description?"":"string"==typeof description?' and description "'+description+'"':" and description `"+description+"`",("\nUnable to find an "+(!1===hidden?"accessible ":"")+'element with the role "'+role+'"'+nameHint+descriptionHint+"\n\n"+roleMessage).trim()})),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,"queryAll"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,((c,id)=>"Found multiple elements by: ["+getTestIdAttribute()+'="'+id+'"]'),((c,id)=>"Unable to find an element by: ["+getTestIdAttribute()+'="'+id+'"]')),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return void 0===queries$1&&(queries$1=queries),void 0===initialValue2&&(initialValue2={}),Object.keys(queries$1).reduce(((helpers,key)=>{let fn2=queries$1[key];return helpers[key]=fn2.bind(null,element),helpers}),initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error("Timed out in waitForElementToBeRemoved.");if("function"!=typeof callback){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map((element=>{let parent=element.parentElement;if(null===parent)return()=>null;for(;parent.parentElement;)parent=parent.parentElement;return()=>parent.contains(element)?element:null}));callback=()=>getRemainingElements.map((c=>c())).filter(Boolean)}return initialCheck(callback()),waitForWrapper((()=>{let result;try{result=callback()}catch(error){if("TestingLibraryElementError"===error.name)return;throw error}if(!isRemoved(result))throw timeoutError}),options)}var eventMap={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:"dblClick"};function fireEvent(element,event){return getConfig().eventWrapper((()=>{if(!event)throw new Error("Unable to fire an event - please provide an event object.");if(!element)throw new Error('Unable to fire a "'+event.type+'" event - please provide a DOM element.');return element.dispatchEvent(event)}))}function createEvent(eventName,node,init,_temp){let{EventType="Event",defaultInit={}}=void 0===_temp?{}:_temp;if(!node)throw new Error('Unable to fire a "'+eventName+'" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;void 0!==value&&function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,"value")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,"value")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else{if(!valueSetter)throw new Error("The given element does not have a value setter");valueSetter.call(element,value)}}(node,value),void 0!==files&&Object.defineProperty(node,"files",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let event,window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event;if("function"==typeof EventConstructor)event=new EventConstructor(eventName,eventInit);else{event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach((eventKey=>{event[eventKey]=otherInit[eventKey]}))}return["dataTransfer","clipboardData"].forEach((dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];"object"==typeof dataTransferValue&&("function"==typeof window2.DataTransfer?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce(((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc)),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}))})),event}function getPlaygroundUrl(markup){return"https://testing-playground.com/#markup="+function encode(value){return import_lz_string.default.compressToEncodedURIComponent(function unindent(string2){return string2.replace(/[ \t]*[\n][ \t]*/g,"\n")}(value))}(markup)}Object.keys(eventMap).forEach((key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init))})),Object.keys(eventAliasMap).forEach((aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)}}));var clickableInputTypes,clickableInputTypes2,initialValue={debug:(element,maxLength,options)=>Array.isArray(element)?element.forEach((el=>logDOM(el,maxLength,options))):logDOM(element,maxLength,options),logTestingPlaygroundURL:function(element){if(void 0===element&&(element=getDocument().body),!element||!("innerHTML"in element))return void console.log("The element you're providing isn't a valid DOM element.");if(!element.innerHTML)return void console.log("The provided element doesn't have any children.");let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log("Open this URL in your browser\n\n"+playgroundUrl),playgroundUrl}},screen=typeof document<"u"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce(((helpers,key)=>(helpers[key]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},helpers)),initialValue);function isElementType(element,tag,props){return!(element.namespaceURI&&"http://www.w3.org/1999/xhtml"!==element.namespaceURI||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase())))&&(!props||Object.entries(props).every((([k,v2])=>element[k]===v2)))}function isClickableInput(element){return isElementType(element,"button")||isElementType(element,"input")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(function isDocument(node){return 9===node.nodeType}(node)&&node.defaultView)return node.defaultView;if(null!==(_node_ownerDocument=node.ownerDocument)&&void 0!==_node_ownerDocument&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${function describe(val){return"function"==typeof val?`function ${val.name}`:null===val?"null":String(val)}(node)}`)}function readBlobText(blob,FileReader){return new Promise(((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result))},fr.readAsText(blob)}))}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>"u"?function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=null!==(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))&&void 0!==_this_items_find?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text="";return match?.getAsString((t=>{text=t})),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item)}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach((i=>t.push(i.type))),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,"dropEffect","none"),_define_property(this,"effectAllowed","uninitialized"),_define_property(this,"items",new DataTransferItemListStub),_define_property(this,"files",createFileList(window2,[]))}}}(window2):new window2.DataTransfer;return Object.defineProperty(dt,"files",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if("file"===item.kind)return item.getAsFile();let data="";return item.getAsString((s=>{data=s})),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map((b2=>["string"==typeof b2?"text/plain":b2.type,Promise.resolve(b2)])));return typeof window2.ClipboardItem<"u"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,"data",void 0),this.data=d2}}(dataMap)}var ClipboardStubControl=Symbol("Manage ClipboardSub");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text="";for(let item of this.items){let type3=item.types.includes("text/plain")?"text/plain":item.types.find((t=>t.startsWith("text/")));type3&&(text+=await item.getType(type3).then((b2=>readBlobText(b2,window2.FileReader))))}return text}async write(data){this.items=data}async writeText(text){this.items=[createClipboardItem(window2,text)]}constructor(...args){super(...args),_define_property2(this,"items",[])}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return!!clipboard?.[ClipboardStubControl]}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0),(()=>!1)))throw new Error("The Clipboard API is unavailable.")}var editableInputTypes,editableInputTypes2,maxLengthSupportedTypes,maxLengthSupportedTypes2,g=globalThis;function isContentEditable(element){return element.hasAttribute("contenteditable")&&("true"==element.getAttribute("contenteditable")||""==element.getAttribute("contenteditable"))}function getContentEditable(node){let element=function getElement(node){return 1===node.nodeType?node:node.parentElement}(node);return element&&(element.closest('[contenteditable=""]')||element.closest('[contenteditable="true"]'))}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}function isEditableInputOrTextArea(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in editableInputTypes}"function"==typeof g.afterEach&&g.afterEach((()=>function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub()}(globalThis.window))),"function"==typeof g.afterAll&&g.afterAll((()=>function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub()}(globalThis.window))),(editableInputTypes2=editableInputTypes||(editableInputTypes={})).text="text",editableInputTypes2.date="date",editableInputTypes2["datetime-local"]="datetime-local",editableInputTypes2.email="email",editableInputTypes2.month="month",editableInputTypes2.number="number",editableInputTypes2.password="password",editableInputTypes2.search="search",editableInputTypes2.tel="tel",editableInputTypes2.time="time",editableInputTypes2.url="url",editableInputTypes2.week="week",(maxLengthSupportedTypes2=maxLengthSupportedTypes||(maxLengthSupportedTypes={})).email="email",maxLengthSupportedTypes2.password="password",maxLengthSupportedTypes2.search="search",maxLengthSupportedTypes2.telephone="telephone",maxLengthSupportedTypes2.text="text",maxLengthSupportedTypes2.url="url";var bracketDict,bracketDict2,ApiLevel,ApiLevel2,PointerEventsCheckLevel,PointerEventsCheckLevel2,FOCUSABLE_SELECTOR=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:"";pos+=startBracket.length;let type3=new RegExp(`^\\${startBracket}{2}`).test(text)?"":startBracket;return{type:type3,...""===type3?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),{consumedLength:pos+=descriptor.length,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier="/"===text[pos]?"/":"";pos+=releasePreviousModifier.length;let escapedDescriptor="{"===startBracket&&"\\"===text[pos];pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:null===(_text_slice_match=text.slice(pos).match("{"===startBracket?/^\w+|^[^}>/]/:/^\w+/))||void 0===_text_slice_match?void 0:_text_slice_match[0];var _text_slice_match_;assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;let repeatModifier=null!==(_text_slice_match_=null===(_text_slice_match1=text.slice(pos).match(/^>\d+/))||void 0===_text_slice_match1?void 0:_text_slice_match1[0])&&void 0!==_text_slice_match_?_text_slice_match_:"",releaseSelfModifier="/"===text[pos+=repeatModifier.length]||!repeatModifier&&">"===text[pos]?text[pos]:"";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:"";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&"repeat modifier",!releaseSelfModifier&&"release modifier",`"${expectedEndBracket}"`].filter(Boolean).join(" or "),text[pos],text,context));return{consumedLength:pos+=endBracket.length,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage("key descriptor",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){return releaseSelfModifier?"/"===releaseSelfModifier:!repeatModifier&&void 0}function getErrorMessage(expected,found,text,context){return`Expected ${expected} but found "${found??""}" in "${text}"\n See ${"pointer"===context?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}\n for more information about how userEvent parses your input.`}function setLevelRef(instance,level){instance.levelRefs[level]={}}function getLevelRef(instance,level){return instance.levelRefs[level]}function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,["button","input","select","textarea","optgroup","option"])){if(el.hasAttribute("disabled"))return!0}else if(isElementType(el,"fieldset")){var _el_querySelector;if(el.hasAttribute("disabled")&&(null===(_el_querySelector=el.querySelector(":scope > legend"))||void 0===_el_querySelector||!_el_querySelector.contains(element)))return!0}else if(el.tagName.includes("-")&&el.constructor.formAssociated&&el.hasAttribute("disabled"))return!0;return!1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return null!==(_getActiveElement=getActiveElement(document2))&&void 0!==_getActiveElement?_getActiveElement:document2.body}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function isElement3(node){return 1===node.nodeType}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement}while(el&&el!==element.ownerDocument.body)}(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(wrapEvent(target?()=>target.focus():()=>activeElement?.blur()),function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=3===(null===(_contenteditable_firstChild=contenteditable.firstChild)||void 0===_contenteditable_firstChild?void 0:_contenteditable_firstChild.nodeType)?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0)}}else selection.setBaseAndExtent(element,0,element,0)}}(target??element.ownerDocument.body))}(bracketDict2=bracketDict||(bracketDict={}))["{"]="}",bracketDict2["["]="]",(ApiLevel2=ApiLevel||(ApiLevel={}))[ApiLevel2.Trigger=2]="Trigger",ApiLevel2[ApiLevel2.Call=1]="Call",(PointerEventsCheckLevel2=PointerEventsCheckLevel||(PointerEventsCheckLevel={}))[PointerEventsCheckLevel2.EachTrigger=4]="EachTrigger",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]="EachApiCall",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]="EachTarget",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]="Never";var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest("button,input,label,select,textarea"),control=context&&isElementType(context,"label")&&context.control;return control?()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,function cloneEvent(event){return new event.constructor(event.type,event)}(event))}:isElementType(target,"input",{type:"file"})?()=>{(function blurElement(element){!isFocusable(element)||getActiveElement(element.ownerDocument)!==element||wrapEvent((()=>element.blur()))})(target),target.dispatchEvent(new(getWindow(target).Event)("fileDialog")),focusElement(target)}:void 0};var UIValue=Symbol("Displayed value in UI"),UISelection=Symbol("Displayed selection in UI"),InitialValue=Symbol("Initial value to compare on blur");function getUIValue(element){return void 0===element[UIValue]?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0}function clearInitialValue(element){element[InitialValue]=void 0}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode="replace"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset="replace"===mode||void 0===element[UISelection]?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset)}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=null!==(_element_UISelection=element[UISelection])&&void 0!==_element_UISelection?_element_UISelection:{anchorOffset:null!==(_element_selectionStart=element.selectionStart)&&void 0!==_element_selectionStart?_element_selectionStart:0,focusOffset:null!==(_element_selectionEnd=element.selectionEnd)&&void 0!==_element_selectionEnd?_element_selectionEnd:0};return{...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function setUISelectionClean(element){element[UISelection]=void 0}var parseInt2=globalThis.parseInt;function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return`${validHours.toString().padStart(2,"0")}:${validMinutes.toString().padStart(2,"0")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return{node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return{node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,"br")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,"br")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&"deleteContentBackward"===inputType?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}return{node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return void 0!==offset&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith("__react")))&&17===getWindow(element).REACT_VERSION})(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]})}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,null==changes||null===(_changes_tracked=changes.tracked)||void 0===_changes_tracked||!_changes_tracked.length)return;let isJustReactStateUpdate=2===changes.tracked.length&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),function hasUISelection(element){return!!element[UISelection]}(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length})}function getTargetTypeAndSelection(node){let element=function getElement2(node){return 1===node.nodeType?node:node.parentElement}(node);if(element&&hasOwnSelection(element))return{type:"input",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return{type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?"contenteditable":"default",selection}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if("input"===getTargetTypeAndSelection(focusNode).type)return setUISelection(focusNode,{anchorOffset,focusOffset});null===(_anchorNode_ownerDocument=anchorNode.ownerDocument)||void 0===_anchorNode_ownerDocument||null===(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())||void 0===_anchorNode_ownerDocument_getSelection||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset)}function isDateOrTime(element){return isElementType(element,"input")&&["date","time"].includes(element.type)}function input(instance,element,data,inputType="insertText"){let inputRange=function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);return"input"===typeAndSelection.type?typeAndSelection.selection:"contenteditable"===typeAndSelection.type?null===(_typeAndSelection_selection=typeAndSelection.selection)||void 0===_typeAndSelection_selection?void 0:_typeAndSelection_selection.getRangeAt(0):void 0;var _typeAndSelection_selection}(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,"beforeinput",{inputType,data})||("startContainer"in inputRange?function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(inputRange.collapsed){if(["deleteContentBackward","deleteContentForward"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,"deleteContentBackward"===inputType?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents()}}}else del=!0,inputRange.deleteContents();if(data)if(3===inputRange.endContainer.nodeType){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length)}else{let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length)}(del||data)&&instance.dispatchUIEvent(element,"input",{inputType})}(instance,element,inputRange,data,inputType):function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(function supportsMaxLength(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in maxLengthSupportedTypes}(element)){let maxLength=function getMaxLength(element){var _element_getAttribute;let attr=null!==(_element_getAttribute=element.getAttribute("maxlength"))&&void 0!==_element_getAttribute?_element_getAttribute:"";return/^\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}(element);if(void 0!==maxLength&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(!(spaceUntilMaxLength>0))return;dataToInsert=data.substring(0,spaceUntilMaxLength)}}let{newValue,newOffset,oldValue}=function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&"deleteContentBackward"===inputType?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&"deleteContentForward"===inputType?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,"input",{type:"time"})){let builtValue=function buildTimeValue(value){let onlyDigitsValue=value.replace(/\D/g,"");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||2===firstDigit&&secondDigit>=4){let index;return index=firstDigit>=3?1:2,build(onlyDigitsValue,index)}return 2===value.length?value:build(onlyDigitsValue,2)}(newValue);""!==builtValue&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length)}return{oldValue:value,newValue,newOffset}}(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,"input",{type:"number"})&&!function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split("e",2);return!(/[^\d.\-e]/.test(value)||Number(null===(_value_match=value.match(/-/g))||void 0===_value_match?void 0:_value_match.length)>2||Number(null===(_value_match1=value.match(/\./g))||void 0===_value_match1?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\d*$/.test(valueParts[1]))}(newValue)||(function setUIValue(element,value){void 0===element[InitialValue]&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0})}(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,"change"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}))}(instance,element,inputRange,data,inputType)))}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,"input",inputInit),commitValueAfterInput(element,newOffset)}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if("none"===display2||"hidden"===visibility)return!1}return!0}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset})}else{let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset})}else selection[direction<0?"collapseToStart":"collapseToEnd"]()}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=null!==(_getContentEditable=getContentEditable(target))&&void 0!==_getContentEditable?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length})}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&3===(null===(_element_firstChild=element.firstChild)||void 0===_element_firstChild?void 0:_element_firstChild.nodeType))return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error("Not implemented. The result of this interaction is unreliable.")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type="radio"][name="${window2.CSS.escape(el.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=group.findIndex((e=>e===el))+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],"click"))}}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,"","deleteByCut")},behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return null!==(_keydownBehavior_event_key1=null===(_keydownBehavior_event_key=keydownBehavior[event.key])||void 0===_keydownBehavior_event_key?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))&&void 0!==_keydownBehavior_event_key1?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentBackward")}},Delete:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentForward")}},End:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=null!==(_getValueOrTextContent_length=null===(_getValueOrTextContent=function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}(target))||void 0===_getValueOrTextContent?void 0:_getValueOrTextContent.length)&&void 0!==_getValueOrTextContent_length?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos)}},Home:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{setSelectionRange(target,0,0)}},PageDown:(event,target)=>{if(isElementType(target,["input"]))return()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos)}},PageUp:(event,target)=>{if(isElementType(target,["input"]))return()=>{setSelectionRange(target,0,0)}},Tab:(event,target,instance)=>()=>{let dest=function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter((el=>el===activeElement||!(Number(el.getAttribute("tabindex"))<0||isDisabled2(el))));Number(activeElement.getAttribute("tabindex"))>=0&&enabledElements.sort(((a,b2)=>{let i=Number(a.getAttribute("tabindex")),j=Number(b2.getAttribute("tabindex"));return i===j?0:0===i?1:0===j?-1:i-j}));let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,"input",{type:"radio"})?activeElement.name:void 0;enabledElements.forEach((currentElement=>{let el=currentElement;if(isElementType(el,"input",{type:"radio"})&&el.name){if(el===activeElement)return void prunedElements.push(el);if(el.name===activeRadioGroup)return;if(el.checked)return prunedElements=prunedElements.filter((e=>!isElementType(e,"input",{type:"radio",name:el.name}))),prunedElements.push(el),void(checkedRadio[el.name]=el);if(typeof checkedRadio[el.name]<"u")return}prunedElements.push(el)}));for(let index=prunedElements.findIndex((el=>el===activeElement));;)if(index+=shift?-1:1,index===prunedElements.length?index=0:-1===index&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length})}},combinationBehavior=(event,target,instance)=>{if("KeyA"===event.code&&instance.system.keyboard.modifiers.Control)return()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if("Enter"===event.key){if(isElementType(target,"button")||isElementType(target,"input")&&ClickInputOnEnter.includes(target.type)||isElementType(target,"a")&&target.href)return()=>{instance.dispatchUIEvent(target,"click")};if(isElementType(target,"input")){let form=target.form,submit=form?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return submit?()=>instance.dispatchUIEvent(submit,"click"):form&&SubmitSingleInputOnEnter.includes(target.type)&&1===form.querySelectorAll("input").length?()=>instance.dispatchUIEvent(form,"submit"):void 0}}if(isEditable(target)){let inputType="Enter"===event.key?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",inputData="Enter"===event.key?"\n":event.key;return()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=["button","color","file","image","reset","submit"],SubmitSingleInputOnEnter=["email","month","password","search","tel","text","url","week"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return null===(_keyupBehavior_event_key=keyupBehavior[event.key])||void 0===_keyupBehavior_event_key?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={" ":(event,target,instance)=>{if(isClickableInput(target))return()=>instance.dispatchUIEvent(target,"click")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return()=>{var _event_clipboardData;let insertData=null===(_event_clipboardData=event.clipboardData)||void 0===_event_clipboardData?void 0:_event_clipboardData.getData("text");insertData&&input(instance,target,insertData,"insertFromPaste")}};var eventMap2={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=["MouseEvent","PointerEvent"];var eventInitializer={ClipboardEvent:[function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData})}],Event:[],InputEvent:[initUIEvent,function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)})}],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary})}],KeyboardEvent:[initUIEvent,initUIEventModififiers,function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode})}]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(function getEventConstructors(window2){var _window_Event;let Event=null!==(_window_Event=window2.Event)&&void 0!==_window_Event?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=null!==(_window_AnimationEvent=window2.AnimationEvent)&&void 0!==_window_AnimationEvent?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=null!==(_window_ClipboardEvent=window2.ClipboardEvent)&&void 0!==_window_ClipboardEvent?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=null!==(_window_PopStateEvent=window2.PopStateEvent)&&void 0!==_window_PopStateEvent?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=null!==(_window_ProgressEvent=window2.ProgressEvent)&&void 0!==_window_ProgressEvent?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=null!==(_window_TransitionEvent=window2.TransitionEvent)&&void 0!==_window_TransitionEvent?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=null!==(_window_UIEvent=window2.UIEvent)&&void 0!==_window_UIEvent?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=null!==(_window_CompositionEvent=window2.CompositionEvent)&&void 0!==_window_CompositionEvent?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=null!==(_window_FocusEvent=window2.FocusEvent)&&void 0!==_window_FocusEvent?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=null!==(_window_InputEvent=window2.InputEvent)&&void 0!==_window_InputEvent?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=null!==(_window_KeyboardEvent=window2.KeyboardEvent)&&void 0!==_window_KeyboardEvent?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=null!==(_window_MouseEvent=window2.MouseEvent)&&void 0!==_window_MouseEvent?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=null!==(_window_DragEvent=window2.DragEvent)&&void 0!==_window_DragEvent?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=null!==(_window_PointerEvent=window2.PointerEvent)&&void 0!==_window_PointerEvent?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=null!==(_window_TouchEvent=window2.TouchEvent)&&void 0!==_window_TouchEvent?_window_TouchEvent:class extends UIEvent{};return{Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}(window2)[EventType])(type3,defaultInit);return eventInitializer[EventType].forEach((f=>f(event,init??{}))),event}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null})}function sanitizeNumber(n){return Number(n??0)}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)})}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState:k=>!!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]})}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget})}function dispatchUIEvent(target,type3,init,preventDefault=!1){(function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}(type3)||function isKeyboardEvent(type3){return"KeyboardEvent"===getEventClass(type3)}(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:null===(_behavior_type=behavior[type3])||void 0===_behavior_type?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,"defaultPrevented",{get:()=>defaultPrevented}),Object.defineProperty(event,"preventDefault",{value:()=>{defaultPrevented=event.cancelable}}),wrapEvent((()=>target.dispatchEvent(event))),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent((()=>target.dispatchEvent(event)))}var Interceptor=Symbol("Interceptor for programmatical calls");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?"set":"value";if("function"!=typeof prototypeDescriptor?.[target]||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement "${String(propName)}".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];"set"===target?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.()}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept})}function prepareValueInterceptor(element){prepareInterceptor(element,"value",(function(v2){let isUI=function isUIValue(value){return"object"==typeof value&&UIValue in value}(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;null===(_element_TrackChanges=element[TrackChanges])||void 0===_element_TrackChanges||null===(_element_TrackChanges_tracked=_element_TrackChanges.tracked)||void 0===_element_TrackChanges_tracked||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}))}(this,String(v2))}}))}function sanitizeValue(element,v2){return isElementType(element,"input",{type:"number"})&&""!==String(v2)&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,"setSelectionRange",(function(start,...others){let isUI=function isUISelectionStart(start){return!!start&&"object"==typeof start&&UISelection in start}(start);return{applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}})),prepareInterceptor(element,"selectionStart",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"selectionEnd",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"select",(function(){return{realArgs:[],then:()=>function setUISelectionRaw(element,selection){element[UISelection]=selection}(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}}))}var DOM_KEY_LOCATION,DOM_KEY_LOCATION2,isPrepared=Symbol("Node prepared with document state workarounds");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener("focus",(e=>{prepareElement(e.target)}),{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener("blur",(e=>{let el=e.target,initialValue2=function getInitialValue(element){return element[InitialValue]}(el);void 0!==initialValue2&&(el.value!==initialValue2&&function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent((()=>target.dispatchEvent(event)))}(el,"change"),clearInitialValue(el))}),{capture:!0,passive:!0}),document2[isPrepared]=isPrepared)}function prepareElement(el){el[isPrepared]||(isElementType(el,["input","textarea"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),function prepareRangeTextInterceptor(element){prepareInterceptor(element,"setRangeText",(function(...realArgs){return{realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element)}}}))}(el)),el[isPrepared]=isPrepared)}function wait(config3){let delay=config3.delay;if("number"==typeof delay)return Promise.all([new Promise((resolve=>globalThis.setTimeout((()=>resolve()),delay))),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(DOM_KEY_LOCATION2=DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}))[DOM_KEY_LOCATION2.STANDARD=0]="STANDARD",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]="LEFT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]="RIGHT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]="NUMPAD";var modifierKeys=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return!!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map((p2=>p2.keyDef))}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);var _;this.setKeydownTarget(target),null!==(_=(_this_pressed=this.pressed)[_code=code])&&void 0!==_||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,"keydown",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keypress",{key,code,charCode:"Enter"===keyDef.key?13:String(keyDef.key).charCodeAt(0)})}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find((p2=>p2.keyDef.key===key))&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keyup",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1)}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=target}hasKeyPress(key){return!(1!==key.length&&"Enter"!==key||this.modifiers.Control||this.modifiers.Alt)}constructor(system){_define_property3(this,"system",void 0),_define_property3(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,"pressed",{}),_define_property3(this,"carryChar",""),_define_property3(this,"lastKeydownTarget",void 0),_define_property3(this,"modifierLockStart",{}),this.system=system}},defaultKeyMap=[..."0123456789".split("").map((c=>({code:`Digit${c}`,key:c}))),...")!@#$%^&*(".split("").map(((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0}))),..."abcdefghijklmnopqrstuvwxyz".split("").map((c=>({code:`Key${c.toUpperCase()}`,key:c}))),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map((c=>({code:`Key${c}`,key:c,shiftKey:!0}))),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:DOM_KEY_LOCATION.LEFT},{code:"AltRight",key:"Alt",location:DOM_KEY_LOCATION.RIGHT},{code:"ShiftLeft",key:"Shift",location:DOM_KEY_LOCATION.LEFT},{code:"ShiftRight",key:"Shift",location:DOM_KEY_LOCATION.RIGHT},{code:"ControlLeft",key:"Control",location:DOM_KEY_LOCATION.LEFT},{code:"ControlRight",key:"Control",location:DOM_KEY_LOCATION.RIGHT},{code:"MetaLeft",key:"Meta",location:DOM_KEY_LOCATION.LEFT},{code:"MetaRight",key:"Meta",location:DOM_KEY_LOCATION.RIGHT},{code:"OSLeft",key:"OS",location:DOM_KEY_LOCATION.LEFT},{code:"OSRight",key:"OS",location:DOM_KEY_LOCATION.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}];var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(!(button in this.pressed))return this.pressed[button]=[keyDef],button;this.pressed[button].push(keyDef)}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter((k=>k.name!==keyDef.name)),0===this.pressed[button].length))return delete this.pressed[button],button}constructor(){!function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"pressed",{})}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return(button=getMouseButtonId(button))in MouseButtonFlip?MouseButtonFlip[button]:button}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){!function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"pressedKeys",new Set)}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return[treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(3===node.nodeType?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=void 0===offset?node.childNodes.length-1:0,step=void 0===offset?-1:1;for(;void 0===offset?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error("The given offset is out of bounds.");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(void 0!==offset&&text.length{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"mouseout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"mouseleave",init))))},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"mouseover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"mouseenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"mousemove",init),this.modifySelecting(instance)}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(void 0===button)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit("mousedown",keyDef.button);(disabled||instance.dispatchUIEvent(target,"mousedown",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&2===getMouseEventButton(keyDef.button)&&instance.dispatchUIEvent(target,"contextmenu",this.getEventInit("contextmenu",keyDef.button,pointer3))}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(void 0===button)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,"mouseup",this.getEventInit("mouseup",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit("click",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,0===init.button?"click":"auxclick",init),0===init.button&&2===init.detail&&instance.dispatchUIEvent(clickTarget,"dblclick",{...this.getEventInit("dblclick",keyDef.button),detail:init.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),"mousedown"===type3?init.detail=this.clickCount.getOnDown(init.button):"mouseup"===type3?init.detail=this.clickCount.getOnUp(init.button):("click"===type3||"auxclick"===type3)&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset,clickCount})}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&function modifySelectionPerMouseMove(selectionRange,{document:document2,target,node,offset}){let selectionFocus=resolveCaretPosition({target,node,offset});if("node"in selectionRange){if(selectionFocus.node===selectionRange.node){let anchorOffset=selectionFocus.offsetselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange())}}(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset})}endSelecting(){this.selecting=void 0}constructor(){_define_property6(this,"position",{}),_define_property6(this,"buttons",new Buttons),_define_property6(this,"selecting",void 0),_define_property6(this,"buttonDownTarget",{}),_define_property6(this,"clickCount",new class{incOnClick(button){let current=void 0===this.down[button]?void 0:Number(this.down[button])+1;return this.count=void 0===this.count[button]?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button,_this_count_button1;return this.down={[button]:null!==(_this_count_button=this.count[button])&&void 0!==_this_count_button?_this_count_button:0},this.count={[button]:null!==(_this_count_button1=this.count[button])&&void 0!==_this_count_button1?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return void 0===this.down[button]?void 0:Number(this.down[button])+1}reset(){this.count={}}constructor(){_define_property6(this,"down",{}),_define_property6(this,"count",{})}})}};function hasPointerEvents(instance,element){var _checkPointerEvents;return"none"!==(null===(_checkPointerEvents=checkPointerEvents(instance,element))||void 0===_checkPointerEvents?void 0:_checkPointerEvents.pointerEvents)}var PointerEventsCheck=Symbol("Last check for pointer-events");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(instance.config.pointerEventsCheck===PointerEventsCheckLevel.Never||!(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger)))return lastCheck?.result;let declaration=function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&!["inherit","unset"].includes(pointerEvents))return{pointerEvents,tree}}}(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if("none"===declaration?.pointerEvents)throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",(tree=declaration.tree,tree.reverse().map(((el,i)=>["".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute("data-testid")&&`(testId=${el.getAttribute("data-testid")})`,getLabelDescr(el),tree.length>1&&0===i&&" <-- This element declared `pointer-events: none`",tree.length>1&&i===tree.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join(""))).join("\n"))].join("\n"));var tree}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute("aria-label"))label=element.getAttribute("aria-label");else if(element.hasAttribute("aria-labelledby")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=null===(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute("aria-labelledby")))||void 0===_element_ownerDocument_getElementById||null===(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)||void 0===_element_ownerDocument_getElementById_textContent?void 0:_element_ownerDocument_getElementById_textContent.trim()}else if(isElementType(element,["button","input","meter","output","progress","select","textarea"])&&null!==(_element_labels=element.labels)&&void 0!==_element_labels&&_element_labels.length)label=Array.from(element.labels).map((el=>{var _el_textContent;return null===(_el_textContent=el.textContent)||void 0===_el_textContent?void 0:_el_textContent.trim()})).join("|");else if(isElementType(element,"button")){var _element_textContent;label=null===(_element_textContent=element.textContent)||void 0===_element_textContent?void 0:_element_textContent.trim()}return label=label?.replace(/\n/g," "),Number(label?.length)>30&&(label=`${label?.substring(0,29)}…`),label?`(label=${label})`:""}function hasBitFlag(conf,flag){return(conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return{leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init))))},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"pointermove",init)}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,"pointerdown",this.getEventInit())}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,"pointerup",this.getEventInit())}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init)))),this.isCancelled=!0}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,"pointerId",void 0),_define_property7(this,"pointerType",void 0),_define_property7(this,"isPrimary",void 0),_define_property7(this,"isMultitouch",!1),_define_property7(this,"isCancelled",!1),_define_property7(this,"isDown",!1),_define_property7(this,"isPrevented",!1),_define_property7(this,"position",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3="touch"===keyDef.pointerType?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),"touch"!==pointer3.pointerType&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3)}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove="touch"===pointer3.pointerType||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move()}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),0===device.countPressed&&pointer3.up(instance,keyDef),"touch"===pointer3.pointerType&&pointer3.release(instance),!pointer3.isPrevented){if("touch"===pointer3.pointerType&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3)}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3)}}}getPointerName(keyDef){return"touch"===keyDef.pointerType?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(instance){var _this_mouse_position_target;return null!==(_this_mouse_position_target=this.mouse.position.target)&&void 0!==_this_mouse_position_target?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get("mouse").position=position}constructor(system){_define_property8(this,"system",void 0),_define_property8(this,"mouse",void 0),_define_property8(this,"buttons",void 0),_define_property8(this,"devices",new class{get(k){var _this_registry,_k,_;return null!==(_=(_this_registry=this.registry)[_k=k])&&void 0!==_||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,"registry",{})}}),_define_property8(this,"pointers",new class{new(pointerName,keyDef){let isPrimary="touch"!==keyDef.pointerType||!Object.values(this.registry).some((p2=>"touch"===p2.pointerType&&!p2.isCancelled));return isPrimary||Object.values(this.registry).forEach((p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0)})),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer "${pointerName}" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,"registry",{mouse:new Pointer({pointerId:1,pointerType:"mouse",isPrimary:!0})}),_define_property8(this,"nextId",2)}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,"keyboard",new KeyboardHost(this)),_define_property9(this,"pointer",new PointerHost(this))}};async function keyboardAction(instance,{keyDef,releasePrevious,releaseSelf,repeat}){let{system}=instance;if(system.keyboard.isKeyPressed(keyDef)&&await system.keyboard.keyup(instance,keyDef),!releasePrevious){for(let i=1;i<=repeat;i++)await system.keyboard.keydown(instance,keyDef),ip2.name===descriptor));keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength)}while(keys2);return defs}async function pointerAction(instance,action){var _previousPosition_caret,_previousPosition_caret1;let pointerName="pointerName"in action&&action.pointerName?action.pointerName:"keyDef"in action?instance.system.pointer.getPointerName(action.keyDef):"mouse",previousPosition=instance.system.pointer.getPreviousPosition(pointerName);var _action_target,_action_coords,_action_node,_action_offset;let position={target:null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:getPrevTarget(instance,previousPosition),coords:null!==(_action_coords=action.coords)&&void 0!==_action_coords?_action_coords:previousPosition?.coords,caret:{node:null!==(_action_node=action.node)&&void 0!==_action_node?_action_node:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret=previousPosition.caret)||void 0===_previousPosition_caret?void 0:_previousPosition_caret.node,offset:null!==(_action_offset=action.offset)&&void 0!==_action_offset?_action_offset:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret1=previousPosition.caret)||void 0===_previousPosition_caret1?void 0:_previousPosition_caret1.offset}};"keyDef"in action?(instance.system.pointer.isKeyPressed(action.keyDef)&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)),action.releasePrevious||(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.press(instance,action.keyDef,position),action.releaseSelf&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)))):(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.move(instance,pointerName,position))}function hasCaretPosition(action){var _action_target,_ref;return!!(null!==(_ref=null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:action.node)&&void 0!==_ref?_ref:void 0!==action.offset)}function getPrevTarget(instance,position){if(!position)throw new Error("This pointer has no previous position. Provide a target property!");var _position_target;return null!==(_position_target=position.target)&&void 0!==_position_target?_position_target:instance.config.document.body}async function selectOptionsBase(newValue,select,values){if(!newValue&&!select.multiple)throw getConfig().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",select);let valArray=Array.isArray(values)?values:[values],allOptions=Array.from(select.querySelectorAll('option, [role="option"]')),selectedOptions=valArray.map((val=>{if("string"!=typeof val&&allOptions.includes(val))return val;{let matchingOption=allOptions.find((o=>o.value===val||o.innerHTML===val));if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value "${String(val)}" not found in options`,select)}})).filter((option=>!isDisabled2(option)));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,"change")};if(isElementType(select,"select"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(option,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(option,"pointermove"),this.dispatchUIEvent(option,"mousemove"),this.dispatchUIEvent(option,"pointerdown"),this.dispatchUIEvent(option,"mousedown")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,"pointerup"),this.dispatchUIEvent(option,"mouseup")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,"click"),await wait(this.config)}else{if(1!==selectedOptions.length)throw getConfig().getElementError("Cannot select multiple options on a non-multiple select",select);{let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(select,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(select,"pointerup"),this.dispatchUIEvent(select,"mouseup"),this.dispatchUIEvent(select,"click")),await wait(this.config)}}else{if("listbox"!==select.getAttribute("role"))throw getConfig().getElementError("Cannot select options on elements that are neither select nor listbox elements",select);for(let option of selectedOptions)await this.click(option),await this.unhover(option)}}var fakeFiles=Symbol("files and value properties are mocked");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop]}var userEventApi={click:async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:"[MouseLeft]",target:element}),this.pointer(pointerIn)},dblClick:async function dblClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft]"])},tripleClick:async function tripleClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft][MouseLeft]"])},hover:async function hover(element){return this.pointer({target:element})},unhover:async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})},tab:async function tab({shift}={}){return this.keyboard(!0===shift?"{Shift>}{Tab}{/Shift}":!1===shift?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")},keyboard:async function keyboard(text){let actions=function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,"keyboard");var _keyboardMap_find;let keyDef=null!==(_keyboardMap_find=keyboardMap.find((def=>{var _def_code,_def_key;return"["===type3?(null===(_def_code=def.code)||void 0===_def_code?void 0:_def_code.toLowerCase())===descriptor.toLowerCase():"{"===type3?(null===(_def_key=def.key)||void 0===_def_key?void 0:_def_key.toLowerCase())===descriptor.toLowerCase():def.key===descriptor})))&&void 0!==_keyboardMap_find?_keyboardMap_find:{key:"Unknown",code:"Unknown",["["===type3?"code":"key"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength)}while(text);return defs}(this.config.keyboardMap,text);for(let i=0;ireadBlobText(b2,window2.FileReader))));return dt}(doc).catch((()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")}));this.dispatchUIEvent(target,"paste",{clipboardData:dataTransfer})},pointer:async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach((actionInput=>{"string"==typeof actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput)):"keys"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map((i=>({...actionInput,...i})))):actions.push(actionInput)}));for(let i=0;i!this.config.applyAccept||function isAcceptableFile(file,accept){if(!accept)return!0;let wildcards=["audio/*","image/*","video/*"];return accept.split(",").some((acceptToken=>acceptToken.startsWith(".")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken))}(file,input2.accept))).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===(null===(_input_files=input2.files)||void 0===_input_files?void 0:_input_files.length)&&files.every(((f,i)=>{var _input_files2;return f===(null===(_input_files2=input2.files)||void 0===_input_files2?void 0:_input_files2.item(i))}))||(function setFiles(el,files){var _el_fakeFiles;null===(_el_fakeFiles=el[fakeFiles])||void 0===_el_fakeFiles||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,"type"),valueDescr=Object.getOwnPropertyDescriptor(el,"value"),filesDescr=Object.getOwnPropertyDescriptor(el,"files");function restore(){restoreProperty(el,"type",typeDescr),restoreProperty(el,"value",valueDescr),restoreProperty(el,"files",filesDescr)}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\fakepath\\${files[0].name}`:"",set(v2){var _valueDescr_set;""===v2?restore():null==valueDescr||null===(_valueDescr_set=valueDescr.set)||void 0===_valueDescr_set||_valueDescr_set.call(el,v2)}},type:{configurable:!0,get:()=>"file",set(v2){"file"!==v2&&(restore(),el.type=v2)}}})}(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,"input"),this.dispatchUIEvent(input2,"change"))};input2.addEventListener("fileDialog",fileDialog),await this.click(element),input2.removeEventListener("fileDialog",fileDialog)}};var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}],pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=function getDocument2(options,node,defaults){var _options_document,_ref;return null!==(_ref=null!==(_options_document=options.document)&&void 0!==_options_document?_options_document:node&&function getDocumentFromNode(el){return function isDocument2(node){return 9===node.nodeType}(el)?el:el.ownerDocument}(node))&&void 0!==_ref?_ref:defaults.document}(options,node,defaults);return{...defaults,...options,document:document2}}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);var _ref;prepareDocument(config3.document);let system=null!==(_ref=pointerState??keyboardState)&&void 0!==_ref?_ref:new System;return{api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}((()=>impl.apply(instance,args).then((async ret=>(await wait(instance.config),ret)))))}return Object.defineProperty(method,"name",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map((([name,api])=>[name,wrapAndBindImpl(instance,api)]))),setup:setupSub.bind(instance)}}}var directApi_exports={};function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then((()=>system))}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then((()=>system))}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});var userEvent={...directApi_exports,setup:function setupMain(options={}){let config3=createConfig(options);var _config_document_defaultView;return prepareDocument(config3.document),function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let stub,realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,"clipboard"),control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control)},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,"clipboard",realClipboard):Object.defineProperty(window2.navigator,"clipboard",{value:void 0,configurable:!0})}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,"clipboard",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}(null!==(_config_document_defaultView=config3.document.defaultView)&&void 0!==_config_document_defaultView?_config_document_defaultView:globalThis.window),createInstance(config3).api}};var esm_default=function dedent(templ){for(var values=[],_i=1;_i"fireEvent"===path[0]||method.startsWith("find")||method.startsWith("waitFor")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get:(target,prop,receiver)=>(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__.once.warn(esm_default` You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. More info: https://storybook.js.org/docs/react/essentials/interactions - `),Reflect.get(target,prop,receiver))});var{buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({userEvent},{intercept:!0}),{expect:expect3}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=["assert","__methods","__flags","_obj"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter((it=>!privateApi.includes(it)));return depth>2?keys2:[...keys2,"not"]}return Object.keys(obj)},intercept:method=>"expect"!==method});scope.__STORYBOOK_TEST_LOADERS__=[({parameters})=>{!0===parameters?.test?.mockReset?function resetAllMocks(){mocks.forEach((spy=>spy.mockReset()))}():!0===parameters?.test?.clearMocks?function clearAllMocks(){mocks.forEach((spy=>spy.mockClear()))}():!1!==parameters?.test?.restoreMocks&&function restoreAllMocks(){mocks.forEach((spy=>spy.mockRestore()))}()}]},"./node_modules/assert/build/assert.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then((function(result){return expectsError.apply(void 0,[rejects,result].concat(args))}))},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then((function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))}))},assert.ifError=function ifError(err){if(null!=err){var message="ifError got unwanted exception: ";"object"===_typeof(err)&&"string"==typeof err.message?0===err.message.length&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if("string"==typeof origStack){var tmp2=origStack.split("\n");tmp2.shift();for(var tmp1=newErr.stack.split("\n"),i=0;i{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;rstr.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}var blue="",green="",red="",white="",kReadableOperator={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(source){var keys=Object.keys(source),target=Object.create(Object.getPrototypeOf(source));return keys.forEach((function(key){target[key]=source[key]})),Object.defineProperty(target,"message",{value:source.message}),target}function inspectValue(val){return inspect(val,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(actual,expected,operator){var other="",res="",lastPos=0,end="",skipped=!1,actualInspected=inspectValue(actual),actualLines=actualInspected.split("\n"),expectedLines=inspectValue(expected).split("\n"),i=0,indicator="";if("strictEqual"===operator&&"object"===_typeof(actual)&&"object"===_typeof(expected)&&null!==actual&&null!==expected&&(operator="strictEqualObject"),1===actualLines.length&&1===expectedLines.length&&actualLines[0]!==expectedLines[0]){var inputLength=actualLines[0].length+expectedLines[0].length;if(inputLength<=10){if(!("object"===_typeof(actual)&&null!==actual||"object"===_typeof(expected)&&null!==expected||0===actual&&0===expected))return"".concat(kReadableOperator[operator],"\n\n")+"".concat(actualLines[0]," !== ").concat(expectedLines[0],"\n")}else if("strictEqualObject"!==operator){if(inputLength<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;actualLines[0][i]===expectedLines[0][i];)i++;i>2&&(indicator="\n ".concat(function repeat(str,count){if(count=Math.floor(count),0==str.length||0==count)return"";var maxCount=str.length*count;for(count=Math.floor(Math.log(count)/Math.log(2));count;)str+=str,count--;return str+str.substring(0,maxCount-str.length)}(" ",i),"^"),i=0)}}}for(var a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];a===b&&(i++<2?end="\n ".concat(a).concat(end):other=a,actualLines.pop(),expectedLines.pop(),0!==actualLines.length&&0!==expectedLines.length);)a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];var maxLines=Math.max(actualLines.length,expectedLines.length);if(0===maxLines){var _actualLines=actualInspected.split("\n");if(_actualLines.length>30)for(_actualLines[26]="".concat(blue,"...").concat(white);_actualLines.length>27;)_actualLines.pop();return"".concat(kReadableOperator.notIdentical,"\n\n").concat(_actualLines.join("\n"),"\n")}i>3&&(end="\n".concat(blue,"...").concat(white).concat(end),skipped=!0),""!==other&&(end="\n ".concat(other).concat(end),other="");var printedLines=0,msg=kReadableOperator[operator]+"\n".concat(green,"+ actual").concat(white," ").concat(red,"- expected").concat(white),skippedMsg=" ".concat(blue,"...").concat(white," Lines skipped");for(i=0;i1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(expectedLines[i-2]),printedLines++),res+="\n ".concat(expectedLines[i-1]),printedLines++),lastPos=i,other+="\n".concat(red,"-").concat(white," ").concat(expectedLines[i]),printedLines++;else if(expectedLines.length1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLines[i]),printedLines++;else{var expectedLine=expectedLines[i],actualLine=actualLines[i],divergingLines=actualLine!==expectedLine&&(!endsWith(actualLine,",")||actualLine.slice(0,-1)!==expectedLine);divergingLines&&endsWith(expectedLine,",")&&expectedLine.slice(0,-1)===actualLine&&(divergingLines=!1,actualLine+=","),divergingLines?(cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLine),other+="\n".concat(red,"-").concat(white," ").concat(expectedLine),printedLines+=2):(res+=other,other="",1!==cur&&0!==i||(res+="\n ".concat(actualLine),printedLines++))}if(printedLines>20&&i30)for(res[26]="".concat(blue,"...").concat(white);res.length>27;)res.pop();_this=1===res.length?_super.call(this,"".concat(base," ").concat(res[0])):_super.call(this,"".concat(base,"\n\n").concat(res.join("\n"),"\n"))}else{var _res=inspectValue(actual),other="",knownOperators=kReadableOperator[operator];"notDeepEqual"===operator||"notEqual"===operator?(_res="".concat(kReadableOperator[operator],"\n\n").concat(_res)).length>1024&&(_res="".concat(_res.slice(0,1021),"...")):(other="".concat(inspectValue(expected)),_res.length>512&&(_res="".concat(_res.slice(0,509),"...")),other.length>512&&(other="".concat(other.slice(0,509),"...")),"deepEqual"===operator||"equal"===operator?_res="".concat(knownOperators,"\n\n").concat(_res,"\n\nshould equal\n\n"):other=" ".concat(operator," ").concat(other)),_this=_super.call(this,"".concat(_res).concat(other))}return Error.stackTraceLimit=limit,_this.generatedMessage=!message,Object.defineProperty(_assertThisInitialized(_this),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),_this.code="ERR_ASSERTION",_this.actual=actual,_this.expected=expected,_this.operator=operator,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(_this),stackStartFn),_this.stack,_this.name="AssertionError",_possibleConstructorReturn(_this)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_inspect$custom,value:function value(recurseTimes,ctx){return inspect(this,_objectSpread(_objectSpread({},ctx),{},{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error),inspect.custom);module.exports=AssertionError},"./node_modules/assert/build/internal/errors.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if(void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert("string"==typeof name,"'name' must be a string"),"string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(_typeof(actual))}),TypeError),createErrorType("ERR_INVALID_ARG_VALUE",(function(name,value){var reason=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===util&&(util=__webpack_require__("./node_modules/util/util.js"));var inspected=util.inspect(value);return inspected.length>128&&(inspected="".concat(inspected.slice(0,128),"...")),"The argument '".concat(name,"' ").concat(reason,". Received ").concat(inspected)}),TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",(function(input,name,value){var type;return type=value&&value.constructor&&value.constructor.name?"instance of ".concat(value.constructor.name):"type ".concat(_typeof(value)),"Expected ".concat(input,' to be returned from the "').concat(name,'"')+" function but got ".concat(type,".")}),TypeError),createErrorType("ERR_MISSING_ARGS",(function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map((function(a){return'"'.concat(a,'"')})),len){case 1:msg+="".concat(args[0]," argument");break;case 2:msg+="".concat(args[0]," and ").concat(args[1]," arguments");break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and ".concat(args[len-1]," arguments")}return"".concat(msg," must be specified")}),TypeError),module.exports.codes=codes},"./node_modules/assert/build/internal/util/comparisons.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i10)return!0;for(var i=0;i57)return!0}return 10===key.length&&key>=Math.pow(2,32)}function getOwnNonIndexProperties(value){return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)))}function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i{"use strict";var possibleNames=__webpack_require__("./node_modules/possible-typed-array-names/index.js"),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis;module.exports=function availableTypedArrays(){for(var out=[],i=0;i{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},"./node_modules/call-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("./node_modules/function-bind/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),setFunctionLength=__webpack_require__("./node_modules/set-function-length/index.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$max=GetIntrinsic("%Math.max%");module.exports=function callBind(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},"./node_modules/define-data-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),gopd=__webpack_require__("./node_modules/gopd/index.js");module.exports=function defineDataProperty(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}},"./node_modules/define-properties/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=__webpack_require__("./node_modules/define-data-property/index.js"),supportsDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())return;var fn;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i{!function(){"use strict";var typed,utility,jsdoc,esutils,hasOwnProperty,func;function sliceSource(source,index,last){return source.slice(index,last)}function isParamTitle(title){return"param"===title||"argument"===title||"arg"===title}function isReturnTitle(title){return"return"===title||"returns"===title}function isProperty(title){return"property"===title||"prop"===title}function isNameParameterRequired(title){return isParamTitle(title)||isProperty(title)||"alias"===title||"this"===title||"mixes"===title||"requires"===title}function isAllowedOptional(title){return isProperty(title)||isParamTitle(title)}function isTypeParameterRequired(title){return isParamTitle(title)||isReturnTitle(title)||"define"===title||"enum"===title||"implements"===title||"this"===title||"type"===title||"typedef"===title||isProperty(title)}esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),typed=__webpack_require__("./node_modules/doctrine/lib/typed.js"),utility=__webpack_require__("./node_modules/doctrine/lib/utility.js"),func=Object.prototype.hasOwnProperty,hasOwnProperty=function hasOwnProperty(obj,name){return func.call(obj,name)};var WHITESPACE="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",STAR_MATCHER="("+WHITESPACE+"*(?:\\*"+WHITESPACE+"?)?)(.+|[\r\n\u2028\u2029])";function unwrapComment(doc){return doc.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(STAR_MATCHER,"g"),"$2").replace(/\s*$/,"")}!function(exports){var Rules,index,lineNumber,length,source,originalSource,recoverable,sloppy,strict;function advance(){var ch=source.charCodeAt(index);return index+=1,!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(index)||(lineNumber+=1),String.fromCharCode(ch)}function parseType(title,last,addRange){for(var ch,brace,type,startIndex,direct=!1;index=last)return null;if(91===source.charCodeAt(index)){if(!allowBrackets)return null;useBrackets=!0,name=advance()}if(name+=scanIdentifier(last),allowNestedParams)for(58!==source.charCodeAt(index)||"module"!==name&&"external"!==name&&"event"!==name||(name+=advance(),name+=scanIdentifier(last)),91===source.charCodeAt(index)&&93===source.charCodeAt(index+1)&&(name+=advance(),name+=advance());46===source.charCodeAt(index)||47===source.charCodeAt(index)||35===source.charCodeAt(index)||45===source.charCodeAt(index)||126===source.charCodeAt(index);)name+=advance(),name+=scanIdentifier(last);if(useBrackets){if(skipWhiteSpace(last),61===source.charCodeAt(index)){var ch;name+=advance(),skipWhiteSpace(last);for(var bracketDepth=1;index=last||93!==source.charCodeAt(index))return null;name+=advance()}return name}function convertIndex(rangeIndex){return source===originalSource?rangeIndex:function convertUnwrappedCommentIndex(originalSource,unwrappedIndex){for(var match,replacedSource=originalSource.replace(/^\/\*\*?/,""),numSkippedChars=0,matcher=new RegExp(STAR_MATCHER,"g");match=matcher.exec(replacedSource);)if(numSkippedChars+=match[1].length,match.index+match[0].length>unwrappedIndex+numSkippedChars)return unwrappedIndex+numSkippedChars+originalSource.length-replacedSource.length;return originalSource.replace(/\*\/$/,"").replace(/\s*$/,"").length}(originalSource,rangeIndex)}function TagParser(options,title){this._options=options,this._title=title.toLowerCase(),this._tag={title,description:null},this._options.lineNumbers&&(this._tag.lineNumber=lineNumber),this._first=index-title.length-1,this._last=0,this._extra={}}function parseTag(options){var parser,tag;if(!function skipToTag(){for(;index=length||(utility.assert(64===source.charCodeAt(index)),0))}())return null;for(tag=(parser=new TagParser(options,function scanTitle(){var ch,title="";for(advance();index=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57);)title+=advance();return title}())).parse();index1&&(this._tag.default=assign.slice(1).join("=")),this._tag.name=assign[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!isNameParameterRequired(this._title))return!0;if(isParamTitle(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},TagParser.prototype.parseDescription=function parseDescription(){var description=sliceSource(source,index,this._last).trim();return description&&(/^-\s+/.test(description)&&(description=description.substring(2)),this._tag.description=description),!0},TagParser.prototype.parseCaption=function parseDescription(){var description=sliceSource(source,index,this._last).trim(),captionStart=description.indexOf(""),captionEnd=description.indexOf("");return captionStart>=0&&captionEnd>=0?(this._tag.caption=description.substring(captionStart+9,captionEnd).trim(),this._tag.description=description.substring(captionEnd+10).trim()):this._tag.description=description,!0},TagParser.prototype.parseKind=function parseKind(){var kind,kinds;return kinds={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},kind=sliceSource(source,index,this._last).trim(),this._tag.kind=kind,!(!hasOwnProperty(kinds,kind)&&!this.addError("Invalid kind name '%0'",kind))},TagParser.prototype.parseAccess=function parseAccess(){var access;return access=sliceSource(source,index,this._last).trim(),this._tag.access=access,!("private"!==access&&"protected"!==access&&"public"!==access&&!this.addError("Invalid access name '%0'",access))},TagParser.prototype.parseThis=function parseThis(){var value=sliceSource(source,index,this._last).trim();return value&&"{"===value.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()},TagParser.prototype.parseVariation=function parseVariation(){var variation,text;return text=sliceSource(source,index,this._last).trim(),variation=parseFloat(text,10),this._tag.variation=variation,!(isNaN(variation)&&!this.addError("Invalid variation '%0'",text))},TagParser.prototype.ensureEnd=function(){var shouldBeEmpty=sliceSource(source,index,this._last).trim();return!(shouldBeEmpty&&!this.addError("Unknown content '%0'",shouldBeEmpty))},TagParser.prototype.epilogue=function epilogue(){var description;return description=this._tag.description,!(isAllowedOptional(this._title)&&!this._tag.type&&description&&"["===description.charAt(0)&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!sloppy&&!this.addError("Missing or invalid tag name")))},Rules={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},TagParser.prototype.parse=function parse(){var i,iz,sequences;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=function seekContent(){var ch,waiting,last=index;for(waiting=!1;last{!function(){"use strict";var Syntax,Token,source,length,index,previous,token,value,esutils,utility,rangeOffset,addRange;function isTypeName(ch){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(ch))&&!esutils.code.isWhiteSpace(ch)&&!esutils.code.isLineTerminator(ch)}function Context(previous,index,token,value){this._previous=previous,this._index=index,this._token=token,this._value=value}function maybeAddRange(node,range){return addRange&&(node.range=[range[0]+rangeOffset,range[1]+rangeOffset]),node}function advance(){var ch=source.charAt(index);return index+=1,ch}function scanHexEscape(prefix){var i,len,ch,code=0;for(len="u"===prefix?4:2,i=0;i=length)return token=Token.EOF;switch(ch=source.charCodeAt(index)){case 39:case 34:return token=function scanString(){var quote,ch,code,unescaped,restore,str="";for(quote=source.charAt(index),++index;index=0&&index=length)return Token.ILLEGAL;if(60===source.charCodeAt(index+1))break}value+=advance()}return Token.NAME}())}}function consume(target,text){utility.assert(token===target,text||"consumed token not matched"),next()}function expect(target,message){token!==target&&utility.throwError(message||"unexpected token"),next()}function parseFieldType(){var key,rangeStart=previous;return key=function parseFieldName(){var v=value;return token===Token.NAME||token===Token.STRING?(next(),v):token===Token.NUMBER?(consume(Token.NUMBER),String(v)):void utility.throwError("unexpected token")}(),token===Token.COLON?(consume(Token.COLON),maybeAddRange({type:Syntax.FieldType,key,value:parseTypeExpression()},[rangeStart,previous])):maybeAddRange({type:Syntax.FieldType,key,value:null},[rangeStart,previous])}function parseTypeName(){var expr,applications,startIndex=index-value.length;return expr=function parseNameExpression(){var name=value,rangeStart=index-name.length;return expect(Token.NAME),token!==Token.COLON||"module"!==name&&"external"!==name&&"event"!==name||(consume(Token.COLON),name+=":"+value,expect(Token.NAME)),maybeAddRange({type:Syntax.NameExpression,name},[rangeStart,previous])}(),token===Token.DOT_LT||token===Token.LT?(next(),applications=function parseTypeExpressionList(){var elements=[];for(elements.push(parseTop());token===Token.COMMA;)consume(Token.COMMA),elements.push(parseTop());return elements}(),expect(Token.GT),maybeAddRange({type:Syntax.TypeApplication,expression:expr,applications},[startIndex,previous])):expr}function parseParametersType(){for(var expr,startIndex,nameStartIndex,params=[],optionalSequence=!1,rest=!1,restStartIndex=index-3;token!==Token.RPAREN;)token===Token.REST&&(consume(Token.REST),rest=!0),startIndex=previous,(expr=parseTypeExpression()).type===Syntax.NameExpression&&token===Token.COLON&&(nameStartIndex=previous-expr.name.length,consume(Token.COLON),expr=maybeAddRange({type:Syntax.ParameterType,name:expr.name,expression:parseTypeExpression()},[nameStartIndex,previous])),token===Token.EQUAL?(consume(Token.EQUAL),expr=maybeAddRange({type:Syntax.OptionalType,expression:expr},[startIndex,previous]),optionalSequence=!0):optionalSequence&&utility.throwError("unexpected token"),rest&&(expr=maybeAddRange({type:Syntax.RestType,expression:expr},[restStartIndex,previous])),params.push(expr),token!==Token.RPAREN&&expect(Token.COMMA);return params}function parseFunctionType(){var isNew,thisBinding,params,result,fnType,startIndex=index-value.length;return utility.assert(token===Token.NAME&&"function"===value,"FunctionType should start with 'function'"),consume(Token.NAME),expect(Token.LPAREN),isNew=!1,params=[],thisBinding=null,token!==Token.RPAREN&&(token!==Token.NAME||"this"!==value&&"new"!==value?params=parseParametersType():(isNew="new"===value,consume(Token.NAME),expect(Token.COLON),thisBinding=parseTypeName(),token===Token.COMMA&&(consume(Token.COMMA),params=parseParametersType()))),expect(Token.RPAREN),result=null,token===Token.COLON&&(result=function parseResultType(){return consume(Token.COLON,"ResultType should start with :"),token===Token.NAME&&"void"===value?(consume(Token.NAME),{type:Syntax.VoidLiteral}):parseTypeExpression()}()),fnType=maybeAddRange({type:Syntax.FunctionType,params,result},[startIndex,previous]),thisBinding&&(fnType.this=thisBinding,isNew&&(fnType.new=!0)),fnType}function parseBasicTypeExpression(){var context,startIndex;switch(token){case Token.STAR:return consume(Token.STAR),maybeAddRange({type:Syntax.AllLiteral},[previous-1,previous]);case Token.LPAREN:return function parseUnionType(){var elements,startIndex=index-1;if(consume(Token.LPAREN,"UnionType should start with ("),elements=[],token!==Token.RPAREN)for(;elements.push(parseTypeExpression()),token!==Token.RPAREN;)expect(Token.PIPE);return consume(Token.RPAREN,"UnionType should end with )"),maybeAddRange({type:Syntax.UnionType,elements},[startIndex,previous])}();case Token.LBRACK:return function parseArrayType(){var elements,restStartIndex,startIndex=index-1;for(consume(Token.LBRACK,"ArrayType should start with ["),elements=[];token!==Token.RBRACK;){if(token===Token.REST){restStartIndex=index-3,consume(Token.REST),elements.push(maybeAddRange({type:Syntax.RestType,expression:parseTypeExpression()},[restStartIndex,previous]));break}elements.push(parseTypeExpression()),token!==Token.RBRACK&&expect(Token.COMMA)}return expect(Token.RBRACK),maybeAddRange({type:Syntax.ArrayType,elements},[startIndex,previous])}();case Token.LBRACE:return function parseRecordType(){var fields,rangeEnd,rangeStart=index-1;if(consume(Token.LBRACE,"RecordType should start with {"),fields=[],token===Token.COMMA)consume(Token.COMMA);else for(;token!==Token.RBRACE;)fields.push(parseFieldType()),token!==Token.RBRACE&&expect(Token.COMMA);return rangeEnd=index,expect(Token.RBRACE),maybeAddRange({type:Syntax.RecordType,fields},[rangeStart,rangeEnd])}();case Token.NAME:if(startIndex=index-value.length,"null"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.NullLiteral},[startIndex,previous]);if("undefined"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.UndefinedLiteral},[startIndex,previous]);if("true"===value||"false"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.BooleanLiteralType,value:"true"===value},[startIndex,previous]);if(context=Context.save(),"function"===value)try{return parseFunctionType()}catch(e){context.restore()}return parseTypeName();case Token.STRING:return next(),maybeAddRange({type:Syntax.StringLiteralType,value},[previous-value.length-2,previous]);case Token.NUMBER:return next(),maybeAddRange({type:Syntax.NumericLiteralType,value},[previous-String(value).length,previous]);default:utility.throwError("unexpected token")}}function parseTypeExpression(){var expr,rangeStart;return token===Token.QUESTION?(rangeStart=index-1,consume(Token.QUESTION),token===Token.COMMA||token===Token.EQUAL||token===Token.RBRACE||token===Token.RPAREN||token===Token.PIPE||token===Token.EOF||token===Token.RBRACK||token===Token.GT?maybeAddRange({type:Syntax.NullableLiteral},[rangeStart,previous]):maybeAddRange({type:Syntax.NullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):token===Token.BANG?(rangeStart=index-1,consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):(rangeStart=previous,expr=parseBasicTypeExpression(),token===Token.BANG?(consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.QUESTION?(consume(Token.QUESTION),maybeAddRange({type:Syntax.NullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.LBRACK?(consume(Token.LBRACK),expect(Token.RBRACK,"expected an array-style type declaration ("+value+"[])"),maybeAddRange({type:Syntax.TypeApplication,expression:maybeAddRange({type:Syntax.NameExpression,name:"Array"},[rangeStart,previous]),applications:[expr]},[rangeStart,previous])):expr)}function parseTop(){var expr,elements;if(expr=parseTypeExpression(),token!==Token.PIPE)return expr;for(elements=[expr],consume(Token.PIPE);elements.push(parseTypeExpression()),token===Token.PIPE;)consume(Token.PIPE);return maybeAddRange({type:Syntax.UnionType,elements},[0,index])}function stringifyImpl(node,compact,topLevel){var result,i,iz;switch(node.type){case Syntax.NullableLiteral:result="?";break;case Syntax.AllLiteral:result="*";break;case Syntax.NullLiteral:result="null";break;case Syntax.UndefinedLiteral:result="undefined";break;case Syntax.VoidLiteral:result="void";break;case Syntax.UnionType:for(result=topLevel?"":"(",i=0,iz=node.elements.length;i{!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__("./node_modules/doctrine/package.json").rE,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__("./node_modules/assert/build/assert.js")}()},"./node_modules/es-define-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty},"./node_modules/es-errors/eval.js":module=>{"use strict";module.exports=EvalError},"./node_modules/es-errors/index.js":module=>{"use strict";module.exports=Error},"./node_modules/es-errors/range.js":module=>{"use strict";module.exports=RangeError},"./node_modules/es-errors/ref.js":module=>{"use strict";module.exports=ReferenceError},"./node_modules/es-errors/syntax.js":module=>{"use strict";module.exports=SyntaxError},"./node_modules/es-errors/type.js":module=>{"use strict";module.exports=TypeError},"./node_modules/es-errors/uri.js":module=>{"use strict";module.exports=URIError},"./node_modules/esutils/lib/ast.js":module=>{!function(){"use strict";function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement}}()},"./node_modules/esutils/lib/code.js":module=>{!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},"./node_modules/esutils/lib/keyword.js":(module,__unused_webpack_exports,__webpack_require__)=>{!function(){"use strict";var code=__webpack_require__("./node_modules/esutils/lib/code.js");function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5,isKeywordES6,isReservedWordES5,isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5,isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},"./node_modules/esutils/lib/utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";exports.ast=__webpack_require__("./node_modules/esutils/lib/ast.js"),exports.code=__webpack_require__("./node_modules/esutils/lib/code.js"),exports.keyword=__webpack_require__("./node_modules/esutils/lib/keyword.js")}()},"./node_modules/for-each/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__("./node_modules/is-callable/index.js"),toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function forEach(list,iterator,thisArg){if(!isCallable(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr.call(list)?function forEachArray(array,iterator,receiver){for(var i=0,len=array.length;i{"use strict";var toStr=Object.prototype.toString,max=Math.max,concatty=function concatty(a,b){for(var arr=[],i=0;i{"use strict";var implementation=__webpack_require__("./node_modules/function-bind/implementation.js");module.exports=Function.prototype.bind||implementation},"./node_modules/get-intrinsic/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Error=__webpack_require__("./node_modules/es-errors/index.js"),$EvalError=__webpack_require__("./node_modules/es-errors/eval.js"),$RangeError=__webpack_require__("./node_modules/es-errors/range.js"),$ReferenceError=__webpack_require__("./node_modules/es-errors/ref.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$URIError=__webpack_require__("./node_modules/es-errors/uri.js"),$Function=Function,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),hasProto=__webpack_require__("./node_modules/has-proto/index.js")(),getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__("./node_modules/function-bind/index.js"),hasOwn=__webpack_require__("./node_modules/hasown/index.js"),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},"./node_modules/gopd/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $gOPD=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},"./node_modules/has-property-descriptors/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch(e){return!0}},module.exports=hasPropertyDescriptors},"./node_modules/has-proto/index.js":module=>{"use strict";var test={__proto__:null,foo:{}},$Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)}},"./node_modules/has-symbols/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},"./node_modules/has-symbols/shams.js":module=>{"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},"./node_modules/has-tostringtag/shams.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},"./node_modules/hasown/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=__webpack_require__("./node_modules/function-bind/index.js");module.exports=bind.call(call,$hasOwn)},"./node_modules/inherits/inherits_browser.js":module=>{"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},"./node_modules/is-arguments/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),$toString=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},"./node_modules/is-callable/index.js":module=>{"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},tryFunctionObject=function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function isDocumentDotAll(){return!1};if("object"==typeof document){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function isDocumentDotAll(value){if((isIE68||!value)&&(void 0===value||"object"==typeof value))try{var str=toStr.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch(e){}return!1})}module.exports=reflectApply?function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}},"./node_modules/is-generator-function/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GeneratorFunction,toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),getProto=Object.getPrototypeOf;module.exports=function isGeneratorFunction(fn){if("function"!=typeof fn)return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag)return"[object GeneratorFunction]"===toStr.call(fn);if(!getProto)return!1;if(void 0===GeneratorFunction){var generatorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch(e){}}();GeneratorFunction=!!generatorFunc&&getProto(generatorFunc)}return getProto(fn)===GeneratorFunction}},"./node_modules/is-nan/implementation.js":module=>{"use strict";module.exports=function isNaN(value){return value!=value}},"./node_modules/is-nan/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__("./node_modules/call-bind/index.js"),define=__webpack_require__("./node_modules/define-properties/index.js"),implementation=__webpack_require__("./node_modules/is-nan/implementation.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js"),shim=__webpack_require__("./node_modules/is-nan/shim.js"),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/is-nan/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/is-nan/implementation.js");module.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},"./node_modules/is-nan/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js");module.exports=function shimNumberIsNaN(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function testIsNaN(){return Number.isNaN!==polyfill}}),polyfill}},"./node_modules/is-typed-array/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__("./node_modules/which-typed-array/index.js");module.exports=function isTypedArray(value){return!!whichTypedArray(value)}},"./node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"./node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("./node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("./node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("./node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("./node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("./node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var listCacheClear=__webpack_require__("./node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("./node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("./node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("./node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("./node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Map=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Map");module.exports=Map},"./node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("./node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("./node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("./node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("./node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("./node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Promise=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"./node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Set");module.exports=Set},"./node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("./node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("./node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("./node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("./node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("./node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("./node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("./node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"./node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"./node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"./node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"./node_modules/lodash/_arrayFilter.js":module=>{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{var baseTimes=__webpack_require__("./node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"./node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index{var eq=__webpack_require__("./node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"./node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"./node_modules/lodash/_baseFor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_createBaseFor.js")();module.exports=baseFor},"./node_modules/lodash/_baseForOwn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_baseFor.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},"./node_modules/lodash/_baseGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"./node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("./node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("./node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"./node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"./node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"./node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("./node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"./node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("./node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("./node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"./node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("./node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"./node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"./node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("./node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("./node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),property=__webpack_require__("./node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"./node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("./node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"./node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("./node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("./node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"./node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("./node_modules/lodash/get.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"./node_modules/lodash/_baseProperty.js":module=>{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"./node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"./node_modules/lodash/_baseTimes.js":module=>{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"./node_modules/lodash/_cacheHas.js":module=>{module.exports=function cacheHas(cache,key){return cache.has(key)}},"./node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("./node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"./node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("./node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"./node_modules/lodash/_createBaseFor.js":module=>{module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},"./node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("./node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"./node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("./node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("./node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"./node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"./node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"./node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("./node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"./node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"./node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("./node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("./node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"./node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"./node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("./node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"./node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_DataView.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),Promise=__webpack_require__("./node_modules/lodash/_Promise.js"),Set=__webpack_require__("./node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("./node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"./node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"./node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"./node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"./node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"./node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"./node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"./node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"./node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"./node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("./node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"./node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"./node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"./node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"./node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"./node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"./node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"./node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"./node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("./node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"./node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"./node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"./node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"./node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"./node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"./node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"./node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("./node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"./node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"./node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"./node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"./node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"./node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"./node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"./node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"./node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"./node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"./node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"./node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"./node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"./node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"./node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"./node_modules/lodash/_stringToPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoizeCapped=__webpack_require__("./node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"./node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"./node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"./node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"./node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("./node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("./node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"./node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"./node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("./node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"./node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"./node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"./node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),stubFalse=__webpack_require__("./node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"./node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"./node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"./node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"./node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"./node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"./node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("./node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"./node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("./node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"./node_modules/lodash/mapValues.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),baseForOwn=__webpack_require__("./node_modules/lodash/_baseForOwn.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js");module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},"./node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"./node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("./node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("./node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"./node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"./node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"./node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("./node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"./node_modules/object-is/implementation.js":module=>{"use strict";var numberIsNaN=function(value){return value!=value};module.exports=function is(a,b){return 0===a&&0===b?1/a==1/b:a===b||!(!numberIsNaN(a)||!numberIsNaN(b))}},"./node_modules/object-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),implementation=__webpack_require__("./node_modules/object-is/implementation.js"),getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),shim=__webpack_require__("./node_modules/object-is/shim.js"),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/object-is/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object-is/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:implementation}},"./node_modules/object-is/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimObjectIs(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function testObjectIs(){return Object.is!==polyfill}}),polyfill}},"./node_modules/object-keys/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__("./node_modules/object-keys/implementation.js"),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},"./node_modules/object-keys/isArguments.js":module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},"./node_modules/object.assign/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js")(),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function assign(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s{"use strict";var implementation=__webpack_require__("./node_modules/object.assign/implementation.js");module.exports=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},"./node_modules/process/browser.js":module=>{var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),define=__webpack_require__("./node_modules/define-data-property/index.js"),hasDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),gOPD=__webpack_require__("./node_modules/gopd/index.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$floor=GetIntrinsic("%Math.floor%");module.exports=function setFunctionLength(fn,length){if("function"!=typeof fn)throw new $TypeError("`fn` is not a function");if("number"!=typeof length||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define(fn,"length",length,!0,!0):define(fn,"length",length)),fn}},"./node_modules/ts-dedent/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function dedent(templ){for(var values=[],_i=1;_i__WEBPACK_DEFAULT_EXPORT__,T:()=>dedent});const __WEBPACK_DEFAULT_EXPORT__=dedent},"./node_modules/util/support/isBufferBrowser.js":module=>{module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},"./node_modules/util/support/types.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var isArgumentsObject=__webpack_require__("./node_modules/is-arguments/index.js"),isGeneratorFunction=__webpack_require__("./node_modules/is-generator-function/index.js"),whichTypedArray=__webpack_require__("./node_modules/which-typed-array/index.js"),isTypedArray=__webpack_require__("./node_modules/is-typed-array/index.js");function uncurryThis(f){return f.call.bind(f)}var BigIntSupported="undefined"!=typeof BigInt,SymbolSupported="undefined"!=typeof Symbol,ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if("object"!=typeof value)return!1;try{return prototypeValueOf(value),!0}catch(e){return!1}}function isMapToString(value){return"[object Map]"===ObjectToString(value)}function isSetToString(value){return"[object Set]"===ObjectToString(value)}function isWeakMapToString(value){return"[object WeakMap]"===ObjectToString(value)}function isWeakSetToString(value){return"[object WeakSet]"===ObjectToString(value)}function isArrayBufferToString(value){return"[object ArrayBuffer]"===ObjectToString(value)}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer)}function isDataViewToString(value){return"[object DataView]"===ObjectToString(value)}function isDataView(value){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(value):value instanceof DataView)}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray,exports.isPromise=function isPromise(input){return"undefined"!=typeof Promise&&input instanceof Promise||null!==input&&"object"==typeof input&&"function"==typeof input.then&&"function"==typeof input.catch},exports.isArrayBufferView=function isArrayBufferView(value){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)},exports.isUint8Array=function isUint8Array(value){return"Uint8Array"===whichTypedArray(value)},exports.isUint8ClampedArray=function isUint8ClampedArray(value){return"Uint8ClampedArray"===whichTypedArray(value)},exports.isUint16Array=function isUint16Array(value){return"Uint16Array"===whichTypedArray(value)},exports.isUint32Array=function isUint32Array(value){return"Uint32Array"===whichTypedArray(value)},exports.isInt8Array=function isInt8Array(value){return"Int8Array"===whichTypedArray(value)},exports.isInt16Array=function isInt16Array(value){return"Int16Array"===whichTypedArray(value)},exports.isInt32Array=function isInt32Array(value){return"Int32Array"===whichTypedArray(value)},exports.isFloat32Array=function isFloat32Array(value){return"Float32Array"===whichTypedArray(value)},exports.isFloat64Array=function isFloat64Array(value){return"Float64Array"===whichTypedArray(value)},exports.isBigInt64Array=function isBigInt64Array(value){return"BigInt64Array"===whichTypedArray(value)},exports.isBigUint64Array=function isBigUint64Array(value){return"BigUint64Array"===whichTypedArray(value)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),exports.isMap=function isMap(value){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(value):value instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),exports.isSet=function isSet(value){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(value):value instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),exports.isWeakMap=function isWeakMap(value){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),exports.isWeakSet=function isWeakSet(value){return isWeakSetToString(value)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),exports.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),exports.isDataView=isDataView;var SharedArrayBufferCopy="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return"[object SharedArrayBuffer]"===ObjectToString(value)}function isSharedArrayBuffer(value){return void 0!==SharedArrayBufferCopy&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSharedArrayBuffer=isSharedArrayBuffer,exports.isAsyncFunction=function isAsyncFunction(value){return"[object AsyncFunction]"===ObjectToString(value)},exports.isMapIterator=function isMapIterator(value){return"[object Map Iterator]"===ObjectToString(value)},exports.isSetIterator=function isSetIterator(value){return"[object Set Iterator]"===ObjectToString(value)},exports.isGeneratorObject=function isGeneratorObject(value){return"[object Generator]"===ObjectToString(value)},exports.isWebAssemblyCompiledModule=function isWebAssemblyCompiledModule(value){return"[object WebAssembly.Module]"===ObjectToString(value)},exports.isNumberObject=isNumberObject,exports.isStringObject=isStringObject,exports.isBooleanObject=isBooleanObject,exports.isBigIntObject=isBigIntObject,exports.isSymbolObject=isSymbolObject,exports.isBoxedPrimitive=function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)},exports.isAnyArrayBuffer=function isAnyArrayBuffer(value){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(value)||isSharedArrayBuffer(value))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw new Error(method+" is not supported in userland")}})}))},"./node_modules/util/util.js":(__unused_webpack_module,exports,__webpack_require__)=>{var process=__webpack_require__("./node_modules/process/browser.js"),getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(length>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return" "+line})).join("\n").slice(2):"\n"+str.split("\n").map((function(line){return" "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.slice(1,-1),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.types=__webpack_require__("./node_modules/util/support/types.js"),exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.types.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.types.isDate=isDate,exports.isError=isError,exports.types.isNativeError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__("./node_modules/util/support/isBufferBrowser.js");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__("./node_modules/inherits/inherits_browser.js"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin};var kCustomPromisifiedSymbol="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=new Error("Promise was rejected with a falsy value");newReason.reason=reason,reason=newReason}return cb(reason)}exports.promisify=function promisify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn;if("function"!=typeof(fn=original[kCustomPromisifiedSymbol]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var promiseResolve,promiseReject,promise=new Promise((function(resolve,reject){promiseResolve=resolve,promiseReject=reject})),args=[],i=0;i{"use strict";var forEach=__webpack_require__("./node_modules/for-each/index.js"),availableTypedArrays=__webpack_require__("./node_modules/available-typed-arrays/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),gOPD=__webpack_require__("./node_modules/gopd/index.js"),$toString=callBound("Object.prototype.toString"),hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function indexOf(array,value){for(var i=0;i-1?tag:"Object"===tag&&function tryAllSlices(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch(e){}})),found}(value)}return gOPD?function tryAllTypedArrays(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch(e){}})),found}(value):null}},"./node_modules/doctrine/package.json":module=>{"use strict";module.exports={rE:"3.0.0"}}}]); -//# sourceMappingURL=478.489c6547.iframe.bundle.js.map \ No newline at end of file + `),Reflect.get(target,prop,receiver))});var{buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({userEvent},{intercept:!0}),{expect:expect3}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=["assert","__methods","__flags","_obj"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter((it=>!privateApi.includes(it)));return depth>2?keys2:[...keys2,"not"]}return Object.keys(obj)},intercept:method=>"expect"!==method});scope.__STORYBOOK_TEST_LOADERS__=[({parameters})=>{!0===parameters?.test?.mockReset?function resetAllMocks(){mocks.forEach((spy=>spy.mockReset()))}():!0===parameters?.test?.clearMocks?function clearAllMocks(){mocks.forEach((spy=>spy.mockClear()))}():!1!==parameters?.test?.restoreMocks&&function restoreAllMocks(){mocks.forEach((spy=>spy.mockRestore()))}()}]},"./node_modules/assert/build/assert.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then((function(result){return expectsError.apply(void 0,[rejects,result].concat(args))}))},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then((function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))}))},assert.ifError=function ifError(err){if(null!=err){var message="ifError got unwanted exception: ";"object"===_typeof(err)&&"string"==typeof err.message?0===err.message.length&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if("string"==typeof origStack){var tmp2=origStack.split("\n");tmp2.shift();for(var tmp1=newErr.stack.split("\n"),i=0;i{"use strict";var process=__webpack_require__("./node_modules/process/browser.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;rstr.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}var blue="",green="",red="",white="",kReadableOperator={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(source){var keys=Object.keys(source),target=Object.create(Object.getPrototypeOf(source));return keys.forEach((function(key){target[key]=source[key]})),Object.defineProperty(target,"message",{value:source.message}),target}function inspectValue(val){return inspect(val,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(actual,expected,operator){var other="",res="",lastPos=0,end="",skipped=!1,actualInspected=inspectValue(actual),actualLines=actualInspected.split("\n"),expectedLines=inspectValue(expected).split("\n"),i=0,indicator="";if("strictEqual"===operator&&"object"===_typeof(actual)&&"object"===_typeof(expected)&&null!==actual&&null!==expected&&(operator="strictEqualObject"),1===actualLines.length&&1===expectedLines.length&&actualLines[0]!==expectedLines[0]){var inputLength=actualLines[0].length+expectedLines[0].length;if(inputLength<=10){if(!("object"===_typeof(actual)&&null!==actual||"object"===_typeof(expected)&&null!==expected||0===actual&&0===expected))return"".concat(kReadableOperator[operator],"\n\n")+"".concat(actualLines[0]," !== ").concat(expectedLines[0],"\n")}else if("strictEqualObject"!==operator){if(inputLength<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;actualLines[0][i]===expectedLines[0][i];)i++;i>2&&(indicator="\n ".concat(function repeat(str,count){if(count=Math.floor(count),0==str.length||0==count)return"";var maxCount=str.length*count;for(count=Math.floor(Math.log(count)/Math.log(2));count;)str+=str,count--;return str+str.substring(0,maxCount-str.length)}(" ",i),"^"),i=0)}}}for(var a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];a===b&&(i++<2?end="\n ".concat(a).concat(end):other=a,actualLines.pop(),expectedLines.pop(),0!==actualLines.length&&0!==expectedLines.length);)a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];var maxLines=Math.max(actualLines.length,expectedLines.length);if(0===maxLines){var _actualLines=actualInspected.split("\n");if(_actualLines.length>30)for(_actualLines[26]="".concat(blue,"...").concat(white);_actualLines.length>27;)_actualLines.pop();return"".concat(kReadableOperator.notIdentical,"\n\n").concat(_actualLines.join("\n"),"\n")}i>3&&(end="\n".concat(blue,"...").concat(white).concat(end),skipped=!0),""!==other&&(end="\n ".concat(other).concat(end),other="");var printedLines=0,msg=kReadableOperator[operator]+"\n".concat(green,"+ actual").concat(white," ").concat(red,"- expected").concat(white),skippedMsg=" ".concat(blue,"...").concat(white," Lines skipped");for(i=0;i1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(expectedLines[i-2]),printedLines++),res+="\n ".concat(expectedLines[i-1]),printedLines++),lastPos=i,other+="\n".concat(red,"-").concat(white," ").concat(expectedLines[i]),printedLines++;else if(expectedLines.length1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLines[i]),printedLines++;else{var expectedLine=expectedLines[i],actualLine=actualLines[i],divergingLines=actualLine!==expectedLine&&(!endsWith(actualLine,",")||actualLine.slice(0,-1)!==expectedLine);divergingLines&&endsWith(expectedLine,",")&&expectedLine.slice(0,-1)===actualLine&&(divergingLines=!1,actualLine+=","),divergingLines?(cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLine),other+="\n".concat(red,"-").concat(white," ").concat(expectedLine),printedLines+=2):(res+=other,other="",1!==cur&&0!==i||(res+="\n ".concat(actualLine),printedLines++))}if(printedLines>20&&i30)for(res[26]="".concat(blue,"...").concat(white);res.length>27;)res.pop();_this=1===res.length?_super.call(this,"".concat(base," ").concat(res[0])):_super.call(this,"".concat(base,"\n\n").concat(res.join("\n"),"\n"))}else{var _res=inspectValue(actual),other="",knownOperators=kReadableOperator[operator];"notDeepEqual"===operator||"notEqual"===operator?(_res="".concat(kReadableOperator[operator],"\n\n").concat(_res)).length>1024&&(_res="".concat(_res.slice(0,1021),"...")):(other="".concat(inspectValue(expected)),_res.length>512&&(_res="".concat(_res.slice(0,509),"...")),other.length>512&&(other="".concat(other.slice(0,509),"...")),"deepEqual"===operator||"equal"===operator?_res="".concat(knownOperators,"\n\n").concat(_res,"\n\nshould equal\n\n"):other=" ".concat(operator," ").concat(other)),_this=_super.call(this,"".concat(_res).concat(other))}return Error.stackTraceLimit=limit,_this.generatedMessage=!message,Object.defineProperty(_assertThisInitialized(_this),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),_this.code="ERR_ASSERTION",_this.actual=actual,_this.expected=expected,_this.operator=operator,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(_this),stackStartFn),_this.stack,_this.name="AssertionError",_possibleConstructorReturn(_this)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_inspect$custom,value:function value(recurseTimes,ctx){return inspect(this,_objectSpread(_objectSpread({},ctx),{},{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error),inspect.custom);module.exports=AssertionError},"./node_modules/assert/build/internal/errors.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if(void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert("string"==typeof name,"'name' must be a string"),"string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(_typeof(actual))}),TypeError),createErrorType("ERR_INVALID_ARG_VALUE",(function(name,value){var reason=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===util&&(util=__webpack_require__("./node_modules/util/util.js"));var inspected=util.inspect(value);return inspected.length>128&&(inspected="".concat(inspected.slice(0,128),"...")),"The argument '".concat(name,"' ").concat(reason,". Received ").concat(inspected)}),TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",(function(input,name,value){var type;return type=value&&value.constructor&&value.constructor.name?"instance of ".concat(value.constructor.name):"type ".concat(_typeof(value)),"Expected ".concat(input,' to be returned from the "').concat(name,'"')+" function but got ".concat(type,".")}),TypeError),createErrorType("ERR_MISSING_ARGS",(function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];void 0===assert&&(assert=__webpack_require__("./node_modules/assert/build/assert.js")),assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map((function(a){return'"'.concat(a,'"')})),len){case 1:msg+="".concat(args[0]," argument");break;case 2:msg+="".concat(args[0]," and ").concat(args[1]," arguments");break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and ".concat(args[len-1]," arguments")}return"".concat(msg," must be specified")}),TypeError),module.exports.codes=codes},"./node_modules/assert/build/internal/util/comparisons.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i10)return!0;for(var i=0;i57)return!0}return 10===key.length&&key>=Math.pow(2,32)}function getOwnNonIndexProperties(value){return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)))}function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i{"use strict";var possibleNames=__webpack_require__("./node_modules/possible-typed-array-names/index.js"),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis;module.exports=function availableTypedArrays(){for(var out=[],i=0;i{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},"./node_modules/call-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("./node_modules/function-bind/index.js"),GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),setFunctionLength=__webpack_require__("./node_modules/set-function-length/index.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$max=GetIntrinsic("%Math.max%");module.exports=function callBind(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},"./node_modules/define-data-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),gopd=__webpack_require__("./node_modules/gopd/index.js");module.exports=function defineDataProperty(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}},"./node_modules/define-properties/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=__webpack_require__("./node_modules/define-data-property/index.js"),supportsDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())return;var fn;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i{!function(){"use strict";var typed,utility,jsdoc,esutils,hasOwnProperty,func;function sliceSource(source,index,last){return source.slice(index,last)}function isParamTitle(title){return"param"===title||"argument"===title||"arg"===title}function isReturnTitle(title){return"return"===title||"returns"===title}function isProperty(title){return"property"===title||"prop"===title}function isNameParameterRequired(title){return isParamTitle(title)||isProperty(title)||"alias"===title||"this"===title||"mixes"===title||"requires"===title}function isAllowedOptional(title){return isProperty(title)||isParamTitle(title)}function isTypeParameterRequired(title){return isParamTitle(title)||isReturnTitle(title)||"define"===title||"enum"===title||"implements"===title||"this"===title||"type"===title||"typedef"===title||isProperty(title)}esutils=__webpack_require__("./node_modules/esutils/lib/utils.js"),typed=__webpack_require__("./node_modules/doctrine/lib/typed.js"),utility=__webpack_require__("./node_modules/doctrine/lib/utility.js"),func=Object.prototype.hasOwnProperty,hasOwnProperty=function hasOwnProperty(obj,name){return func.call(obj,name)};var WHITESPACE="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",STAR_MATCHER="("+WHITESPACE+"*(?:\\*"+WHITESPACE+"?)?)(.+|[\r\n\u2028\u2029])";function unwrapComment(doc){return doc.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(STAR_MATCHER,"g"),"$2").replace(/\s*$/,"")}!function(exports){var Rules,index,lineNumber,length,source,originalSource,recoverable,sloppy,strict;function advance(){var ch=source.charCodeAt(index);return index+=1,!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(index)||(lineNumber+=1),String.fromCharCode(ch)}function parseType(title,last,addRange){for(var ch,brace,type,startIndex,direct=!1;index=last)return null;if(91===source.charCodeAt(index)){if(!allowBrackets)return null;useBrackets=!0,name=advance()}if(name+=scanIdentifier(last),allowNestedParams)for(58!==source.charCodeAt(index)||"module"!==name&&"external"!==name&&"event"!==name||(name+=advance(),name+=scanIdentifier(last)),91===source.charCodeAt(index)&&93===source.charCodeAt(index+1)&&(name+=advance(),name+=advance());46===source.charCodeAt(index)||47===source.charCodeAt(index)||35===source.charCodeAt(index)||45===source.charCodeAt(index)||126===source.charCodeAt(index);)name+=advance(),name+=scanIdentifier(last);if(useBrackets){if(skipWhiteSpace(last),61===source.charCodeAt(index)){var ch;name+=advance(),skipWhiteSpace(last);for(var bracketDepth=1;index=last||93!==source.charCodeAt(index))return null;name+=advance()}return name}function convertIndex(rangeIndex){return source===originalSource?rangeIndex:function convertUnwrappedCommentIndex(originalSource,unwrappedIndex){for(var match,replacedSource=originalSource.replace(/^\/\*\*?/,""),numSkippedChars=0,matcher=new RegExp(STAR_MATCHER,"g");match=matcher.exec(replacedSource);)if(numSkippedChars+=match[1].length,match.index+match[0].length>unwrappedIndex+numSkippedChars)return unwrappedIndex+numSkippedChars+originalSource.length-replacedSource.length;return originalSource.replace(/\*\/$/,"").replace(/\s*$/,"").length}(originalSource,rangeIndex)}function TagParser(options,title){this._options=options,this._title=title.toLowerCase(),this._tag={title,description:null},this._options.lineNumbers&&(this._tag.lineNumber=lineNumber),this._first=index-title.length-1,this._last=0,this._extra={}}function parseTag(options){var parser,tag;if(!function skipToTag(){for(;index=length||(utility.assert(64===source.charCodeAt(index)),0))}())return null;for(tag=(parser=new TagParser(options,function scanTitle(){var ch,title="";for(advance();index=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57);)title+=advance();return title}())).parse();index1&&(this._tag.default=assign.slice(1).join("=")),this._tag.name=assign[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!isNameParameterRequired(this._title))return!0;if(isParamTitle(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},TagParser.prototype.parseDescription=function parseDescription(){var description=sliceSource(source,index,this._last).trim();return description&&(/^-\s+/.test(description)&&(description=description.substring(2)),this._tag.description=description),!0},TagParser.prototype.parseCaption=function parseDescription(){var description=sliceSource(source,index,this._last).trim(),captionStart=description.indexOf(""),captionEnd=description.indexOf("");return captionStart>=0&&captionEnd>=0?(this._tag.caption=description.substring(captionStart+9,captionEnd).trim(),this._tag.description=description.substring(captionEnd+10).trim()):this._tag.description=description,!0},TagParser.prototype.parseKind=function parseKind(){var kind,kinds;return kinds={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},kind=sliceSource(source,index,this._last).trim(),this._tag.kind=kind,!(!hasOwnProperty(kinds,kind)&&!this.addError("Invalid kind name '%0'",kind))},TagParser.prototype.parseAccess=function parseAccess(){var access;return access=sliceSource(source,index,this._last).trim(),this._tag.access=access,!("private"!==access&&"protected"!==access&&"public"!==access&&!this.addError("Invalid access name '%0'",access))},TagParser.prototype.parseThis=function parseThis(){var value=sliceSource(source,index,this._last).trim();return value&&"{"===value.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()},TagParser.prototype.parseVariation=function parseVariation(){var variation,text;return text=sliceSource(source,index,this._last).trim(),variation=parseFloat(text,10),this._tag.variation=variation,!(isNaN(variation)&&!this.addError("Invalid variation '%0'",text))},TagParser.prototype.ensureEnd=function(){var shouldBeEmpty=sliceSource(source,index,this._last).trim();return!(shouldBeEmpty&&!this.addError("Unknown content '%0'",shouldBeEmpty))},TagParser.prototype.epilogue=function epilogue(){var description;return description=this._tag.description,!(isAllowedOptional(this._title)&&!this._tag.type&&description&&"["===description.charAt(0)&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!sloppy&&!this.addError("Missing or invalid tag name")))},Rules={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},TagParser.prototype.parse=function parse(){var i,iz,sequences;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=function seekContent(){var ch,waiting,last=index;for(waiting=!1;last{!function(){"use strict";var Syntax,Token,source,length,index,previous,token,value,esutils,utility,rangeOffset,addRange;function isTypeName(ch){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(ch))&&!esutils.code.isWhiteSpace(ch)&&!esutils.code.isLineTerminator(ch)}function Context(previous,index,token,value){this._previous=previous,this._index=index,this._token=token,this._value=value}function maybeAddRange(node,range){return addRange&&(node.range=[range[0]+rangeOffset,range[1]+rangeOffset]),node}function advance(){var ch=source.charAt(index);return index+=1,ch}function scanHexEscape(prefix){var i,len,ch,code=0;for(len="u"===prefix?4:2,i=0;i=length)return token=Token.EOF;switch(ch=source.charCodeAt(index)){case 39:case 34:return token=function scanString(){var quote,ch,code,unescaped,restore,str="";for(quote=source.charAt(index),++index;index=0&&index=length)return Token.ILLEGAL;if(60===source.charCodeAt(index+1))break}value+=advance()}return Token.NAME}())}}function consume(target,text){utility.assert(token===target,text||"consumed token not matched"),next()}function expect(target,message){token!==target&&utility.throwError(message||"unexpected token"),next()}function parseFieldType(){var key,rangeStart=previous;return key=function parseFieldName(){var v=value;return token===Token.NAME||token===Token.STRING?(next(),v):token===Token.NUMBER?(consume(Token.NUMBER),String(v)):void utility.throwError("unexpected token")}(),token===Token.COLON?(consume(Token.COLON),maybeAddRange({type:Syntax.FieldType,key,value:parseTypeExpression()},[rangeStart,previous])):maybeAddRange({type:Syntax.FieldType,key,value:null},[rangeStart,previous])}function parseTypeName(){var expr,applications,startIndex=index-value.length;return expr=function parseNameExpression(){var name=value,rangeStart=index-name.length;return expect(Token.NAME),token!==Token.COLON||"module"!==name&&"external"!==name&&"event"!==name||(consume(Token.COLON),name+=":"+value,expect(Token.NAME)),maybeAddRange({type:Syntax.NameExpression,name},[rangeStart,previous])}(),token===Token.DOT_LT||token===Token.LT?(next(),applications=function parseTypeExpressionList(){var elements=[];for(elements.push(parseTop());token===Token.COMMA;)consume(Token.COMMA),elements.push(parseTop());return elements}(),expect(Token.GT),maybeAddRange({type:Syntax.TypeApplication,expression:expr,applications},[startIndex,previous])):expr}function parseParametersType(){for(var expr,startIndex,nameStartIndex,params=[],optionalSequence=!1,rest=!1,restStartIndex=index-3;token!==Token.RPAREN;)token===Token.REST&&(consume(Token.REST),rest=!0),startIndex=previous,(expr=parseTypeExpression()).type===Syntax.NameExpression&&token===Token.COLON&&(nameStartIndex=previous-expr.name.length,consume(Token.COLON),expr=maybeAddRange({type:Syntax.ParameterType,name:expr.name,expression:parseTypeExpression()},[nameStartIndex,previous])),token===Token.EQUAL?(consume(Token.EQUAL),expr=maybeAddRange({type:Syntax.OptionalType,expression:expr},[startIndex,previous]),optionalSequence=!0):optionalSequence&&utility.throwError("unexpected token"),rest&&(expr=maybeAddRange({type:Syntax.RestType,expression:expr},[restStartIndex,previous])),params.push(expr),token!==Token.RPAREN&&expect(Token.COMMA);return params}function parseFunctionType(){var isNew,thisBinding,params,result,fnType,startIndex=index-value.length;return utility.assert(token===Token.NAME&&"function"===value,"FunctionType should start with 'function'"),consume(Token.NAME),expect(Token.LPAREN),isNew=!1,params=[],thisBinding=null,token!==Token.RPAREN&&(token!==Token.NAME||"this"!==value&&"new"!==value?params=parseParametersType():(isNew="new"===value,consume(Token.NAME),expect(Token.COLON),thisBinding=parseTypeName(),token===Token.COMMA&&(consume(Token.COMMA),params=parseParametersType()))),expect(Token.RPAREN),result=null,token===Token.COLON&&(result=function parseResultType(){return consume(Token.COLON,"ResultType should start with :"),token===Token.NAME&&"void"===value?(consume(Token.NAME),{type:Syntax.VoidLiteral}):parseTypeExpression()}()),fnType=maybeAddRange({type:Syntax.FunctionType,params,result},[startIndex,previous]),thisBinding&&(fnType.this=thisBinding,isNew&&(fnType.new=!0)),fnType}function parseBasicTypeExpression(){var context,startIndex;switch(token){case Token.STAR:return consume(Token.STAR),maybeAddRange({type:Syntax.AllLiteral},[previous-1,previous]);case Token.LPAREN:return function parseUnionType(){var elements,startIndex=index-1;if(consume(Token.LPAREN,"UnionType should start with ("),elements=[],token!==Token.RPAREN)for(;elements.push(parseTypeExpression()),token!==Token.RPAREN;)expect(Token.PIPE);return consume(Token.RPAREN,"UnionType should end with )"),maybeAddRange({type:Syntax.UnionType,elements},[startIndex,previous])}();case Token.LBRACK:return function parseArrayType(){var elements,restStartIndex,startIndex=index-1;for(consume(Token.LBRACK,"ArrayType should start with ["),elements=[];token!==Token.RBRACK;){if(token===Token.REST){restStartIndex=index-3,consume(Token.REST),elements.push(maybeAddRange({type:Syntax.RestType,expression:parseTypeExpression()},[restStartIndex,previous]));break}elements.push(parseTypeExpression()),token!==Token.RBRACK&&expect(Token.COMMA)}return expect(Token.RBRACK),maybeAddRange({type:Syntax.ArrayType,elements},[startIndex,previous])}();case Token.LBRACE:return function parseRecordType(){var fields,rangeEnd,rangeStart=index-1;if(consume(Token.LBRACE,"RecordType should start with {"),fields=[],token===Token.COMMA)consume(Token.COMMA);else for(;token!==Token.RBRACE;)fields.push(parseFieldType()),token!==Token.RBRACE&&expect(Token.COMMA);return rangeEnd=index,expect(Token.RBRACE),maybeAddRange({type:Syntax.RecordType,fields},[rangeStart,rangeEnd])}();case Token.NAME:if(startIndex=index-value.length,"null"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.NullLiteral},[startIndex,previous]);if("undefined"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.UndefinedLiteral},[startIndex,previous]);if("true"===value||"false"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.BooleanLiteralType,value:"true"===value},[startIndex,previous]);if(context=Context.save(),"function"===value)try{return parseFunctionType()}catch(e){context.restore()}return parseTypeName();case Token.STRING:return next(),maybeAddRange({type:Syntax.StringLiteralType,value},[previous-value.length-2,previous]);case Token.NUMBER:return next(),maybeAddRange({type:Syntax.NumericLiteralType,value},[previous-String(value).length,previous]);default:utility.throwError("unexpected token")}}function parseTypeExpression(){var expr,rangeStart;return token===Token.QUESTION?(rangeStart=index-1,consume(Token.QUESTION),token===Token.COMMA||token===Token.EQUAL||token===Token.RBRACE||token===Token.RPAREN||token===Token.PIPE||token===Token.EOF||token===Token.RBRACK||token===Token.GT?maybeAddRange({type:Syntax.NullableLiteral},[rangeStart,previous]):maybeAddRange({type:Syntax.NullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):token===Token.BANG?(rangeStart=index-1,consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):(rangeStart=previous,expr=parseBasicTypeExpression(),token===Token.BANG?(consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.QUESTION?(consume(Token.QUESTION),maybeAddRange({type:Syntax.NullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.LBRACK?(consume(Token.LBRACK),expect(Token.RBRACK,"expected an array-style type declaration ("+value+"[])"),maybeAddRange({type:Syntax.TypeApplication,expression:maybeAddRange({type:Syntax.NameExpression,name:"Array"},[rangeStart,previous]),applications:[expr]},[rangeStart,previous])):expr)}function parseTop(){var expr,elements;if(expr=parseTypeExpression(),token!==Token.PIPE)return expr;for(elements=[expr],consume(Token.PIPE);elements.push(parseTypeExpression()),token===Token.PIPE;)consume(Token.PIPE);return maybeAddRange({type:Syntax.UnionType,elements},[0,index])}function stringifyImpl(node,compact,topLevel){var result,i,iz;switch(node.type){case Syntax.NullableLiteral:result="?";break;case Syntax.AllLiteral:result="*";break;case Syntax.NullLiteral:result="null";break;case Syntax.UndefinedLiteral:result="undefined";break;case Syntax.VoidLiteral:result="void";break;case Syntax.UnionType:for(result=topLevel?"":"(",i=0,iz=node.elements.length;i{!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__("./node_modules/doctrine/package.json").rE,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__("./node_modules/assert/build/assert.js")}()},"./node_modules/es-define-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty},"./node_modules/es-errors/eval.js":module=>{"use strict";module.exports=EvalError},"./node_modules/es-errors/index.js":module=>{"use strict";module.exports=Error},"./node_modules/es-errors/range.js":module=>{"use strict";module.exports=RangeError},"./node_modules/es-errors/ref.js":module=>{"use strict";module.exports=ReferenceError},"./node_modules/es-errors/syntax.js":module=>{"use strict";module.exports=SyntaxError},"./node_modules/es-errors/type.js":module=>{"use strict";module.exports=TypeError},"./node_modules/es-errors/uri.js":module=>{"use strict";module.exports=URIError},"./node_modules/esutils/lib/ast.js":module=>{!function(){"use strict";function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement}}()},"./node_modules/esutils/lib/code.js":module=>{!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},"./node_modules/esutils/lib/keyword.js":(module,__unused_webpack_exports,__webpack_require__)=>{!function(){"use strict";var code=__webpack_require__("./node_modules/esutils/lib/code.js");function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5,isKeywordES6,isReservedWordES5,isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5,isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},"./node_modules/esutils/lib/utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";exports.ast=__webpack_require__("./node_modules/esutils/lib/ast.js"),exports.code=__webpack_require__("./node_modules/esutils/lib/code.js"),exports.keyword=__webpack_require__("./node_modules/esutils/lib/keyword.js")}()},"./node_modules/for-each/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__("./node_modules/is-callable/index.js"),toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function forEach(list,iterator,thisArg){if(!isCallable(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr.call(list)?function forEachArray(array,iterator,receiver){for(var i=0,len=array.length;i{"use strict";var toStr=Object.prototype.toString,max=Math.max,concatty=function concatty(a,b){for(var arr=[],i=0;i{"use strict";var implementation=__webpack_require__("./node_modules/function-bind/implementation.js");module.exports=Function.prototype.bind||implementation},"./node_modules/get-intrinsic/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Error=__webpack_require__("./node_modules/es-errors/index.js"),$EvalError=__webpack_require__("./node_modules/es-errors/eval.js"),$RangeError=__webpack_require__("./node_modules/es-errors/range.js"),$ReferenceError=__webpack_require__("./node_modules/es-errors/ref.js"),$SyntaxError=__webpack_require__("./node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$URIError=__webpack_require__("./node_modules/es-errors/uri.js"),$Function=Function,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__("./node_modules/has-symbols/index.js")(),hasProto=__webpack_require__("./node_modules/has-proto/index.js")(),getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__("./node_modules/function-bind/index.js"),hasOwn=__webpack_require__("./node_modules/hasown/index.js"),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},"./node_modules/gopd/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $gOPD=__webpack_require__("./node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},"./node_modules/has-property-descriptors/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("./node_modules/es-define-property/index.js"),hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch(e){return!0}},module.exports=hasPropertyDescriptors},"./node_modules/has-proto/index.js":module=>{"use strict";var test={__proto__:null,foo:{}},$Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)}},"./node_modules/has-symbols/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},"./node_modules/has-symbols/shams.js":module=>{"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},"./node_modules/has-tostringtag/shams.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js");module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},"./node_modules/hasown/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=__webpack_require__("./node_modules/function-bind/index.js");module.exports=bind.call(call,$hasOwn)},"./node_modules/inherits/inherits_browser.js":module=>{"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},"./node_modules/is-arguments/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),$toString=__webpack_require__("./node_modules/call-bind/callBound.js")("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},"./node_modules/is-callable/index.js":module=>{"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},tryFunctionObject=function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function isDocumentDotAll(){return!1};if("object"==typeof document){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function isDocumentDotAll(value){if((isIE68||!value)&&(void 0===value||"object"==typeof value))try{var str=toStr.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch(e){}return!1})}module.exports=reflectApply?function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}},"./node_modules/is-generator-function/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GeneratorFunction,toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),getProto=Object.getPrototypeOf;module.exports=function isGeneratorFunction(fn){if("function"!=typeof fn)return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag)return"[object GeneratorFunction]"===toStr.call(fn);if(!getProto)return!1;if(void 0===GeneratorFunction){var generatorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch(e){}}();GeneratorFunction=!!generatorFunc&&getProto(generatorFunc)}return getProto(fn)===GeneratorFunction}},"./node_modules/is-nan/implementation.js":module=>{"use strict";module.exports=function isNaN(value){return value!=value}},"./node_modules/is-nan/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__("./node_modules/call-bind/index.js"),define=__webpack_require__("./node_modules/define-properties/index.js"),implementation=__webpack_require__("./node_modules/is-nan/implementation.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js"),shim=__webpack_require__("./node_modules/is-nan/shim.js"),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/is-nan/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/is-nan/implementation.js");module.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},"./node_modules/is-nan/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("./node_modules/is-nan/polyfill.js");module.exports=function shimNumberIsNaN(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function testIsNaN(){return Number.isNaN!==polyfill}}),polyfill}},"./node_modules/is-typed-array/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__("./node_modules/which-typed-array/index.js");module.exports=function isTypedArray(value){return!!whichTypedArray(value)}},"./node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"./node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("./node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("./node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("./node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("./node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("./node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var listCacheClear=__webpack_require__("./node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("./node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("./node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("./node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("./node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Map=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Map");module.exports=Map},"./node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("./node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("./node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("./node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("./node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("./node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Promise=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"./node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"Set");module.exports=Set},"./node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("./node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("./node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("./node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("./node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("./node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("./node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("./node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"./node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"./node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("./node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"./node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("./node_modules/lodash/_getNative.js")(__webpack_require__("./node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"./node_modules/lodash/_arrayFilter.js":module=>{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{var baseTimes=__webpack_require__("./node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"./node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index{var eq=__webpack_require__("./node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"./node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("./node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"./node_modules/lodash/_baseFor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_createBaseFor.js")();module.exports=baseFor},"./node_modules/lodash/_baseForOwn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("./node_modules/lodash/_baseFor.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},"./node_modules/lodash/_baseGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index{var arrayPush=__webpack_require__("./node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"./node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("./node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("./node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"./node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"./node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"./node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("./node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"./node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("./node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("./node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("./node_modules/lodash/_getTag.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("./node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("./node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"./node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("./node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("./node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"./node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"./node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("./node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("./node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("./node_modules/lodash/identity.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),property=__webpack_require__("./node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"./node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("./node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("./node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"./node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("./node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("./node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"./node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("./node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("./node_modules/lodash/get.js"),hasIn=__webpack_require__("./node_modules/lodash/hasIn.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("./node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"./node_modules/lodash/_baseProperty.js":module=>{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"./node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"./node_modules/lodash/_baseTimes.js":module=>{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("./node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"./node_modules/lodash/_cacheHas.js":module=>{module.exports=function cacheHas(cache,key){return cache.has(key)}},"./node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("./node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("./node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"./node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("./node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"./node_modules/lodash/_createBaseFor.js":module=>{module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},"./node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("./node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"./node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("./node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("./node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("./node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("./node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("./node_modules/lodash/eq.js"),equalArrays=__webpack_require__("./node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("./node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("./node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"./node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("./node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"./node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("./node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("./node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"./node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("./node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"./node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("./node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("./node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"./node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("./node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("./node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"./node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("./node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"./node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("./node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("./node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"./node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("./node_modules/lodash/_DataView.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),Promise=__webpack_require__("./node_modules/lodash/_Promise.js"),Set=__webpack_require__("./node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("./node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("./node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"./node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"./node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("./node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("./node_modules/lodash/isArguments.js"),isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isIndex=__webpack_require__("./node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"./node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"./node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"./node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"./node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"./node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value{var isArray=__webpack_require__("./node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"./node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"./node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("./node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"./node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"./node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"./node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"./node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"./node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"./node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"./node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("./node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"./node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("./node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"./node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"./node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"./node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"./node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("./node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"./node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"./node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"./node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("./node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"./node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("./node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"./node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("./node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"./node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"./node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"./node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"./node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("./node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"./node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"./node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"./node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"./node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"./node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"./node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"./node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"./node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("./node_modules/lodash/_ListCache.js"),Map=__webpack_require__("./node_modules/lodash/_Map.js"),MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"./node_modules/lodash/_stringToPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoizeCapped=__webpack_require__("./node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"./node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"./node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"./node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"./node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("./node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"./node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("./node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("./node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"./node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"./node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("./node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"./node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"./node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isLength=__webpack_require__("./node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"./node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("./node_modules/lodash/_root.js"),stubFalse=__webpack_require__("./node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"./node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"./node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"./node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"./node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"./node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("./node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("./node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"./node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("./node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("./node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("./node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"./node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("./node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("./node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("./node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"./node_modules/lodash/mapValues.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("./node_modules/lodash/_baseAssignValue.js"),baseForOwn=__webpack_require__("./node_modules/lodash/_baseForOwn.js"),baseIteratee=__webpack_require__("./node_modules/lodash/_baseIteratee.js");module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},"./node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("./node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"./node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("./node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("./node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("./node_modules/lodash/_isKey.js"),toKey=__webpack_require__("./node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"./node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"./node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"./node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("./node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"./node_modules/object-is/implementation.js":module=>{"use strict";var numberIsNaN=function(value){return value!=value};module.exports=function is(a,b){return 0===a&&0===b?1/a==1/b:a===b||!(!numberIsNaN(a)||!numberIsNaN(b))}},"./node_modules/object-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),implementation=__webpack_require__("./node_modules/object-is/implementation.js"),getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),shim=__webpack_require__("./node_modules/object-is/shim.js"),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"./node_modules/object-is/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("./node_modules/object-is/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:implementation}},"./node_modules/object-is/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("./node_modules/object-is/polyfill.js"),define=__webpack_require__("./node_modules/define-properties/index.js");module.exports=function shimObjectIs(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function testObjectIs(){return Object.is!==polyfill}}),polyfill}},"./node_modules/object-keys/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__("./node_modules/object-keys/isArguments.js"),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__("./node_modules/object-keys/implementation.js"),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},"./node_modules/object-keys/isArguments.js":module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},"./node_modules/object.assign/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__("./node_modules/object-keys/index.js"),hasSymbols=__webpack_require__("./node_modules/has-symbols/shams.js")(),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function assign(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s{"use strict";var implementation=__webpack_require__("./node_modules/object.assign/implementation.js");module.exports=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},"./node_modules/process/browser.js":module=>{var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i{"use strict";var GetIntrinsic=__webpack_require__("./node_modules/get-intrinsic/index.js"),define=__webpack_require__("./node_modules/define-data-property/index.js"),hasDescriptors=__webpack_require__("./node_modules/has-property-descriptors/index.js")(),gOPD=__webpack_require__("./node_modules/gopd/index.js"),$TypeError=__webpack_require__("./node_modules/es-errors/type.js"),$floor=GetIntrinsic("%Math.floor%");module.exports=function setFunctionLength(fn,length){if("function"!=typeof fn)throw new $TypeError("`fn` is not a function");if("number"!=typeof length||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define(fn,"length",length,!0,!0):define(fn,"length",length)),fn}},"./node_modules/ts-dedent/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function dedent(templ){for(var values=[],_i=1;_i__WEBPACK_DEFAULT_EXPORT__,T:()=>dedent});const __WEBPACK_DEFAULT_EXPORT__=dedent},"./node_modules/util/support/isBufferBrowser.js":module=>{module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},"./node_modules/util/support/types.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var isArgumentsObject=__webpack_require__("./node_modules/is-arguments/index.js"),isGeneratorFunction=__webpack_require__("./node_modules/is-generator-function/index.js"),whichTypedArray=__webpack_require__("./node_modules/which-typed-array/index.js"),isTypedArray=__webpack_require__("./node_modules/is-typed-array/index.js");function uncurryThis(f){return f.call.bind(f)}var BigIntSupported="undefined"!=typeof BigInt,SymbolSupported="undefined"!=typeof Symbol,ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if("object"!=typeof value)return!1;try{return prototypeValueOf(value),!0}catch(e){return!1}}function isMapToString(value){return"[object Map]"===ObjectToString(value)}function isSetToString(value){return"[object Set]"===ObjectToString(value)}function isWeakMapToString(value){return"[object WeakMap]"===ObjectToString(value)}function isWeakSetToString(value){return"[object WeakSet]"===ObjectToString(value)}function isArrayBufferToString(value){return"[object ArrayBuffer]"===ObjectToString(value)}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer)}function isDataViewToString(value){return"[object DataView]"===ObjectToString(value)}function isDataView(value){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(value):value instanceof DataView)}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray,exports.isPromise=function isPromise(input){return"undefined"!=typeof Promise&&input instanceof Promise||null!==input&&"object"==typeof input&&"function"==typeof input.then&&"function"==typeof input.catch},exports.isArrayBufferView=function isArrayBufferView(value){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)},exports.isUint8Array=function isUint8Array(value){return"Uint8Array"===whichTypedArray(value)},exports.isUint8ClampedArray=function isUint8ClampedArray(value){return"Uint8ClampedArray"===whichTypedArray(value)},exports.isUint16Array=function isUint16Array(value){return"Uint16Array"===whichTypedArray(value)},exports.isUint32Array=function isUint32Array(value){return"Uint32Array"===whichTypedArray(value)},exports.isInt8Array=function isInt8Array(value){return"Int8Array"===whichTypedArray(value)},exports.isInt16Array=function isInt16Array(value){return"Int16Array"===whichTypedArray(value)},exports.isInt32Array=function isInt32Array(value){return"Int32Array"===whichTypedArray(value)},exports.isFloat32Array=function isFloat32Array(value){return"Float32Array"===whichTypedArray(value)},exports.isFloat64Array=function isFloat64Array(value){return"Float64Array"===whichTypedArray(value)},exports.isBigInt64Array=function isBigInt64Array(value){return"BigInt64Array"===whichTypedArray(value)},exports.isBigUint64Array=function isBigUint64Array(value){return"BigUint64Array"===whichTypedArray(value)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),exports.isMap=function isMap(value){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(value):value instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),exports.isSet=function isSet(value){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(value):value instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),exports.isWeakMap=function isWeakMap(value){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),exports.isWeakSet=function isWeakSet(value){return isWeakSetToString(value)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),exports.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),exports.isDataView=isDataView;var SharedArrayBufferCopy="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return"[object SharedArrayBuffer]"===ObjectToString(value)}function isSharedArrayBuffer(value){return void 0!==SharedArrayBufferCopy&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSharedArrayBuffer=isSharedArrayBuffer,exports.isAsyncFunction=function isAsyncFunction(value){return"[object AsyncFunction]"===ObjectToString(value)},exports.isMapIterator=function isMapIterator(value){return"[object Map Iterator]"===ObjectToString(value)},exports.isSetIterator=function isSetIterator(value){return"[object Set Iterator]"===ObjectToString(value)},exports.isGeneratorObject=function isGeneratorObject(value){return"[object Generator]"===ObjectToString(value)},exports.isWebAssemblyCompiledModule=function isWebAssemblyCompiledModule(value){return"[object WebAssembly.Module]"===ObjectToString(value)},exports.isNumberObject=isNumberObject,exports.isStringObject=isStringObject,exports.isBooleanObject=isBooleanObject,exports.isBigIntObject=isBigIntObject,exports.isSymbolObject=isSymbolObject,exports.isBoxedPrimitive=function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)},exports.isAnyArrayBuffer=function isAnyArrayBuffer(value){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(value)||isSharedArrayBuffer(value))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw new Error(method+" is not supported in userland")}})}))},"./node_modules/util/util.js":(__unused_webpack_module,exports,__webpack_require__)=>{var process=__webpack_require__("./node_modules/process/browser.js"),getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(length>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return" "+line})).join("\n").slice(2):"\n"+str.split("\n").map((function(line){return" "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.slice(1,-1),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.types=__webpack_require__("./node_modules/util/support/types.js"),exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.types.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.types.isDate=isDate,exports.isError=isError,exports.types.isNativeError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__("./node_modules/util/support/isBufferBrowser.js");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__("./node_modules/inherits/inherits_browser.js"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin};var kCustomPromisifiedSymbol="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=new Error("Promise was rejected with a falsy value");newReason.reason=reason,reason=newReason}return cb(reason)}exports.promisify=function promisify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn;if("function"!=typeof(fn=original[kCustomPromisifiedSymbol]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var promiseResolve,promiseReject,promise=new Promise((function(resolve,reject){promiseResolve=resolve,promiseReject=reject})),args=[],i=0;i{"use strict";var forEach=__webpack_require__("./node_modules/for-each/index.js"),availableTypedArrays=__webpack_require__("./node_modules/available-typed-arrays/index.js"),callBind=__webpack_require__("./node_modules/call-bind/index.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),gOPD=__webpack_require__("./node_modules/gopd/index.js"),$toString=callBound("Object.prototype.toString"),hasToStringTag=__webpack_require__("./node_modules/has-tostringtag/shams.js")(),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function indexOf(array,value){for(var i=0;i-1?tag:"Object"===tag&&function tryAllSlices(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch(e){}})),found}(value)}return gOPD?function tryAllTypedArrays(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch(e){}})),found}(value):null}},"./node_modules/@whitespace/storybook-addon-html/dist/preview.cjs":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var previewApi=__webpack_require__("@storybook/preview-api"),p={CODE_UPDATE:"storybook/html/codeUpdate"},T={decorators:[(a,{parameters:{html:t={}}={}})=>{let f=previewApi.useChannel({});return setTimeout((()=>{let n=t.root||"#storybook-root, #root",s=document.querySelector(n),o=s?s.innerHTML:`${n} not found.`,{removeEmptyComments:l,removeComments:e,transform:m}=t;if(l&&(o=o.replace(//g,"")),!0===e?o=o.replace(//g,""):e instanceof RegExp&&(o=o.replace(//g,((r,y)=>e.test(y)?"":r))),"function"==typeof m)try{o=m(o)}catch(r){console.error(r)}f(p.CODE_UPDATE,{code:o,options:t})}),0),a()}]};module.exports=T},"./node_modules/doctrine/package.json":module=>{"use strict";module.exports={rE:"3.0.0"}}}]); +//# sourceMappingURL=989.db5d1cf3.iframe.bundle.js.map \ No newline at end of file diff --git a/478.489c6547.iframe.bundle.js.LICENSE.txt b/989.db5d1cf3.iframe.bundle.js.LICENSE.txt similarity index 100% rename from 478.489c6547.iframe.bundle.js.LICENSE.txt rename to 989.db5d1cf3.iframe.bundle.js.LICENSE.txt diff --git a/478.489c6547.iframe.bundle.js.map b/989.db5d1cf3.iframe.bundle.js.map similarity index 99% rename from 478.489c6547.iframe.bundle.js.map rename to 989.db5d1cf3.iframe.bundle.js.map index 5a0058b..c8dead9 100644 --- a/478.489c6547.iframe.bundle.js.map +++ b/989.db5d1cf3.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"478.489c6547.iframe.bundle.js","mappings":";;AAMA;;AAEA;AACA;ACJA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;AAEA;;ACzYA;AACA;;;AAGA;;;AC+JA","sources":["webpack://@nationalarchives/tdr-components/./node_modules/@storybook/addon-backgrounds/dist/preview.js","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/addon-outline/dist/preview.js","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/html/dist/entry-preview.mjs","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/test/dist/index.mjs"],"sourcesContent":["import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { logger } from '@storybook/client-logger';\n\nvar PARAM_KEY=\"backgrounds\";var{document,window}=global,isReduceMotionEnabled=()=>window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches,getBackgroundColorByName=(currentSelectedValue,backgrounds=[],defaultName)=>{if(currentSelectedValue===\"transparent\")return \"transparent\";if(backgrounds.find(background=>background.value===currentSelectedValue))return currentSelectedValue;let defaultBackground=backgrounds.find(background=>background.name===defaultName);if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map(background=>background.name).join(\", \");logger.warn(dedent`\n Backgrounds Addon: could not find the default color \"${defaultName}\".\n These are the available colors for your story based on your configuration:\n ${availableColors}.\n `);}return \"transparent\"},clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=selector=>{let element=document.getElementById(selector);element&&element.parentElement?.removeChild(element);},addGridStyle=(selector,css)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,document.head.appendChild(style);}},addBackgroundStyle=(selector,css,storyId)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css;let gridStyleSelector=`addon-backgrounds-grid${storyId?`-docs-${storyId}`:\"\"}`,existingGridStyle=document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):document.head.appendChild(style);}};var withBackground=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2[PARAM_KEY]?.value,backgroundsConfig=parameters2[PARAM_KEY],selectedBackgroundColor=useMemo(()=>backgroundsConfig.disable?\"transparent\":getBackgroundColorByName(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default),[backgroundsConfig,globalsBackgroundColor]),isActive=useMemo(()=>selectedBackgroundColor&&selectedBackgroundColor!==\"transparent\",[selectedBackgroundColor]),selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundStyles=useMemo(()=>`\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${isReduceMotionEnabled()?\"\":\"transition: background-color 0.3s;\"}\n }\n `,[selectedBackgroundColor,selector]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-docs-${context.id}`:\"addon-backgrounds-color\";if(!isActive){clearStyles(selectorId);return}addBackgroundStyle(selectorId,backgroundStyles,context.viewMode===\"docs\"?context.id:null);},[isActive,backgroundStyles,context]),StoryFn()};var withGrid=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2[PARAM_KEY].grid,isActive=globals2[PARAM_KEY]?.grid===!0&&gridParameters.disable!==!0,{cellAmount,cellSize,opacity}=gridParameters,isInDocs=context.viewMode===\"docs\",defaultOffset=parameters2.layout===void 0||parameters2.layout===\"padded\"?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=useMemo(()=>{let selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundSize=[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(\", \");return `\n ${selector} {\n background-size: ${backgroundSize} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `},[cellSize]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-grid-docs-${context.id}`:\"addon-backgrounds-grid\";if(!isActive){clearStyles(selectorId);return}addGridStyle(selectorId,gridStyles);},[isActive,gridStyles,context]),StoryFn()};var decorators=[withGrid,withBackground],parameters={[PARAM_KEY]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:\"light\",value:\"#F8F8F8\"},{name:\"dark\",value:\"#333333\"}]}},globals={[PARAM_KEY]:null};\n\nexport { decorators, globals, parameters };\n","import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\n\nvar clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=input=>{let selector=typeof input==\"string\"?input:input.join(\"\"),element=global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element);},addOutlineStyles=(selector,css)=>{let existingStyle=global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=global.document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,global.document.head.appendChild(style);}};var PARAM_KEY=\"outline\";function outlineCSS(selector){return dedent`\n ${selector} body {\n outline: 1px solid #2980b9 !important;\n }\n\n ${selector} article {\n outline: 1px solid #3498db !important;\n }\n\n ${selector} nav {\n outline: 1px solid #0088c3 !important;\n }\n\n ${selector} aside {\n outline: 1px solid #33a0ce !important;\n }\n\n ${selector} section {\n outline: 1px solid #66b8da !important;\n }\n\n ${selector} header {\n outline: 1px solid #99cfe7 !important;\n }\n\n ${selector} footer {\n outline: 1px solid #cce7f3 !important;\n }\n\n ${selector} h1 {\n outline: 1px solid #162544 !important;\n }\n\n ${selector} h2 {\n outline: 1px solid #314e6e !important;\n }\n\n ${selector} h3 {\n outline: 1px solid #3e5e85 !important;\n }\n\n ${selector} h4 {\n outline: 1px solid #449baf !important;\n }\n\n ${selector} h5 {\n outline: 1px solid #c7d1cb !important;\n }\n\n ${selector} h6 {\n outline: 1px solid #4371d0 !important;\n }\n\n ${selector} main {\n outline: 1px solid #2f4f90 !important;\n }\n\n ${selector} address {\n outline: 1px solid #1a2c51 !important;\n }\n\n ${selector} div {\n outline: 1px solid #036cdb !important;\n }\n\n ${selector} p {\n outline: 1px solid #ac050b !important;\n }\n\n ${selector} hr {\n outline: 1px solid #ff063f !important;\n }\n\n ${selector} pre {\n outline: 1px solid #850440 !important;\n }\n\n ${selector} blockquote {\n outline: 1px solid #f1b8e7 !important;\n }\n\n ${selector} ol {\n outline: 1px solid #ff050c !important;\n }\n\n ${selector} ul {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} li {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} dl {\n outline: 1px solid #fd3427 !important;\n }\n\n ${selector} dt {\n outline: 1px solid #ff0043 !important;\n }\n\n ${selector} dd {\n outline: 1px solid #e80174 !important;\n }\n\n ${selector} figure {\n outline: 1px solid #ff00bb !important;\n }\n\n ${selector} figcaption {\n outline: 1px solid #bf0032 !important;\n }\n\n ${selector} table {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} caption {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} thead {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} tbody {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} tfoot {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} tr {\n outline: 1px solid #86c0b2 !important;\n }\n\n ${selector} th {\n outline: 1px solid #a1e7d6 !important;\n }\n\n ${selector} td {\n outline: 1px solid #3f5a54 !important;\n }\n\n ${selector} col {\n outline: 1px solid #6c9a8f !important;\n }\n\n ${selector} colgroup {\n outline: 1px solid #6c9a9d !important;\n }\n\n ${selector} button {\n outline: 1px solid #da8301 !important;\n }\n\n ${selector} datalist {\n outline: 1px solid #c06000 !important;\n }\n\n ${selector} fieldset {\n outline: 1px solid #d95100 !important;\n }\n\n ${selector} form {\n outline: 1px solid #d23600 !important;\n }\n\n ${selector} input {\n outline: 1px solid #fca600 !important;\n }\n\n ${selector} keygen {\n outline: 1px solid #b31e00 !important;\n }\n\n ${selector} label {\n outline: 1px solid #ee8900 !important;\n }\n\n ${selector} legend {\n outline: 1px solid #de6d00 !important;\n }\n\n ${selector} meter {\n outline: 1px solid #e8630c !important;\n }\n\n ${selector} optgroup {\n outline: 1px solid #b33600 !important;\n }\n\n ${selector} option {\n outline: 1px solid #ff8a00 !important;\n }\n\n ${selector} output {\n outline: 1px solid #ff9619 !important;\n }\n\n ${selector} progress {\n outline: 1px solid #e57c00 !important;\n }\n\n ${selector} select {\n outline: 1px solid #e26e0f !important;\n }\n\n ${selector} textarea {\n outline: 1px solid #cc5400 !important;\n }\n\n ${selector} details {\n outline: 1px solid #33848f !important;\n }\n\n ${selector} summary {\n outline: 1px solid #60a1a6 !important;\n }\n\n ${selector} command {\n outline: 1px solid #438da1 !important;\n }\n\n ${selector} menu {\n outline: 1px solid #449da6 !important;\n }\n\n ${selector} del {\n outline: 1px solid #bf0000 !important;\n }\n\n ${selector} ins {\n outline: 1px solid #400000 !important;\n }\n\n ${selector} img {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} iframe {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} embed {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} object {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} param {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} video {\n outline: 1px solid #6ee866 !important;\n }\n\n ${selector} audio {\n outline: 1px solid #027353 !important;\n }\n\n ${selector} source {\n outline: 1px solid #012426 !important;\n }\n\n ${selector} canvas {\n outline: 1px solid #a2f570 !important;\n }\n\n ${selector} track {\n outline: 1px solid #59a600 !important;\n }\n\n ${selector} map {\n outline: 1px solid #7be500 !important;\n }\n\n ${selector} area {\n outline: 1px solid #305900 !important;\n }\n\n ${selector} a {\n outline: 1px solid #ff62ab !important;\n }\n\n ${selector} em {\n outline: 1px solid #800b41 !important;\n }\n\n ${selector} strong {\n outline: 1px solid #ff1583 !important;\n }\n\n ${selector} i {\n outline: 1px solid #803156 !important;\n }\n\n ${selector} b {\n outline: 1px solid #cc1169 !important;\n }\n\n ${selector} u {\n outline: 1px solid #ff0430 !important;\n }\n\n ${selector} s {\n outline: 1px solid #f805e3 !important;\n }\n\n ${selector} small {\n outline: 1px solid #d107b2 !important;\n }\n\n ${selector} abbr {\n outline: 1px solid #4a0263 !important;\n }\n\n ${selector} q {\n outline: 1px solid #240018 !important;\n }\n\n ${selector} cite {\n outline: 1px solid #64003c !important;\n }\n\n ${selector} dfn {\n outline: 1px solid #b4005a !important;\n }\n\n ${selector} sub {\n outline: 1px solid #dba0c8 !important;\n }\n\n ${selector} sup {\n outline: 1px solid #cc0256 !important;\n }\n\n ${selector} time {\n outline: 1px solid #d6606d !important;\n }\n\n ${selector} code {\n outline: 1px solid #e04251 !important;\n }\n\n ${selector} kbd {\n outline: 1px solid #5e001f !important;\n }\n\n ${selector} samp {\n outline: 1px solid #9c0033 !important;\n }\n\n ${selector} var {\n outline: 1px solid #d90047 !important;\n }\n\n ${selector} mark {\n outline: 1px solid #ff0053 !important;\n }\n\n ${selector} bdi {\n outline: 1px solid #bf3668 !important;\n }\n\n ${selector} bdo {\n outline: 1px solid #6f1400 !important;\n }\n\n ${selector} ruby {\n outline: 1px solid #ff7b93 !important;\n }\n\n ${selector} rt {\n outline: 1px solid #ff2f54 !important;\n }\n\n ${selector} rp {\n outline: 1px solid #803e49 !important;\n }\n\n ${selector} span {\n outline: 1px solid #cc2643 !important;\n }\n\n ${selector} br {\n outline: 1px solid #db687d !important;\n }\n\n ${selector} wbr {\n outline: 1px solid #db175b !important;\n }`}var withOutline=(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,\"true\"].includes(globals2[PARAM_KEY]),isInDocs=context.viewMode===\"docs\",outlineStyles=useMemo(()=>outlineCSS(isInDocs?'[data-story-block=\"true\"]':\".sb-show-main\"),[context]);return useEffect(()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:\"addon-outline\";return isActive?addOutlineStyles(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId);}},[isActive,outlineStyles,context]),StoryFn()};var decorators=[withOutline],globals={[PARAM_KEY]:!1};\n\nexport { decorators, globals };\n","import { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api';\n\nvar {Node}=global,render=(args,context)=>{let{id,component:Component}=context;if(typeof Component==\"string\"){let output=Component;return Object.keys(args).forEach(key=>{output=output.replace(`{{${key}}}`,args[key]);}),output}if(Component instanceof HTMLElement){let output=Component.cloneNode(!0);return Object.keys(args).forEach(key=>{output.setAttribute(key,typeof args[key]==\"string\"?args[key]:JSON.stringify(args[key]));}),output}if(typeof Component==\"function\")return Component(args,context);throw console.warn(dedent`\n Storybook's HTML renderer only supports rendering DOM elements and strings.\n Received: ${Component}\n `),new Error(`Unable to render story ${id}`)};function renderToCanvas({storyFn,kind,name,showMain,showError,forceRemount},canvasElement){let element=storyFn();if(showMain(),typeof element==\"string\")canvasElement.innerHTML=element,simulatePageLoad(canvasElement);else if(element instanceof Node){if(canvasElement.firstChild===element&&forceRemount===!1)return;canvasElement.innerHTML=\"\",canvasElement.appendChild(element),simulateDOMContentLoaded();}else showError({title:`Expecting an HTML snippet or DOM node from the story: \"${name}\" of \"${kind}\".`,description:dedent`\n Did you forget to return the HTML snippet from the story?\n Use \"() => \" or when defining the story.\n `});}var parameters={renderer:\"html\"};\n\nexport { parameters, render, renderToCanvas };\n","import { instrument } from '@storybook/instrumenter';\nimport { once } from '@storybook/client-logger';\n\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(x,{get:(a,b2)=>(typeof require<\"u\"?require:a)[b2]}):x)(function(x){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+x+'\" is not supported')});var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==\"object\"||typeof from==\"function\")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:!0}):target,mod));var require_assertion_error=__commonJS({\"../../node_modules/assertion-error/index.js\"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach(function(key){~excludes.indexOf(key)||(res[key]=obj[key]);});}return function(){for(var args=[].slice.call(arguments),i=0,res={};i\"u\"||obj===null?!1:name in Object(obj)}function parsePath(path){var str=path.replace(/([^\\\\])\\[/g,\"$1.[\"),parts=str.match(/(\\\\\\.|[^.]+?)+/g);return parts.map(function(value){if(value===\"constructor\"||value===\"__proto__\"||value===\"prototype\")return {};var regexp=/^\\[(\\d+)\\]$/,mArr=regexp.exec(value),parsed=null;return mArr?parsed={i:parseFloat(mArr[1])}:parsed={p:value.replace(/\\\\([.[\\]])/g,\"$1\")},parsed})}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>\"u\"?parsed.length:pathDepth;for(var i=0;i\"u\"?temporaryValue=temporaryValue[part.i]:temporaryValue=temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue));}return res}function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i\"u\"?part.i:part.p,tempObj[propName]=val;else if(typeof part.p<\"u\"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<\"u\"&&tempObj[part.i])tempObj=tempObj[part.i];else {var next=parsed[i+1];propName=typeof part.p>\"u\"?part.i:part.p,propVal=typeof next.p>\"u\"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName];}}}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}function getPathValue(obj,path){var info=getPathInfo(obj,path);return info.value}function setPathValue(obj,path,val){var parsed=parsePath(path);return internalSetPathValue(obj,val,parsed),obj}module2.exports={hasProperty,getPathInfo,getPathValue,setPathValue};}});var require_flag=__commonJS({\"../../node_modules/chai/lib/chai/utils/flag.js\"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(arguments.length===3)flags[key]=value;else return flags[key]};}});var require_test=__commonJS({\"../../node_modules/chai/lib/chai/utils/test.js\"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),expr=args[0];return negate?!expr:expr};}});var require_type_detect=__commonJS({\"../../node_modules/type-detect/type-detect.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?module2.exports=factory():typeof define==\"function\"&&define.amd?define(factory):global2.typeDetect=factory();})(exports,function(){var promiseExists=typeof Promise==\"function\",globalObject=typeof self==\"object\"?self:global,symbolExists=typeof Symbol<\"u\",mapExists=typeof Map<\"u\",setExists=typeof Set<\"u\",weakMapExists=typeof WeakMap<\"u\",weakSetExists=typeof WeakSet<\"u\",dataViewExists=typeof DataView<\"u\",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<\"u\",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<\"u\",setEntriesExists=setExists&&typeof Set.prototype.entries==\"function\",mapEntriesExists=mapExists&&typeof Map.prototype.entries==\"function\",setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf(new Set().entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf(new Map().entries()),arrayIteratorExists=symbolIteratorExists&&typeof Array.prototype[Symbol.iterator]==\"function\",arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&typeof String.prototype[Symbol.iterator]==\"function\",stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(\"\"[Symbol.iterator]()),toStringLeftSliceLength=8,toStringRightSliceLength=-1;function typeDetect(obj){var typeofObj=typeof obj;if(typeofObj!==\"object\")return typeofObj;if(obj===null)return \"null\";if(obj===globalObject)return \"global\";if(Array.isArray(obj)&&(symbolToStringTagExists===!1||!(Symbol.toStringTag in obj)))return \"Array\";if(typeof window==\"object\"&&window!==null){if(typeof window.location==\"object\"&&obj===window.location)return \"Location\";if(typeof window.document==\"object\"&&obj===window.document)return \"Document\";if(typeof window.navigator==\"object\"){if(typeof window.navigator.mimeTypes==\"object\"&&obj===window.navigator.mimeTypes)return \"MimeTypeArray\";if(typeof window.navigator.plugins==\"object\"&&obj===window.navigator.plugins)return \"PluginArray\"}if((typeof window.HTMLElement==\"function\"||typeof window.HTMLElement==\"object\")&&obj instanceof window.HTMLElement){if(obj.tagName===\"BLOCKQUOTE\")return \"HTMLQuoteElement\";if(obj.tagName===\"TD\")return \"HTMLTableDataCellElement\";if(obj.tagName===\"TH\")return \"HTMLTableHeaderCellElement\"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if(typeof stringTag==\"string\")return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?\"RegExp\":objPrototype===Date.prototype?\"Date\":promiseExists&&objPrototype===Promise.prototype?\"Promise\":setExists&&objPrototype===Set.prototype?\"Set\":mapExists&&objPrototype===Map.prototype?\"Map\":weakSetExists&&objPrototype===WeakSet.prototype?\"WeakSet\":weakMapExists&&objPrototype===WeakMap.prototype?\"WeakMap\":dataViewExists&&objPrototype===DataView.prototype?\"DataView\":mapExists&&objPrototype===mapIteratorPrototype?\"Map Iterator\":setExists&&objPrototype===setIteratorPrototype?\"Set Iterator\":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?\"Array Iterator\":stringIteratorExists&&objPrototype===stringIteratorPrototype?\"String Iterator\":objPrototype===null?\"Object\":Object.prototype.toString.call(obj).slice(toStringLeftSliceLength,toStringRightSliceLength)}return typeDetect});}});var require_expectTypes=__commonJS({\"../../node_modules/chai/lib/chai/utils/expectTypes.js\"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,\"message\"),ssfi=flag(obj,\"ssfi\");flagMsg=flagMsg?flagMsg+\": \":\"\",obj=flag(obj,\"object\"),types=types.map(function(t){return t.toLowerCase()}),types.sort();var str=types.map(function(t,index){var art=~[\"a\",\"e\",\"i\",\"o\",\"u\"].indexOf(t.charAt(0))?\"an\":\"a\",or=types.length>1&&index===types.length-1?\"or \":\"\";return or+art+\" \"+t}).join(\", \"),objType=type3(obj).toLowerCase();if(!types.some(function(expected){return objType===expected}))throw new AssertionError2(flagMsg+\"object tested must be \"+str+\", but \"+objType+\" given\",void 0,ssfi)};}});var require_getActual=__commonJS({\"../../node_modules/chai/lib/chai/utils/getActual.js\"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj};}});var require_get_func_name=__commonJS({\"../../node_modules/get-func-name/index.js\"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}module2.exports=getFuncName;}});var require_loupe=__commonJS({\"../../node_modules/loupe/loupe.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?factory(exports):typeof define==\"function\"&&define.amd?define([\"exports\"],factory):(global2=typeof globalThis<\"u\"?globalThis:global2||self,factory(global2.loupe={}));})(exports,function(exports2){function _typeof5(obj){\"@babel/helpers - typeof\";return typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?_typeof5=function(obj2){return typeof obj2}:_typeof5=function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof5(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>\"u\"||!(Symbol.iterator in Object(arr)))){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&arguments[0]!==void 0?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=_ref$showHidden===void 0?!1:_ref$showHidden,_ref$depth=_ref.depth,depth=_ref$depth===void 0?2:_ref$depth,_ref$colors=_ref.colors,colors=_ref$colors===void 0?!1:_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=_ref$customInspect===void 0?!0:_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=_ref$showProxy===void 0?!1:_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=_ref$maxArrayLength===void 0?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=_ref$breakLength===void 0?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=_ref$seen===void 0?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=_ref$truncate===void 0?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=_ref$stylize===void 0?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}function truncate(string2,length){var tail=arguments.length>2&&arguments[2]!==void 0?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?\"\".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&arguments[3]!==void 0?arguments[3]:\", \";inspectItem=inspectItem||options.inspect;var size=list.length;if(size===0)return \"\";for(var originalLength=options.truncate,output=\"\",peek=\"\",truncated=\"\",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?\"\":inspectItem(list[i+1],options)+(secondToLast?\"\":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated=\"\".concat(truncator,\"(\").concat(list.length-i-1,\")\");break}truncated=\"\";}return \"\".concat(output).concat(truncated)}function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\")}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,typeof key==\"string\"?key=quoteComplexKey(key):typeof key!=\"number\"&&(key=\"[\".concat(options.inspect(key,options),\"]\")),options.truncate-=key.length,value=options.inspect(value,options),\"\".concat(key,\": \").concat(value)}function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"[]\";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents=\"\";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map(function(key){return [key,array[key]]}),options,inspectProperty)),\"[ \".concat(listContents).concat(propertyContents?\", \".concat(propertyContents):\"\",\" ]\")}var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}var getFuncName_1=getFuncName,getArrayName=function(array){return typeof Buffer==\"function\"&&array instanceof Buffer?\"Buffer\":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)};function inspectTypedArray(array,options){var name=getArrayName(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"\".concat(name,\"[]\");for(var output=\"\",i=0;i \").concat(value)}function mapToEntries(map){var entries=[];return map.forEach(function(value,key){entries.push([key,value]);}),entries}function inspectMap(map,options){var size=map.size-1;return size<=0?\"Map{}\":(options.truncate-=7,\"Map{ \".concat(inspectList(mapToEntries(map),options,inspectMapEntry),\" }\"))}var isNaN2=Number.isNaN||function(i){return i!==i};function inspectNumber(number,options){return isNaN2(number)?options.stylize(\"NaN\",\"number\"):number===1/0?options.stylize(\"Infinity\",\"number\"):number===-1/0?options.stylize(\"-Infinity\",\"number\"):number===0?options.stylize(1/number===1/0?\"+0\":\"-0\",\"number\"):options.stylize(truncate(number,options.truncate),\"number\")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+=\"n\"),options.stylize(nums,\"bigint\")}function inspectRegExp(value,options){var flags=value.toString().split(\"/\")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize(\"/\".concat(truncate(source,sourceLength),\"/\").concat(flags),\"regexp\")}function arrayFromSet(set){var values=[];return set.forEach(function(value){values.push(value);}),values}function inspectSet(set,options){return set.size===0?\"Set{}\":(options.truncate-=7,\"Set{ \".concat(inspectList(arrayFromSet(set),options),\" }\"))}var stringEscapeChars=new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]\",\"g\"),escapeCharacters={\"\\b\":\"\\\\b\",\"\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\f\":\"\\\\f\",\"\\r\":\"\\\\r\",\"'\":\"\\\\'\",\"\\\\\":\"\\\\\\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||\"\\\\u\".concat(\"0000\".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize(\"'\".concat(truncate(string2,options.truncate-2),\"'\"),\"string\")}function inspectSymbol(value){return \"description\"in Symbol.prototype?value.description?\"Symbol(\".concat(value.description,\")\"):\"Symbol()\":value.toString()}var getPromiseValue=function(){return \"Promise{\\u2026}\"};try{var _process$binding=process.binding(\"util\"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails=getPromiseDetails(value),_getPromiseDetails2=_slicedToArray(_getPromiseDetails,2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?\"Promise{}\":\"Promise\".concat(state===kRejected?\"!\":\"\",\"{\").concat(options.inspect(innerValue,options),\"}\")});}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(properties.length===0&&symbols.length===0)return \"{}\";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return \"[Circular]\";options.seen.push(object);var propertyContents=inspectList(properties.map(function(key){return [key,object[key]]}),options,inspectProperty),symbolContents=inspectList(symbols.map(function(key){return [key,object[key]]}),options,inspectProperty);options.seen.pop();var sep=\"\";return propertyContents&&symbolContents&&(sep=\", \"),\"{ \".concat(propertyContents).concat(sep).concat(symbolContents,\" }\")}var toStringTag=typeof Symbol<\"u\"&&Symbol.toStringTag?Symbol.toStringTag:!1;function inspectClass(value,options){var name=\"\";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),name=name||getFuncName_1(value.constructor),(!name||name===\"_class\")&&(name=\"\"),options.truncate-=name.length,\"\".concat(name).concat(inspectObject(value,options))}function inspectArguments(args,options){return args.length===0?\"Arguments[]\":(options.truncate-=13,\"Arguments[ \".concat(inspectList(args,options),\" ]\"))}var errorKeys=[\"stack\",\"line\",\"column\",\"name\",\"message\",\"fileName\",\"lineNumber\",\"columnNumber\",\"number\",\"description\"];function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter(function(key){return errorKeys.indexOf(key)===-1}),name=error.name;options.truncate-=name.length;var message=\"\";typeof error.message==\"string\"?message=truncate(error.message,options.truncate):properties.unshift(\"message\"),message=message?\": \".concat(message):\"\",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map(function(key){return [key,error[key]]}),options,inspectProperty);return \"\".concat(name).concat(message).concat(propertyContents?\" { \".concat(propertyContents,\" }\"):\"\")}function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?\"\".concat(options.stylize(key,\"yellow\"),\"=\").concat(options.stylize('\"'.concat(value,'\"'),\"string\")):\"\".concat(options.stylize(key,\"yellow\"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,`\n`)}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize(\"<\".concat(name),\"special\"),headClose=options.stylize(\">\",\"special\"),tail=options.stylize(\"\"),\"special\");options.truncate-=name.length*2+5;var propertyContents=\"\";properties.length>0&&(propertyContents+=\" \",propertyContents+=inspectList(properties.map(function(key){return [key,element.getAttribute(key)]}),options,inspectAttribute,\" \")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children=\"\".concat(truncator,\"(\").concat(element.children.length,\")\")),\"\".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var symbolsSupported=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\",chaiInspect=symbolsSupported?Symbol.for(\"chai/inspect\"):\"@@chai/inspect\",nodeInspect=!1;try{var nodeUtil=__require(\"util\");nodeInspect=nodeUtil.inspect?nodeUtil.inspect.custom:!1;}catch{nodeInspect=!1;}function FakeMap(){this.key=\"chai/loupe__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0});}};var constructorMap=new(typeof WeakMap==\"function\"?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize(\"undefined\",\"undefined\")},null:function(value,options){return options.stylize(null,\"null\")},boolean:function(value,options){return options.stylize(value,\"boolean\")},Boolean:function(value,options){return options.stylize(value,\"boolean\")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:inspectArray,Date:inspectDate,Map:inspectMap,Set:inspectSet,RegExp:inspectRegExp,Promise:inspectPromise,WeakSet:function(value,options){return options.stylize(\"WeakSet{\\u2026}\",\"special\")},WeakMap:function(value,options){return options.stylize(\"WeakMap{\\u2026}\",\"special\")},Arguments:inspectArguments,Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return \"\"},DataView:function(){return \"\"},ArrayBuffer:function(){return \"\"},Error:inspectObject$1,HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},inspectCustom=function(value,options,type3){return chaiInspect in value&&typeof value[chaiInspect]==\"function\"?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&typeof value[nodeInspect]==\"function\"?value[nodeInspect](options.depth,options):\"inspect\"in value&&typeof value.inspect==\"function\"?value.inspect(options.depth,options):\"constructor\"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):\"\"},toString$1=Object.prototype.toString;function inspect3(value,options){options=normaliseOptions(options),options.inspect=inspect3;var _options=options,customInspect=_options.customInspect,type3=value===null?\"null\":_typeof5(value);if(type3===\"object\"&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=inspectCustom(value,options,type3);if(output)return typeof output==\"string\"?output:inspect3(output,options)}var proto=value?Object.getPrototypeOf(value):!1;return proto===Object.prototype||proto===null?inspectObject(value,options):value&&typeof HTMLElement==\"function\"&&value instanceof HTMLElement?inspectHTML(value,options):\"constructor\"in value?value.constructor!==Object?inspectClass(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}function registerConstructor(constructor,inspector){return constructorMap.has(constructor)?!1:(constructorMap.set(constructor,inspector),!0)}function registerStringTag(stringTag,inspector){return stringTag in stringTagMap?!1:(stringTagMap[stringTag]=inspector,!0)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=registerConstructor,exports2.registerStringTag=registerStringTag,Object.defineProperty(exports2,\"__esModule\",{value:!0});});}});var require_config=__commonJS({\"../../node_modules/chai/lib/chai/config.js\"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:[\"then\",\"catch\",\"inspect\",\"toJSON\"],deepEqual:null};}});var require_inspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/inspect.js\"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=inspect3;function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>\"u\"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}});var require_objDisplay=__commonJS({\"../../node_modules/chai/lib/chai/utils/objDisplay.js\"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if(type3===\"[object Function]\")return !obj.name||obj.name===\"\"?\"[Function]\":\"[Function: \"+obj.name+\"]\";if(type3===\"[object Array]\")return \"[ Array(\"+obj.length+\") ]\";if(type3===\"[object Object]\"){var keys2=Object.keys(obj),kstr=keys2.length>2?keys2.splice(0,2).join(\", \")+\", ...\":keys2.join(\", \");return \"{ Object (\"+kstr+\") }\"}else return str}else return str};}});var require_getMessage=__commonJS({\"../../node_modules/chai/lib/chai/utils/getMessage.js\"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),val=flag(obj,\"object\"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,\"message\");return typeof msg==\"function\"&&(msg=msg()),msg=msg||\"\",msg=msg.replace(/#\\{this\\}/g,function(){return objDisplay2(val)}).replace(/#\\{act\\}/g,function(){return objDisplay2(actual)}).replace(/#\\{exp\\}/g,function(){return objDisplay2(expected)}),flagMsg?flagMsg+\": \"+msg:msg};}});var require_transferFlags=__commonJS({\"../../node_modules/chai/lib/chai/utils/transferFlags.js\"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));object.__flags||(object.__flags=Object.create(null)),includeAll=arguments.length===3?includeAll:!0;for(var flag in flags)(includeAll||flag!==\"object\"&&flag!==\"ssfi\"&&flag!==\"lockSsfi\"&&flag!=\"message\")&&(object.__flags[flag]=flags[flag]);};}});var require_deep_eql=__commonJS({\"../../node_modules/deep-eql/index.js\"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key=\"chai/deep-eql__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0});}};var MemoizeMap=typeof WeakMap==\"function\"?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if(typeof result==\"boolean\")return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(!(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):(leftHandMap=new MemoizeMap,leftHandMap.set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap));}}module2.exports=deepEqual;module2.exports.MemoizeMap=MemoizeMap;function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return simpleResult!==null?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?leftHandOperand!==0||1/leftHandOperand===1/rightHandOperand:leftHandOperand!==leftHandOperand&&rightHandOperand!==rightHandOperand?!0:isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand)?!1:null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){options=options||{},options.memoize=options.memoize===!1?!1:options.memoize||new MemoizeMap;var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(memoizeResultLeft!==null)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(memoizeResultRight!==null)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(comparatorResult===!1||comparatorResult===!0)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(simpleResult!==null)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case\"String\":case\"Number\":case\"Boolean\":case\"Date\":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case\"Promise\":case\"Symbol\":case\"function\":case\"WeakMap\":case\"WeakSet\":return leftHandOperand===rightHandOperand;case\"Error\":return keysEqual(leftHandOperand,rightHandOperand,[\"name\",\"message\",\"code\"],options);case\"Arguments\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"Array\":return iterableEqual(leftHandOperand,rightHandOperand,options);case\"RegExp\":return regexpEqual(leftHandOperand,rightHandOperand);case\"Generator\":return generatorEqual(leftHandOperand,rightHandOperand,options);case\"DataView\":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case\"ArrayBuffer\":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case\"Set\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Map\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Temporal.PlainDate\":case\"Temporal.PlainTime\":case\"Temporal.PlainDateTime\":case\"Temporal.Instant\":case\"Temporal.ZonedDateTime\":case\"Temporal.PlainYearMonth\":case\"Temporal.PlainMonthDay\":return leftHandOperand.equals(rightHandOperand);case\"Temporal.Duration\":return leftHandOperand.total(\"nanoseconds\")===rightHandOperand.total(\"nanoseconds\");case\"Temporal.TimeZone\":case\"Temporal.Calendar\":return leftHandOperand.toString()===rightHandOperand.toString();default:return objectEqual(leftHandOperand,rightHandOperand,options)}}function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return !1;if(leftHandOperand.size===0)return !0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach(function(key,value){leftHandItems.push([key,value]);}),rightHandOperand.forEach(function(key,value){rightHandItems.push([key,value]);}),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return !1;if(length===0)return !0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap){memo[i][j]=cap;continue}memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1));}return memo[strA.length][strB.length]}}});var require_addMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var methodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",methodWrapper);var result=method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(methodWrapper,name,!1),ctx[name]=proxify(methodWrapper,name);};}});var require_overwriteProperty=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteProperty.js\"(exports,module2){var chai2=require_chai(),flag=require_flag(),isProxyEnabled=require_isProxyEnabled(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,getter){var _get=Object.getOwnPropertyDescriptor(ctx,name),_super=function(){};_get&&typeof _get.get==\"function\"&&(_super=_get.get),Object.defineProperty(ctx,name,{get:function overwritingPropertyGetter(){!isProxyEnabled()&&!flag(this,\"lockSsfi\")&&flag(this,\"ssfi\",overwritingPropertyGetter);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=getter(_super).call(this);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0});};}});var require_overwriteMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var _method=ctx[name],_super=function(){throw new Error(name+\" is not a function\")};_method&&typeof _method==\"function\"&&(_super=_method);var overwritingMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",overwritingMethodWrapper);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=method(_super).apply(this,arguments);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(overwritingMethodWrapper,name,!1),ctx[name]=proxify(overwritingMethodWrapper,name);};}});var require_addChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addChainableMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();var canSetPrototype=typeof Object.setPrototypeOf==\"function\",testFn=function(){},excludeNames=Object.getOwnPropertyNames(testFn).filter(function(name){var propDesc=Object.getOwnPropertyDescriptor(testFn,name);return typeof propDesc!=\"object\"?!0:!propDesc.configurable}),call=Function.prototype.call,apply=Function.prototype.apply;module2.exports=function(ctx,name,method,chainingBehavior){typeof chainingBehavior!=\"function\"&&(chainingBehavior=function(){});var chainableBehavior={method,chainingBehavior};ctx.__methods||(ctx.__methods={}),ctx.__methods[name]=chainableBehavior,Object.defineProperty(ctx,name,{get:function(){chainableBehavior.chainingBehavior.call(this);var chainableMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",chainableMethodWrapper);var result=chainableBehavior.method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};if(addLengthGuard(chainableMethodWrapper,name,!0),canSetPrototype){var prototype=Object.create(this);prototype.call=call,prototype.apply=apply,Object.setPrototypeOf(chainableMethodWrapper,prototype);}else {var asserterNames=Object.getOwnPropertyNames(ctx);asserterNames.forEach(function(asserterName){if(excludeNames.indexOf(asserterName)===-1){var pd=Object.getOwnPropertyDescriptor(ctx,asserterName);Object.defineProperty(chainableMethodWrapper,asserterName,pd);}});}return transferFlags(this,chainableMethodWrapper),proxify(chainableMethodWrapper)},configurable:!0});};}});var require_overwriteChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js\"(exports,module2){var chai2=require_chai(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method,chainingBehavior){var chainableBehavior=ctx.__methods[name],_chainingBehavior=chainableBehavior.chainingBehavior;chainableBehavior.chainingBehavior=function(){var result=chainingBehavior(_chainingBehavior).call(this);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};var _method=chainableBehavior.method;chainableBehavior.method=function(){var result=method(_method).apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};};}});var require_compareByInspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/compareByInspect.js\"(exports,module2){var inspect3=require_inspect();module2.exports=function(a,b2){return inspect3(a)1&&numErrs===props.length)throw firstErr;return}this.assert(included,\"expected #{this} to \"+descriptor+\"include \"+_.inspect(val),\"expected #{this} to not \"+descriptor+\"include \"+_.inspect(val));}Assertion2.addChainableMethod(\"include\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contain\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contains\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"includes\",include,includeChainingBehavior),Assertion2.addProperty(\"ok\",function(){this.assert(flag(this,\"object\"),\"expected #{this} to be truthy\",\"expected #{this} to be falsy\");}),Assertion2.addProperty(\"true\",function(){this.assert(flag(this,\"object\")===!0,\"expected #{this} to be true\",\"expected #{this} to be false\",!flag(this,\"negate\"));}),Assertion2.addProperty(\"false\",function(){this.assert(flag(this,\"object\")===!1,\"expected #{this} to be false\",\"expected #{this} to be true\",!!flag(this,\"negate\"));}),Assertion2.addProperty(\"null\",function(){this.assert(flag(this,\"object\")===null,\"expected #{this} to be null\",\"expected #{this} not to be null\");}),Assertion2.addProperty(\"undefined\",function(){this.assert(flag(this,\"object\")===void 0,\"expected #{this} to be undefined\",\"expected #{this} not to be undefined\");}),Assertion2.addProperty(\"NaN\",function(){this.assert(_.isNaN(flag(this,\"object\")),\"expected #{this} to be NaN\",\"expected #{this} not to be NaN\");});function assertExist(){var val=flag(this,\"object\");this.assert(val!=null,\"expected #{this} to exist\",\"expected #{this} to not exist\");}Assertion2.addProperty(\"exist\",assertExist),Assertion2.addProperty(\"exists\",assertExist),Assertion2.addProperty(\"empty\",function(){var val=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),itemsCount;switch(flagMsg=flagMsg?flagMsg+\": \":\"\",_.type(val).toLowerCase()){case\"array\":case\"string\":itemsCount=val.length;break;case\"map\":case\"set\":itemsCount=val.size;break;case\"weakmap\":case\"weakset\":throw new AssertionError2(flagMsg+\".empty was passed a weak collection\",void 0,ssfi);case\"function\":var msg=flagMsg+\".empty was passed a function \"+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+\".empty was passed non-string primitive \"+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length;}this.assert(itemsCount===0,\"expected #{this} to be empty\",\"expected #{this} not to be empty\");});function checkArguments(){var obj=flag(this,\"object\"),type3=_.type(obj);this.assert(type3===\"Arguments\",\"expected #{this} to be arguments but got \"+type3,\"expected #{this} to not be arguments\");}Assertion2.addProperty(\"arguments\",checkArguments),Assertion2.addProperty(\"Arguments\",checkArguments);function assertEqual(val,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");if(flag(this,\"deep\")){var prevLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0),this.eql(val),flag(this,\"lockSsfi\",prevLockSsfi);}else this.assert(val===obj,\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{exp}\",val,this._obj,!0);}Assertion2.addMethod(\"equal\",assertEqual),Assertion2.addMethod(\"equals\",assertEqual),Assertion2.addMethod(\"eq\",assertEqual);function assertEql(obj,msg){msg&&flag(this,\"message\",msg);var eql=flag(this,\"eql\");this.assert(eql(obj,flag(this,\"object\")),\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",obj,this._obj,!0);}Assertion2.addMethod(\"eql\",assertEql),Assertion2.addMethod(\"eqls\",assertEql);function assertAbove(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to above must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to above must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,\"expected #{this} to have a \"+descriptor+\" above #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" above #{exp}\",n,itemsCount);}else this.assert(obj>n,\"expected #{this} to be above #{exp}\",\"expected #{this} to be at most #{exp}\",n);}Assertion2.addMethod(\"above\",assertAbove),Assertion2.addMethod(\"gt\",assertAbove),Assertion2.addMethod(\"greaterThan\",assertAbove);function assertLeast(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to least must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to least must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,\"expected #{this} to have a \"+descriptor+\" at least #{exp} but got #{act}\",\"expected #{this} to have a \"+descriptor+\" below #{exp}\",n,itemsCount);}else this.assert(obj>=n,\"expected #{this} to be at least #{exp}\",\"expected #{this} to be below #{exp}\",n);}Assertion2.addMethod(\"least\",assertLeast),Assertion2.addMethod(\"gte\",assertLeast),Assertion2.addMethod(\"greaterThanOrEqual\",assertLeast);function assertBelow(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to below must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to below must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount=start&&itemsCount<=finish,\"expected #{this} to have a \"+descriptor+\" within \"+range,\"expected #{this} to not have a \"+descriptor+\" within \"+range);}else this.assert(obj>=start&&obj<=finish,\"expected #{this} to be within \"+range,\"expected #{this} to not be within \"+range);});function assertInstanceOf(constructor,msg){msg&&flag(this,\"message\",msg);var target=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\");try{var isInstanceOf=target instanceof constructor;}catch(err){throw err instanceof TypeError?(flagMsg=flagMsg?flagMsg+\": \":\"\",new AssertionError2(flagMsg+\"The instanceof assertion needs a constructor but \"+_.type(constructor)+\" was given.\",void 0,ssfi)):err}var name=_.getName(constructor);name===null&&(name=\"an unnamed constructor\"),this.assert(isInstanceOf,\"expected #{this} to be an instance of \"+name,\"expected #{this} to not be an instance of \"+name);}Assertion2.addMethod(\"instanceof\",assertInstanceOf),Assertion2.addMethod(\"instanceOf\",assertInstanceOf);function assertProperty(name,val,msg){msg&&flag(this,\"message\",msg);var isNested=flag(this,\"nested\"),isOwn=flag(this,\"own\"),flagMsg=flag(this,\"message\"),obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),nameType=typeof name;if(flagMsg=flagMsg?flagMsg+\": \":\"\",isNested){if(nameType!==\"string\")throw new AssertionError2(flagMsg+\"the argument to property must be a string when using nested syntax\",void 0,ssfi)}else if(nameType!==\"string\"&&nameType!==\"number\"&&nameType!==\"symbol\")throw new AssertionError2(flagMsg+\"the argument to property must be a string, number, or symbol\",void 0,ssfi);if(isNested&&isOwn)throw new AssertionError2(flagMsg+'The \"nested\" and \"own\" flags cannot be combined.',void 0,ssfi);if(obj==null)throw new AssertionError2(flagMsg+\"Target cannot be null or undefined.\",void 0,ssfi);var isDeep=flag(this,\"deep\"),negate=flag(this,\"negate\"),pathInfo=isNested?_.getPathInfo(obj,name):null,value=isNested?pathInfo.value:obj[name],isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2,descriptor=\"\";isDeep&&(descriptor+=\"deep \"),isOwn&&(descriptor+=\"own \"),isNested&&(descriptor+=\"nested \"),descriptor+=\"property \";var hasProperty;isOwn?hasProperty=Object.prototype.hasOwnProperty.call(obj,name):isNested?hasProperty=pathInfo.exists:hasProperty=_.hasProperty(obj,name),(!negate||arguments.length===1)&&this.assert(hasProperty,\"expected #{this} to have \"+descriptor+_.inspect(name),\"expected #{this} to not have \"+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),\"expected #{this} to have \"+descriptor+_.inspect(name)+\" of #{exp}, but got #{act}\",\"expected #{this} to not have \"+descriptor+_.inspect(name)+\" of #{act}\",val,value),flag(this,\"object\",value);}Assertion2.addMethod(\"property\",assertProperty);function assertOwnProperty(name,value,msg){flag(this,\"own\",!0),assertProperty.apply(this,arguments);}Assertion2.addMethod(\"ownProperty\",assertOwnProperty),Assertion2.addMethod(\"haveOwnProperty\",assertOwnProperty);function assertOwnPropertyDescriptor(name,descriptor,msg){typeof descriptor==\"string\"&&(msg=descriptor,descriptor=null),msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,\"eql\");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to match \"+_.inspect(descriptor)+\", got \"+_.inspect(actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to not match \"+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,\"expected #{this} to have an own property descriptor for \"+_.inspect(name),\"expected #{this} to not have an own property descriptor for \"+_.inspect(name)),flag(this,\"object\",actualDescriptor);}Assertion2.addMethod(\"ownPropertyDescriptor\",assertOwnPropertyDescriptor),Assertion2.addMethod(\"haveOwnPropertyDescriptor\",assertOwnPropertyDescriptor);function assertLengthChain(){flag(this,\"doLength\",!0);}function assertLength(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),descriptor=\"length\",itemsCount;switch(objType){case\"map\":case\"set\":descriptor=\"size\",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),itemsCount=obj.length;}this.assert(itemsCount==n,\"expected #{this} to have a \"+descriptor+\" of #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" of #{act}\",n,itemsCount);}Assertion2.addChainableMethod(\"length\",assertLength,assertLengthChain),Assertion2.addChainableMethod(\"lengthOf\",assertLength,assertLengthChain);function assertMatch(re,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");this.assert(re.exec(obj),\"expected #{this} to match \"+re,\"expected #{this} not to match \"+re);}Assertion2.addMethod(\"match\",assertMatch),Assertion2.addMethod(\"matches\",assertMatch),Assertion2.addMethod(\"string\",function(str,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"string\"),this.assert(~obj.indexOf(str),\"expected #{this} to contain \"+_.inspect(str),\"expected #{this} to not contain \"+_.inspect(str));});function assertKeys(keys2){var obj=flag(this,\"object\"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,\"ssfi\"),isDeep=flag(this,\"deep\"),str,deepStr=\"\",actual,ok=!0,flagMsg=flag(this,\"message\");flagMsg=flagMsg?flagMsg+\": \":\"\";var mixedArgsMsg=flagMsg+\"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments\";if(objType===\"Map\"||objType===\"Set\")deepStr=isDeep?\"deeply \":\"\",actual=[],obj.forEach(function(val,key){actual.push(key);}),keysType!==\"Array\"&&(keys2=Array.prototype.slice.call(arguments));else {switch(actual=_.getOwnEnumerableProperties(obj),keysType){case\"Array\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case\"Object\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments);}keys2=keys2.map(function(val){return typeof val==\"symbol\"?val:String(val)});}if(!keys2.length)throw new AssertionError2(flagMsg+\"keys required\",void 0,ssfi);var len=keys2.length,any=flag(this,\"any\"),all=flag(this,\"all\"),expected=keys2,isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})})),all&&(ok=expected.every(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})}),flag(this,\"contains\")||(ok=ok&&keys2.length==actual.length)),len>1){keys2=keys2.map(function(key){return _.inspect(key)});var last=keys2.pop();all&&(str=keys2.join(\", \")+\", and \"+last),any&&(str=keys2.join(\", \")+\", or \"+last);}else str=_.inspect(keys2[0]);str=(len>1?\"keys \":\"key \")+str,str=(flag(this,\"contains\")?\"contain \":\"have \")+str,this.assert(ok,\"expected #{this} to \"+deepStr+str,\"expected #{this} to not \"+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0);}Assertion2.addMethod(\"keys\",assertKeys),Assertion2.addMethod(\"key\",assertKeys);function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),negate=flag(this,\"negate\")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"function\"),(errorLike instanceof RegExp||typeof errorLike==\"string\")&&(errMsgMatcher=errorLike,errorLike=null);var caughtErr;try{obj();}catch(err){caughtErr=err;}var everyArgIsUndefined=errorLike===void 0&&errMsgMatcher===void 0,everyArgIsDefined=!!(errorLike&&errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString=\"an error\";errorLike instanceof Error?errorLikeString=\"#{exp}\":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,\"expected #{this} to throw \"+errorLikeString,\"expected #{this} to not throw an error but #{act} was thrown\",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():typeof caughtErr==\"string\"?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr));}if(errorLike&&caughtErr){if(errorLike instanceof Error){var isCompatibleInstance=_.checkError.compatibleInstance(caughtErr,errorLike);isCompatibleInstance===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr&&!negate?\" but #{act} was thrown\":\"\"),errorLike.toString(),caughtErr.toString()));}var isCompatibleConstructor=_.checkError.compatibleConstructor(caughtErr,errorLike);isCompatibleConstructor===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)));}if(caughtErr&&errMsgMatcher!==void 0&&errMsgMatcher!==null){var placeholder=\"including\";errMsgMatcher instanceof RegExp&&(placeholder=\"matching\");var isCompatibleMessage=_.checkError.compatibleMessage(caughtErr,errMsgMatcher);isCompatibleMessage===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,\"expected #{this} to throw error \"+placeholder+\" #{exp} but got #{act}\",\"expected #{this} to throw error not \"+placeholder+\" #{exp}\",errMsgMatcher,_.checkError.getMessage(caughtErr)));}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,\"object\",caughtErr);}Assertion2.addMethod(\"throw\",assertThrows),Assertion2.addMethod(\"throws\",assertThrows),Assertion2.addMethod(\"Throw\",assertThrows);function respondTo(method,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),itself=flag(this,\"itself\"),context=typeof obj==\"function\"&&!itself?obj.prototype[method]:obj[method];this.assert(typeof context==\"function\",\"expected #{this} to respond to \"+_.inspect(method),\"expected #{this} to not respond to \"+_.inspect(method));}Assertion2.addMethod(\"respondTo\",respondTo),Assertion2.addMethod(\"respondsTo\",respondTo),Assertion2.addProperty(\"itself\",function(){flag(this,\"itself\",!0);});function satisfy(matcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),result=matcher(obj);this.assert(result,\"expected #{this} to satisfy \"+_.objDisplay(matcher),\"expected #{this} to not satisfy\"+_.objDisplay(matcher),!flag(this,\"negate\"),result);}Assertion2.addMethod(\"satisfy\",satisfy),Assertion2.addMethod(\"satisfies\",satisfy);function closeTo(expected,delta,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"number\"),typeof expected!=\"number\"||typeof delta!=\"number\"){flagMsg=flagMsg?flagMsg+\": \":\"\";var deltaMessage=delta===void 0?\", and a delta is required\":\"\";throw new AssertionError2(flagMsg+\"the arguments to closeTo or approximately must be numbers\"+deltaMessage,void 0,ssfi)}this.assert(Math.abs(obj-expected)<=delta,\"expected #{this} to be close to \"+expected+\" +/- \"+delta,\"expected #{this} not to be close to \"+expected+\" +/- \"+delta);}Assertion2.addMethod(\"closeTo\",closeTo),Assertion2.addMethod(\"approximately\",closeTo);function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return !1;superset=superset.slice();}return subset.every(function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return matchIdx===-1?!1:(contains||superset.splice(matchIdx,1),!0)}return superset.some(function(elem2,matchIdx2){return cmp(elem,elem2)?(contains||superset.splice(matchIdx2,1),!0):!1})})}Assertion2.addMethod(\"members\",function(subset,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an(\"array\"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an(\"array\");var contains=flag(this,\"contains\"),ordered=flag(this,\"ordered\"),subject,failMsg,failNegateMsg;contains?(subject=ordered?\"an ordered superset\":\"a superset\",failMsg=\"expected #{this} to be \"+subject+\" of #{exp}\",failNegateMsg=\"expected #{this} to not be \"+subject+\" of #{exp}\"):(subject=ordered?\"ordered members\":\"members\",failMsg=\"expected #{this} to have the same \"+subject+\" as #{exp}\",failNegateMsg=\"expected #{this} to not have the same \"+subject+\" as #{exp}\");var cmp=flag(this,\"deep\")?flag(this,\"eql\"):void 0;this.assert(isSubsetOf(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0);});function oneOf(list,msg){msg&&flag(this,\"message\",msg);var expected=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),contains=flag(this,\"contains\"),isDeep=flag(this,\"deep\"),eql=flag(this,\"eql\");new Assertion2(list,flagMsg,ssfi,!0).to.be.an(\"array\"),contains?this.assert(list.some(function(possibility){return expected.indexOf(possibility)>-1}),\"expected #{this} to contain one of #{exp}\",\"expected #{this} to not contain one of #{exp}\",list,expected):isDeep?this.assert(list.some(function(possibility){return eql(expected,possibility)}),\"expected #{this} to deeply equal one of #{exp}\",\"expected #{this} to deeply equal one of #{exp}\",list,expected):this.assert(list.indexOf(expected)>-1,\"expected #{this} to be one of #{exp}\",\"expected #{this} to not be one of #{exp}\",list,expected);}Assertion2.addMethod(\"oneOf\",oneOf);function assertChanges(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"change\"),flag(this,\"realDelta\",final!==initial),this.assert(initial!==final,\"expected \"+msgObj+\" to change\",\"expected \"+msgObj+\" to not change\");}Assertion2.addMethod(\"change\",assertChanges),Assertion2.addMethod(\"changes\",assertChanges);function assertIncreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"increase\"),flag(this,\"realDelta\",final-initial),this.assert(final-initial>0,\"expected \"+msgObj+\" to increase\",\"expected \"+msgObj+\" to not increase\");}Assertion2.addMethod(\"increase\",assertIncreases),Assertion2.addMethod(\"increases\",assertIncreases);function assertDecreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"decrease\"),flag(this,\"realDelta\",initial-final),this.assert(final-initial<0,\"expected \"+msgObj+\" to decrease\",\"expected \"+msgObj+\" to not decrease\");}Assertion2.addMethod(\"decrease\",assertDecreases),Assertion2.addMethod(\"decreases\",assertDecreases);function assertDelta(delta,msg){msg&&flag(this,\"message\",msg);var msgObj=flag(this,\"deltaMsgObj\"),initial=flag(this,\"initialDeltaValue\"),final=flag(this,\"finalDeltaValue\"),behavior2=flag(this,\"deltaBehavior\"),realDelta=flag(this,\"realDelta\"),expression;behavior2===\"change\"?expression=Math.abs(final-initial)===Math.abs(delta):expression=realDelta===Math.abs(delta),this.assert(expression,\"expected \"+msgObj+\" to \"+behavior2+\" by \"+delta,\"expected \"+msgObj+\" to not \"+behavior2+\" by \"+delta);}Assertion2.addMethod(\"by\",assertDelta),Assertion2.addProperty(\"extensible\",function(){var obj=flag(this,\"object\"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,\"expected #{this} to be extensible\",\"expected #{this} to not be extensible\");}),Assertion2.addProperty(\"sealed\",function(){var obj=flag(this,\"object\"),isSealed=obj===Object(obj)?Object.isSealed(obj):!0;this.assert(isSealed,\"expected #{this} to be sealed\",\"expected #{this} to not be sealed\");}),Assertion2.addProperty(\"frozen\",function(){var obj=flag(this,\"object\"),isFrozen=obj===Object(obj)?Object.isFrozen(obj):!0;this.assert(isFrozen,\"expected #{this} to be frozen\",\"expected #{this} to not be frozen\");}),Assertion2.addProperty(\"finite\",function(msg){var obj=flag(this,\"object\");this.assert(typeof obj==\"number\"&&isFinite(obj),\"expected #{this} to be a finite number\",\"expected #{this} to not be a finite number\");});};}});var require_expect=__commonJS({\"../../node_modules/chai/lib/chai/interface/expect.js\"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"expect.fail()\",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)};};}});var require_should=__commonJS({\"../../node_modules/chai/lib/chai/interface/should.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol==\"function\"&&this instanceof Symbol||typeof BigInt==\"function\"&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)}function shouldSetter(value){Object.defineProperty(this,\"should\",{value,enumerable:!0,configurable:!0,writable:!0});}Object.defineProperty(Object.prototype,\"should\",{set:shouldSetter,get:shouldGetter,configurable:!0});var should2={};return should2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"should.fail()\",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},should2.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2);},should2.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.Throw(errt,errs);},should2.exist=function(val,msg){new Assertion2(val,msg).to.exist;},should2.not={},should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2);},should2.not.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.not.Throw(errt,errs);},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist;},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould;};}});var require_assert=__commonJS({\"../../node_modules/chai/lib/chai/interface/assert.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag;var assert2=chai2.assert=function(express,errmsg){var test=new Assertion2(null,null,chai2.assert,!0);test.assert(express,errmsg,\"[ negation message unavailable ]\");};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"assert.fail()\",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok;},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok;},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,\"object\"),\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{act}\",exp,act,!0);},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,\"object\"),\"expected #{this} to not equal #{exp}\",\"expected #{this} to equal #{act}\",exp,act,!0);},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp);},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp);},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp);},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp);},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv);},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst);},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw);},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst);},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true;},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0);},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false;},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1);},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null);},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null);},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN;},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN;},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist;},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist;},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0);},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0);},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a(\"function\");},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a(\"function\");},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a(\"object\");},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a(\"object\");},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an(\"array\");},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an(\"array\");},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a(\"string\");},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a(\"string\");},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a(\"number\");},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a(\"number\");},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite;},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a(\"boolean\");},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a(\"boolean\");},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3);},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3);},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3);},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3);},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc);},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc);},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc);},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc);},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc);},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc);},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc);},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc);},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc);},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc);},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc);},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc);},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re);},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re);},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop);},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop);},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val);},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val);},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val);},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val);},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop);},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop);},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value);},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value);},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value);},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value);},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop);},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop);},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val);},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val);},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val);},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val);},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len);},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2);},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2);},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2);},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2);},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2);},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2);},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2);},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2);},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2);},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2);},assert2.throws=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn2,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,\"object\")},assert2.doesNotThrow=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn2,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher);},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case\"==\":ok=val==val2;break;case\"===\":ok=val===val2;break;case\">\":ok=val>val2;break;case\">=\":ok=val>=val2;break;case\"<\":ok=valcode=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections=__commonJS({\"../../node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let rawKeys=Object.keys(object),keys2=compareKeys!==null?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if(stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}[${(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if(stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}{${(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if(stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\")return stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs);if(typeof val.toAsymmetricMatcher!=\"function\")throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?`[${name}]`:(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?`{${(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return `${commentColor.open}${commentColor.close}`};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>val?.constructor?.name&&testNode2(val);exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable=__commonJS({\"../../node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`,SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}{${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`;function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):`${name+SPACE}{${(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)}}`},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?`${name+SPACE}{${val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY}}`:`${name+SPACE}[${val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY}]`},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}[${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=Symbol.for(\"react.element\"),REACT_PORTAL_TYPE=Symbol.for(\"react.portal\"),REACT_FRAGMENT_TYPE=Symbol.for(\"react.fragment\"),REACT_STRICT_MODE_TYPE=Symbol.for(\"react.strict_mode\"),REACT_PROFILER_TYPE=Symbol.for(\"react.profiler\"),REACT_PROVIDER_TYPE=Symbol.for(\"react.provider\"),REACT_CONTEXT_TYPE=Symbol.for(\"react.context\"),REACT_SERVER_CONTEXT_TYPE=Symbol.for(\"react.server_context\"),REACT_FORWARD_REF_TYPE=Symbol.for(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=Symbol.for(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=Symbol.for(\"react.suspense_list\"),REACT_MEMO_TYPE=Symbol.for(\"react.memo\"),REACT_LAZY_TYPE=Symbol.for(\"react.lazy\"),REACT_OFFSCREEN_TYPE=Symbol.for(\"react.offscreen\"),enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for(\"react.module.reference\");function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||enableDebugTracing||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type3===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_MODULE_REFERENCE||type3.getModuleId!==void 0))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isSuspenseList=isSuspenseList,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development();}});var require_ReactElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?`ForwardRef(${functionName})`:\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?`Memo(${functionName})`:\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis[\"jest-symbol-do-not-touch\"]||globalThis.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build=__commonJS({\"../../node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||\"anonymous\"}]`:\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return `[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return `${val}`;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?`\"${val.replace(/\"|\\\\/g,\"\\\\$&\")}\"`:`\"${val}\"`;if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":`${min?\"\":\"Arguments \"}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:isToStringedArrayType(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":`${val.constructor.name} `}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":`Map {${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")}}`:toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":`Set {${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||isWindow(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":`${getConstructorName(val)} `}{${(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2options,DEFAULT_OPTIONS=toOptionsSubtype({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:DEFAULT_THEME});exports.DEFAULT_OPTIONS=DEFAULT_OPTIONS;function validateOptions(options){if(Object.keys(options).forEach(key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>({callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:typeof options?.compareKeys==\"function\"||options?.compareKeys===null?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?\"\":createIndent(options?.indent??DEFAULT_OPTIONS.indent),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?\" \":`\n`,spacingOuter:options?.min?\"\":`\n`});function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_build2=__commonJS({\"../../node_modules/diff-sequences/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=diffSequence;var pkg=\"diff-sequences\",NOT_YET_SET=0,countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=-baDeltaLength+(d2-1),aIndexPrev1=NOT_YET_SET,nF=d2{let bR=bEnd-aEnd,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=NOT_YET_SET,nR=d2{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2===0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon);},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)};}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd;}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];divide(nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division);let{nChangePreceding,aEndPreceding,bEndPreceding,nCommonPreceding,aCommonPreceding,bCommonPreceding,nCommonFollowing,aCommonFollowing,bCommonFollowing,nChangeFollowing,aStartFollowing,bStartFollowing}=division;aStart{if(typeof arg!=\"number\")throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if(type3!==\"function\")throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)};function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength(\"aLength\",aLength),validateLength(\"bLength\",bLength),validateCallback(\"isCommon\",isCommon),validateCallback(\"foundSubsequence\",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(nCommonF!==0&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[NOT_YET_SET],[NOT_YET_SET],{aCommonFollowing:NOT_YET_SET,aCommonPreceding:NOT_YET_SET,aEndPreceding:NOT_YET_SET,aStartFollowing:NOT_YET_SET,bCommonFollowing:NOT_YET_SET,bCommonPreceding:NOT_YET_SET,bEndPreceding:NOT_YET_SET,bStartFollowing:NOT_YET_SET,nChangeFollowing:NOT_YET_SET,nChangePreceding:NOT_YET_SET,nCommonFollowing:NOT_YET_SET,nCommonPreceding:NOT_YET_SET}),nCommonR!==0&&foundSubsequence(nCommonR,aEnd,bEnd);}}}});var require_min_indent=__commonJS({\"../../node_modules/min-indent/index.js\"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \\t]*(?=\\S)/gm);return match?match.reduce((r,a)=>Math.min(r,a.length),1/0):0};}});var require_strip_indent=__commonJS({\"../../node_modules/strip-indent/index.js\"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(indent===0)return string2;let regex=new RegExp(`^[ \\\\t]{${indent}}`,\"gm\");return string2.replace(regex,\"\")};}});var require_indent_string=__commonJS({\"../../node_modules/indent-string/index.js\"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:\" \",includeEmptyLines:!1,...options},typeof string2!=\"string\")throw new TypeError(`Expected \\`input\\` to be a \\`string\\`, got \\`${typeof string2}\\``);if(typeof count!=\"number\")throw new TypeError(`Expected \\`count\\` to be a \\`number\\`, got \\`${typeof count}\\``);if(typeof options.indent!=\"string\")throw new TypeError(`Expected \\`options.indent\\` to be a \\`string\\`, got \\`${typeof options.indent}\\``);if(count===0)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))};}});var require_redent=__commonJS({\"../../node_modules/redent/index.js\"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options);}});var require_listCacheClear=__commonJS({\"../../node_modules/lodash/_listCacheClear.js\"(exports,module2){function listCacheClear(){this.__data__=[],this.size=0;}module2.exports=listCacheClear;}});var require_eq=__commonJS({\"../../node_modules/lodash/eq.js\"(exports,module2){function eq2(value,other){return value===other||value!==value&&other!==other}module2.exports=eq2;}});var require_assocIndexOf=__commonJS({\"../../node_modules/lodash/_assocIndexOf.js\"(exports,module2){var eq2=require_eq();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return -1}module2.exports=assocIndexOf;}});var require_listCacheDelete=__commonJS({\"../../node_modules/lodash/_listCacheDelete.js\"(exports,module2){var assocIndexOf=require_assocIndexOf(),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return !1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}module2.exports=listCacheDelete;}});var require_listCacheGet=__commonJS({\"../../node_modules/lodash/_listCacheGet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module2.exports=listCacheGet;}});var require_listCacheHas=__commonJS({\"../../node_modules/lodash/_listCacheHas.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module2.exports=listCacheHas;}});var require_listCacheSet=__commonJS({\"../../node_modules/lodash/_listCacheSet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}module2.exports=listCacheSet;}});var require_ListCache=__commonJS({\"../../node_modules/lodash/_ListCache.js\"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++indexarrLength))return !1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module2.exports=isLength;}});var require_baseIsTypedArray=__commonJS({\"../../node_modules/lodash/_baseIsTypedArray.js\"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),argsTag=\"[object Arguments]\",arrayTag=\"[object Array]\",boolTag=\"[object Boolean]\",dateTag=\"[object Date]\",errorTag=\"[object Error]\",funcTag=\"[object Function]\",mapTag=\"[object Map]\",numberTag=\"[object Number]\",objectTag=\"[object Object]\",regexpTag=\"[object RegExp]\",setTag=\"[object Set]\",stringTag=\"[object String]\",weakMapTag=\"[object WeakMap]\",arrayBufferTag=\"[object ArrayBuffer]\",dataViewTag=\"[object DataView]\",float32Tag=\"[object Float32Array]\",float64Tag=\"[object Float64Array]\",int8Tag=\"[object Int8Array]\",int16Tag=\"[object Int16Array]\",int32Tag=\"[object Int32Array]\",uint8Tag=\"[object Uint8Array]\",uint8ClampedTag=\"[object Uint8ClampedArray]\",uint16Tag=\"[object Uint16Array]\",uint32Tag=\"[object Uint32Array]\",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module2.exports=baseIsTypedArray;}});var require_baseUnary=__commonJS({\"../../node_modules/lodash/_baseUnary.js\"(exports,module2){function baseUnary(func){return function(value){return func(value)}}module2.exports=baseUnary;}});var require_nodeUtil=__commonJS({\"../../node_modules/lodash/_nodeUtil.js\"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module2==\"object\"&&module2&&!module2.nodeType&&module2,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require(\"util\").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding(\"util\")}catch{}}();module2.exports=nodeUtil;}});var require_isTypedArray=__commonJS({\"../../node_modules/lodash/isTypedArray.js\"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray;}});var require_arrayLikeKeys=__commonJS({\"../../node_modules/lodash/_arrayLikeKeys.js\"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key==\"length\"||isBuff&&(key==\"offset\"||key==\"parent\")||isType&&(key==\"buffer\"||key==\"byteLength\"||key==\"byteOffset\")||isIndex(key,length)))&&result.push(key);return result}module2.exports=arrayLikeKeys;}});var require_isPrototype=__commonJS({\"../../node_modules/lodash/_isPrototype.js\"(exports,module2){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor==\"function\"&&Ctor.prototype||objectProto;return value===proto}module2.exports=isPrototype;}});var require_overArg=__commonJS({\"../../node_modules/lodash/_overArg.js\"(exports,module2){function overArg(func,transform){return function(arg){return func(transform(arg))}}module2.exports=overArg;}});var require_nativeKeys=__commonJS({\"../../node_modules/lodash/_nativeKeys.js\"(exports,module2){var overArg=require_overArg(),nativeKeys=overArg(Object.keys,Object);module2.exports=nativeKeys;}});var require_baseKeys=__commonJS({\"../../node_modules/lodash/_baseKeys.js\"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!=\"constructor\"&&result.push(key);return result}module2.exports=baseKeys;}});var require_isArrayLike=__commonJS({\"../../node_modules/lodash/isArrayLike.js\"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}module2.exports=isArrayLike;}});var require_keys=__commonJS({\"../../node_modules/lodash/keys.js\"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module2.exports=keys2;}});var require_getAllKeys=__commonJS({\"../../node_modules/lodash/_getAllKeys.js\"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}module2.exports=getAllKeys;}});var require_equalObjects=__commonJS({\"../../node_modules/lodash/_equalObjects.js\"(exports,module2){var getAllKeys=require_getAllKeys(),COMPARE_PARTIAL_FLAG=1,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return !1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return !1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,properties);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=properties.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!ariaPropsMap.get(key)},keys:function(){return properties.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return properties.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default;}});var require_domMap=__commonJS({\"node_modules/aria-query/lib/domMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(dom),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,dom);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=dom.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!domMap.get(key)},keys:function(){return dom.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return dom.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(domMap,domMap.entries());exports.default=_default;}});var require_commandRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var commandRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=commandRole;exports.default=_default;}});var require_compositeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var compositeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=compositeRole;exports.default=_default;}});var require_inputRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var inputRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"input\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=inputRole;exports.default=_default;}});var require_landmarkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var landmarkRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=landmarkRole;exports.default=_default;}});var require_rangeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rangeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuemax\":null,\"aria-valuemin\":null,\"aria-valuenow\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rangeRole;exports.default=_default;}});var require_roletypeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var roletypeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{\"aria-atomic\":null,\"aria-busy\":null,\"aria-controls\":null,\"aria-current\":null,\"aria-describedby\":null,\"aria-details\":null,\"aria-dropeffect\":null,\"aria-flowto\":null,\"aria-grabbed\":null,\"aria-hidden\":null,\"aria-keyshortcuts\":null,\"aria-label\":null,\"aria-labelledby\":null,\"aria-live\":null,\"aria-owns\":null,\"aria-relevant\":null,\"aria-roledescription\":null},relatedConcepts:[{concept:{name:\"rel\"},module:\"HTML\"},{concept:{name:\"role\"},module:\"XHTML\"},{concept:{name:\"type\"},module:\"Dublin Core\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=roletypeRole;exports.default=_default;}});var require_sectionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"frontmatter\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"SMIL\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionRole;exports.default=_default;}});var require_sectionheadRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionheadRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionheadRole;exports.default=_default;}});var require_selectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var selectRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=selectRole;exports.default=_default;}});var require_structureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var structureRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=structureRole;exports.default=_default;}});var require_widgetRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var widgetRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=widgetRole;exports.default=_default;}});var require_windowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var windowRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-modal\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=windowRole;exports.default=_default;}});var require_ariaAbstractRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaAbstractRoles=[[\"command\",_commandRole.default],[\"composite\",_compositeRole.default],[\"input\",_inputRole.default],[\"landmark\",_landmarkRole.default],[\"range\",_rangeRole.default],[\"roletype\",_roletypeRole.default],[\"section\",_sectionRole.default],[\"sectionhead\",_sectionheadRole.default],[\"select\",_selectRole.default],[\"structure\",_structureRole.default],[\"widget\",_widgetRole.default],[\"window\",_windowRole.default]],_default=ariaAbstractRoles;exports.default=_default;}});var require_alertRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"assertive\"},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=alertRole;exports.default=_default;}});var require_alertdialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertdialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"alert\"],[\"roletype\",\"window\",\"dialog\"]]},_default=alertdialogRole;exports.default=_default;}});var require_applicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var applicationRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=applicationRole;exports.default=_default;}});var require_articleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/articleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var articleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"article\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=articleRole;exports.default=_default;}});var require_bannerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var bannerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"header\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=bannerRole;exports.default=_default;}});var require_blockquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var blockquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=blockquoteRole;exports.default=_default;}});var require_buttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var buttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-pressed\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-pressed\"},{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"false\"}],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"true\"}],constraints:[\"direct descendant of details element with the open attribute defined\"],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"button\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"image\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"reset\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"submit\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"button\"},module:\"HTML\"},{concept:{name:\"trigger\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=buttonRole;exports.default=_default;}});var require_captionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/captionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var captionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[\"figure\",\"grid\",\"table\"],requiredContextRole:[\"figure\",\"grid\",\"table\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=captionRole;exports.default=_default;}});var require_cellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/cellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var cellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-colspan\":null,\"aria-rowindex\":null,\"aria-rowspan\":null},relatedConcepts:[{concept:{constraints:[\"descendant of table\"],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=cellRole;exports.default=_default;}});var require_checkboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var checkboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=checkboxRole;exports.default=_default;}});var require_codeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/codeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var codeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=codeRole;exports.default=_default;}});var require_columnheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var columnheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{attributes:[{name:\"scope\",value:\"col\"}],concept:{name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=columnheaderRole;exports.default=_default;}});var require_comboboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var comboboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-expanded\":\"false\",\"aria-haspopup\":\"listbox\"},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{constraints:[\"undefined\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{name:\"size\",value:1}],name:\"select\"},module:\"HTML\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-expanded\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=comboboxRole;exports.default=_default;}});var require_complementaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var complementaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"aside\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=complementaryRole;exports.default=_default;}});var require_contentinfoRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var contentinfoRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"footer\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=contentinfoRole;exports.default=_default;}});var require_definitionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var definitionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dd\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=definitionRole;exports.default=_default;}});var require_deletionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var deletionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=deletionRole;exports.default=_default;}});var require_dialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var dialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dialog\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"window\"]]},_default=dialogRole;exports.default=_default;}});var require_directoryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var directoryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{module:\"DAISY Guide\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=directoryRole;exports.default=_default;}});var require_documentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/documentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var documentRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}},{concept:{name:\"body\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=documentRole;exports.default=_default;}});var require_emphasisRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var emphasisRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=emphasisRole;exports.default=_default;}});var require_feedRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/feedRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var feedRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"article\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=feedRole;exports.default=_default;}});var require_figureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/figureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var figureRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"figure\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=figureRole;exports.default=_default;}});var require_formRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/formRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var formRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"name\"}],name:\"form\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=formRole;exports.default=_default;}});var require_genericRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/genericRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var genericRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[{concept:{name:\"span\"},module:\"HTML\"},{concept:{name:\"div\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=genericRole;exports.default=_default;}});var require_gridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-multiselectable\":null,\"aria-readonly\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"grid\"}],name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"table\"]]},_default=gridRole;exports.default=_default;}});var require_gridcellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridcellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-selected\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"gridcell\"}],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"widget\"]]},_default=gridcellRole;exports.default=_default;}});var require_groupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/groupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var groupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"details\"},module:\"HTML\"},{concept:{name:\"fieldset\"},module:\"HTML\"},{concept:{name:\"optgroup\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=groupRole;exports.default=_default;}});var require_headingRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/headingRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var headingRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-level\":\"2\"},relatedConcepts:[{concept:{name:\"h1\"},module:\"HTML\"},{concept:{name:\"h2\"},module:\"HTML\"},{concept:{name:\"h3\"},module:\"HTML\"},{concept:{name:\"h4\"},module:\"HTML\"},{concept:{name:\"h5\"},module:\"HTML\"},{concept:{name:\"h6\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-level\":\"2\"},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=headingRole;exports.default=_default;}});var require_imgRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/imgRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var imgRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{name:\"imggroup\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=imgRole;exports.default=_default;}});var require_insertionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var insertionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=insertionRole;exports.default=_default;}});var require_linkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/linkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var linkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[{concept:{attributes:[{name:\"href\"}],name:\"a\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"area\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"link\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=linkRole;exports.default=_default;}});var require_listRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menu\"},module:\"HTML\"},{concept:{name:\"ol\"},module:\"HTML\"},{concept:{name:\"ul\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"listitem\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listRole;exports.default=_default;}});var require_listboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{attributes:[{constraints:[\">1\"],name:\"size\"},{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\">1\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{name:\"datalist\"},module:\"HTML\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"option\",\"group\"],[\"option\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=listboxRole;exports.default=_default;}});var require_listitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listitemRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{constraints:[\"direct descendant of ol, ul or menu\"],name:\"li\"},module:\"HTML\"},{concept:{name:\"item\"},module:\"XForms\"}],requireContextRole:[\"directory\",\"list\"],requiredContextRole:[\"directory\",\"list\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listitemRole;exports.default=_default;}});var require_logRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/logRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var logRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-live\":\"polite\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=logRole;exports.default=_default;}});var require_mainRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mainRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mainRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"main\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=mainRole;exports.default=_default;}});var require_marqueeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var marqueeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=marqueeRole;exports.default=_default;}});var require_mathRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mathRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mathRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"math\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=mathRole;exports.default=_default;}});var require_menuRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{name:\"MENU\"},module:\"JAPI\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"},{concept:{name:\"sidebar\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=menuRole;exports.default=_default;}});var require_menubarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menubarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"toolbar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\",\"menu\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"menu\"]]},_default=menubarRole;exports.default=_default;}});var require_menuitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"MENU_ITEM\"},module:\"JAPI\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"menuitem\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=menuitemRole;exports.default=_default;}});var require_menuitemcheckboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemcheckboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\"]]},_default=menuitemcheckboxRole;exports.default=_default;}});var require_menuitemradioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemradioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"input\",\"radio\"]]},_default=menuitemradioRole;exports.default=_default;}});var require_meterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/meterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var meterRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"]]},_default=meterRole;exports.default=_default;}});var require_navigationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var navigationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"nav\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=navigationRole;exports.default=_default;}});var require_noneRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noneRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noneRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=noneRole;exports.default=_default;}});var require_noteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=noteRole;exports.default=_default;}});var require_optionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/optionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var optionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[{concept:{name:\"item\"},module:\"XForms\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"option\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-selected\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=optionRole;exports.default=_default;}});var require_paragraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var paragraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=paragraphRole;exports.default=_default;}});var require_presentationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var presentationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=presentationRole;exports.default=_default;}});var require_progressbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var progressbarRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"progress\"},module:\"HTML\"},{concept:{name:\"status\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=progressbarRole;exports.default=_default;}});var require_radioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"radio\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=radioRole;exports.default=_default;}});var require_radiogroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radiogroupRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{name:\"list\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"radio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=radiogroupRole;exports.default=_default;}});var require_regionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/regionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var regionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"section\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"section\"},module:\"HTML\"},{concept:{name:\"Device Independence Glossart perceivable unit\"}},{concept:{name:\"frame\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=regionRole;exports.default=_default;}});var require_rowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-expanded\":null,\"aria-level\":null,\"aria-posinset\":null,\"aria-rowindex\":null,\"aria-selected\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"tr\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"cell\"],[\"columnheader\"],[\"gridcell\"],[\"rowheader\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"],[\"roletype\",\"widget\"]]},_default=rowRole;exports.default=_default;}});var require_rowgroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowgroupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"tbody\"},module:\"HTML\"},{concept:{name:\"tfoot\"},module:\"HTML\"},{concept:{name:\"thead\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"row\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rowgroupRole;exports.default=_default;}});var require_rowheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{concept:{attributes:[{name:\"scope\",value:\"row\"}],name:\"th\"},module:\"HTML\"},{concept:{attributes:[{name:\"scope\",value:\"rowgroup\"}],name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\",\"rowgroup\"],requiredContextRole:[\"row\",\"rowgroup\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=rowheaderRole;exports.default=_default;}});var require_scrollbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var scrollbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-valuetext\":null,\"aria-orientation\":\"vertical\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=scrollbarRole;exports.default=_default;}});var require_searchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=searchRole;exports.default=_default;}});var require_searchboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\",\"textbox\"]]},_default=searchboxRole;exports.default=_default;}});var require_separatorRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var separatorRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"aria-valuenow\":null,\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"hr\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=separatorRole;exports.default=_default;}});var require_sliderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sliderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-valuetext\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"range\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=sliderRole;exports.default=_default;}});var require_spinbuttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var spinbuttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-valuetext\":null,\"aria-valuenow\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"number\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=spinbuttonRole;exports.default=_default;}});var require_statusRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/statusRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var statusRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"polite\"},relatedConcepts:[{concept:{name:\"output\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=statusRole;exports.default=_default;}});var require_strongRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/strongRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var strongRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=strongRole;exports.default=_default;}});var require_subscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var subscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=subscriptRole;exports.default=_default;}});var require_superscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var superscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=superscriptRole;exports.default=_default;}});var require_switchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/switchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var switchRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"button\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"]]},_default=switchRole;exports.default=_default;}});var require_tabRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[],requireContextRole:[\"tablist\"],requiredContextRole:[\"tablist\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"],[\"roletype\",\"widget\"]]},_default=tabRole;exports.default=_default;}});var require_tableRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tableRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tableRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-colcount\":null,\"aria-rowcount\":null},relatedConcepts:[{concept:{name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tableRole;exports.default=_default;}});var require_tablistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tablistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-multiselectable\":null,\"aria-orientation\":\"horizontal\"},relatedConcepts:[{module:\"DAISY\",concept:{name:\"guide\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"tab\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"]]},_default=tablistRole;exports.default=_default;}});var require_tabpanelRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabpanelRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tabpanelRole;exports.default=_default;}});var require_termRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/termRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var termRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dfn\"},module:\"HTML\"},{concept:{name:\"dt\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=termRole;exports.default=_default;}});var require_textboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var textboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-multiline\":null,\"aria-placeholder\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"type\"},{constraints:[\"undefined\"],name:\"list\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"input\"},module:\"XForms\"},{concept:{name:\"textarea\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=textboxRole;exports.default=_default;}});var require_timeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=timeRole;exports.default=_default;}});var require_timerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"status\"]]},_default=timerRole;exports.default=_default;}});var require_toolbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var toolbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"menubar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=toolbarRole;exports.default=_default;}});var require_tooltipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tooltipRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tooltipRole;exports.default=_default;}});var require_treeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"treeitem\",\"group\"],[\"treeitem\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=treeRole;exports.default=_default;}});var require_treegridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treegridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"grid\"],[\"roletype\",\"structure\",\"section\",\"table\",\"grid\"],[\"roletype\",\"widget\",\"composite\",\"select\",\"tree\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"tree\"]]},_default=treegridRole;exports.default=_default;}});var require_treeitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[],requireContextRole:[\"group\",\"tree\"],requiredContextRole:[\"group\",\"tree\"],requiredOwnedElements:[],requiredProps:{\"aria-selected\":null},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"],[\"roletype\",\"widget\",\"input\",\"option\"]]},_default=treeitemRole;exports.default=_default;}});var require_ariaLiteralRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaLiteralRoles=[[\"alert\",_alertRole.default],[\"alertdialog\",_alertdialogRole.default],[\"application\",_applicationRole.default],[\"article\",_articleRole.default],[\"banner\",_bannerRole.default],[\"blockquote\",_blockquoteRole.default],[\"button\",_buttonRole.default],[\"caption\",_captionRole.default],[\"cell\",_cellRole.default],[\"checkbox\",_checkboxRole.default],[\"code\",_codeRole.default],[\"columnheader\",_columnheaderRole.default],[\"combobox\",_comboboxRole.default],[\"complementary\",_complementaryRole.default],[\"contentinfo\",_contentinfoRole.default],[\"definition\",_definitionRole.default],[\"deletion\",_deletionRole.default],[\"dialog\",_dialogRole.default],[\"directory\",_directoryRole.default],[\"document\",_documentRole.default],[\"emphasis\",_emphasisRole.default],[\"feed\",_feedRole.default],[\"figure\",_figureRole.default],[\"form\",_formRole.default],[\"generic\",_genericRole.default],[\"grid\",_gridRole.default],[\"gridcell\",_gridcellRole.default],[\"group\",_groupRole.default],[\"heading\",_headingRole.default],[\"img\",_imgRole.default],[\"insertion\",_insertionRole.default],[\"link\",_linkRole.default],[\"list\",_listRole.default],[\"listbox\",_listboxRole.default],[\"listitem\",_listitemRole.default],[\"log\",_logRole.default],[\"main\",_mainRole.default],[\"marquee\",_marqueeRole.default],[\"math\",_mathRole.default],[\"menu\",_menuRole.default],[\"menubar\",_menubarRole.default],[\"menuitem\",_menuitemRole.default],[\"menuitemcheckbox\",_menuitemcheckboxRole.default],[\"menuitemradio\",_menuitemradioRole.default],[\"meter\",_meterRole.default],[\"navigation\",_navigationRole.default],[\"none\",_noneRole.default],[\"note\",_noteRole.default],[\"option\",_optionRole.default],[\"paragraph\",_paragraphRole.default],[\"presentation\",_presentationRole.default],[\"progressbar\",_progressbarRole.default],[\"radio\",_radioRole.default],[\"radiogroup\",_radiogroupRole.default],[\"region\",_regionRole.default],[\"row\",_rowRole.default],[\"rowgroup\",_rowgroupRole.default],[\"rowheader\",_rowheaderRole.default],[\"scrollbar\",_scrollbarRole.default],[\"search\",_searchRole.default],[\"searchbox\",_searchboxRole.default],[\"separator\",_separatorRole.default],[\"slider\",_sliderRole.default],[\"spinbutton\",_spinbuttonRole.default],[\"status\",_statusRole.default],[\"strong\",_strongRole.default],[\"subscript\",_subscriptRole.default],[\"superscript\",_superscriptRole.default],[\"switch\",_switchRole.default],[\"tab\",_tabRole.default],[\"table\",_tableRole.default],[\"tablist\",_tablistRole.default],[\"tabpanel\",_tabpanelRole.default],[\"term\",_termRole.default],[\"textbox\",_textboxRole.default],[\"time\",_timeRole.default],[\"timer\",_timerRole.default],[\"toolbar\",_toolbarRole.default],[\"tooltip\",_tooltipRole.default],[\"tree\",_treeRole.default],[\"treegrid\",_treegridRole.default],[\"treeitem\",_treeitemRole.default]],_default=ariaLiteralRoles;exports.default=_default;}});var require_docAbstractRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAbstractRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"abstract [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docAbstractRole;exports.default=_default;}});var require_docAcknowledgmentsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAcknowledgmentsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"acknowledgments [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAcknowledgmentsRole;exports.default=_default;}});var require_docAfterwordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAfterwordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"afterword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAfterwordRole;exports.default=_default;}});var require_docAppendixRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAppendixRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"appendix [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAppendixRole;exports.default=_default;}});var require_docBacklinkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBacklinkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"content\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"referrer [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBacklinkRole;exports.default=_default;}});var require_docBiblioentryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBiblioentryRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"EPUB biblioentry [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-bibliography\"],requiredContextRole:[\"doc-bibliography\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docBiblioentryRole;exports.default=_default;}});var require_docBibliographyRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliographyRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"bibliography [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-biblioentry\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docBibliographyRole;exports.default=_default;}});var require_docBibliorefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliorefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"biblioref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBibliorefRole;exports.default=_default;}});var require_docChapterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docChapterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"chapter [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docChapterRole;exports.default=_default;}});var require_docColophonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docColophonRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"colophon [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docColophonRole;exports.default=_default;}});var require_docConclusionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docConclusionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"conclusion [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docConclusionRole;exports.default=_default;}});var require_docCoverRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCoverRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"cover [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=docCoverRole;exports.default=_default;}});var require_docCreditRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credit [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docCreditRole;exports.default=_default;}});var require_docCreditsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credits [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docCreditsRole;exports.default=_default;}});var require_docDedicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docDedicationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"dedication [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docDedicationRole;exports.default=_default;}});var require_docEndnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-endnotes\"],requiredContextRole:[\"doc-endnotes\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docEndnoteRole;exports.default=_default;}});var require_docEndnotesRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnotesRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnotes [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-endnote\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEndnotesRole;exports.default=_default;}});var require_docEpigraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpigraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epigraph [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docEpigraphRole;exports.default=_default;}});var require_docEpilogueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpilogueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epilogue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEpilogueRole;exports.default=_default;}});var require_docErrataRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docErrataRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"errata [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docErrataRole;exports.default=_default;}});var require_docExampleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docExampleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docExampleRole;exports.default=_default;}});var require_docFootnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docFootnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"footnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docFootnoteRole;exports.default=_default;}});var require_docForewordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docForewordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"foreword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docForewordRole;exports.default=_default;}});var require_docGlossaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossary [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"definition\"],[\"term\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docGlossaryRole;exports.default=_default;}});var require_docGlossrefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossrefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docGlossrefRole;exports.default=_default;}});var require_docIndexRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIndexRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"index [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docIndexRole;exports.default=_default;}});var require_docIntroductionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIntroductionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"introduction [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docIntroductionRole;exports.default=_default;}});var require_docNoterefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoterefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"noteref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docNoterefRole;exports.default=_default;}});var require_docNoticeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoticeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"notice [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docNoticeRole;exports.default=_default;}});var require_docPagebreakRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagebreakRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"pagebreak [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"separator\"]]},_default=docPagebreakRole;exports.default=_default;}});var require_docPagelistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagelistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"page-list [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docPagelistRole;exports.default=_default;}});var require_docPartRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPartRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"part [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPartRole;exports.default=_default;}});var require_docPrefaceRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrefaceRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"preface [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrefaceRole;exports.default=_default;}});var require_docPrologueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrologueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"prologue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrologueRole;exports.default=_default;}});var require_docPullquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPullquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"pullquote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"none\"]]},_default=docPullquoteRole;exports.default=_default;}});var require_docQnaRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docQnaRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"qna [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docQnaRole;exports.default=_default;}});var require_docSubtitleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docSubtitleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"subtitle [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=docSubtitleRole;exports.default=_default;}});var require_docTipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTipRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"help [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docTipRole;exports.default=_default;}});var require_docTocRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTocRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"toc [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docTocRole;exports.default=_default;}});var require_ariaDpubRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaDpubRoles=[[\"doc-abstract\",_docAbstractRole.default],[\"doc-acknowledgments\",_docAcknowledgmentsRole.default],[\"doc-afterword\",_docAfterwordRole.default],[\"doc-appendix\",_docAppendixRole.default],[\"doc-backlink\",_docBacklinkRole.default],[\"doc-biblioentry\",_docBiblioentryRole.default],[\"doc-bibliography\",_docBibliographyRole.default],[\"doc-biblioref\",_docBibliorefRole.default],[\"doc-chapter\",_docChapterRole.default],[\"doc-colophon\",_docColophonRole.default],[\"doc-conclusion\",_docConclusionRole.default],[\"doc-cover\",_docCoverRole.default],[\"doc-credit\",_docCreditRole.default],[\"doc-credits\",_docCreditsRole.default],[\"doc-dedication\",_docDedicationRole.default],[\"doc-endnote\",_docEndnoteRole.default],[\"doc-endnotes\",_docEndnotesRole.default],[\"doc-epigraph\",_docEpigraphRole.default],[\"doc-epilogue\",_docEpilogueRole.default],[\"doc-errata\",_docErrataRole.default],[\"doc-example\",_docExampleRole.default],[\"doc-footnote\",_docFootnoteRole.default],[\"doc-foreword\",_docForewordRole.default],[\"doc-glossary\",_docGlossaryRole.default],[\"doc-glossref\",_docGlossrefRole.default],[\"doc-index\",_docIndexRole.default],[\"doc-introduction\",_docIntroductionRole.default],[\"doc-noteref\",_docNoterefRole.default],[\"doc-notice\",_docNoticeRole.default],[\"doc-pagebreak\",_docPagebreakRole.default],[\"doc-pagelist\",_docPagelistRole.default],[\"doc-part\",_docPartRole.default],[\"doc-preface\",_docPrefaceRole.default],[\"doc-prologue\",_docPrologueRole.default],[\"doc-pullquote\",_docPullquoteRole.default],[\"doc-qna\",_docQnaRole.default],[\"doc-subtitle\",_docSubtitleRole.default],[\"doc-tip\",_docTipRole.default],[\"doc-toc\",_docTocRole.default]],_default=ariaDpubRoles;exports.default=_default;}});var require_graphicsDocumentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsDocumentRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-object\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"ARIA\",concept:{name:\"article\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=graphicsDocumentRole;exports.default=_default;}});var require_graphicsObjectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsObjectRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-document\"}},{module:\"ARIA\",concept:{name:\"group\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"GRAPHICS\",concept:{name:\"graphics-symbol\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=graphicsObjectRole;exports.default=_default;}});var require_graphicsSymbolRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsSymbolRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=graphicsSymbolRole;exports.default=_default;}});var require_ariaGraphicsRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaGraphicsRoles=[[\"graphics-document\",_graphicsDocumentRole.default],[\"graphics-object\",_graphicsObjectRole.default],[\"graphics-symbol\",_graphicsSymbolRole.default]],_default=ariaGraphicsRoles;exports.default=_default;}});var require_rolesMap=__commonJS({\"node_modules/aria-query/lib/rolesMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn2.call(thisArg,values,key,roles3);}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}},get:function(key){var item=roles3.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!rolesMap.get(key)},keys:function(){return roles3.map(function(_ref5){var _ref6=_slicedToArray(_ref5,1),key=_ref6[0];return key})},values:function(){return roles3.map(function(_ref7){var _ref8=_slicedToArray(_ref7,2),values2=_ref8[1];return values2})}},_default=(0, _iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default;}});var require_isArguments2=__commonJS({\"../../node_modules/object-keys/isArguments.js\"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs=str===\"[object Arguments]\";return isArgs||(isArgs=str!==\"[object Array]\"&&value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&toStr3.call(value.callee)===\"[object Function]\"),isArgs};}});var require_implementation=__commonJS({\"../../node_modules/object-keys/implementation.js\"(exports,module2){var keysShim;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},\"toString\"),hasProtoEnumBug=isEnumerable.call(function(){},\"prototype\"),dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>\"u\")return !1;for(var k in window)try{if(!excludedKeys[\"$\"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]==\"object\")try{equalsConstructorPrototype(window[k]);}catch{return !0}}catch{return !0}return !1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>\"u\"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return !1}},keysShim=function(object){var isObject2=object!==null&&typeof object==\"object\",isFunction=toStr3.call(object)===\"[object Function]\",isArguments=isArgs(object),isString=isObject2&&toStr3.call(object)===\"[object String]\",theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError(\"Object.keys called on a non-object\");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j\"u\"||!getProto?undefined2:getProto(Uint8Array),INTRINSICS={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?undefined2:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?undefined2:ArrayBuffer,\"%ArrayIteratorPrototype%\":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined2,\"%AsyncFromSyncIteratorPrototype%\":undefined2,\"%AsyncFunction%\":needsEval,\"%AsyncGenerator%\":needsEval,\"%AsyncGeneratorFunction%\":needsEval,\"%AsyncIteratorPrototype%\":needsEval,\"%Atomics%\":typeof Atomics>\"u\"?undefined2:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?undefined2:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?undefined2:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?undefined2:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?undefined2:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":$Error,\"%eval%\":eval,\"%EvalError%\":$EvalError,\"%Float32Array%\":typeof Float32Array>\"u\"?undefined2:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?undefined2:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?undefined2:FinalizationRegistry,\"%Function%\":$Function,\"%GeneratorFunction%\":needsEval,\"%Int8Array%\":typeof Int8Array>\"u\"?undefined2:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?undefined2:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?undefined2:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined2,\"%JSON%\":typeof JSON==\"object\"?JSON:undefined2,\"%Map%\":typeof Map>\"u\"?undefined2:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?undefined2:Promise,\"%Proxy%\":typeof Proxy>\"u\"?undefined2:Proxy,\"%RangeError%\":$RangeError,\"%ReferenceError%\":$ReferenceError,\"%Reflect%\":typeof Reflect>\"u\"?undefined2:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?undefined2:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?undefined2:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":hasSymbols&&getProto?getProto(\"\"[Symbol.iterator]()):undefined2,\"%Symbol%\":hasSymbols?Symbol:undefined2,\"%SyntaxError%\":$SyntaxError,\"%ThrowTypeError%\":ThrowTypeError,\"%TypedArray%\":TypedArray,\"%TypeError%\":$TypeError,\"%Uint8Array%\":typeof Uint8Array>\"u\"?undefined2:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?undefined2:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?undefined2:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?undefined2:Uint32Array,\"%URIError%\":$URIError,\"%WeakMap%\":typeof WeakMap>\"u\"?undefined2:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?undefined2:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?undefined2:WeakSet};if(getProto)try{null.error;}catch(e){errorProto=getProto(getProto(e)),INTRINSICS[\"%Error.prototype%\"]=errorProto;}var errorProto,doEval=function doEval2(name){var value;if(name===\"%AsyncFunction%\")value=getEvalledConstructor(\"async function () {}\");else if(name===\"%GeneratorFunction%\")value=getEvalledConstructor(\"function* () {}\");else if(name===\"%AsyncGeneratorFunction%\")value=getEvalledConstructor(\"async function* () {}\");else if(name===\"%AsyncGenerator%\"){var fn2=doEval2(\"%AsyncGeneratorFunction%\");fn2&&(value=fn2.prototype);}else if(name===\"%AsyncIteratorPrototype%\"){var gen=doEval2(\"%AsyncGenerator%\");gen&&getProto&&(value=getProto(gen.prototype));}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,reEscapeChar=/\\\\(\\\\)?/g,stringToPath=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if(first===\"%\"&&last!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected closing `%`\");if(last===\"%\"&&first!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected opening `%`\");var result=[];return $replace(string2,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,\"$1\"):number||match;}),result},getBaseIntrinsic=function(name,allowMissing){var intrinsicName=name,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName=\"%\"+alias[0]+\"%\"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>\"u\"&&!allowMissing)throw new $TypeError(\"intrinsic \"+name+\" exists, but is not available. Please file an issue!\");return {alias,name:intrinsicName,value}}throw new $SyntaxError(\"intrinsic \"+name+\" does not exist!\")};module2.exports=function(name,allowMissing){if(typeof name!=\"string\"||name.length===0)throw new $TypeError(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof allowMissing!=\"boolean\")throw new $TypeError('\"allowMissing\" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name)===null)throw new $SyntaxError(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:\"\",intrinsic=getBaseIntrinsic(\"%\"+intrinsicBaseName+\"%\",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);isOwn=!!desc,isOwn&&\"get\"in desc&&!(\"originalValue\"in desc.get)?value=desc.get:value=value[part];}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value);}}return value};}});var require_es_define_property=__commonJS({\"../../node_modules/es-define-property/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$defineProperty=GetIntrinsic(\"%Object.defineProperty%\",!0)||!1;if($defineProperty)try{$defineProperty({},\"a\",{value:1});}catch{$defineProperty=!1;}module2.exports=$defineProperty;}});var require_gopd=__commonJS({\"../../node_modules/gopd/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$gOPD=GetIntrinsic(\"%Object.getOwnPropertyDescriptor%\",!0);if($gOPD)try{$gOPD([],\"length\");}catch{$gOPD=null;}module2.exports=$gOPD;}});var require_define_data_property=__commonJS({\"../../node_modules/define-data-property/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||typeof obj!=\"object\"&&typeof obj!=\"function\")throw new $TypeError(\"`obj` must be an object or a function`\");if(typeof property!=\"string\"&&typeof property!=\"symbol\")throw new $TypeError(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new $TypeError(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new $TypeError(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new $TypeError(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new $TypeError(\"`loose`, if provided, must be a boolean\");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6?arguments[6]:!1,desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value,writable:nonWritable===null&&desc?desc.writable:!nonWritable});else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable)obj[property]=value;else throw new $SyntaxError(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")};}});var require_has_property_descriptors=__commonJS({\"../../node_modules/has-property-descriptors/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return !!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],\"length\",{value:1}).length!==1}catch{return !0}};module2.exports=hasPropertyDescriptors;}});var require_define_properties=__commonJS({\"../../node_modules/define-properties/index.js\"(exports,module2){var keys2=require_object_keys(),hasSymbols=typeof Symbol==\"function\"&&typeof Symbol(\"foo\")==\"symbol\",toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),isFunction=function(fn2){return typeof fn2==\"function\"&&toStr3.call(fn2)===\"[object Function]\"},supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object){if(predicate===!0){if(object[name]===value)return}else if(!isFunction(predicate)||!predicate())return}supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value);},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError(\"`length` must be a positive 32-bit integer\");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if(\"length\"in fn2&&gOPD){var desc=gOPD(fn2,\"length\");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1);}return (functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn2,\"length\",length,!0,!0):define2(fn2,\"length\",length)),fn2};}});var require_call_bind=__commonJS({\"../../node_modules/call-bind/index.js\"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic(\"%Function.prototype.apply%\"),$call=GetIntrinsic(\"%Function.prototype.call%\"),$reflectApply=GetIntrinsic(\"%Reflect.apply%\",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic(\"%Math.max%\");module2.exports=function(originalFunction){if(typeof originalFunction!=\"function\")throw new $TypeError(\"a function is required\");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,\"apply\",{value:applyBind}):module2.exports.apply=applyBind;}});var require_callBound=__commonJS({\"../../node_modules/call-bind/callBound.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic(\"String.prototype.indexOf\"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return typeof intrinsic==\"function\"&&$indexOf(name,\".prototype.\")>-1?callBind(intrinsic):intrinsic};}});var require_implementation3=__commonJS({\"../../node_modules/object.assign/implementation.js\"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound(\"Array.prototype.push\"),$propIsEnumerable=callBound(\"Object.prototype.propertyIsEnumerable\"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(target==null)throw new TypeError(\"target must be an object\");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s2&&!!arguments[2];return (!loose||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn2,\"name\",name,!0,!0):define2(fn2,\"name\",name)),fn2};}});var require_implementation4=__commonJS({\"../../node_modules/regexp.prototype.flags/implementation.js\"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName(function(){if(this==null||this!==$Object(this))throw new $TypeError(\"RegExp.prototype.flags getter called on non-object\");var result=\"\";return this.hasIndices&&(result+=\"d\"),this.global&&(result+=\"g\"),this.ignoreCase&&(result+=\"i\"),this.multiline&&(result+=\"m\"),this.dotAll&&(result+=\"s\"),this.unicode&&(result+=\"u\"),this.unicodeSets&&(result+=\"v\"),this.sticky&&(result+=\"y\"),result},\"get flags\",!0);}});var require_polyfill2=__commonJS({\"../../node_modules/regexp.prototype.flags/polyfill.js\"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&/a/mig.flags===\"gim\"){var descriptor=$gOPD(RegExp.prototype,\"flags\");if(descriptor&&typeof descriptor.get==\"function\"&&typeof RegExp.prototype.dotAll==\"boolean\"&&typeof RegExp.prototype.hasIndices==\"boolean\"){var calls=\"\",o={};if(Object.defineProperty(o,\"hasIndices\",{get:function(){calls+=\"d\";}}),Object.defineProperty(o,\"sticky\",{get:function(){calls+=\"y\";}}),calls===\"dy\")return descriptor.get}}return implementation};}});var require_shim2=__commonJS({\"../../node_modules/regexp.prototype.flags/shim.js\"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr(\"RegExp.prototype.flags requires a true ES5 environment that supports property descriptors\");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,\"flags\");return (!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,\"flags\",{configurable:!0,enumerable:!1,get:polyfill}),polyfill};}});var require_regexp_prototype=__commonJS({\"../../node_modules/regexp.prototype.flags/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim});module2.exports=flagsBound;}});var require_shams2=__commonJS({\"../../node_modules/has-tostringtag/shams.js\"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag};}});var require_is_arguments=__commonJS({\"../../node_modules/is-arguments/index.js\"(exports,module2){var hasToStringTag=require_shams2()(),callBound=require_callBound(),$toString=callBound(\"Object.prototype.toString\"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value==\"object\"&&Symbol.toStringTag in value?!1:$toString(value)===\"[object Arguments]\"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&$toString(value)!==\"[object Array]\"&&$toString(value.callee)===\"[object Function]\"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments;}});var require_util=__commonJS({\"(disabled):../../node_modules/object-inspect/util.inspect\"(){}});var require_object_inspect=__commonJS({\"../../node_modules/object-inspect/index.js\"(exports,module2){var hasMap=typeof Map==\"function\"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==\"function\"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set==\"function\"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==\"function\"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef==\"function\"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt==\"function\"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"object\",toStringTag=typeof Symbol==\"function\"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||!0)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect==\"function\"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==\"number\"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,\"$&_\")+\".\"+$replace.call($replace.call(dec,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return $replace.call(str,sepRegex,\"$&_\")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,\"quoteStyle\")&&opts.quoteStyle!==\"single\"&&opts.quoteStyle!==\"double\")throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(has(opts,\"maxStringLength\")&&(typeof opts.maxStringLength==\"number\"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,\"customInspect\")?opts.customInspect:!0;if(typeof customInspect!=\"boolean\"&&customInspect!==\"symbol\")throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(has(opts,\"indent\")&&opts.indent!==null&&opts.indent!==\"\t\"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(has(opts,\"numericSeparator\")&&typeof opts.numericSeparator!=\"boolean\")throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>\"u\")return \"undefined\";if(obj===null)return \"null\";if(typeof obj==\"boolean\")return obj?\"true\":\"false\";if(typeof obj==\"string\")return inspectString(obj,opts);if(typeof obj==\"number\"){if(obj===0)return 1/0/obj>0?\"0\":\"-0\";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==\"bigint\"){var bigIntStr=String(obj)+\"n\";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>\"u\"?5:opts.depth;if(typeof depth>\"u\"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj==\"object\")return isArray(obj)?\"[Array]\":\"[Object]\";var indent=getIndent(opts,depth);if(typeof seen>\"u\")seen=[];else if(indexOf(seen,obj)>=0)return \"[Circular]\";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,\"quoteStyle\")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==\"function\"&&!isRegExp(obj)){var name=nameOf(obj),keys2=arrObjKeys(obj,inspect3);return \"[Function\"+(name?\": \"+name:\" (anonymous)\")+\"]\"+(keys2.length>0?\" { \"+$join.call(keys2,\", \")+\" }\":\"\")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):symToString.call(obj);return typeof obj==\"object\"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement5(obj)){for(var s=\"<\"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i\",obj.childNodes&&obj.childNodes.length&&(s+=\"...\"),s+=\"\",s}if(isArray(obj)){if(obj.length===0)return \"[]\";var xs=arrObjKeys(obj,inspect3);return indent&&!singleLineValues(xs)?\"[\"+indentedJoin(xs,indent)+\"]\":\"[ \"+$join.call(xs,\", \")+\" ]\"}if(isError(obj)){var parts=arrObjKeys(obj,inspect3);return !(\"cause\"in Error.prototype)&&\"cause\"in obj&&!isEnumerable.call(obj,\"cause\")?\"{ [\"+String(obj)+\"] \"+$join.call($concat.call(\"[cause]: \"+inspect3(obj.cause),parts),\", \")+\" }\":parts.length===0?\"[\"+String(obj)+\"]\":\"{ [\"+String(obj)+\"] \"+$join.call(parts,\", \")+\" }\"}if(typeof obj==\"object\"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==\"function\"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!==\"symbol\"&&typeof obj.inspect==\"function\")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect3(key,obj,!0)+\" => \"+inspect3(value,obj));}),collectionOf(\"Map\",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect3(value,obj));}),collectionOf(\"Set\",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf(\"WeakMap\");if(isWeakSet(obj))return weakCollectionOf(\"WeakSet\");if(isWeakRef(obj))return weakCollectionOf(\"WeakRef\");if(isNumber(obj))return markBoxed(inspect3(Number(obj)));if(isBigInt(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect3(String(obj)));if(typeof window<\"u\"&&obj===window)return \"{ [object Window] }\";if(obj===global)return \"{ [object globalThis] }\";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?\"\":\"null prototype\",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?\"Object\":\"\",constructorTag=isPlainObject||typeof obj.constructor!=\"function\"?\"\":obj.constructor.name?obj.constructor.name+\" \":\"\",tag=constructorTag+(stringTag||protoTag?\"[\"+$join.call($concat.call([],stringTag||[],protoTag||[]),\": \")+\"] \":\"\");return ys.length===0?tag+\"{}\":indent?tag+\"{\"+indentedJoin(ys,indent)+\"}\":tag+\"{ \"+$join.call(ys,\", \")+\" }\"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)===\"double\"?'\"':\"'\";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/\"/g,\""\")}function isArray(obj){return toStr3(obj)===\"[object Array]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isDate(obj){return toStr3(obj)===\"[object Date]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isRegExp(obj){return toStr3(obj)===\"[object RegExp]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isError(obj){return toStr3(obj)===\"[object Error]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isString(obj){return toStr3(obj)===\"[object String]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isNumber(obj){return toStr3(obj)===\"[object Number]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isBoolean(obj){return toStr3(obj)===\"[object Boolean]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj==\"object\"&&obj instanceof Symbol;if(typeof obj==\"symbol\")return !0;if(!obj||typeof obj!=\"object\"||!symToString)return !1;try{return symToString.call(obj),!0}catch{}return !1}function isBigInt(obj){if(!obj||typeof obj!=\"object\"||!bigIntValueOf)return !1;try{return bigIntValueOf.call(obj),!0}catch{}return !1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\\s*([\\w$]+)/);return m2?m2[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer=\"... \"+remaining+\" more character\"+(remaining>1?\"s\":\"\");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,lowbyte);return wrapQuotes(s,\"single\",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[n];return x?\"\\\\\"+x:\"\\\\x\"+(n<16?\"0\":\"\")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return \"Object(\"+str+\")\"}function weakCollectionOf(type3){return type3+\" { ? }\"}function collectionOf(type3,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,\", \");return type3+\" (\"+size+\") {\"+joinedEntries+\"}\"}function singleLineValues(xs){for(var i=0;i=0)return !1;return !0}function getIndent(opts,depth){var baseIndent;if(opts.indent===\"\t\")baseIndent=\"\t\";else if(typeof opts.indent==\"number\"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1),\" \");else return null;return {base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return \"\";var lineJoiner=`\n`+indent.prev+indent.base;return lineJoiner+$join.call(xs,\",\"+lineJoiner)+`\n`+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return {next:function(){var done=i>=arraylike.length,value;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return {next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}if(noPrimordialCollections&&typeof iterable[\"_es6-shim iterator_\"]<\"u\")return iterable[\"_es6-shim iterator_\"]()},!$Map&&!$Set?module2.exports=function(iterable){if(iterable!=null)return getNonCollectionIterator(iterable,!0)}:(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound(\"Map.prototype.forEach\",!0),$setForEach=callBound(\"Set.prototype.forEach\",!0),(typeof process>\"u\"||!process.versions||!process.versions.node)&&($mapIterator=callBound(\"Map.prototype.iterator\",!0),$setIterator=callBound(\"Set.prototype.iterator\",!0)),$mapAtAtIterator=callBound(\"Map.prototype.@@iterator\",!0)||callBound(\"Map.prototype._es6-shim iterator_\",!0),$setAtAtIterator=callBound(\"Set.prototype.@@iterator\",!0)||callBound(\"Set.prototype._es6-shim iterator_\",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,function(v2,k){$arrayPush(entries,[k,v2]);}),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,function(v2){$arrayPush(values,v2);}),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}));var $iterator,isArray,isString,GetIntrinsic,$Map,$Set,callBound,$arrayPush,$charCodeAt,$stringSlice,advanceStringIndex,getArrayIterator,getNonCollectionIterator,isMap,isSet,$mapForEach,$setForEach,$mapIterator,$setIterator,$mapAtAtIterator,$setAtAtIterator,getCollectionIterator;}});var require_implementation5=__commonJS({\"../../node_modules/object-is/implementation.js\"(exports,module2){var numberIsNaN=function(value){return value!==value};module2.exports=function(a,b2){return a===0&&b2===0?1/a===1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))};}});var require_polyfill3=__commonJS({\"../../node_modules/object-is/polyfill.js\"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return typeof Object.is==\"function\"?Object.is:implementation};}});var require_shim3=__commonJS({\"../../node_modules/object-is/shim.js\"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill};}});var require_object_is=__commonJS({\"../../node_modules/object-is/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim});module2.exports=polyfill;}});var require_is_array_buffer=__commonJS({\"../../node_modules/is-array-buffer/index.js\"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),GetIntrinsic=require_get_intrinsic(),$ArrayBuffer=GetIntrinsic(\"%ArrayBuffer%\",!0),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),$toString=callBound(\"Object.prototype.toString\"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return !1}}:$ArrayBuffer?function(obj){return $toString(obj)===\"[object ArrayBuffer]\"}:function(obj){return !1};}});var require_is_date_object=__commonJS({\"../../node_modules/is-date-object/index.js\"(exports,module2){var getDay=Date.prototype.getDay,tryDateObject=function(value){try{return getDay.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,dateClass=\"[object Date]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value!=\"object\"||value===null?!1:hasToStringTag?tryDateObject(value):toStr3.call(value)===dateClass};}});var require_is_regex=__commonJS({\"../../node_modules/is-regex/index.js\"(exports,module2){var callBound=require_callBound(),hasToStringTag=require_shams2()(),has,$exec,isRegexMarker,badStringifier;hasToStringTag&&(has=callBound(\"Object.prototype.hasOwnProperty\"),$exec=callBound(\"RegExp.prototype.exec\"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},typeof Symbol.toPrimitive==\"symbol\"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound(\"Object.prototype.toString\"),gOPD=Object.getOwnPropertyDescriptor,regexClass=\"[object RegExp]\";module2.exports=hasToStringTag?function(value){if(!value||typeof value!=\"object\")return !1;var descriptor=gOPD(value,\"lastIndex\"),hasLastIndexDataProperty=descriptor&&has(descriptor,\"value\");if(!hasLastIndexDataProperty)return !1;try{$exec(value,badStringifier);}catch(e){return e===isRegexMarker}}:function(value){return !value||typeof value!=\"object\"&&typeof value!=\"function\"?!1:$toString(value)===regexClass};}});var require_is_shared_array_buffer=__commonJS({\"../../node_modules/is-shared-array-buffer/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0);module2.exports=$byteLength?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength(obj),!0}catch{return !1}}:function(obj){return !1};}});var require_is_number_object=__commonJS({\"../../node_modules/is-number-object/index.js\"(exports,module2){var numToStr=Number.prototype.toString,tryNumberObject=function(value){try{return numToStr.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,numClass=\"[object Number]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"number\"?!0:typeof value!=\"object\"?!1:hasToStringTag?tryNumberObject(value):toStr3.call(value)===numClass};}});var require_is_boolean_object=__commonJS({\"../../node_modules/is-boolean-object/index.js\"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound(\"Boolean.prototype.toString\"),$toString=callBound(\"Object.prototype.toString\"),tryBooleanObject=function(value){try{return $boolToStr(value),!0}catch{return !1}},boolClass=\"[object Boolean]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"boolean\"?!0:value===null||typeof value!=\"object\"?!1:hasToStringTag&&Symbol.toStringTag in value?tryBooleanObject(value):$toString(value)===boolClass};}});var require_is_symbol=__commonJS({\"../../node_modules/is-symbol/index.js\"(exports,module2){var toStr3=Object.prototype.toString,hasSymbols=require_has_symbols()();hasSymbols?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\\(.*\\)$/,isSymbolObject=function(value){return typeof value.valueOf()!=\"symbol\"?!1:symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if(typeof value==\"symbol\")return !0;if(toStr3.call(value)!==\"[object Symbol]\")return !1;try{return isSymbolObject(value)}catch{return !1}}):module2.exports=function(value){return !1};var symToStr,symStringRegex,isSymbolObject;}});var require_has_bigints=__commonJS({\"../../node_modules/has-bigints/index.js\"(exports,module2){var $BigInt=typeof BigInt<\"u\"&&BigInt;module2.exports=function(){return typeof $BigInt==\"function\"&&typeof BigInt==\"function\"&&typeof $BigInt(42)==\"bigint\"&&typeof BigInt(42)==\"bigint\"};}});var require_is_bigint=__commonJS({\"../../node_modules/is-bigint/index.js\"(exports,module2){var hasBigInts=require_has_bigints()();hasBigInts?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return !1},module2.exports=function(value){return value===null||typeof value>\"u\"||typeof value==\"boolean\"||typeof value==\"string\"||typeof value==\"number\"||typeof value==\"symbol\"||typeof value==\"function\"?!1:typeof value==\"bigint\"?!0:tryBigInt(value)}):module2.exports=function(value){return !1};var bigIntValueOf,tryBigInt;}});var require_which_boxed_primitive=__commonJS({\"../../node_modules/which-boxed-primitive/index.js\"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){if(value==null||typeof value!=\"object\"&&typeof value!=\"function\")return null;if(isString(value))return \"String\";if(isNumber(value))return \"Number\";if(isBoolean(value))return \"Boolean\";if(isSymbol(value))return \"Symbol\";if(isBigInt(value))return \"BigInt\"};}});var require_is_weakmap=__commonJS({\"../../node_modules/is-weakmap/index.js\"(exports,module2){var $WeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype?WeakMap:null,$WeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype?WeakSet:null,exported;$WeakMap||(exported=function(x){return !1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return !1});module2.exports=exported||function(x){if(!x||typeof x!=\"object\")return !1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas);}catch{return !0}return x instanceof $WeakMap}catch{}return !1};}});var require_is_weakset=__commonJS({\"../../node_modules/is-weakset/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic(\"%WeakSet%\",!0),$setHas=callBound(\"WeakSet.prototype.has\",!0);$setHas?($mapHas=callBound(\"WeakMap.prototype.has\",!0),module2.exports=function(x){if(!x||typeof x!=\"object\")return !1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas);}catch{return !0}return x instanceof $WeakSet}catch{}return !1}):module2.exports=function(x){return !1};var $mapHas;}});var require_which_collection=__commonJS({\"../../node_modules/which-collection/index.js\"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&typeof value==\"object\"){if(isMap(value))return \"Map\";if(isSet(value))return \"Set\";if(isWeakMap(value))return \"WeakMap\";if(isWeakSet(value))return \"WeakSet\"}return !1};}});var require_is_callable=__commonJS({\"../../node_modules/is-callable/index.js\"(exports,module2){var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply==\"function\"&&typeof Object.defineProperty==\"function\")try{badArrayLike=Object.defineProperty({},\"length\",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike);}catch(_){_!==isCallableMarker&&(reflectApply=null);}else reflectApply=null;var constructorRegex=/^\\s*class\\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return !1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return !1}},toStr3=Object.prototype.toString,objectClass=\"[object Object]\",fnClass=\"[object Function]\",genClass=\"[object GeneratorFunction]\",ddaClass=\"[object HTMLAllCollection]\",ddaClass2=\"[object HTML document.all class]\",ddaClass3=\"[object HTMLCollection]\",hasToStringTag=typeof Symbol==\"function\"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return !1};typeof document==\"object\"&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>\"u\"||typeof value==\"object\"))try{var str=toStr3.call(value);return (str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value(\"\")==null}catch{}return !1}));var all;module2.exports=reflectApply?function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;try{reflectApply(value,null,badArrayLike);}catch(e){if(e!==isCallableMarker)return !1}return !isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return !1;var strClass=toStr3.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\\[object HTML/.test(strClass)?!1:tryFunctionObject(value)};}});var require_for_each=__commonJS({\"../../node_modules/for-each/index.js\"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(array,iterator,receiver){for(var i=0,len=array.length;i=3&&(receiver=thisArg),toStr3.call(list)===\"[object Array]\"?forEachArray(list,iterator,receiver):typeof list==\"string\"?forEachString(list,iterator,receiver):forEachObject(list,iterator,receiver);};module2.exports=forEach;}});var require_possible_typed_array_names=__commonJS({\"../../node_modules/possible-typed-array-names/index.js\"(exports,module2){module2.exports=[\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\"];}});var require_available_typed_arrays=__commonJS({\"../../node_modules/available-typed-arrays/index.js\"(exports,module2){var possibleNames=require_possible_typed_array_names(),g2=typeof globalThis>\"u\"?global:globalThis;module2.exports=function(){for(var out=[],i=0;i\"u\"?global:globalThis,typedArrays=availableTypedArrays(),$slice=callBound(\"String.prototype.slice\"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound(\"Array.prototype.indexOf\",!0)||function(array,value){for(var i=0;i-1?tag:tag!==\"Object\"?!1:trySlices(value)}return gOPD?tryTypedArrays(value):null};}});var require_array_buffer_byte_length=__commonJS({\"../../node_modules/array-buffer-byte-length/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN};}});var require_deep_equal=__commonJS({\"../../node_modules/deep-equal/index.js\"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0),$getTime=callBound(\"Date.prototype.getTime\"),gPO=Object.getPrototypeOf,$objToString=callBound(\"Object.prototype.toString\"),$Set=GetIntrinsic(\"%Set%\",!0),$mapHas=callBound(\"Map.prototype.has\",!0),$mapGet=callBound(\"Map.prototype.get\",!0),$mapSize=callBound(\"Map.prototype.size\",!0),$setAdd=callBound(\"Set.prototype.add\",!0),$setDelete=callBound(\"Set.prototype.delete\",!0),$setHas=callBound(\"Set.prototype.has\",!0),$setSize=callBound(\"Set.prototype.size\",!0);function setHasEqualElement(set,val1,opts,channel){for(var i=getIterator(set),result;(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return !1}function findLooseMatchingPrimitives(prim){if(typeof prim>\"u\")return null;if(typeof prim!=\"object\")return typeof prim==\"symbol\"?!1:typeof prim==\"string\"||typeof prim==\"number\"?+prim==+prim:!0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(altValue!=null)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return typeof curB>\"u\"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel)?!1:!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel)}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var i=getIterator(set),result,key2;(result=i.next())&&!result.done;)if(key2=result.value,internalDeepEqual(key1,key2,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return !1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return !0;var actualBoxed=whichBoxedPrimitive(actual),expectedBoxed=whichBoxedPrimitive(expected);if(actualBoxed!==expectedBoxed)return !1;if(!actual||!expected||typeof actual!=\"object\"&&typeof expected!=\"object\")return opts.strict?is(actual,expected):actual==expected;var hasActual=channel.has(actual),hasExpected=channel.has(expected),sentinel;if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return !0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),objEquiv(actual,expected,opts,channel)}function isBuffer(x){return !x||typeof x!=\"object\"||typeof x.length!=\"number\"||typeof x.copy!=\"function\"||typeof x.slice!=\"function\"||x.length>0&&typeof x[0]!=\"number\"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set;(resultA=iA.next())&&!resultA.done;)if(resultA.value&&typeof resultA.value==\"object\")set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return !1;set||(set=new $Set),$setAdd(set,resultA.value);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&typeof resultB.value==\"object\"){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1;return $setSize(set)===0}return !0}function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set,key,item1,item2;(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&typeof key==\"object\")set||(set=new $Set),$setAdd(set,key);else if(item2=$mapGet(b2,key),typeof item2>\"u\"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return !1;set||(set=new $Set),$setAdd(set,key);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&typeof key==\"object\"){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return !1}else if(!opts.strict&&(!a.has(key)||!internalDeepEqual($mapGet(a,key),item2,opts,channel))&&!mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel))return !1;return $setSize(set)===0}return !0}function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||a==null||b2==null||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return !1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return !1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return !1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return !1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return !1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return !1;if(aWhich||bWhich){if(a.length!==b2.length)return !1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return !1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return !1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection!==bCollection?!1:aCollection===\"Set\"||bCollection===\"Set\"?setEquiv(a,b2,opts,channel):aCollection===\"Map\"?mapEquiv(a,b2,opts,channel):!0}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())};}});var require_elementRoleMap=__commonJS({\"node_modules/aria-query/lib/elementRoleMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(elementRoles3),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,_key,elementRoles3);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key2){var item=elementRoles3.find(function(tuple){return (0, _deepEqual.default)(key2,tuple[0])});return item&&item[1]},has:function(key2){return !!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key2=_ref2[0];return key2})},values:function(){return elementRoles3.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default;}});var require_roleElementMap=__commonJS({\"node_modules/aria-query/lib/roleElementMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(roleElement),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,roleElement);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=roleElement.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!roleElementMap.get(key)},keys:function(){return roleElement.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return roleElement.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default;}});var require_lib=__commonJS({\"node_modules/aria-query/lib/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2;}});var require_color_name=__commonJS({\"../../node_modules/color-name/index.js\"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions=__commonJS({\"../../node_modules/color-convert/conversions.js\"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:\"rgb\"},hsl:{channels:3,labels:\"hsl\"},hsv:{channels:3,labels:\"hsv\"},hwb:{channels:3,labels:\"hwb\"},cmyk:{channels:4,labels:\"cmyk\"},xyz:{channels:3,labels:\"xyz\"},lab:{channels:3,labels:\"lab\"},lch:{channels:3,labels:\"lch\"},hex:{channels:1,labels:[\"hex\"]},keyword:{channels:1,labels:[\"keyword\"]},ansi16:{channels:1,labels:[\"ansi16\"]},ansi256:{channels:1,labels:[\"ansi256\"]},hcg:{channels:3,labels:[\"h\",\"c\",\"g\"]},apple:{channels:3,labels:[\"r16\",\"g16\",\"b16\"]},gray:{channels:1,labels:[\"gray\"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!(\"channels\"in convert[model]))throw new Error(\"missing channels property: \"+model);if(!(\"labels\"in convert[model]))throw new Error(\"missing channel labels property: \"+model);if(convert[model].labels.length!==convert[model].channels)throw new Error(\"channel and label counts mismatch: \"+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],\"channels\",{value:channels}),Object.defineProperty(convert[model],\"labels\",{value:labels});}convert.rgb.hsl=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min,h,s;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(h*60,360),h<0&&(h+=360);let l=(min+max)/2;return max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return (v2-c)/6/diff2+1/2};return diff2===0?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v2*100]};convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,w*100,b2*100]};convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2),c=(1-r-k)/(1-k)||0,m2=(1-g2-k)/(1-k)||0,y2=(1-b2-k)/(1-k)||0;return [c*100,m2*100,y2*100,k*100]};function comparativeDistance(x,y2){return (x[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2}convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestDistance=1/0,currentClosestKeyword;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92;let x=r*.4124+g2*.3576+b2*.1805,y2=r*.2126+g2*.7152+b2*.0722,z=r*.0193+g2*.1192+b2*.9505;return [x*100,y2*100,z*100]};convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.hsl.rgb=function(hsl){let h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t2,t3,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;let v2=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s);return [h,sv*100,v2*100]};convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return [v2,t,p2];case 1:return [q,v2,p2];case 2:return [p2,v2,t];case 3:return [p2,q,v2];case 4:return [t,p2,v2];case 5:return [v2,p2,q]}};convert.hsv.hsl=function(hsv){let h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01),sl,l;l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert.hwb.rgb=function(hwb){let h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,f;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,i&1&&(f=1-f);let n=wh+f*(v2-wh),r,g2,b2;switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n;break}return [r*255,g2*255,b2*255]};convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100,r=1-Math.min(1,c*(1-k)+k),g2=1-Math.min(1,m2*(1-k)+k),b2=1-Math.min(1,y2*(1-k)+k);return [r*255,g2*255,b2*255]};convert.xyz.rgb=function(xyz){let x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100,r,g2,b2;return r=x*3.2406+y2*-1.5372+z*-.4986,g2=x*-.9689+y2*1.8758+z*.0415,b2=x*.0557+y2*-.204+z*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:g2*12.92,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:b2*12.92,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[r*255,g2*255,b2*255]};convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.lab.xyz=function(lab){let l=lab[0],a=lab[1],b2=lab[2],x,y2,z;y2=(l+16)/116,x=a/500+y2,z=y2-b2/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]};convert.lab.lch=function(lab){let l=lab[0],a=lab[1],b2=lab[2],h;h=Math.atan2(b2,a)*360/2/Math.PI,h<0&&(h+=360);let c=Math.sqrt(a*a+b2*b2);return [l,c,h]};convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI,a=c*Math.cos(hr),b2=c*Math.sin(hr);return [l,a,b2]};convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=saturation===null?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),value===0)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])};convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)};convert.ansi16.rgb=function(args){let color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g2=(color>>1&1)*mult*255,b2=(color>>2&1)*mult*255;return [r,g2,b2]};convert.ansi256.rgb=function(args){if(args>=232){let c=(args-232)*10+8;return [c,c,c]}args-=16;let rem,r=Math.floor(args/36)/5*255,g2=Math.floor((rem=args%36)/6)/5*255,b2=rem%6/5*255;return [r,g2,b2]};convert.rgb.hex=function(args){let string2=(((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255)).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];let colorString=match[0];match[0].length===3&&(colorString=colorString.split(\"\").map(char=>char+char).join(\"\"));let integer=parseInt(colorString,16),r=integer>>16&255,g2=integer>>8&255,b2=integer&255;return [r,g2,b2]};convert.rgb.hcg=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g2-b2)/chroma%6:max===g2?hue=2+(b2-r)/chroma:hue=4+(r-g2)/chroma,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],c*100,f*100]};convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(c===0)return [g2*255,g2*255,g2*255];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g2,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert.hcg.hsv=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],f*100,v2*100]};convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert.hcg.hwb=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c);return [hcg[0],(v2-c)*100,(1-v2)*100]};convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],c*100,g2*100]};convert.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert.gray.hsl=function(args){return [0,0,args[0]]};convert.gray.hsv=convert.gray.hsl;convert.gray.hwb=function(gray){return [0,100,gray[0]]};convert.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert.gray.lab=function(gray){return [gray[0],0,0]};convert.gray.hex=function(gray){let val=Math.round(gray[0]/100*255)&255,string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.rgb.gray=function(rgb){return [(rgb[0]+rgb[1]+rgb[2])/3/255*100]};}});var require_route=__commonJS({\"../../node_modules/color-convert/route.js\"(exports,module2){var conversions=require_conversions();function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i1&&(args=arg0),fn2(args))};return \"conversion\"in fn2&&(wrappedFn.conversion=fn2.conversion),wrappedFn}function wrapRounded(fn2){let wrappedFn=function(...args){let arg0=args[0];if(arg0==null)return arg0;arg0.length>1&&(args=arg0);let result=fn2(args);if(typeof result==\"object\")for(let len=result.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],\"channels\",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],\"labels\",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach(toModel=>{let fn2=routes[toModel];convert[fromModel][toModel]=wrapRounded(fn2),convert[fromModel][toModel].raw=wrapRaw(fn2);});});module2.exports=convert;}});var require_ansi_styles2=__commonJS({\"../../node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi16=(fn2,offset)=>(...args)=>`\\x1B[${fn2(...args)+offset}m`,wrapAnsi256=(fn2,offset)=>(...args)=>{let code=fn2(...args);return `\\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn2,offset)=>(...args)=>{let rgb=fn2(...args);return `\\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0});},colorConvert,makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{colorConvert===void 0&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name=sourceSpace===\"ansi16\"?\"ansi\":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):typeof suite==\"object\"&&(styles[name]=wrap(suite[targetSpace],offset));}return styles};function assembleStyles(){let codes=new Map,styles={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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",setLazyProperty(styles.color,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!1)),setLazyProperty(styles.bgColor,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!0)),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_browser=__commonJS({\"../../node_modules/supports-color/browser.js\"(exports,module2){module2.exports={stdout:!1,stderr:!1};}});var require_util2=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js\"(exports,module2){var stringReplaceAll=(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(index===-1)return string2;let substringLength=substring.length,endIndex=0,returnValue=\"\";do returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex);while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex=(string2,prefix,postfix,index)=>{let endIndex=0,returnValue=\"\";do{let gotCR=string2[index-1]===\"\\r\";returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?`\\r\n`:`\n`)+postfix,endIndex=index+1,index=string2.indexOf(`\n`,endIndex);}while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue};module2.exports={stringReplaceAll,stringEncaseCRLFWithFirstIndex};}});var require_templates=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js\"(exports,module2){var TEMPLATE_REGEX=/(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi,STYLE_REGEX=/(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g,STRING_REGEX=/^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/,ESCAPE_REGEX=/\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.)|([^\\\\])/gi,ESCAPES=new Map([[\"n\",`\n`],[\"r\",\"\\r\"],[\"t\",\"\t\"],[\"b\",\"\\b\"],[\"f\",\"\\f\"],[\"v\",\"\\v\"],[\"0\",\"\\0\"],[\"\\\\\",\"\\\\\"],[\"e\",\"\\x1B\"],[\"a\",\"\\x07\"]]);function unescape(c){let u2=c[0]===\"u\",bracket=c[1]===\"{\";return u2&&!bracket&&c.length===5||c[0]===\"x\"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let results=[],chunks=arguments_.trim().split(/\\s*,\\s*/g),matches3;for(let chunk of chunks){let number=Number(chunk);if(!Number.isNaN(number))results.push(number);else if(matches3=chunk.match(STRING_REGEX))results.push(matches3[2].replace(ESCAPE_REGEX,(m2,escape2,character)=>escape2?unescape(escape2):character));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches3;for(;(matches3=STYLE_REGEX.exec(style))!==null;){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName];}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,(m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join(\"\");chunk=[],chunks.push(styles.length===0?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error(\"Found extraneous } in Chalk template literal\");chunks.push(buildStyle(chalk3,styles)(chunk.join(\"\"))),chunk=[],styles.pop();}else chunk.push(character);}),chunks.push(chunk.join(\"\")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?\"\":\"s\"} (\\`}\\`)`;throw new Error(errMsg)}return chunks.join(\"\")};}});var require_source=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js\"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=[\"ansi\",\"ansi\",\"ansi256\",\"ansi16m\"],styles=Object.create(null),applyOptions=(object,options={})=>{if(options.level>3||options.level<0)throw new Error(\"The `level` option should be an integer from 0 to 3\");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=options.level===void 0?colorLevel:options.level;},ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return applyOptions(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error(\"`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.\")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,\"visible\",{value:builder}),builder}};var usedModels=[\"rgb\",\"hex\",\"keyword\",\"hsl\",\"hsv\",\"hwb\",\"ansi\",\"ansi256\"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){let bgModel=\"bg\"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};}var proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level;}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return parent===void 0?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,arguments_.length===1?\"\"+arguments_[0]:arguments_.join(\" \"));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?\"\":string2;let styler=self2._styler;if(styler===void 0)return string2;let{openAll,closeAll}=styler;if(string2.indexOf(\"\\x1B\")!==-1)for(;styler!==void 0;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf(`\n`);return lfIndex!==-1&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},template,chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(\" \");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}module2.exports=arrayIncludes;}});var require_arrayIncludesWith=__commonJS({\"../../node_modules/lodash/_arrayIncludesWith.js\"(exports,module2){function arrayIncludesWith(array,value,comparator){for(var index=-1,length=array==null?0:array.length;++index=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache;}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||codeUnit==127||index==0&&codeUnit>=48&&codeUnit<=57||index==1&&codeUnit>=48&&codeUnit<=57&&firstCodeUnit==45){result+=\"\\\\\"+codeUnit.toString(16)+\" \";continue}if(index==0&&length==1&&codeUnit==45){result+=\"\\\\\"+string2.charAt(index);continue}if(codeUnit>=128||codeUnit==45||codeUnit==95||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122){result+=string2.charAt(index);continue}result+=\"\\\\\"+string2.charAt(index);}return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape});}});var require_ansi_styles3=__commonJS({\"node_modules/pretty-format/node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections2=__commonJS({\"node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=indentationNext+name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"[\"+(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+\"]\":stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"{\"+(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+\"}\":stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\"?stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ansi_regex=__commonJS({\"../../node_modules/ansi-regex/index.js\"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(pattern,onlyFirst?void 0:\"g\")};}});var require_ConvertAnsi=__commonJS({\"node_modules/pretty-format/build/plugins/ConvertAnsi.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toHumanReadableAnsi=text=>text.replace((0, _ansiRegex.default)(),match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return \"\";case _ansiStyles.default.red.open:return \"\";case _ansiStyles.default.green.open:return \"\";case _ansiStyles.default.cyan.open:return \"\";case _ansiStyles.default.gray.open:return \"\";case _ansiStyles.default.white.open:return \"\";case _ansiStyles.default.yellow.open:return \"\";case _ansiStyles.default.bgRed.open:return \"\";case _ansiStyles.default.bgGreen.open:return \"\";case _ansiStyles.default.bgYellow.open:return \"\";case _ansiStyles.default.inverse.open:return \"\";case _ansiStyles.default.dim.open:return \"\";case _ansiStyles.default.bold.open:return \"\";default:return \"\"}}),test=val=>typeof val==\"string\"&&!!val.match((0, _ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(toHumanReadableAnsi(val),config3,indentation,depth,refs);exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?\"[\"+name+\"]\":(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?\"{\"+(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)+\"}\":\"[\"+(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+\"]\")};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>{var _val$constructor;return (val==null||(_val$constructor=val.constructor)===null||_val$constructor===void 0?void 0:_val$constructor.name)&&testNode2(val)};exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable2=__commonJS({\"node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>\"Immutable.\"+name,printAsLeaf=name=>\"[\"+name+\"]\",SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"{\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+\"}\";function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):name+SPACE+\"{\"+(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)+\"}\"},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?name+SPACE+\"{\"+(val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY)+\"}\":name+SPACE+\"[\"+(val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY)+\"]\"},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"[\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"]\",serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development2=__commonJS({\"node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol==\"function\"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor(\"react.element\"),REACT_PORTAL_TYPE=symbolFor(\"react.portal\"),REACT_FRAGMENT_TYPE=symbolFor(\"react.fragment\"),REACT_STRICT_MODE_TYPE=symbolFor(\"react.strict_mode\"),REACT_PROFILER_TYPE=symbolFor(\"react.profiler\"),REACT_PROVIDER_TYPE=symbolFor(\"react.provider\"),REACT_CONTEXT_TYPE=symbolFor(\"react.context\"),REACT_FORWARD_REF_TYPE=symbolFor(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=symbolFor(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=symbolFor(\"react.suspense_list\"),REACT_MEMO_TYPE=symbolFor(\"react.memo\"),REACT_LAZY_TYPE=symbolFor(\"react.lazy\"),REACT_BLOCK_TYPE=symbolFor(\"react.block\"),REACT_SERVER_BLOCK_TYPE=symbolFor(\"react.server.block\"),REACT_FUNDAMENTAL_TYPE=symbolFor(\"react.fundamental\"),symbolFor(\"react.scope\"),symbolFor(\"react.opaque.id\"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor(\"react.debug_trace_mode\"),symbolFor(\"react.offscreen\"),REACT_LEGACY_HIDDEN_TYPE=symbolFor(\"react.legacy_hidden\");}var enableScopeAPI=!1;function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||type3===REACT_DEBUG_TRACING_MODE_TYPE||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||type3===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_FUNDAMENTAL_TYPE||type3.$$typeof===REACT_BLOCK_TYPE||type3[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is2=__commonJS({\"node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development2();}});var require_ReactElement2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?\"ForwardRef(\"+functionName+\")\":\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?\"Memo(\"+functionName+\")\":\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=function(){return typeof globalThis<\"u\"?globalThis:typeof global2<\"u\"?global2:typeof self<\"u\"?self:typeof window<\"u\"?window:Function(\"return this\")()}(),Symbol2=global2[\"jest-symbol-do-not-touch\"]||global2.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build3=__commonJS({\"node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?\"[Function \"+(val.name||\"anonymous\")+\"]\":\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return \"[\"+errorToString.call(val)+\"]\"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return \"\"+val;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?'\"'+val.replace(/\"|\\\\/g,\"\\\\$&\")+'\"':'\"'+val+'\"';if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":(min?\"\":\"Arguments \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":isToStringedArrayType(toStringed)?hitMaxDepth?\"[\"+val.constructor.name+\"]\":(min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":val.constructor.name+\" \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":\"Map {\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")+\"}\":toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":\"Set {\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"}\":hitMaxDepth||isWindow(val)?\"[\"+getConstructorName(val)+\"]\":(min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":getConstructorName(val)+\" \")+\"{\"+(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+\"}\"}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n`+indentationNext)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options&&options.printFunctionName!==void 0?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&options.escapeRegex!==void 0?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&options.escapeString!==void 0?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr;return {callToJSON:options&&options.callToJSON!==void 0?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:options&&typeof options.compareKeys==\"function\"?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?\"\":createIndent(options&&options.indent!==void 0?options.indent:DEFAULT_OPTIONS.indent),maxDepth:options&&options.maxDepth!==void 0?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&options.min!==void 0?options.min:DEFAULT_OPTIONS.min,plugins:options&&options.plugins!==void 0?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:(_options$printBasicPr=options?.printBasicPrototype)!==null&&_options$printBasicPr!==void 0?_options$printBasicPr:!0,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?\" \":`\n`,spacingOuter:options&&options.min?\"\":`\n`}};function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_lz_string=__commonJS({\"../../node_modules/lz-string/libs/lz-string.js\"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",keyStrUriSafe=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[i*2+1]=current_value%256;}return buf},decompressFromUint8Array:function(compressed){if(compressed==null)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c);}if(context_w!==\"\"){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++);}for(value=2,i=0;i>1;for(;;)if(context_data_val=context_data_val<<1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}else context_data_position++;return context_data.join(\"\")},decompress:function(compressed){return compressed==null?\"\":compressed==\"\"?null:LZString2._decompress(compressed.length,32768,function(index){return compressed.charCodeAt(index)})},_decompress:function(length,resetValue,getNextValue){var dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry=\"\",result=[],i,w,bits,resb,maxpower,power,c,data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return \"\"}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return \"\";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join(\"\")}if(enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else if(c===dictSize)entry=w+w.charAt(0);else return null;result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),enlargeIn--,w=entry,enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++);}}};return LZString2}();typeof define==\"function\"&&define.amd?define(function(){return LZString}):typeof module2<\"u\"&&module2!=null?module2.exports=LZString:typeof angular<\"u\"&&angular!=null&&angular.module(\"LZString\",[]).factory(\"LZString\",function(){return LZString});}});var import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version;import_index.default.Assertion;import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default;var scope=(()=>{let win;return typeof window<\"u\"?win=window:typeof globalThis<\"u\"?win=globalThis:typeof global<\"u\"?win=global:typeof self<\"u\"?win=self:win={},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(\" or \")}, received \"${receivedType}\"`)}function isObject(item){return item!=null&&typeof item==\"object\"&&!Array.isArray(item)}function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function collectOwnProperties(obj,collector){let collect=typeof collector==\"function\"?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect);}function getOwnProperties(obj){let ownProps=new Set;return isFinalObj(obj)?[]:(collectOwnProperties(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if(Object.prototype.toString.call(val)===\"[object Object]\"){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);\"get\"in descriptor?Object.defineProperty(out,k2,{...descriptor,get(){return cloned}}):Object.defineProperty(out,k2,{...descriptor,writable:options.forceWritable?!0:descriptor.writable,value:cloned});}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let MAX_LENGTH=maxLength??1e4,result;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options});}catch{result=(0, import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options});}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function format(...args){if(typeof args[0]!=\"string\"){let objects=[];for(let i2=0;i2{if(x===\"%%\")return \"%\";if(i>=len)return x;switch(x){case\"%s\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:typeof value==\"number\"&&value===0&&1/value<0?\"-0\":typeof value==\"object\"&&value!==null?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case\"%d\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number(value).toString()}case\"%i\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case\"%f\":return Number.parseFloat(String(args[i++])).toString();case\"%o\":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case\"%O\":return inspect2(args[i++]);case\"%c\":return i++,\"\";case\"%j\":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes(\"circular structure\")||m2.includes(\"cyclic structures\")||m2.includes(\"cyclic object\"))return \"[Circular]\";throw err}default:return x}});for(let x=args[i];i(acc[key]=string,acc),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1);__toESM(require_loupe(),1);var LineTerminatorSequence;LineTerminatorSequence=/\\r?\\n|[\\r\\u2028\\u2029]/y;RegExp(LineTerminatorSequence.source);var reservedWords={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(reservedWords.keyword);new Set(reservedWords.strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(value===void 0)return \"undefined\";if(value===null)return \"null\";if(Array.isArray(value))return \"array\";if(typeof value==\"boolean\")return \"boolean\";if(typeof value==\"function\")return \"function\";if(typeof value==\"number\")return \"number\";if(typeof value==\"string\")return \"string\";if(typeof value==\"bigint\")return \"bigint\";if(typeof value==\"object\"){if(value!=null){if(value.constructor===RegExp)return \"regexp\";if(value.constructor===Map)return \"map\";if(value.constructor===Set)return \"set\";if(value.constructor===Date)return \"date\"}return \"object\"}else if(typeof value==\"symbol\")return \"symbol\";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text;}};var NO_DIFF_MESSAGE=\"Compared values have no visual difference.\",SIMILAR_MESSAGE=\"Compared values serialize to the same structure.\\nPrinting internal object structure without calling `toJSON` instead.\";function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\\s+$/,match=>trailingSpaceFormatter(match))}function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return line.length!==0?color(`${indicator} ${formatTrailingSpaces(line,trailingSpaceFormatter)}`):indicator!==\" \"?color(indicator):isFirstOrLast&&emptyFirstOrLastLinePlaceholder.length!==0?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):\"\"}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0);}else {let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1);}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1;}let hasPatch=nExcessesBetweenChanges!==0||hasExcessAtStartOrEnd;nExcessesBetweenChanges!==0?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push(\"\");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,j===0||j===jLast,options)),aEnd+=1,bEnd+=1;},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,j===0||j===jLast,options)),aEnd+=1;},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,j===0||j===jLast,options)),bEnd+=1;};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else {let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push(\"\");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1;}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join(`\n`)}function joinAlignedDiffsExpand(diffs,options){return diffs.map((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=i===0||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}}).join(`\n`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return {aAnnotation:\"Expected\",aColor:c.green,aIndicator:\"-\",bAnnotation:\"Received\",bColor:c.red,bIndicator:\"+\",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:\" \",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:\"\",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function getCompareKeys(compareKeys){return compareKeys&&typeof compareKeys==\"function\"?compareKeys:void 0}function getContextLines(contextLines){return typeof contextLines==\"number\"&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT}function normalizeDiffOptions(options={}){return {...getDefaultOptions(),...options,compareKeys:getCompareKeys(options.compareKeys),contextLines:getContextLines(options.contextLines)}}function isEmptyString(lines){return lines.length===1&&lines[0].length===0}function countChanges(diffs){let a=0,b2=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1;break}}),{a,b:b2}}function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return \"\";let aRest=\"\",bRest=\"\";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=\" \".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=\" \".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length,aCountPadding=\" \".repeat(Math.max(0,baCountLengthDiff)),bCountPadding=\" \".repeat(Math.max(0,-baCountLengthDiff));aRest=`${aAnnotationPadding} ${aIndicator} ${aCountPadding}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;}let a=`${aIndicator} ${aAnnotation}${aRest}`,b2=`${bIndicator} ${bAnnotation}${bRest}`;return `${aColor(a)}\n${bColor(b2)}\n\n`}function printDiffLines(diffs,options){return printAnnotation(options,countChanges(diffs))+(options.expand?joinAlignedDiffsExpand(diffs,options):joinAlignedDiffsNoExpand(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1;}}),printDiffLines(diffs,normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;nCommon!==0;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]));};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return \"\";let aType=getType2(a),expectedType=aType,omitDifference=!1;if(aType===\"object\"&&typeof a.asymmetricMatch==\"function\"){if(a.$$typeof!==Symbol.for(\"jest.asymmetricMatcher\")||typeof a.getExpectedType!=\"function\")return null;expectedType=a.getExpectedType(),omitDifference=expectedType===\"string\";}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions),aDiff=`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`,bDiff=`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`;return `${aDiff}\n\n${bDiff}`}if(omitDifference)return null;switch(aType){case\"string\":return diffLinesUnified(a.split(`\n`),b2.split(`\n`),options);case\"boolean\":case\"number\":return comparePrimitive(a,b2,options);case\"map\":return compareObjects(sortMap(a),sortMap(b2),options);case\"set\":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function comparePrimitive(a,b2,options){let aFormat=(0, import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0, import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?\"\":diffLinesUnified(aFormat.split(`\n`),bFormat.split(`\n`),options)}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{let formatOptions=getFormatOptions(FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options);}catch{hasThrown=!0;}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(difference===void 0||difference===noDiffMessage){let formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`);}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return {...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0, import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0, import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions);return diffLinesUnified2(aDisplay.split(`\n`),bDisplay.split(`\n`),aCompare.split(`\n`),bCompare.split(`\n`),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function b(e){return e instanceof Promise}function d(e,t,n){Object.defineProperty(e,t,n);}function p(e,t,n){Object.defineProperty(e,t,{value:n});}var u=Symbol.for(\"tinyspy:spy\"),I=new Set,M=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[];},C=e=>(d(e,u,{value:{reset:()=>M(e[u])}}),e[u]),v=e=>e[u]||C(e);function T(e){m(y(\"function\",e)||y(\"undefined\",e),\"cannot spy on a non-function value\");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if(s===\"ok\")return l;throw l}let o,c=\"ok\";if(r.impl)try{new.target?o=Reflect.construct(r.impl,a,new.target):o=r.impl.apply(this,a),c=\"ok\";}catch(s){throw o=s,c=\"error\",r.results.push([c,s]),s}let x=[c,o];if(b(o)){let s=o.then(l=>x[1]=l).catch(l=>{throw x[0]=\"error\",x[1]=l,l});Object.assign(s,o),o=s;}return r.results.push(x),o};p(t,\"_isMockFunction\",!0),p(t,\"length\",e?e.length:0),p(t,\"name\",e&&e.name||\"spy\");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y(\"undefined\",e),\"spyOn could not find an object to spy upon\"),m(y(\"object\",e)||y(\"function\",e),\"cannot spyOn on a primitive value\");let a=()=>{if(!y(\"object\",t))return [t,\"value\"];if(\"getter\"in t&&\"setter\"in t)throw new Error(\"cannot spy on both getter and setter\");if(\"getter\"in t)return [t.getter,\"get\"];if(\"setter\"in t)return [t.setter,\"set\"];throw new Error(\"specify getter or setter to spy on\")},[r,i]=a(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let l=!1;i===\"value\"&&s&&!s.value&&s.get&&(i=\"get\",l=!0,n=s.get());let f;s?f=s[i]:i!==\"value\"?f=()=>e[r]:f=e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};i!==\"value\"&&delete k.writable,k[i]=w,d(e,r,k);},K=()=>s?d(e,r,s):O(f),A=S[u];return p(A,\"restore\",K),p(A,\"getOriginal\",()=>l?f():f),p(A,\"willCall\",w=>(A.impl=w,S)),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn2){return typeof fn2==\"function\"&&\"_isMockFunction\"in fn2&&fn2._isMockFunction}function spyOn(obj,method,accessType){let objMethod=accessType?{[{get:\"getter\",set:\"setter\"}[accessType]]:method}:method,stub=E(obj,objMethod);return enhanceSpy(stub)}var callOrder=0;function enhanceSpy(spy){let stub=spy,implementation,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map(([callType,value])=>({type:callType===\"error\"?\"throw\":\"return\",value}))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;stub.getMockName=()=>name||\"vi.fn()\",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn2=>(implementation=fn2,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn2=>(onceImplementations.push(fn2),stub);function withImplementation(fn2,cb){let originalImplementation=implementation;implementation=fn2,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1;},result=cb();return result instanceof Promise?result.then(()=>(reset(),stub)):(reset(),stub)}return stub.withImplementation=withImplementation,stub.mockReturnThis=()=>stub.mockImplementation(function(){return this}),stub.mockReturnValue=val=>stub.mockImplementation(()=>val),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce(()=>val),stub.mockResolvedValue=val=>stub.mockImplementation(()=>Promise.resolve(val)),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.resolve(val)),stub.mockRejectedValue=val=>stub.mockImplementation(()=>Promise.reject(val)),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.reject(val)),Object.defineProperty(stub,\"mock\",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},\"spy\"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1);__toESM(require_build2(),1);__toESM(require_loupe(),1);var IS_RECORD_SYMBOL=\"@@__IMMUTABLE_RECORD__@@\",IS_COLLECTION_SYMBOL=\"@@__IMMUTABLE_ITERABLE__@@\";function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:typeof err==\"string\"?`: ${err}`:\"\"}function serializeError(val,seen=new WeakMap){if(!val||typeof val==\"string\")return val;if(typeof val==\"function\")return `Function<${val.name||\"anonymous\"}>`;if(typeof val==\"symbol\")return val.toString();if(typeof val!=\"object\")return val;if(isImmutable(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&val.constructor.prototype===\"AsyncFunction\")return \"Promise\";if(typeof Element<\"u\"&&val instanceof Element)return val.tagName;if(typeof val.asymmetricMatch==\"function\")return `${val.toString()} ${format(val.sample)}`;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){let clone2=new Array(val.length);return seen.set(val,clone2),val.forEach((e,i)=>{try{clone2[i]=serializeError(e,seen);}catch(err){clone2[i]=getUnserializableMessage(err);}}),clone2}else {let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach(key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen);}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err);}}),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\\d+__\\./g,\"\")}function processError(err,diffOptions){if(!err||typeof err!=\"object\")return {message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||err.showDiff===void 0&&err.expected!==void 0&&err.actual!==void 0){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions});}typeof err.expected!=\"string\"&&(err.expected=stringify(err.expected,10)),typeof err.actual!=\"string\"&&(err.actual=stringify(err.actual,10));try{typeof err.message==\"string\"&&(err.message=normalizeErrorMessage(err.message)),typeof err.cause==\"object\"&&typeof err.cause.message==\"string\"&&(err.cause.message=normalizeErrorMessage(err.cause.message));}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return getType(data)===\"Object\"&&typeof data.asymmetricMatch==\"function\"}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1),obj2Type=getType(obj2);return obj1Type===obj2Type&&(obj1Type===\"Object\"||obj1Type===\"Array\")}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?actualReplaced.has(actual)||expectedReplaced.has(expected)?{replacedActual:actual,replacedExpected:expected}:(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach(key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected;}}),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for(\"matchers-object\"),JEST_MATCHERS_OBJECT=Symbol.for(\"$$jest-matchers-object-storybook\"),GLOBAL_EXPECT=Symbol.for(\"expect-global\"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for(\"asymmetric-matchers-object\");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState});}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})});}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers});}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current);}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;function matcherHint(matcherName,received=\"received\",expected=\"expected\",options={}){let{comment=\"\",isDirectExpectCall=!1,isNot=!1,promise=\"\",secondArgument=\"\",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint=\"\",dimString=\"expect\";return !isDirectExpectCall&&received!==\"\"&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=\")\"),promise!==\"\"&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=\"\"),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=\"\"),matcherName.includes(\".\")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=\"\"),expected===\"\"?dimString+=\"()\":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(\", \")+secondArgumentColor(secondArgument)),dimString=\")\"),comment!==\"\"&&(dimString+=` // ${comment}`),dimString!==\"\"&&(hint+=DIM_COLOR(dimString)),hint}let SPACE_SYMBOL=\"\\xB7\",replaceTrailingSpaces=text=>text.replace(/\\s+$/gm,spaces=>SPACE_SYMBOL.repeat(spaces.length));return {EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint,printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return customTesters=customTesters||[],eq(a,b2,[],[],customTesters,strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return !!obj&&typeof obj==\"object\"&&\"asymmetricMatch\"in obj&&isA(\"Function\",obj.asymmetricMatch)}function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!(asymmetricA&&asymmetricB)){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=asymmetricMatch(a,b2);if(asymmetricResult!==void 0)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&obj[key]!==void 0}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return obj!==null&&typeof obj==\"object\"&&\"nodeType\"in obj&&typeof obj.nodeType==\"number\"&&\"nodeName\"in obj&&typeof obj.nodeName==\"string\"&&\"isEqualNode\"in obj&&typeof obj.isEqualNode==\"function\"}var IS_KEYED_SENTINEL=\"@@__IMMUTABLE_KEYED__@@\",IS_SET_SENTINEL=\"@@__IMMUTABLE_SET__@@\",IS_ORDERED_SENTINEL=\"@@__IMMUTABLE_ORDERED__@@\";function isImmutableUnorderedKeyed(maybeKeyed){return !!(maybeKeyed&&maybeKeyed[IS_KEYED_SENTINEL]&&!maybeKeyed[IS_ORDERED_SENTINEL])}function isImmutableUnorderedSet(maybeSet){return !!(maybeSet&&maybeSet[IS_SET_SENTINEL]&&!maybeSet[IS_ORDERED_SENTINEL])}var IteratorSymbol=Symbol.iterator;function hasIterator(object){return !!(object!=null&&object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if(typeof a!=\"object\"||typeof b2!=\"object\"||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return !1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter(t=>t!==iterableEquality),iterableEqualityWithStack];function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}if(a.size!==void 0){if(a.size!==b2.size)return !1;if(isA(\"Set\",a)||isImmutableUnorderedSet(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)equals(aValue,bValue,filteredCustomTesters)===!0&&(has=!0);if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}else if(isA(\"Map\",a)||isImmutableUnorderedKeyed(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedKey=equals(aEntry[0],bEntry[0],filteredCustomTesters),matchedValue=!1;matchedKey===!0&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),matchedValue===!0&&(has=!0);}if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return !1}return bIterator.next().done?(aStack.pop(),bStack.pop(),!0):!1}function hasPropertyInObject(object,key){return !object||typeof object!=\"object\"||object===Object.prototype?!1:Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key)}function isObjectWithKeys(a){return isObject(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter(t=>t!==subsetEquality),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every(key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0);}let result=object2!=null&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result})};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(!(a==null||b2==null||a.constructor===b2.constructor))return !1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer)||!(b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2);}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return !1;for(let i=0;it!==sparseArrayEquality);return equals(a,b2,filteredCustomTesters,!0)&&equals(aKeys,bKeys)}function generateToBeMessage(deepEqualityName,expected=\"#{this}\",actual=\"#{exp}\"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return [\"toStrictEqual\",\"toEqual\"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace \"toBe\" with \"${deepEqualityName}\"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}function pluralize(word,count){return `${count} ${word}${count===1?\"\":\"s\"}`}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse;}$$typeof=Symbol.for(\"jest.asymmetricMatcher\");getMatcherContext(expect4){return {...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for(\"chai/inspect\")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{\\u2026}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample))throw new Error(\"Expected is not a string\");super(sample,inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"string\"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return other!=null}toString(){return \"Anything\"}toAsymmetricMatcher(){return \"Anything\"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return obj?Object.prototype.hasOwnProperty.call(obj,property)?!0:this.hasProperty(this.getPrototype(obj),property):!1}asymmetricMatch(other){if(typeof this.sample!=\"object\")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return `Object${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"object\"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=this.sample.length===0||Array.isArray(other)&&this.sample.every(item=>other.some(another=>equals(item,another,matcherContext.customTesters)));return this.inverse?!result:result}toString(){return `Array${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"array\"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>\"u\")throw new TypeError(\"any() expects to be passed a constructor function. Please pass one or use anything() to match any object.\");super(sample);}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\\s*function\\s*\\*?\\s*([\\w$]+)\\s*\\(/);return matches3?matches3[1]:\"\"}asymmetricMatch(other){return this.sample===String?typeof other==\"string\"||other instanceof String:this.sample===Number?typeof other==\"number\"||other instanceof Number:this.sample===Function?typeof other==\"function\"||other instanceof Function:this.sample===Boolean?typeof other==\"boolean\"||other instanceof Boolean:this.sample===BigInt?typeof other==\"bigint\"||other instanceof BigInt:this.sample===Symbol?typeof other==\"symbol\"||other instanceof Symbol:this.sample===Object?typeof other==\"object\":other instanceof this.sample}toString(){return \"Any\"}getExpectedType(){return this.sample===String?\"string\":this.sample===Number?\"number\":this.sample===Function?\"function\":this.sample===Object?\"object\":this.sample===Boolean?\"boolean\":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return `Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample)&&!isA(\"RegExp\",sample))throw new Error(\"Expected is not a String or a RegExp\");super(new RegExp(sample),inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Matching`}getExpectedType(){return \"string\"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA(\"Number\",sample))throw new Error(\"Expected is not a Number\");if(!isA(\"Number\",precision))throw new Error(\"Precision is not a Number\");super(sample),this.inverse=inverse,this.precision=precision;}asymmetricMatch(other){if(!isA(\"Number\",other))return !1;let result=!1;return other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?result=!0:result=Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return `Number${this.inverse?\"Not\":\"\"}CloseTo`}getExpectedType(){return \"number\"}toAsymmetricMatcher(){return [this.toString(),this.sample,`(${pluralize(\"digit\",this.precision)})`].join(\" \")}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,\"anything\",()=>new Anything),utils.addMethod(chai2.expect,\"any\",expected=>new Any(expected)),utils.addMethod(chai2.expect,\"stringContaining\",expected=>new StringContaining(expected)),utils.addMethod(chai2.expect,\"objectContaining\",expected=>new ObjectContaining(expected)),utils.addMethod(chai2.expect,\"arrayContaining\",expected=>new ArrayContaining(expected)),utils.addMethod(chai2.expect,\"stringMatching\",expected=>new StringMatching(expected)),utils.addMethod(chai2.expect,\"closeTo\",(expected,precision)=>new CloseTo(expected,precision)),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)};};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally(()=>{let index=test.promises.indexOf(promise);index!==-1&&test.promises.splice(index,1);}),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn2){return function(...args){var _a;let test=utils.flag(this,\"vitest-test\");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn2.apply(this,args);if(!test)throw new Error(\"expect.soft() can only be used inside a test\");try{return fn2.apply(this,args)}catch(err){test.result||(test.result={state:\"fail\"}),test.result.state=\"fail\",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err));}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn2){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn2);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper);};Array.isArray(name)?name.forEach(n=>addMethod(n)):addMethod(name);}[\"throw\",\"throws\",\"Throw\"].forEach(m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,_super=>function(...args){let promise=utils.flag(this,\"promise\"),object=utils.flag(this,\"object\"),isNot=utils.flag(this,\"negate\");if(promise===\"rejects\")utils.flag(this,\"object\",()=>{throw object});else if(promise===\"resolves\"&&typeof object!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}_super.apply(this,args);});}),def(\"withTest\",function(test){return utils.flag(this,\"vitest-test\",test),this}),def(\"toEqual\",function(expected){let actual=utils.flag(this,\"object\"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",expected,actual)}),def(\"toStrictEqual\",function(expected){let obj=utils.flag(this,\"object\"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,\"expected #{this} to strictly equal #{exp}\",\"expected #{this} to not strictly equal #{exp}\",expected,obj)}),def(\"toBe\",function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName=\"\";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName=\"toStrictEqual\":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName=\"toEqual\")),this.assert(pass,generateToBeMessage(deepEqualityName),\"expected #{this} not to be #{exp} // Object.is equality\",expected,actual)}),def(\"toMatchObject\",function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),\"expected #{this} to match object #{exp}\",\"expected #{this} to not match object #{exp}\",expected,actual)}),def(\"toMatch\",function(expected){return typeof expected==\"string\"?this.include(expected):this.match(expected)}),def(\"toContain\",function(item){let actual=this._obj;if(typeof Node<\"u\"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof item}`);return this.assert(actual.contains(item),\"expected #{this} to contain element #{exp}\",\"expected #{this} not to contain element #{exp}\",item,actual)}if(typeof DOMTokenList<\"u\"&&actual instanceof DOMTokenList){assertTypes(item,\"class name\",[\"string\"]);let expectedClassList=utils.flag(this,\"negate\")?actual.value.replace(item,\"\").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected \"${actual.value}\" to contain \"${item}\"`,`expected \"${actual.value}\" not to contain \"${item}\"`,expectedClassList,actual.value)}return actual!=null&&typeof actual!=\"string\"&&utils.flag(this,\"object\",Array.from(actual)),this.contain(item)}),def(\"toContainEqual\",function(expected){let obj=utils.flag(this,\"object\"),index=Array.from(obj).findIndex(item=>equals(item,expected,customTesters));this.assert(index!==-1,\"expected #{this} to deep equally contain #{exp}\",\"expected #{this} to not deep equally contain #{exp}\",expected);}),def(\"toBeTruthy\",function(){let obj=utils.flag(this,\"object\");this.assert(!!obj,\"expected #{this} to be truthy\",\"expected #{this} to not be truthy\",obj,!1);}),def(\"toBeFalsy\",function(){let obj=utils.flag(this,\"object\");this.assert(!obj,\"expected #{this} to be falsy\",\"expected #{this} to not be falsy\",obj,!1);}),def(\"toBeGreaterThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)}),def(\"toBeGreaterThanOrEqual\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)}),def(\"toBeLessThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actualString(key).replace(/([.[\\]])/g,\"\\\\$1\")).join(\".\"));let actual=this._obj,[propertyName,expected]=args,getValue=()=>Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),{value,exists}=getValue(),pass=exists&&(args.length===1||equals(expected,value,customTesters)),valueString=args.length===1?\"\":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property \"${propertyName}\"${valueString}`,`expected #{this} to not have property \"${propertyName}\"${valueString}`,expected,exists?value:void 0)}),def(\"toBeCloseTo\",function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)},getSpy=assertion=>(assertIsMock(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return j===1&&k!==11?`${i}st`:j===2&&k!==12?`${i}nd`:j===3&&k!==13?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return actualCall?methodCall+=diff(actualCall,callArg,{omitAnnotationLines:!0}):methodCall+=stringify(callArg).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg),formatReturns=(spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return actualReturn?methodCall+=diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):methodCall+=stringify(callReturn).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg);def([\"toHaveBeenCalledTimes\",\"toBeCalledTimes\"],function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected \"${spyName}\" to be called #{exp} times, but got ${callCount} times`,`expected \"${spyName}\" to not be called #{exp} times`,number,callCount,!1)}),def(\"toHaveBeenCalledOnce\",function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===1,`expected \"${spyName}\" to be called once, but got ${callCount} times`,`expected \"${spyName}\" to not be called once`,1,callCount,!1)}),def([\"toHaveBeenCalled\",\"toBeCalled\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[called,`expected \"${spyName}\" to be called at least once`,`expected \"${spyName}\" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)}),def([\"toHaveBeenCalledWith\",\"toBeCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some(callArg=>equals(callArg,args,[...customTesters,iterableEquality])),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to be called with arguments: #{exp}`,`expected \"${spyName}\" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))}),def([\"toHaveBeenNthCalledWith\",\"nthCalledWith\"],function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} \"${spyName}\" call to have been called with #{exp}`,`expected ${ordinalOf(times)} \"${spyName}\" call to not have been called with #{exp}`,args,nthCall);}),def([\"toHaveBeenLastCalledWith\",\"lastCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last \"${spyName}\" call to have been called with #{exp}`,`expected last \"${spyName}\" call to not have been called with #{exp}`,args,lastCall);}),def([\"toThrow\",\"toThrowError\"],function(expected){if(typeof expected==\"string\"||typeof expected>\"u\"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,\"promise\"),isNot=utils.flag(this,\"negate\"),thrown=null;if(promise===\"rejects\")thrown=obj;else if(promise===\"resolves\"&&typeof obj!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}else {let isThrow=!1;try{obj();}catch(err){isThrow=!0,thrown=err;}if(!isThrow&&!isNot){let message=utils.flag(this,\"message\")||\"expected function to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}if(typeof expected==\"function\"){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if(typeof expected==\"object\"&&\"asymmetricMatch\"in expected&&typeof expected.asymmetricMatch==\"function\"){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),\"expected error to match asymmetric matcher\",\"expected error not to match asymmetric matcher\",matcher,thrown)}throw new Error(`\"toThrow\" expects string, RegExp, function, Error instance or asymmetric matcher, got \"${typeof expected}\"`)}),def([\"toHaveReturned\",\"toReturn\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some(({type:type3})=>type3!==\"throw\");this.assert(calledAndNotThrew,`expected \"${spyName}\" to be successfully called at least once`,`expected \"${spyName}\" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1);}),def([\"toHaveReturnedTimes\",\"toReturnTimes\"],function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce((success,{type:type3})=>type3===\"throw\"?success:++success,0);this.assert(successfulReturns===times,`expected \"${spyName}\" to be successfully called ${times} times`,`expected \"${spyName}\" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1);}),def([\"toHaveReturnedWith\",\"toReturnWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some(({type:type3,value:result})=>type3===\"return\"&&equals(value,result)),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to return with: #{exp} at least once`,`expected \"${spyName}\" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatReturns(spy,msg,value))}),def([\"toHaveLastReturnedWith\",\"lastReturnedWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last \"${spyName}\" call to return #{exp}`,`expected last \"${spyName}\" call to not return #{exp}`,value,lastResult);}),def([\"toHaveNthReturnedWith\",\"nthReturnedWith\"],function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,\"negate\"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&callType===\"throw\"&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} \"${spyName}\" call to return #{exp}`,`expected ${ordinalCall} \"${spyName}\" call to not return #{exp}`,value,callResult);}),def(\"toSatisfy\",function(matcher,message){return this.be.satisfy(matcher,message)}),utils.addProperty(chai2.Assertion.prototype,\"resolves\",function(){let error=new Error(\"resolves\");utils.flag(this,\"promise\",\"resolves\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\");if(typeof obj?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then(value=>(utils.flag(this,\"object\",value),result.call(this,...args)),err=>{let _error=new AssertionError2(`promise rejected \"${utils.inspect(err)}\" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error});return recordAsyncExpect(test,promise)}}});return proxy}),utils.addProperty(chai2.Assertion.prototype,\"rejects\",function(){let error=new Error(\"rejects\");utils.flag(this,\"promise\",\"rejects\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\"),wrapper=typeof obj==\"function\"?obj():obj;if(typeof wrapper?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then(value=>{let _error=new AssertionError2(`promise resolved \"${utils.inspect(value)}\" instead of rejecting`,{showDiff:!0,expected:new Error(\"rejected promise\"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error},err=>(utils.flag(this,\"object\",err),result.call(this,...args)));return recordAsyncExpect(test,promise)}}});return proxy});};function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,\"negate\"),promise=util.flag(assertion,\"promise\")||\"\",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return {state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected;}};function JestExtendPlugin(expect4,matchers){return (c,utils)=>{Object.entries(matchers).forEach(([expectAssertionName,expectAssertion])=>{function expectWrapper(...args){let{state,isNot,obj}=getMatcherState(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&typeof result==\"object\"&&result instanceof Promise)return result.then(({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)});let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}let softWrapper=wrapSoft(utils,expectWrapper);utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse);}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return `${this.inverse?\"not.\":\"\"}${expectAssertionName}`}getExpectedType(){return \"any\"}toAsymmetricMatcher(){return `${this.toString()}<${this.sample.map(String).join(\", \")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0});});}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,\"extend\",(expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects));});};var matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,\"__esModule\",{value:!0,configurable:!0});}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0});}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports);$parcel$export($009ddb00d3ec72b8$exports,\"default\",()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039);var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+\":\"+lineno+\":\"+column+\": \"+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css;}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports);$parcel$export($0865a9fb4cc365fe$exports,\"default\",()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039);var $0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source;}},$b2e137848b48cf4f$exports={};$parcel$export($b2e137848b48cf4f$exports,\"CssTypes\",()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a);var $b2e137848b48cf4f$export$9be5dd6e61d5d73a;(function(CssTypes){CssTypes.stylesheet=\"stylesheet\",CssTypes.rule=\"rule\",CssTypes.declaration=\"declaration\",CssTypes.comment=\"comment\",CssTypes.container=\"container\",CssTypes.charset=\"charset\",CssTypes.document=\"document\",CssTypes.customMedia=\"custom-media\",CssTypes.fontFace=\"font-face\",CssTypes.host=\"host\",CssTypes.import=\"import\",CssTypes.keyframes=\"keyframes\",CssTypes.keyframe=\"keyframe\",CssTypes.layer=\"layer\",CssTypes.media=\"media\",CssTypes.namespace=\"namespace\",CssTypes.page=\"page\",CssTypes.supports=\"supports\";})($b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={}));var $d708735ed1303b43$var$commentre=/\\/\\*[^]*?(?:\\*\\/|$)/g,$d708735ed1303b43$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function updatePosition(str){let lines=str.match(/\\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf(`\n`);column=~i?str.length-i:column+str.length;}function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||\"\"),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||\"\",msg,lineno,column,css);if(options?.silent)errorsList.push(err);else throw err}function stylesheet(){let rulesList=rules();return {type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}function open(){return match(/^{\\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&css.charAt(0)!==\"}\"&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return updatePosition(str),css=css.slice(str.length),m2}function whitespace(){match(/^\\s*/);}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if(css.charAt(0)!==\"/\"||css.charAt(1)!==\"*\")return;let m2=match(/^\\/\\*[^]*?\\*\\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error(\"End of comment missing\")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(\")\",ptr);for(;!found&&closeParentheses!==-1;){let nextParentheses=str.indexOf(\"(\",ptr);nextParentheses!==-1&&nextParenthesesm3.replace(/,/g,\"\\u200C\")),res.split(\",\").map(s=>$d708735ed1303b43$var$trim(s.replace(/\\u200C/g,\",\")))}function declaration(){let pos=position(),propMatch=match(/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\\s*/))return error(\"property missing ':'\");let val=match(/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,\"\"),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,\"\"):\"\"});return match(/^[;\\s]*/),ret}function declarations(){let decls=[];if(!open())return error(\"missing '{'\");comments(decls);let decl;for(;decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error(\"missing '}'\")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\\d+\\.\\d+|\\.\\d+|\\d+)%?|[a-z]+)\\s*/);)vals.push(m2[1]),match(/^,\\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}function atkeyframes(){let pos=position(),m1=match(/^@([-\\w]+)?keyframes\\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\\w]+)\\s*/);if(!m2)return error(\"@keyframes missing name\");let name=m2[1];if(!open())return error(\"@keyframes missing '{'\");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error(\"@keyframes missing '}'\")}function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@supports missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error(\"@supports missing '}'\")}function athost(){let pos=position();if(!match(/^@host\\s*/))return;if(!open())return error(\"@host missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error(\"@host missing '}'\")}function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@container missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error(\"@container missing '}'\")}function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error(\"@layer missing '}'\")}function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@media missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error(\"@media missing '}'\")}function atcustommedia(){let pos=position(),m2=match(/^@custom-media\\s+(--\\S+)\\s*([^{;\\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error(\"@page missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error(\"@page missing '}'\")}function atdocument(){let pos=position(),m2=match(/^@([-\\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error(\"@document missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error(\"@document missing '}'\")}function atfontface(){let pos=position();if(!match(/^@font-face\\s*/))return;if(!open())return error(\"@font-face missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error(\"@font-face missing '}'\")}let atimport=_compileAtrule(\"import\"),atcharset=_compileAtrule(\"charset\"),atnamespace=_compileAtrule(\"namespace\");function _compileAtrule(name){let re=new RegExp(\"^@\"+name+`\\\\s*((?::?[^;'\"]|\"(?:\\\\\\\\\"|[^\"])*?\"|'(?:\\\\\\\\'|[^'])*?')+)(?:;|$)`);return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if(css[0]===\"@\")return atkeyframes()||atmedia()||atcustommedia()||atsupports()||atimport()||atcharset()||atnamespace()||atdocument()||atpage()||athost()||atfontface()||atcontainer()||atlayer()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error(\"selector missing\")}return $d708735ed1303b43$var$addParent(stylesheet())};function $d708735ed1303b43$var$trim(str){return str?str.trim():\"\"}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&typeof obj.type==\"string\",childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach(v2=>{$d708735ed1303b43$var$addParent(v2,childParent);}):value&&typeof value==\"object\"&&$d708735ed1303b43$var$addParent(value,childParent);}return isNode&&Object.defineProperty(obj,\"parent\",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $d708735ed1303b43$export$2e2bcd8739ae039=$d708735ed1303b43$export$98e6a39c04603d36;var $149c1bd638913645$export$98e6a39c04603d36=$d708735ed1303b43$export$2e2bcd8739ae039;var toStr=Object.prototype.toString;function isCallable(fn2){return typeof fn2==\"function\"||toStr.call(fn2)===\"[object Function]\"}function toInteger(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=toInteger(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck(this,SetLike3),_defineProperty(this,\"items\",void 0),this.items=items;}return _createClass(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>\"u\"?Set:SetLike;function getLocalName(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),none:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-description\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole(element,implicitRole){return hasGlobalAriaAttributes(element,implicitRole)}function getRole(element){var explicitRole=getExplicitRole(element);if(explicitRole===null||presentationRoles.indexOf(explicitRole)!==-1){var implicitRole=getImplicitRole(element);if(presentationRoles.indexOf(explicitRole||\"\")===-1||ignorePresentationalRole(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}var presentationRoles=[\"presentation\",\"none\"];function isElement(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&getLocalName(node)===\"caption\"}function isHTMLInputElement(node){return isElement(node)&&getLocalName(node)===\"input\"}function isHTMLOptGroupElement(node){return isElement(node)&&getLocalName(node)===\"optgroup\"}function isHTMLSelectElement(node){return isElement(node)&&getLocalName(node)===\"select\"}function isHTMLTableElement(node){return isElement(node)&&getLocalName(node)===\"table\"}function isHTMLTextAreaElement(node){return isElement(node)&&getLocalName(node)===\"textarea\"}function safeWindow(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement(node){return isElement(node)&&getLocalName(node)===\"fieldset\"}function isHTMLLegendElement(node){return isElement(node)&&getLocalName(node)===\"legend\"}function isHTMLSlotElement(node){return isElement(node)&&getLocalName(node)===\"slot\"}function isSVGElement(node){return isElement(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement(node){return isElement(node)&&getLocalName(node)===\"svg\"}function isSVGTitleElement(node){return isSVGElement(node)&&getLocalName(node)===\"title\"}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles(node,roles3){return isElement(node)?roles3.indexOf(getRole(node))!==-1:!1}function asFlatString(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl(node){return hasAnyConcreteRoles(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole(node,\"range\")}function hasAbstractRole(node,role){if(!isElement(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions(listbox){return isHTMLSelectElement(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,\"[selected]\"):querySelectorAllSubtree(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}function allowsNameFromContent(node){return hasAnyConcreteRoles(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement(node){return !1}function getValueOfTextbox(element){return isHTMLInputElement(element)||isHTMLTextAreaElement(element)?element.value:element.textContent||\"\"}function getTextualContent(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement(element){var localName=getLocalName(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function getLabels(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom(labelsProperty);if(!isLabelableElement(element))return null;var document2=element.ownerDocument;return arrayFrom(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel(label)===element})}function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom(slot.childNodes):assignedNodes}function computeTextAlternative(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default,window2=safeWindow(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement(node)?getSlotContents(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement(node))return null;if(isHTMLFieldSetElement(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return selectedOptions.length===0?isHTMLInputElement(current)?current.value:\"\":arrayFrom(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(allowsNameFromContent(current)||isElement(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement(current)||isDescendantOfNativeHostLanguageTextAlternativeElement()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof2(o){\"@babel/helpers - typeof\";return _typeof2=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol==\"function\"&&o2.constructor===Symbol&&o2!==Symbol.prototype?\"symbol\":typeof o2},_typeof2(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o);}return t}function _objectSpread(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs(root,\"aria-describedby\").map(function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var ariaDescription=root.getAttribute(\"aria-description\");description=ariaDescription===null?\"\":ariaDescription;}if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming(node){return hasAnyConcreteRoles(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"none\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming(root)?\"\":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType=\"\";try{withType=context.utils.printWithType(\"Received\",received,context.utils.printReceived);}catch{}this.message=[context.utils.matcherHint(`${context.isNot?\".not\":\"\"}.${matcherFn.name}`,\"received\",\"\"),\"\",`${context.utils.RECEIVED_COLOR(\"received\")} value must ${expectedString}.`,withType].join(`\n`);}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super(\"be an HTMLElement or an SVGElement\",...args);}},NodeTypeError=class extends GenericTypeError{constructor(...args){super(\"be a Node\",...args);}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkNode(node,...args){checkHasWindow(node,NodeTypeError,...args);let window2=node.ownerDocument.defaultView;if(!(node instanceof window2.Node))throw new NodeTypeError(node,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement)&&!(htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,\"\",context.utils.RECEIVED_COLOR(\"Failing css:\"),context.utils.RECEIVED_COLOR(`${received.css}`)].join(`\n`);}};function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter(d2=>d2.type===\"declaration\").reduce((obj,{property,value})=>Object.assign(obj,{[property]:value}),{})}function display(context,value){return typeof value==\"string\"?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return [`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0, import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0, import_redent.default)(display(context,receivedValue),2))}`].join(`\n`)}function matches(textToMatch,matcher){return matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText);}function normalize(text){return text.replace(/\\s+/g,\" \").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSelectValue({multiple,options}){let selectedOptions=[...options].filter(option=>option.selected);if(multiple)return [...selectedOptions].map(opt=>opt.value);if(selectedOptions.length!==0)return selectedOptions[0].value}function getInputValue(inputElement){switch(inputElement.type){case\"number\":return inputElement.value===\"\"?null:Number(inputElement.value);case\"checkbox\":return inputElement.checked;default:return inputElement.value}}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case\"input\":return getInputValue(element);case\"select\":return getSelectValue(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return (0, import_isEqual.default)(new Set(a),new Set(b2))}function toSentence(array,{wordConnector=\", \",lastWordConnector=\" and \"}={}){return [array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:\"\")}function toBeInTheDOM(element,container){return deprecate(\"toBeInTheDOM\",\"Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.\"),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDOM`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join(`\n`)}}function toBeInTheDocument(element){(element!==null||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=element===null?!1:element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`,errorNotFound=()=>\"element could not be found in the document\";return {pass,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDocument`,\"element\",\"\"),\"\",this.utils.RECEIVED_COLOR(this.isNot?errorFound():errorNotFound())].join(`\n`)}}function toBeEmpty(element){return deprecate(\"toBeEmpty\",\"Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.\"),checkHtmlElement(element,toBeEmpty,this),{pass:element.innerHTML===\"\",message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmpty`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmptyDOMElement`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function isEmptyElement(element){return [...element.childNodes].filter(node=>node.nodeType!==8).length===0}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),element!==null&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainElement`,\"element\",\"element\"),\"\",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?\"contains:\":\"does not contain:\"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join(`\n`)}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement(\"div\");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),typeof htmlText!=\"string\")throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return {pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainHTML`,\"element\",\"\"),\"Expected:\",` ${this.utils.EXPECTED_COLOR(htmlText)}`,\"Received:\",` ${this.utils.printReceived(container.cloneNode(!0))}`].join(`\n`)}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){checkNode(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\\u00a0/g,\" \"),checkingWithEmptyString=textContent!==\"\"&&checkWith===\"\";return {pass:!checkingWithEmptyString&&matches(textContent,checkWith),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveTextContent`,\"element\",\"\"),checkingWithEmptyString?\"Checking with empty string will always match, use .toBeEmptyDOMElement() instead\":`Expected element ${to} have text content`,checkWith,\"Received\",textContent)}}}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=computeAccessibleDescription(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleDescription!==\"\":pass=expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleDescription.name}`,\"element\",\"\"),`Expected element ${to} have accessible description`,expectedAccessibleDescription,\"Received\",actualAccessibleDescription)}}}var ariaInvalidName=\"aria-invalid\",validStates=[\"false\"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?\"not to\":\"to\",method=this.isNot?\".not.toHaveAccessibleErrorMessage\":\".toHaveAccessibleErrorMessage\",errormessageId=htmlElement.getAttribute(\"aria-errormessage\");if(!!errormessageId&&/\\s+/.test(errormessageId))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID\",\"\",\"Received\",`aria-errormessage=\"${errormessageId}\"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element to be marked as invalid with attribute\",`${ariaInvalidName}=\"${String(!0)}\"`,\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`${ariaInvalidName}=\"${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??\"\");return {pass:expectedAccessibleErrorMessage===void 0?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??\"\",\"Received\",error)}}var elementRoleList=buildElementRoleList(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=getExplicitOrImplicitRoles(htmlElement);return {pass:actualRoles.some(el=>el===expectedRole),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveRole.name}`,\"element\",\"\"),`Expected element ${to} have role`,expectedRole,\"Received\",actualRoles.join(\", \"))}}}function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute(\"role\")?htmlElement.getAttribute(\"role\").split(\" \").filter(Boolean):getImplicitAriaRoles(htmlElement)}function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return [...roles3];return []}function buildElementRoleList(elementRolesMap){function makeElementSelector({name,attributes}){return `${name}${attributes.map(({name:attributeName,value,constraints=[]})=>constraints.indexOf(\"undefined\")!==-1?`:not([${attributeName}])`:value?`[${attributeName}=\"${value}\"]`:`[${attributeName}]`).join(\"\")}`}function getSelectorSpecificity({attributes=[]}){return attributes.length}function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleName!==\"\":pass=expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleName.name}`,\"element\",\"\"),`Expected element ${to} have accessible name`,expectedAccessibleName,\"Received\",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return value===void 0?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return value===void 0?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=expectedValue!==void 0,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return {pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?\"not to\":\"to\",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null,matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveAttribute`,\"element\",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)});return getMessage(this,matcher,`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),\"Received\",receivedAttribute)}}}function getExpectedClassNamesAndOptions(params){let lastParam=params.pop(),expectedClassNames,options;return typeof lastParam==\"object\"&&!(lastParam instanceof RegExp)?(expectedClassNames=params,options=lastParam):(expectedClassNames=params.concat(lastParam),options={exact:!1}),{expectedClassNames,options}}function splitClassNames(str){return str?str.split(/\\s+/).filter(s=>s.length>0):[]}function isSubset$1(subset,superset){return subset.every(strOrRegexp=>typeof strOrRegexp==\"string\"?superset.includes(strOrRegexp):superset.some(className=>strOrRegexp.test(className)))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=getExpectedClassNamesAndOptions(params),received=splitClassNames(htmlElement.getAttribute(\"class\")),expected=expectedClassNames.reduce((acc,className)=>acc.concat(typeof className==\"string\"||!className?splitClassNames(className):className),[]),hasRegExp=expected.some(className=>className instanceof RegExp);if(options.exact&&hasRegExp)throw new Error(\"Exact option does not support RegExp expected class names\");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have class`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:{pass:this.isNot?received.length>0:!1,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(\".not.toHaveClass\",\"element\",\"\"),\"Expected the element to have classes\",\"(none)\",\"Received\",received.join(\" \")):[this.utils.matcherHint(\".toHaveClass\",\"element\"),\"At least one expected class must be provided.\"].join(`\n`)}}function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement(\"div\");return Object.keys(css).forEach(property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property];}),styles}function isSubset(styles,computedStyle){return !!Object.keys(styles).length&&Object.entries(styles).every(([prop,value])=>{let isCustomProperty=prop.startsWith(\"--\"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some(name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value)})}function printoutStyles(styles){return Object.keys(styles).sort().map(prop=>`${prop}: ${styles[prop]};`).join(`\n`)}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter(prop=>expected[prop]!==void 0).reduce((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)}),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red(\"+ Received\")}\n`,\"\")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS=typeof css==\"object\"?css:parseCSS(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=getStyleDeclaration(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return {pass:isSubset(expected,received),message:()=>{let matcher=`${this.isNot?\".not\":\"\"}.toHaveStyle`;return [this.utils.matcherHint(matcher,\"element\",\"\"),expectedDiff(this.utils.diff,expected,received)].join(`\n\n`)}}}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveFocus`,\"element\",\"\"),\"\",...this.isNot?[\"Received element is focused:\",` ${this.utils.printReceived(element)}`]:[\"Expected element with focus:\",` ${this.utils.printExpected(element)}`,\"Received element with focus:\",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join(`\n`)}}function getMultiElementValue(elements){let types=(0, import_uniq.default)(elements.map(element=>element.type));if(types.length!==1)throw new Error(\"Multiple form elements with the same name must be of the same type\");switch(types[0]){case\"radio\":{let theChosenOne=elements.find(radio=>radio.checked);return theChosenOne?theChosenOne.value:void 0}case\"checkbox\":return elements.filter(checkbox=>checkbox.checked).map(checkbox=>checkbox.value);default:return elements.map(element=>element.value)}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name=\"${(0, import_css.default)(name)}\"]`)];if(elements.length!==0)switch(elements.length){case 1:return getSingleElementValue(elements[0]);default:return getMultiElementValue(elements)}}function getPureName(name){return /\\[\\]$/.test(name)?name.slice(0,-2):name}function getAllFormValues(container){return Array.from(container.elements).map(element=>element.name).reduce((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)}),{})}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error(\"toHaveFormValues must be called on a form or a fieldset\");let formValues=getAllFormValues(formElement);return {pass:Object.entries(expectedValues).every(([name,expectedValue])=>(0, import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet)),message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=`${this.isNot?\".not\":\"\"}.toHaveFormValues`,commonKeyValues=Object.keys(formValues).filter(key=>expectedValues.hasOwnProperty(key)).reduce((obj,key)=>({...obj,[key]:formValues[key]}),{});return [this.utils.matcherHint(matcher,\"element\",\"\"),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join(`\n\n`)}}}function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return display2!==\"none\"&&visibility!==\"hidden\"&&visibility!==\"collapse\"&&opacity!==\"0\"&&opacity!==0}function isAttributeVisible(element,previousElement){let detailsVisibility;return previousElement?detailsVisibility=element.nodeName===\"DETAILS\"&&previousElement.nodeName!==\"SUMMARY\"?element.hasAttribute(\"open\"):!0:detailsVisibility=element.nodeName===\"DETAILS\"?element.hasAttribute(\"open\"):!0,!element.hasAttribute(\"hidden\")&&detailsVisibility}function isElementVisible(element,previousElement){return isStyleVisible(element)&&isAttributeVisible(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return {pass:isVisible2,message:()=>{let is=isVisible2?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeVisible`,\"element\",\"\"),\"\",`Received element ${is} visible${isInDocument?\"\":\" (element is not in the document)\"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$2=[\"fieldset\",\"input\",\"select\",\"optgroup\",\"option\",\"button\",\"textarea\"];function isFirstLegendChildOfFieldset(element,parent){return getTag(element)===\"legend\"&&getTag(parent)===\"fieldset\"&&element.isSameNode(Array.from(parent.children).find(child=>getTag(child)===\"legend\"))}function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!isFirstLegendChildOfFieldset(element,parent)}function isCustomElement(tag){return tag.includes(\"-\")}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||isCustomElement(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute(\"disabled\")}function isAncestorDisabled(element){let parent=element.parentElement;return !!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return {pass:isDisabled3,message:()=>{let is=isDisabled3?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeDisabled`,\"element\",\"\"),\"\",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return {pass:isEnabled,message:()=>{let is=isEnabled?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEnabled`,\"element\",\"\"),\"\",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$1=[\"select\",\"textarea\"],ARIA_FORM_TAGS=[\"input\",\"select\",\"textarea\"],UNSUPPORTED_INPUT_TYPES=[\"color\",\"hidden\",\"range\",\"submit\",\"image\",\"reset\"],SUPPORTED_ARIA_ROLES=[\"combobox\",\"gridcell\",\"radiogroup\",\"spinbutton\",\"tree\"];function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute(\"required\")}function isRequiredOnSupportedInput(element){return getTag(element)===\"input\"&&element.hasAttribute(\"required\")&&(element.hasAttribute(\"type\")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute(\"type\"))||!element.hasAttribute(\"type\"))}function isElementRequiredByARIA(element){return element.hasAttribute(\"aria-required\")&&element.getAttribute(\"aria-required\")===\"true\"&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute(\"role\")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute(\"role\")))}function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=isRequiredOnFormTagsExceptInput(element)||isRequiredOnSupportedInput(element)||isElementRequiredByARIA(element);return {pass:isRequired,message:()=>{let is=isRequired?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeRequired`,\"element\",\"\"),\"\",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS=[\"form\",\"input\",\"select\",\"textarea\"];function isElementHavingAriaInvalid(element){return element.hasAttribute(\"aria-invalid\")&&element.getAttribute(\"aria-invalid\")!==\"false\"}function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}function isElementInvalid(element){let isHaveAriaInvalid=isElementHavingAriaInvalid(element);return isSupportsValidityMethod(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return {pass:isInvalid,message:()=>{let is=isInvalid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInvalid`,\"element\",\"\"),\"\",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return {pass:isValid,message:()=>{let is=isValid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeValid`,\"element\",\"\"),\"\",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),htmlElement.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(htmlElement.type))throw new Error(\"input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead\");let receivedValue=getSingleElementValue(htmlElement),expectsValue=expectedValue!==void 0,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0, import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveValue`,\"element\",expectedValue);return getMessage(this,matcher,`Expected the element ${to} have value`,expectsValue?expectedTypedValue:\"(any)\",\"Received\",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(![\"select\",\"input\",\"textarea\"].includes(tagName))throw new Error(\".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.\");if(tagName===\"input\"&&[\"radio\",\"checkbox\"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type=\"${htmlElement.type}\"], try with another matcher instead.`);let values=getValues(tagName,htmlElement),expectedValues=getExpectedValues(expectedValue),numberOfMatchesWithValues=expectedValues.filter(expected=>values.some(value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return {pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDisplayValue`,\"element\",\"\"),`Expected element ${this.isNot?\"not \":\"\"}to have display value`,expectedValue,\"Received\",values)}}function getValues(tagName,htmlElement){return tagName===\"select\"?Array.from(htmlElement).filter(option=>option.selected).map(option=>option.textContent):[htmlElement.value]}function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(element.type),isValidAriaElement=()=>roleSupportsChecked(element.getAttribute(\"role\"))&&[\"true\",\"false\"].includes(element.getAttribute(\"aria-checked\"));if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>`only inputs with type=\"checkbox\" or type=\"radio\" or elements with ${supportedRolesSentence()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:element.getAttribute(\"aria-checked\")===\"true\";return {pass:isChecked(),message:()=>{let is=isChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeChecked`,\"element\",\"\"),\"\",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function supportedRolesSentence(){return toSentence(supportedRoles().map(role=>`role=\"${role}\"`),{lastWordConnector:\" or \"})}function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}function roleSupportsChecked(role){return import_aria_query.roles.get(role)?.props[\"aria-checked\"]!==void 0}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&element.type===\"checkbox\",isValidAriaElement=()=>element.getAttribute(\"role\")===\"checkbox\";if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>'only inputs with type=\"checkbox\" or elements with role=\"checkbox\" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed=element.getAttribute(\"aria-checked\")===\"mixed\";return isValidInput()&&element.indeterminate||isAriaMixed};return {pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBePartiallyChecked`,\"element\",\"\"),\"\",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveDescription(htmlElement,checkWith){deprecate(\"toHaveDescription\",\"Please use toHaveAccessibleDescription.\"),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=checkWith!==void 0,descriptionIDs=(htmlElement.getAttribute(\"aria-describedby\")||\"\").split(/\\s+/).filter(Boolean),description=\"\";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map(descriptionID=>document2.getElementById(descriptionID)).filter(Boolean);description=normalize(descriptionEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDescription`,\"element\",\"\"),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate(\"toHaveErrorMessage\",\"Please use toHaveAccessibleErrorMessage.\"),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute(\"aria-invalid\")||htmlElement.getAttribute(\"aria-invalid\")===\"false\"){let not=this.isNot?\".not\":\"\";return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,\"element\",\"\"),\"Expected the element to have invalid state indicated by\",'aria-invalid=\"true\"',\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`aria-invalid=\"${htmlElement.getAttribute(\"aria-invalid\")}\"`:this.utils.printReceived(\"\"))}}let expectsErrorMessage=checkWith!==void 0,errormessageIDs=(htmlElement.getAttribute(\"aria-errormessage\")||\"\").split(/\\s+/).filter(Boolean),errormessage=\"\";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map(errormessageID=>document2.getElementById(errormessageID)).filter(Boolean);errormessage=normalize(errormessageEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveErrorMessage`,\"element\",\"\"),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1);__toESM(require_isEqual(),1);__toESM(require_lib(),1);__toESM(require_source(),1);__toESM(require_isEqualWith(),1);__toESM(require_uniq(),1);__toESM(require_css_escape(),1);function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` \"${message}\" `:\" \"}not to be reached`);};function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen});}function hasAssertions(){let error=new Error(\"expected any number of assertion, but got none\");\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error});}return setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,\"assertions\",assertions),util.addMethod(expect4,\"hasAssertions\",hasAssertions),expect4.extend(matchers_exports),expect4}var expect2=createExpect();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});function clearAllMocks(){mocks.forEach(spy=>spy.mockClear());}function resetAllMocks(){mocks.forEach(spy=>spy.mockReset());}function restoreAllMocks(){mocks.forEach(spy=>spy.mockRestore());}function mocked(item,_options={}){return item}var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3());var toStr2=Object.prototype.toString;function isCallable2(fn2){return typeof fn2==\"function\"||toStr2.call(fn2)===\"[object Function]\"}function toInteger2(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=toInteger2(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable2(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck2(this,SetLike3),_defineProperty3(this,\"items\",void 0),this.items=items;}return _createClass2(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>\"u\"?Set:SetLike2;function getLocalName2(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes2={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes2(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes2[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole2(element,implicitRole){return hasGlobalAriaAttributes2(element,implicitRole)}function getRole2(element){var explicitRole=getExplicitRole2(element);if(explicitRole===null||explicitRole===\"presentation\"){var implicitRole=getImplicitRole2(element);if(explicitRole!==\"presentation\"||ignorePresentationalRole2(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName2(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole2(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole2(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}function isElement2(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&getLocalName2(node)===\"caption\"}function isHTMLInputElement2(node){return isElement2(node)&&getLocalName2(node)===\"input\"}function isHTMLOptGroupElement2(node){return isElement2(node)&&getLocalName2(node)===\"optgroup\"}function isHTMLSelectElement2(node){return isElement2(node)&&getLocalName2(node)===\"select\"}function isHTMLTableElement2(node){return isElement2(node)&&getLocalName2(node)===\"table\"}function isHTMLTextAreaElement2(node){return isElement2(node)&&getLocalName2(node)===\"textarea\"}function safeWindow2(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement2(node){return isElement2(node)&&getLocalName2(node)===\"fieldset\"}function isHTMLLegendElement2(node){return isElement2(node)&&getLocalName2(node)===\"legend\"}function isHTMLSlotElement2(node){return isElement2(node)&&getLocalName2(node)===\"slot\"}function isSVGElement2(node){return isElement2(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement2(node){return isElement2(node)&&getLocalName2(node)===\"svg\"}function isSVGTitleElement2(node){return isSVGElement2(node)&&getLocalName2(node)===\"title\"}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles2(node,roles3){return isElement2(node)?roles3.indexOf(getRole2(node))!==-1:!1}function asFlatString2(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl2(node){return hasAnyConcreteRoles2(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole2(node,\"range\")}function hasAbstractRole2(node,role){if(!isElement2(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles2(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions2(listbox){return isHTMLSelectElement2(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,\"[selected]\"):querySelectorAllSubtree2(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,[\"none\",\"presentation\"])}function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement2(node){return !1}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||isHTMLTextAreaElement2(element)?element.value:element.textContent||\"\"}function getTextualContent2(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement2(element){var localName=getLocalName2(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel2(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function getLabels2(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom2(labelsProperty);if(!isLabelableElement2(element))return null;var document2=element.ownerDocument;return arrayFrom2(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel2(label)===element})}function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom2(slot.childNodes):assignedNodes}function computeTextAlternative2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default2,window2=safeWindow2(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent2(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement2(node)?getSlotContents2(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement2(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent2(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(isHTMLFieldSetElement2(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement2(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles2(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden2(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement2(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs2(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl2(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational2(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return selectedOptions.length===0?isHTMLInputElement2(current)?current.value:\"\":arrayFrom2(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole2(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles2(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(allowsNameFromContent2(current)||isElement2(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement2(current)||isDescendantOfNativeHostLanguageTextAlternativeElement2()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString2(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof4(obj){\"@babel/helpers - typeof\";return _typeof4=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof4(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys2.push.apply(keys2,symbols);}return keys2}function _objectSpread2(target){for(var i=1;i1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs2(root,\"aria-describedby\").map(function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming2(root)?\"\":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,\">\")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")},NodeTypeTextNode=3,printChildren=(children,config3,indentation,depth,refs,printer)=>children.map(child=>{let printedChild=typeof child==\"string\"?printText(child,config3):printer(child,config3,indentation,depth,refs);return printedChild===\"\"&&typeof child==\"object\"&&child!==null&&child.nodeType!==NodeTypeTextNode?\"\":config3.spacingOuter+indentation+printedChild}).join(\"\"),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close},ELEMENT_NODE$1=1,TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\");return nodeType===ELEMENT_NODE$1&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&constructorName===\"Text\"||nodeType===COMMENT_NODE$1&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE&&constructorName===\"DocumentFragment\"};function nodeIsText(node){return node.nodeType===TEXT_NODE$1}function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return {test:val=>{var _val$constructor2;return (val==null||(_val$constructor2=val.constructor)==null?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText(node))return printText(node.data,config3);if(nodeIsComment(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,\"fs\").readFileSync,codeFrameColumns=nodeRequire.call(module,\"@babel/code-frame\").codeFrameColumns,chalk2=nodeRequire.call(module,\"chalk\");}catch{}function getCodeFrame(frame){let locationStart=frame.indexOf(\"(\")+1,locationEnd=frame.indexOf(\")\"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(\":\"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents=\"\";try{rawFileContents=readFileSync(filename,\"utf-8\");}catch{return \"\"}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+`\n`+codeFrame+`\n`}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return \"\";let firstClientCodeFrame=new Error().stack.split(`\n`).slice(1).find(frame=>!frame.includes(\"node_modules/\"));return getCodeFrame(firstClientCodeFrame)}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<\"u\"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,\"clock\"):!1}function getDocument(){if(typeof window>\"u\")throw new Error(\"Could not find default container\");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&node.ownerDocument.defaultView===null?new Error(\"It looks like the window object is not available for the provided node.\"):node.then instanceof Function?new Error(\"It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?\"):Array.isArray(node)?new Error(\"It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?\"):typeof node.debug==\"function\"&&typeof node.logTestingPlaygroundURL==\"function\"?new Error(\"It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?\"):new Error(\"The given node is not an Element, the node type is: \"+typeof node+\".\")}function checkContainerType(container){if(!container||typeof container.querySelector!=\"function\"||typeof container.querySelectorAll!=\"function\")throw new TypeError(\"Expected container to be an Element, a Document or a DocumentFragment but got \"+getTypeName(container)+\".\");function getTypeName(object){return typeof object==\"object\"?object===null?\"null\":object.constructor.name:typeof object}}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse((_process=process)==null||(_process=_process.env)==null?void 0:_process.COLORS);}catch{}return typeof colors==\"boolean\"?colors:typeof process<\"u\"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(options===void 0&&(options={}),dom||(dom=getDocument().body),typeof maxLength!=\"number\"&&(maxLength=typeof process<\"u\"&&process.env.DEBUG_PRINT_LIMIT||7e3),maxLength===0)return \"\";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if(domTypeName===\"object\"?domTypeName=dom.constructor.name:dom={},!(\"outerHTML\"in dom))throw new TypeError(\"Expected an element or document but got \"+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return maxLength!==void 0&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+\"...\":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+`\n\n`+userCodeFrame:prettyDOM(...arguments));},config2={testIdAttribute:\"data-testid\",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:\"script, style\",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,\"Ignored nodes: comments, \"+config2.defaultIgnore+`\n`+prettifiedDOM].filter(Boolean).join(`\n\n`));return error.name=\"TestingLibraryElementError\",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1;}}function configure(newConfig){typeof newConfig==\"function\"&&(newConfig=newConfig(config2)),config2={...config2,...newConfig};}function getConfig(){return config2}var labelledNodeNames=[\"button\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\",\"input\"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?\"\":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map(childNode=>getTextContent(childNode)).join(\"\")}function getLabelContent(element){let textContent;return element.tagName.toLowerCase()===\"label\"?textContent=getTextContent(element):textContent=element.value||element.textContent,textContent}function getRealLabels(element){if(element.labels!==void 0){var _labels;return (_labels=element.labels)!=null?_labels:[]}if(!isLabelable(element))return [];let labels=element.ownerDocument.querySelectorAll(\"label\");return Array.from(labels).filter(label=>label.control===element)}function isLabelable(element){return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||element.tagName===\"INPUT\"&&element.getAttribute(\"type\")!==\"hidden\"}function getLabels3(container,element,_temp){let{selector=\"*\"}=_temp===void 0?{}:_temp,ariaLabelledBy=element.getAttribute(\"aria-labelledby\"),labelsId=ariaLabelledBy?ariaLabelledBy.split(\" \"):[];return labelsId.length?labelsId.map(labelId=>{let labellingElement=container.querySelector('[id=\"'+labelId+'\"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:\"\",formControl:null}}):Array.from(getRealLabels(element)).map(label=>{let textToMatch=getLabelContent(label),labelledFormControl=Array.from(label.querySelectorAll(\"button, input, meter, output, progress, select, textarea\")).filter(formControlElement=>formControlElement.matches(selector))[0];return {content:textToMatch,formControl:labelledFormControl}})}function assertNotNullOrUndefined(matcher){if(matcher==null)throw new Error(\"It looks like \"+matcher+\" was passed instead of a matcher. Did you do something like getByText(\"+matcher+\")?\")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return typeof matcher==\"string\"||typeof matcher==\"number\"?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):typeof matcher==\"function\"?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=_temp===void 0?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\\s+/g,\" \"):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<\"u\"||typeof collapseWhitespace<\"u\")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use \"getDefaultNormalizer({trim, collapseWhitespace})\" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&matcher.lastIndex!==0&&(console.warn(\"To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.\"),matcher.lastIndex=0),match}function getNodeText(node){return node.matches(\"input[type=submit], input[type=button], input[type=reset]\")?node.value:Array.from(node.childNodes).filter(child=>child.nodeType===TEXT_NODE&&!!child.textContent).map(c=>c.textContent).join(\"\")}var elementRoleList2=buildElementRoleList2(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return element.hidden===!0||element.getAttribute(\"aria-hidden\")===\"true\"||element.ownerDocument.defaultView.getComputedStyle(element).display===\"none\"}function isInaccessible(element,options){options===void 0&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if(element.ownerDocument.defaultView.getComputedStyle(element).visibility===\"hidden\")return !0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return !0;currentElement=currentElement.parentElement;}return !1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return [...roles3];return []}function buildElementRoleList2(elementRolesMap){function makeElementSelector(_ref){let{name,attributes}=_ref;return \"\"+name+attributes.map(_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return constraints.indexOf(\"undefined\")!==-1?\":not([\"+attributeName+\"])\":value?\"[\"+attributeName+'=\"'+value+'\"]':\"[\"+attributeName+\"]\"}).join(\"\")}function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function getRoles(container,_temp){let{hidden=!1}=_temp===void 0?{}:_temp;function flattenDOM(node){return [node,...Array.from(node.children).reduce((acc,child)=>[...acc,...flattenDOM(child)],[])]}return flattenDOM(container).filter(element=>hidden===!1?isInaccessible(element)===!1:!0).reduce((acc,node)=>{let roles3=[];return node.hasAttribute(\"role\")?roles3=node.getAttribute(\"role\").split(\" \").slice(0,1):roles3=getImplicitAriaRoles2(node),roles3.reduce((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]},acc)},{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter(_ref7=>{let[role]=_ref7;return role!==\"generic\"}).map(_ref8=>{let[role,elements]=_ref8,delimiterBar=\"-\".repeat(50),elementsString=elements.map(el=>{let nameString='Name \"'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`,domString=prettyDOM(el.cloneNode(!1));if(includeDescription){let descriptionString='Description \"'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`;return \"\"+nameString+descriptionString+domString}return \"\"+nameString+domString}).join(`\n\n`);return role+`:\n\n`+elementsString+`\n\n`+delimiterBar}).join(`\n`)}var logRoles=function(dom,_temp2){let{hidden=!1}=_temp2===void 0?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function computeAriaSelected(element){return element.tagName===\"OPTION\"?element.selected:checkBooleanAttribute(element,\"aria-selected\")}function computeAriaBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"}function computeAriaChecked(element){if(!(\"indeterminate\"in element&&element.indeterminate))return \"checked\"in element?element.checked:checkBooleanAttribute(element,\"aria-checked\")}function computeAriaPressed(element){return checkBooleanAttribute(element,\"aria-pressed\")}function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return (_ref9=(_checkBooleanAttribut=checkBooleanAttribute(element,\"aria-current\"))!=null?_checkBooleanAttribut:element.getAttribute(\"aria-current\"))!=null?_ref9:!1}function computeAriaExpanded(element){return checkBooleanAttribute(element,\"aria-expanded\")}function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);if(attributeValue===\"true\")return !0;if(attributeValue===\"false\")return !1}function computeHeadingLevel(element){let implicitHeadingLevels={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return element.getAttribute(\"aria-level\")&&Number(element.getAttribute(\"aria-level\"))||implicitHeadingLevels[element.tagName]}function computeAriaValueNow(element){let valueNow=element.getAttribute(\"aria-valuenow\");return valueNow===null?void 0:+valueNow}function computeAriaValueMax(element){let valueMax=element.getAttribute(\"aria-valuemax\");return valueMax===null?void 0:+valueMax}function computeAriaValueMin(element){let valueMin=element.getAttribute(\"aria-valuemin\");return valueMin===null?void 0:+valueMin}function computeAriaValueText(element){let valueText=element.getAttribute(\"aria-valuetext\");return valueText===null?void 0:valueText}var normalize2=getDefaultNormalizer();function escapeRegExp(string2){return string2.replace(/[.*+\\-?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function getRegExpMatcher(string2){return new RegExp(escapeRegExp(string2.toLowerCase()),\"i\")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning=\"\",queryOptions={},queryArgs=[[\"Role\",\"TestId\"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),queryName===\"Role\"&&isInaccessible(element)&&(queryOptions.hidden=!0,warning=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n `),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+\"By\"+queryName;return {queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text=typeof text==\"string\"?\"'\"+text+\"'\":text,options=options?\", { \"+Object.entries(options).map(_ref2=>{let[k,v2]=_ref2;return k+\": \"+v2}).join(\", \")+\" }\":\"\",queryMethod+\"(\"+text+options+\")\"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(variant===void 0&&(variant=\"get\"),element.matches(getConfig().defaultIgnore))return;let role=(_element$getAttribute=element.getAttribute(\"role\"))!=null?_element$getAttribute:(_getImplicitAriaRoles=getImplicitAriaRoles2(element))==null?void 0:_getImplicitAriaRoles[0];if(role!==\"generic\"&&canSuggest(\"Role\",method,role))return makeSuggestion(\"Role\",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map(label=>label.content).join(\" \");if(canSuggest(\"LabelText\",method,labelText))return makeSuggestion(\"LabelText\",element,labelText,{variant});let placeholderText=element.getAttribute(\"placeholder\");if(canSuggest(\"PlaceholderText\",method,placeholderText))return makeSuggestion(\"PlaceholderText\",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest(\"Text\",method,textContent))return makeSuggestion(\"Text\",element,textContent,{variant});if(canSuggest(\"DisplayValue\",method,element.value))return makeSuggestion(\"DisplayValue\",element,normalize2(element.value),{variant});let alt=element.getAttribute(\"alt\");if(canSuggest(\"AltText\",method,alt))return makeSuggestion(\"AltText\",element,alt,{variant});let title=element.getAttribute(\"title\");if(canSuggest(\"Title\",method,title))return makeSuggestion(\"Title\",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);if(canSuggest(\"TestId\",method,testId))return makeSuggestion(\"TestId\",element,testId,{variant})}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message);}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,\"message\",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if(typeof callback!=\"function\")throw new TypeError(\"Received `callback` arg must be a function\");return new Promise(async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus=\"idle\",overallTimeoutTimer=setTimeout(handleTimeout,timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error);return}if(await advanceTimersWrapper(async()=>{jest.advanceTimersByTime(interval);}),finished)break;checkCallback();}}else {try{checkContainerType(container);}catch(e){reject(e);return}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback();}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result);}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}else return checkCallback()}function checkCallback(){if(promiseStatus!==\"pending\")try{let result=runWithExpensiveErrorDiagnosticsDisabled(callback);typeof result?.then==\"function\"?(promiseStatus=\"pending\",result.then(resolvedValue=>{promiseStatus=\"resolved\",onDone(null,resolvedValue);},rejectedValue=>{promiseStatus=\"rejected\",lastError=rejectedValue;})):onDone(null,result);}catch(error){lastError=error;}}function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&error.name===\"TestingLibraryElementError\"&©StackTrace(error,stackTraceError)):(error=new Error(\"Timed out in waitFor.\"),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null);}})}function waitForWrapper(callback,options){let stackTraceError=new Error(\"STACK_TRACE_MESSAGE\");return getConfig().asyncWrapper(()=>waitFor(callback,{stackTraceError,...options}))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+\"\\n\\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[\"+attribute+\"]\")).filter(node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError(\"Found multiple elements by [\"+attribute+\"=\"+text+\"]\",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map(element=>getElementError(null,element).message).join(`\n\n`);throw getMultipleElementsFoundError(getMultipleError2(container,...args)+`\n\nHere are the matching elements:\n\n`+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError(`A better query is available, try this:\n`+suggestion.toString()+`\n`,container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return (container,text,options,waitForOptions)=>waitForWrapper(()=>getter(container,text,options),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map(element=>{var _getSuggestedQuery;return (_getSuggestedQuery=getSuggestedQuery(element,variant))==null?void 0:_getSuggestedQuery.toString()}))];if(uniqueSuggestionMessages.length===1&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,\"query\"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"get\"),getAllWithSuggestions=wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace(\"query\",\"get\"),\"getAll\"),findAllBy=makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,\"findAll\")),findBy=makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"find\"));return [queryBy,getAllWithSuggestions,getByWithSuggestions,findAllBy,findBy]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});function queryAllLabels(container){return Array.from(container.querySelectorAll(\"label,input\")).map(node=>({node,textToMatch:getLabelContent(node)})).filter(_ref=>{let{textToMatch}=_ref;return textToMatch!==null})}var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return queryAllLabels(container).filter(_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)}).map(_ref3=>{let{node}=_ref3;return node})},queryAllByLabelText=function(container,text,_temp2){let{selector=\"*\",exact=!0,collapseWhitespace,trim,normalizer}=_temp2===void 0?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll(\"*\")).filter(element=>getRealLabels(element).length||element.hasAttribute(\"aria-labelledby\")).reduce((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter(label=>!!label.formControl).forEach(label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl);});let labelsValue=labelList.filter(label=>!!label.content).map(label=>label.content);return matcher(labelsValue.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);}),labelledElements},[]).concat(queryAllByAttribute(\"aria-label\",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter(element=>element.matches(selector))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map(label=>getTagNameOfElementAssociatedWithLabelViaFor(container,label)).filter(tagName=>!!tagName);throw tagNames.length?getConfig().getElementError(tagNames.map(tagName=>\"Found a label with the text of: \"+text+\", however the element associated with this label (<\"+tagName+\" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <\"+tagName+\" />, you can use aria-label or aria-labelledby instead.\").join(`\n\n`),container):getConfig().getElementError(\"Found a label with the text of: \"+text+`, however no form control was found associated to that label. Make sure you're using the \"for\" attribute or \"aria-labelledby\" attribute correctly.`,container)}else throw getConfig().getElementError(\"Unable to find a label with the text of: \"+text,container)}return els};function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute(\"for\");if(!htmlFor)return null;let element=container.querySelector('[id=\"'+htmlFor+'\"]');return element?element.tagName.toLowerCase():null}var getMultipleError$7=(c,text)=>\"Found multiple elements with the text of: \"+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,\"query\"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"findAll\")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"find\")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"getAll\"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"get\"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,\"queryAll\"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(\"placeholder\",...args)},getMultipleError$6=(c,text)=>\"Found multiple elements with the placeholder text of: \"+text,getMissingError$6=(c,text)=>\"Unable to find an element with the placeholder text of: \"+text,queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,\"queryAll\"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,getMultipleError$6,getMissingError$6),queryAllByText=function(container,text,_temp){let{selector=\"*\",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return typeof container.matches==\"function\"&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter(node=>!ignore||!node.matches(ignore)).filter(node=>matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$5=(c,text)=>\"Found multiple elements with the text: \"+text,getMissingError$5=function(c,text,options){options===void 0&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString()),isNormalizedDifferent=normalizedText!==text.toString(),isCustomSelector=(selector??\"*\")!==\"*\";return \"Unable to find an element with the text: \"+(isNormalizedDifferent?normalizedText+\" (normalized from '\"+text+\"')\":text)+(isCustomSelector?\", which matches selector '\"+selector+\"'\":\"\")+\". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\"},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,\"queryAll\"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,getMultipleError$5,getMissingError$5),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"input,textarea,select\")).filter(node=>node.tagName===\"SELECT\"?Array.from(node.options).filter(option=>option.selected).some(optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer)):matcher(node.value,node,value,matchNormalizer))},getMultipleError$4=(c,value)=>\"Found multiple elements with the display value: \"+value+\".\",getMissingError$4=(c,value)=>\"Unable to find an element with the display value: \"+value+\".\",queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,\"queryAll\"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,getMultipleError$4,getMissingError$4),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return options===void 0&&(options={}),checkContainerType(container),queryAllByAttribute(\"alt\",container,alt,options).filter(node=>VALID_TAG_REGEXP.test(node.tagName))},getMultipleError$3=(c,alt)=>\"Found multiple elements with the alt text: \"+alt,getMissingError$3=(c,alt)=>\"Unable to find an element with the alt text: \"+alt,queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,\"queryAll\"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,getMultipleError$3,getMissingError$3),isSvgTitle=node=>{var _node$parentElement;return node.tagName.toLowerCase()===\"title\"&&((_node$parentElement=node.parentElement)==null?void 0:_node$parentElement.tagName.toLowerCase())===\"svg\"},queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[title], svg > title\")).filter(node=>matcher(node.getAttribute(\"title\"),node,text,matchNormalizer)||isSvgTitle(node)&&matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$2=(c,title)=>\"Found multiple elements with the title: \"+title+\".\",getMissingError$2=(c,title)=>\"Unable to find an element with the title: \"+title+\".\",queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,\"queryAll\"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,getMultipleError$2,getMissingError$2),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=_temp===void 0?{}:_temp;if(checkContainerType(container),selected!==void 0){var _allRoles$get;if(((_allRoles$get=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get.props[\"aria-selected\"])===void 0)throw new Error('\"aria-selected\" is not supported on role \"'+role+'\".')}if(busy!==void 0){var _allRoles$get2;if(((_allRoles$get2=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get2.props[\"aria-busy\"])===void 0)throw new Error('\"aria-busy\" is not supported on role \"'+role+'\".')}if(checked!==void 0){var _allRoles$get3;if(((_allRoles$get3=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get3.props[\"aria-checked\"])===void 0)throw new Error('\"aria-checked\" is not supported on role \"'+role+'\".')}if(pressed!==void 0){var _allRoles$get4;if(((_allRoles$get4=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get4.props[\"aria-pressed\"])===void 0)throw new Error('\"aria-pressed\" is not supported on role \"'+role+'\".')}if(current!==void 0){var _allRoles$get5;if(((_allRoles$get5=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get5.props[\"aria-current\"])===void 0)throw new Error('\"aria-current\" is not supported on role \"'+role+'\".')}if(level!==void 0&&role!==\"heading\")throw new Error('Role \"'+role+'\" cannot have \"level\" property.');if(valueNow!==void 0){var _allRoles$get6;if(((_allRoles$get6=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get6.props[\"aria-valuenow\"])===void 0)throw new Error('\"aria-valuenow\" is not supported on role \"'+role+'\".')}if(valueMax!==void 0){var _allRoles$get7;if(((_allRoles$get7=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get7.props[\"aria-valuemax\"])===void 0)throw new Error('\"aria-valuemax\" is not supported on role \"'+role+'\".')}if(valueMin!==void 0){var _allRoles$get8;if(((_allRoles$get8=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get8.props[\"aria-valuemin\"])===void 0)throw new Error('\"aria-valuemin\" is not supported on role \"'+role+'\".')}if(valueText!==void 0){var _allRoles$get9;if(((_allRoles$get9=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get9.props[\"aria-valuetext\"])===void 0)throw new Error('\"aria-valuetext\" is not supported on role \"'+role+'\".')}if(expanded!==void 0){var _allRoles$get10;if(((_allRoles$get10=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get10.props[\"aria-expanded\"])===void 0)throw new Error('\"aria-expanded\" is not supported on role \"'+role+'\".')}let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(makeRoleSelector(role))).filter(node=>{if(node.hasAttribute(\"role\")){let roleValue=node.getAttribute(\"role\");if(queryFallbacks)return roleValue.split(\" \").filter(Boolean).some(roleAttributeToken=>roleAttributeToken===role);let[firstRoleAttributeToken]=roleValue.split(\" \");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some(implicitRole=>implicitRole===role)}).filter(element=>{if(selected!==void 0)return selected===computeAriaSelected(element);if(busy!==void 0)return busy===computeAriaBusy(element);if(checked!==void 0)return checked===computeAriaChecked(element);if(pressed!==void 0)return pressed===computeAriaPressed(element);if(current!==void 0)return current===computeAriaCurrent(element);if(expanded!==void 0)return expanded===computeAriaExpanded(element);if(level!==void 0)return level===computeHeadingLevel(element);if(valueNow!==void 0||valueMax!==void 0||valueMin!==void 0||valueText!==void 0){let valueMatches=!0;if(valueNow!==void 0&&valueMatches&&(valueMatches=valueNow===computeAriaValueNow(element)),valueMax!==void 0&&valueMatches&&(valueMatches=valueMax===computeAriaValueMax(element)),valueMin!==void 0&&valueMatches&&(valueMatches=valueMin===computeAriaValueMin(element)),valueText!==void 0){var _computeAriaValueText;valueMatches&&(valueMatches=matches2((_computeAriaValueText=computeAriaValueText(element))!=null?_computeAriaValueText:null,element,valueText,text=>text));}return valueMatches}return !0}).filter(element=>name===void 0?!0:matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,text=>text)).filter(element=>description===void 0?!0:matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,text=>text)).filter(element=>hidden===!1?isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})===!1:!0)};function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~=\"'+role+'\"]',roleRelations=(_roleElements$get=import_aria_query3.roleElements.get(role))!=null?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map(_ref=>{let{name}=_ref;return name}));return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(\",\")}var getNameHint=name=>{let nameHint=\"\";return name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\",nameHint},getMultipleError$1=function(c,role,_temp2){let{name}=_temp2===void 0?{}:_temp2;return 'Found multiple elements with the role \"'+role+'\"'+getNameHint(name)},getMissingError$1=function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=_temp3===void 0?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return 'Unable to find role=\"'+role+'\"'+getNameHint(name);let roles3=\"\";Array.from(container.children).forEach(childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:description!==void 0});});let roleMessage;roles3.length===0?hidden===!1?roleMessage=\"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\":roleMessage=\"There are no available roles.\":roleMessage=(`\nHere are the `+(hidden===!1?\"accessible\":\"available\")+` roles:\n\n `+roles3.replace(/\\n/g,`\n `).replace(/\\n\\s\\s\\n/g,`\n\n`)+`\n`).trim();let nameHint=\"\";name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\";let descriptionHint=\"\";return description===void 0?descriptionHint=\"\":typeof description==\"string\"?descriptionHint=' and description \"'+description+'\"':descriptionHint=\" and description `\"+description+\"`\",(`\nUnable to find an `+(hidden===!1?\"accessible \":\"\")+'element with the role \"'+role+'\"'+nameHint+descriptionHint+`\n\n`+roleMessage).trim()},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,\"queryAll\"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},getMultipleError=(c,id)=>\"Found multiple elements by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',getMissingError=(c,id)=>\"Unable to find an element by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,\"queryAll\"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,getMultipleError,getMissingError),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return queries$1===void 0&&(queries$1=queries),initialValue2===void 0&&(initialValue2={}),Object.keys(queries$1).reduce((helpers,key)=>{let fn2=queries$1[key];return helpers[key]=fn2.bind(null,element),helpers},initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error(\"The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.\")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error(\"Timed out in waitForElementToBeRemoved.\");if(typeof callback!=\"function\"){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map(element=>{let parent=element.parentElement;if(parent===null)return ()=>null;for(;parent.parentElement;)parent=parent.parentElement;return ()=>parent.contains(element)?element:null});callback=()=>getRemainingElements.map(c=>c()).filter(Boolean);}return initialCheck(callback()),waitForWrapper(()=>{let result;try{result=callback();}catch(error){if(error.name===\"TestingLibraryElementError\")return;throw error}if(!isRemoved(result))throw timeoutError},options)}var eventMap={copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:\"WheelEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:\"PopStateEvent\",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:\"dblClick\"};function fireEvent(element,event){return getConfig().eventWrapper(()=>{if(!event)throw new Error(\"Unable to fire an event - please provide an event object.\");if(!element)throw new Error('Unable to fire a \"'+event.type+'\" event - please provide a DOM element.');return element.dispatchEvent(event)})}function createEvent(eventName,node,init,_temp){let{EventType=\"Event\",defaultInit={}}=_temp===void 0?{}:_temp;if(!node)throw new Error('Unable to fire a \"'+eventName+'\" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;value!==void 0&&setNativeValue(node,value),files!==void 0&&Object.defineProperty(node,\"files\",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event,event;if(typeof EventConstructor==\"function\")event=new EventConstructor(eventName,eventInit);else {event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach(eventKey=>{event[eventKey]=otherInit[eventKey];});}return [\"dataTransfer\",\"clipboardData\"].forEach(dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];typeof dataTransferValue==\"object\"&&(typeof window2.DataTransfer==\"function\"?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}));}),event}Object.keys(eventMap).forEach(key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init));});function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,\"value\")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,\"value\")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else if(valueSetter)valueSetter.call(element,value);else throw new Error(\"The given element does not have a value setter\")}Object.keys(eventAliasMap).forEach(aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)};});function unindent(string2){return string2.replace(/[ \\t]*[\\n][ \\t]*/g,`\n`)}function encode(value){return import_lz_string.default.compressToEncodedURIComponent(unindent(value))}function getPlaygroundUrl(markup){return \"https://testing-playground.com/#markup=\"+encode(markup)}var debug=(element,maxLength,options)=>Array.isArray(element)?element.forEach(el=>logDOM(el,maxLength,options)):logDOM(element,maxLength,options),logTestingPlaygroundURL=function(element){if(element===void 0&&(element=getDocument().body),!element||!(\"innerHTML\"in element)){console.log(\"The element you're providing isn't a valid DOM element.\");return}if(!element.innerHTML){console.log(\"The provided element doesn't have any children.\");return}let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log(`Open this URL in your browser\n\n`+playgroundUrl),playgroundUrl},initialValue={debug,logTestingPlaygroundURL},screen=typeof document<\"u\"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce((helpers,key)=>(helpers[key]=()=>{throw new TypeError(\"For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error\")},helpers),initialValue);function isElementType(element,tag,props){return element.namespaceURI&&element.namespaceURI!==\"http://www.w3.org/1999/xhtml\"||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase()))?!1:props?Object.entries(props).every(([k,v2])=>element[k]===v2):!0}var clickableInputTypes;(function(clickableInputTypes2){clickableInputTypes2.button=\"button\",clickableInputTypes2.color=\"color\",clickableInputTypes2.file=\"file\",clickableInputTypes2.image=\"image\",clickableInputTypes2.reset=\"reset\",clickableInputTypes2.submit=\"submit\",clickableInputTypes2.checkbox=\"checkbox\",clickableInputTypes2.radio=\"radio\";})(clickableInputTypes||(clickableInputTypes={}));function isClickableInput(element){return isElementType(element,\"button\")||isElementType(element,\"input\")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(isDocument(node)&&node.defaultView)return node.defaultView;if(!((_node_ownerDocument=node.ownerDocument)===null||_node_ownerDocument===void 0)&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${describe(node)}`)}function isDocument(node){return node.nodeType===9}function describe(val){return typeof val==\"function\"?`function ${val.name}`:val===null?\"null\":String(val)}function readBlobText(blob,FileReader){return new Promise((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result));},fr.readAsText(blob);})}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))!==null&&_this_items_find!==void 0?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text=\"\";return match?.getAsString(t=>{text=t;}),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item);}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex);}else this.items.clear();}get types(){let t=[];return this.files.length&&t.push(\"Files\"),this.items.forEach(i=>t.push(i.type)),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,\"dropEffect\",\"none\"),_define_property(this,\"effectAllowed\",\"uninitialized\"),_define_property(this,\"items\",new DataTransferItemListStub),_define_property(this,\"files\",createFileList(window2,[]));}}}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>\"u\"?createDataTransferStub(window2):new window2.DataTransfer;return Object.defineProperty(dt,\"files\",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if(item.kind===\"file\")return item.getAsFile();let data=\"\";return item.getAsString(s=>{data=s;}),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map(b2=>[typeof b2==\"string\"?\"text/plain\":b2.type,Promise.resolve(b2)]));return typeof window2.ClipboardItem<\"u\"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,\"data\",void 0),this.data=d2;}}(dataMap)}var ClipboardStubControl=Symbol(\"Manage ClipboardSub\");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text=\"\";for(let item of this.items){let type3=item.types.includes(\"text/plain\")?\"text/plain\":item.types.find(t=>t.startsWith(\"text/\"));type3&&(text+=await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));}return text}async write(data){this.items=data;}async writeText(text){this.items=[createClipboardItem(window2,text)];}constructor(...args){super(...args),_define_property2(this,\"items\",[]);}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return !!clipboard?.[ClipboardStubControl]}function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,\"clipboard\"),stub,control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control);},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,\"clipboard\",realClipboard):Object.defineProperty(window2.navigator,\"clipboard\",{value:void 0,configurable:!0});}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,\"clipboard\",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub();}function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub();}async function readDataTransferFromClipboard(document2){let window2=document2.defaultView,clipboard=window2?.navigator.clipboard,items=clipboard&&await clipboard.read();if(!items)throw new Error(\"The Clipboard API is unavailable.\");let dt=createDataTransfer(window2);for(let item of items)for(let type3 of item.types)dt.setData(type3,await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));return dt}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0,()=>!1)))throw new Error(\"The Clipboard API is unavailable.\")}var g=globalThis;typeof g.afterEach==\"function\"&&g.afterEach(()=>resetClipboardStubOnView(globalThis.window));typeof g.afterAll==\"function\"&&g.afterAll(()=>detachClipboardStubFromView(globalThis.window));function isContentEditable(element){return element.hasAttribute(\"contenteditable\")&&(element.getAttribute(\"contenteditable\")==\"true\"||element.getAttribute(\"contenteditable\")==\"\")}function getContentEditable(node){let element=getElement(node);return element&&(element.closest('[contenteditable=\"\"]')||element.closest('[contenteditable=\"true\"]'))}function getElement(node){return node.nodeType===1?node:node.parentElement}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}var editableInputTypes;(function(editableInputTypes2){editableInputTypes2.text=\"text\",editableInputTypes2.date=\"date\",editableInputTypes2[\"datetime-local\"]=\"datetime-local\",editableInputTypes2.email=\"email\",editableInputTypes2.month=\"month\",editableInputTypes2.number=\"number\",editableInputTypes2.password=\"password\",editableInputTypes2.search=\"search\",editableInputTypes2.tel=\"tel\",editableInputTypes2.time=\"time\",editableInputTypes2.url=\"url\",editableInputTypes2.week=\"week\";})(editableInputTypes||(editableInputTypes={}));function isEditableInputOrTextArea(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in editableInputTypes}var maxLengthSupportedTypes;(function(maxLengthSupportedTypes2){maxLengthSupportedTypes2.email=\"email\",maxLengthSupportedTypes2.password=\"password\",maxLengthSupportedTypes2.search=\"search\",maxLengthSupportedTypes2.telephone=\"telephone\",maxLengthSupportedTypes2.text=\"text\",maxLengthSupportedTypes2.url=\"url\";})(maxLengthSupportedTypes||(maxLengthSupportedTypes={}));function getMaxLength(element){var _element_getAttribute;let attr=(_element_getAttribute=element.getAttribute(\"maxlength\"))!==null&&_element_getAttribute!==void 0?_element_getAttribute:\"\";return /^\\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}function supportsMaxLength(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in maxLengthSupportedTypes}var FOCUSABLE_SELECTOR=[\"input:not([type=hidden]):not([disabled])\",\"button:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\",'[contenteditable=\"\"]','[contenteditable=\"true\"]',\"a[href]\",\"[tabindex]:not([disabled])\"].join(\", \");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}var bracketDict;(function(bracketDict2){bracketDict2[\"{\"]=\"}\",bracketDict2[\"[\"]=\"]\";})(bracketDict||(bracketDict={}));function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:\"\";pos+=startBracket.length;let type3=new RegExp(`^\\\\${startBracket}{2}`).test(text)?\"\":startBracket;return {type:type3,...type3===\"\"?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length,{consumedLength:pos,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier=text[pos]===\"/\"?\"/\":\"\";pos+=releasePreviousModifier.length;let escapedDescriptor=startBracket===\"{\"&&text[pos]===\"\\\\\";pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:(_text_slice_match=text.slice(pos).match(startBracket===\"{\"?/^\\w+|^[^}>/]/:/^\\w+/))===null||_text_slice_match===void 0?void 0:_text_slice_match[0];assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;var _text_slice_match_;let repeatModifier=(_text_slice_match_=(_text_slice_match1=text.slice(pos).match(/^>\\d+/))===null||_text_slice_match1===void 0?void 0:_text_slice_match1[0])!==null&&_text_slice_match_!==void 0?_text_slice_match_:\"\";pos+=repeatModifier.length;let releaseSelfModifier=text[pos]===\"/\"||!repeatModifier&&text[pos]===\">\"?text[pos]:\"\";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:\"\";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&\"repeat modifier\",!releaseSelfModifier&&\"release modifier\",`\"${expectedEndBracket}\"`].filter(Boolean).join(\" or \"),text[pos],text,context));return pos+=endBracket.length,{consumedLength:pos,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage(\"key descriptor\",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){if(releaseSelfModifier)return releaseSelfModifier===\"/\";if(repeatModifier)return !1}function getErrorMessage(expected,found,text,context){return `Expected ${expected} but found \"${found??\"\"}\" in \"${text}\"\n See ${context===\"pointer\"?\"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen\":\"https://testing-library.com/docs/user-event/keyboard\"}\n for more information about how userEvent parses your input.`}function cloneEvent(event){return new event.constructor(event.type,event)}var ApiLevel;(function(ApiLevel2){ApiLevel2[ApiLevel2.Trigger=2]=\"Trigger\",ApiLevel2[ApiLevel2.Call=1]=\"Call\";})(ApiLevel||(ApiLevel={}));function setLevelRef(instance,level){instance.levelRefs[level]={};}function getLevelRef(instance,level){return instance.levelRefs[level]}var PointerEventsCheckLevel;(function(PointerEventsCheckLevel2){PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTrigger=4]=\"EachTrigger\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]=\"EachApiCall\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]=\"EachTarget\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]=\"Never\";})(PointerEventsCheckLevel||(PointerEventsCheckLevel={}));function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,[\"button\",\"input\",\"select\",\"textarea\",\"optgroup\",\"option\"])){if(el.hasAttribute(\"disabled\"))return !0}else if(isElementType(el,\"fieldset\")){var _el_querySelector;if(el.hasAttribute(\"disabled\")&&!(!((_el_querySelector=el.querySelector(\":scope > legend\"))===null||_el_querySelector===void 0)&&_el_querySelector.contains(element)))return !0}else if(el.tagName.includes(\"-\")&&el.constructor.formAssociated&&el.hasAttribute(\"disabled\"))return !0;return !1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return (_getActiveElement=getActiveElement(document2))!==null&&_getActiveElement!==void 0?_getActiveElement:document2.body}function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement;}while(el&&el!==element.ownerDocument.body)}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function hasNoSelection(node){return isElement3(node)&&isClickableInput(node)}function isElement3(node){return node.nodeType===1}function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=((_contenteditable_firstChild=contenteditable.firstChild)===null||_contenteditable_firstChild===void 0?void 0:_contenteditable_firstChild.nodeType)===3?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0);}}else selection.setBaseAndExtent(element,0,element,0);}}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=findClosest(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(target?wrapEvent(()=>target.focus()):wrapEvent(()=>activeElement?.blur()),updateSelectionOnFocus(target??element.ownerDocument.body));}function blurElement(element){!isFocusable(element)||!(getActiveElement(element.ownerDocument)===element)||wrapEvent(()=>element.blur());}var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest(\"button,input,label,select,textarea\"),control=context&&isElementType(context,\"label\")&&context.control;if(control)return ()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,cloneEvent(event));};if(isElementType(target,\"input\",{type:\"file\"}))return ()=>{blurElement(target),target.dispatchEvent(new(getWindow(target)).Event(\"fileDialog\")),focusElement(target);}};var UIValue=Symbol(\"Displayed value in UI\"),UISelection=Symbol(\"Displayed selection in UI\"),InitialValue=Symbol(\"Initial value to compare on blur\");function isUIValue(value){return typeof value==\"object\"&&UIValue in value}function isUISelectionStart(start){return !!start&&typeof start==\"object\"&&UISelection in start}function setUIValue(element,value){element[InitialValue]===void 0&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0});}function getUIValue(element){return element[UIValue]===void 0?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0;}function clearInitialValue(element){element[InitialValue]=void 0;}function getInitialValue(element){return element[InitialValue]}function setUISelectionRaw(element,selection){element[UISelection]=selection;}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode=\"replace\"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset=mode===\"replace\"||element[UISelection]===void 0?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset);}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=(_element_UISelection=element[UISelection])!==null&&_element_UISelection!==void 0?_element_UISelection:{anchorOffset:(_element_selectionStart=element.selectionStart)!==null&&_element_selectionStart!==void 0?_element_selectionStart:0,focusOffset:(_element_selectionEnd=element.selectionEnd)!==null&&_element_selectionEnd!==void 0?_element_selectionEnd:0};return {...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function hasUISelection(element){return !!element[UISelection]}function setUISelectionClean(element){element[UISelection]=void 0;}var parseInt2=globalThis.parseInt;function buildTimeValue(value){let onlyDigitsValue=value.replace(/\\D/g,\"\");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||firstDigit===2&&secondDigit>=4){let index;return firstDigit>=3?index=1:index=2,build(onlyDigitsValue,index)}return value.length===2?value:build(onlyDigitsValue,2)}function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return `${validHours.toString().padStart(2,\"0\")}:${validMinutes.toString().padStart(2,\"0\")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return {node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return {node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,\"br\")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,\"br\")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&inputType===\"deleteContentBackward\"?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}else return {node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return offset!==void 0&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith(\"__react\"))&&getWindow(element).REACT_VERSION===17}function startTrackValue(element){isReact17Element(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]});}function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;(_element_TrackChanges=element[TrackChanges])===null||_element_TrackChanges===void 0||(_element_TrackChanges_tracked=_element_TrackChanges.tracked)===null||_element_TrackChanges_tracked===void 0||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}));}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,!(!(changes==null||(_changes_tracked=changes.tracked)===null||_changes_tracked===void 0)&&_changes_tracked.length))return;let isJustReactStateUpdate=changes.tracked.length===2&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),hasUISelection(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length});}function getTargetTypeAndSelection(node){let element=getElement2(node);if(element&&hasOwnSelection(element))return {type:\"input\",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return {type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?\"contenteditable\":\"default\",selection}}function getElement2(node){return node.nodeType===1?node:node.parentElement}function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);if(typeAndSelection.type===\"input\")return typeAndSelection.selection;if(typeAndSelection.type===\"contenteditable\"){var _typeAndSelection_selection;return (_typeAndSelection_selection=typeAndSelection.selection)===null||_typeAndSelection_selection===void 0?void 0:_typeAndSelection_selection.getRangeAt(0)}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if(getTargetTypeAndSelection(focusNode).type===\"input\")return setUISelection(focusNode,{anchorOffset,focusOffset});(_anchorNode_ownerDocument=anchorNode.ownerDocument)===null||_anchorNode_ownerDocument===void 0||(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())===null||_anchorNode_ownerDocument_getSelection===void 0||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset);}function isDateOrTime(element){return isElementType(element,\"input\")&&[\"date\",\"time\"].includes(element.type)}function input(instance,element,data,inputType=\"insertText\"){let inputRange=getInputRange(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,\"beforeinput\",{inputType,data})||(\"startContainer\"in inputRange?editContenteditable(instance,element,inputRange,data,inputType):editInputElement(instance,element,inputRange,data,inputType)));}function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(!inputRange.collapsed)del=!0,inputRange.deleteContents();else if([\"deleteContentBackward\",\"deleteContentForward\"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,inputType===\"deleteContentBackward\"?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents();}}if(data)if(inputRange.endContainer.nodeType===3){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length);}else {let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length);}(del||data)&&instance.dispatchUIEvent(element,\"input\",{inputType});}function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(supportsMaxLength(element)){let maxLength=getMaxLength(element);if(maxLength!==void 0&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(spaceUntilMaxLength>0)dataToInsert=data.substring(0,spaceUntilMaxLength);else return}}let{newValue,newOffset,oldValue}=calculateNewValue(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,\"input\",{type:\"number\"})&&!isValidNumberInput(newValue)||(setUIValue(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,\"change\"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}));}function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&inputType===\"deleteContentBackward\"?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&inputType===\"deleteContentForward\"?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,\"input\",{type:\"time\"})){let builtValue=buildTimeValue(newValue);builtValue!==\"\"&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length);}return {oldValue:value,newValue,newOffset}}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,\"input\",inputInit),commitValueAfterInput(element,newOffset);}function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split(\"e\",2);return !(/[^\\d.\\-e]/.test(value)||Number((_value_match=value.match(/-/g))===null||_value_match===void 0?void 0:_value_match.length)>2||Number((_value_match1=value.match(/\\./g))===null||_value_match1===void 0?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\\d*$/.test(valueParts[1]))}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,\"\",\"deleteByCut\");};function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if(display2===\"none\"||visibility===\"hidden\")return !1}return !0}function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter(el=>el===activeElement||!(Number(el.getAttribute(\"tabindex\"))<0||isDisabled2(el)));Number(activeElement.getAttribute(\"tabindex\"))>=0&&enabledElements.sort((a,b2)=>{let i=Number(a.getAttribute(\"tabindex\")),j=Number(b2.getAttribute(\"tabindex\"));return i===j?0:i===0?1:j===0?-1:i-j});let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,\"input\",{type:\"radio\"})?activeElement.name:void 0;enabledElements.forEach(currentElement=>{let el=currentElement;if(isElementType(el,\"input\",{type:\"radio\"})&&el.name){if(el===activeElement){prunedElements.push(el);return}else if(el.name===activeRadioGroup)return;if(el.checked){prunedElements=prunedElements.filter(e=>!isElementType(e,\"input\",{type:\"radio\",name:el.name})),prunedElements.push(el),checkedRadio[el.name]=el;return}if(typeof checkedRadio[el.name]<\"u\")return}prunedElements.push(el);});for(let index=prunedElements.findIndex(el=>el===activeElement);;)if(index+=shift?-1:1,index===prunedElements.length?index=0:index===-1&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset});}else {let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset});}else selection[direction<0?\"collapseToStart\":\"collapseToEnd\"]();}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length});}function isAllSelected(target){if(hasOwnSelection(target))return getUISelection(target).startOffset===0&&getUISelection(target).endOffset===getUIValue(target).length;var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body,selection=target.ownerDocument.getSelection();return selection?.anchorNode===focusNode&&selection.focusNode===focusNode&&selection.anchorOffset===0&&selection.focusOffset===focusNode.childNodes.length}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&((_element_firstChild=element.firstChild)===null||_element_firstChild===void 0?void 0:_element_firstChild.nodeType)===3)return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error(\"Not implemented. The result of this interaction is unreliable.\")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type=\"radio\"][name=\"${window2.CSS.escape(el.name)}\"]`:'input[type=\"radio\"][name=\"\"], input[type=\"radio\"]:not([name])'));for(let i=group.findIndex(e=>e===el)+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],\"click\"));}}behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return (_keydownBehavior_event_key1=(_keydownBehavior_event_key=keydownBehavior[event.key])===null||_keydownBehavior_event_key===void 0?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))!==null&&_keydownBehavior_event_key1!==void 0?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentBackward\");}},Delete:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentForward\");}},End:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=(_getValueOrTextContent_length=(_getValueOrTextContent=getValueOrTextContent(target))===null||_getValueOrTextContent===void 0?void 0:_getValueOrTextContent.length)!==null&&_getValueOrTextContent_length!==void 0?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos);}},Home:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{setSelectionRange(target,0,0);}},PageDown:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos);}},PageUp:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{setSelectionRange(target,0,0);}},Tab:(event,target,instance)=>()=>{let dest=getTabDestination(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length});}},combinationBehavior=(event,target,instance)=>{if(event.code===\"KeyA\"&&instance.system.keyboard.modifiers.Control)return ()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if(event.key===\"Enter\"){if(isElementType(target,\"button\")||isElementType(target,\"input\")&&ClickInputOnEnter.includes(target.type)||isElementType(target,\"a\")&&target.href)return ()=>{instance.dispatchUIEvent(target,\"click\");};if(isElementType(target,\"input\")){let form=target.form,submit=form?.querySelector('input[type=\"submit\"], button:not([type]), button[type=\"submit\"]');return submit?()=>instance.dispatchUIEvent(submit,\"click\"):form&&SubmitSingleInputOnEnter.includes(target.type)&&form.querySelectorAll(\"input\").length===1?()=>instance.dispatchUIEvent(form,\"submit\"):void 0}}if(isEditable(target)){let inputType=event.key===\"Enter\"?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?\"insertParagraph\":\"insertLineBreak\":\"insertText\",inputData=event.key===\"Enter\"?`\n`:event.key;return ()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=[\"button\",\"color\",\"file\",\"image\",\"reset\",\"submit\"],SubmitSingleInputOnEnter=[\"email\",\"month\",\"password\",\"search\",\"tel\",\"text\",\"url\",\"week\"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return (_keyupBehavior_event_key=keyupBehavior[event.key])===null||_keyupBehavior_event_key===void 0?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={\" \":(event,target,instance)=>{if(isClickableInput(target))return ()=>instance.dispatchUIEvent(target,\"click\")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return ()=>{var _event_clipboardData;let insertData=(_event_clipboardData=event.clipboardData)===null||_event_clipboardData===void 0?void 0:_event_clipboardData.getData(\"text\");insertData&&input(instance,target,insertData,\"insertFromPaste\");}};var eventMap2={auxclick:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=[\"MouseEvent\",\"PointerEvent\"];function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}function isKeyboardEvent(type3){return getEventClass(type3)===\"KeyboardEvent\"}var eventInitializer={ClipboardEvent:[initClipboardEvent],Event:[],InputEvent:[initUIEvent,initInputEvent],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,initPointerEvent],KeyboardEvent:[initUIEvent,initUIEventModififiers,initKeyboardEvent]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(getEventConstructors(window2))[EventType](type3,defaultInit);return eventInitializer[EventType].forEach(f=>f(event,init??{})),event}function getEventConstructors(window2){var _window_Event;let Event=(_window_Event=window2.Event)!==null&&_window_Event!==void 0?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=(_window_AnimationEvent=window2.AnimationEvent)!==null&&_window_AnimationEvent!==void 0?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=(_window_ClipboardEvent=window2.ClipboardEvent)!==null&&_window_ClipboardEvent!==void 0?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=(_window_PopStateEvent=window2.PopStateEvent)!==null&&_window_PopStateEvent!==void 0?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=(_window_ProgressEvent=window2.ProgressEvent)!==null&&_window_ProgressEvent!==void 0?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=(_window_TransitionEvent=window2.TransitionEvent)!==null&&_window_TransitionEvent!==void 0?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=(_window_UIEvent=window2.UIEvent)!==null&&_window_UIEvent!==void 0?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=(_window_CompositionEvent=window2.CompositionEvent)!==null&&_window_CompositionEvent!==void 0?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=(_window_FocusEvent=window2.FocusEvent)!==null&&_window_FocusEvent!==void 0?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=(_window_InputEvent=window2.InputEvent)!==null&&_window_InputEvent!==void 0?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=(_window_KeyboardEvent=window2.KeyboardEvent)!==null&&_window_KeyboardEvent!==void 0?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=(_window_MouseEvent=window2.MouseEvent)!==null&&_window_MouseEvent!==void 0?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=(_window_DragEvent=window2.DragEvent)!==null&&_window_DragEvent!==void 0?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=(_window_PointerEvent=window2.PointerEvent)!==null&&_window_PointerEvent!==void 0?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=(_window_TouchEvent=window2.TouchEvent)!==null&&_window_TouchEvent!==void 0?_window_TouchEvent:class extends UIEvent{};return {Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null});}function sanitizeNumber(n){return Number(n??0)}function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData});}function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)});}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)});}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState(k){return !!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]}});}function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode});}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget});}function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary});}function dispatchUIEvent(target,type3,init,preventDefault=!1){(isMouseEvent(type3)||isKeyboardEvent(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:(_behavior_type=behavior[type3])===null||_behavior_type===void 0?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,\"defaultPrevented\",{get:()=>defaultPrevented}),Object.defineProperty(event,\"preventDefault\",{value:()=>{defaultPrevented=event.cancelable;}}),wrapEvent(()=>target.dispatchEvent(event)),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent(()=>target.dispatchEvent(event))}function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent(()=>target.dispatchEvent(event));}var Interceptor=Symbol(\"Interceptor for programmatical calls\");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?\"set\":\"value\";if(typeof prototypeDescriptor?.[target]!=\"function\"||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement \"${String(propName)}\".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];target===\"set\"?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.();}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept});}function prepareValueInterceptor(element){prepareInterceptor(element,\"value\",function(v2){let isUI=isUIValue(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>trackOrSetValue(this,String(v2))}});}function sanitizeValue(element,v2){return isElementType(element,\"input\",{type:\"number\"})&&String(v2)!==\"\"&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,\"setSelectionRange\",function(start,...others){let isUI=isUISelectionStart(start);return {applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionStart\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionEnd\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"select\",function(){return {realArgs:[],then:()=>setUISelectionRaw(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}});}function prepareRangeTextInterceptor(element){prepareInterceptor(element,\"setRangeText\",function(...realArgs){return {realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element);}}});}var isPrepared=Symbol(\"Node prepared with document state workarounds\");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener(\"focus\",e=>{let el=e.target;prepareElement(el);},{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener(\"blur\",e=>{let el=e.target,initialValue2=getInitialValue(el);initialValue2!==void 0&&(el.value!==initialValue2&&dispatchDOMEvent(el,\"change\"),clearInitialValue(el));},{capture:!0,passive:!0}),document2[isPrepared]=isPrepared);}function prepareElement(el){el[isPrepared]||(isElementType(el,[\"input\",\"textarea\"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),prepareRangeTextInterceptor(el)),el[isPrepared]=isPrepared);}function getDocumentFromNode(el){return isDocument2(el)?el:el.ownerDocument}function isDocument2(node){return node.nodeType===9}function wait(config3){let delay=config3.delay;if(typeof delay==\"number\")return Promise.all([new Promise(resolve=>globalThis.setTimeout(()=>resolve(),delay)),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var DOM_KEY_LOCATION;(function(DOM_KEY_LOCATION2){DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.STANDARD=0]=\"STANDARD\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]=\"LEFT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]=\"RIGHT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]=\"NUMPAD\";})(DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}));var modifierKeys=[\"Alt\",\"AltGraph\",\"Control\",\"Fn\",\"Meta\",\"Shift\",\"Symbol\"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=[\"CapsLock\",\"FnLock\",\"NumLock\",\"ScrollLock\",\"SymbolLock\"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return !!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map(p2=>p2.keyDef)}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);this.setKeydownTarget(target);var _;(_=(_this_pressed=this.pressed)[_code=code])!==null&&_!==void 0||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,\"keydown\",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keypress\",{key,code,charCode:keyDef.key===\"Enter\"?13:String(keyDef.key).charCodeAt(0)});}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find(p2=>p2.keyDef.key===key)&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keyup\",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1);}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=\"\"),this.lastKeydownTarget=target;}hasKeyPress(key){return (key.length===1||key===\"Enter\")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(system){_define_property3(this,\"system\",void 0),_define_property3(this,\"modifiers\",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,\"pressed\",{}),_define_property3(this,\"carryChar\",\"\"),_define_property3(this,\"lastKeydownTarget\",void 0),_define_property3(this,\"modifierLockStart\",{}),this.system=system;}};var defaultKeyMap=[...\"0123456789\".split(\"\").map(c=>({code:`Digit${c}`,key:c})),...\")!@#$%^&*(\".split(\"\").map((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0})),...\"abcdefghijklmnopqrstuvwxyz\".split(\"\").map(c=>({code:`Key${c.toUpperCase()}`,key:c})),...\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\").map(c=>({code:`Key${c}`,key:c,shiftKey:!0})),{code:\"Space\",key:\" \"},{code:\"AltLeft\",key:\"Alt\",location:DOM_KEY_LOCATION.LEFT},{code:\"AltRight\",key:\"Alt\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ShiftLeft\",key:\"Shift\",location:DOM_KEY_LOCATION.LEFT},{code:\"ShiftRight\",key:\"Shift\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ControlLeft\",key:\"Control\",location:DOM_KEY_LOCATION.LEFT},{code:\"ControlRight\",key:\"Control\",location:DOM_KEY_LOCATION.RIGHT},{code:\"MetaLeft\",key:\"Meta\",location:DOM_KEY_LOCATION.LEFT},{code:\"MetaRight\",key:\"Meta\",location:DOM_KEY_LOCATION.RIGHT},{code:\"OSLeft\",key:\"OS\",location:DOM_KEY_LOCATION.LEFT},{code:\"OSRight\",key:\"OS\",location:DOM_KEY_LOCATION.RIGHT},{code:\"Tab\",key:\"Tab\"},{code:\"CapsLock\",key:\"CapsLock\"},{code:\"Backspace\",key:\"Backspace\"},{code:\"Enter\",key:\"Enter\"},{code:\"Escape\",key:\"Escape\"},{code:\"ArrowUp\",key:\"ArrowUp\"},{code:\"ArrowDown\",key:\"ArrowDown\"},{code:\"ArrowLeft\",key:\"ArrowLeft\"},{code:\"ArrowRight\",key:\"ArrowRight\"},{code:\"Home\",key:\"Home\"},{code:\"End\",key:\"End\"},{code:\"Delete\",key:\"Delete\"},{code:\"PageUp\",key:\"PageUp\"},{code:\"PageDown\",key:\"PageDown\"},{code:\"Fn\",key:\"Fn\"},{code:\"Symbol\",key:\"Symbol\"},{code:\"AltRight\",key:\"AltGraph\"}];var defaultKeyMap2=[{name:\"MouseLeft\",pointerType:\"mouse\",button:\"primary\"},{name:\"MouseRight\",pointerType:\"mouse\",button:\"secondary\"},{name:\"MouseMiddle\",pointerType:\"mouse\",button:\"auxiliary\"},{name:\"TouchA\",pointerType:\"touch\"},{name:\"TouchB\",pointerType:\"touch\"},{name:\"TouchC\",pointerType:\"touch\"}];function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed){this.pressed[button].push(keyDef);return}return this.pressed[button]=[keyDef],button}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter(k=>k.name!==keyDef.name),this.pressed[button].length===0))return delete this.pressed[button],button}constructor(){_define_property4(this,\"pressed\",{});}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return button=getMouseButtonId(button),button in MouseButtonFlip?MouseButtonFlip[button]:button}function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){_define_property5(this,\"pressedKeys\",new Set);}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return [treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(node.nodeType===3?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=offset===void 0?node.childNodes.length-1:0,step=offset===void 0?-1:1;for(;offset===void 0?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error(\"The given offset is out of bounds.\");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(offset!==void 0&&text.lengthselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange());}}function isDifferentPointerPosition(positionA,positionB){var _positionA_coords,_positionB_coords,_positionA_coords1,_positionB_coords1,_positionA_caret,_positionB_caret,_positionA_caret1,_positionB_caret1;return positionA.target!==positionB.target||((_positionA_coords=positionA.coords)===null||_positionA_coords===void 0?void 0:_positionA_coords.x)!==((_positionB_coords=positionB.coords)===null||_positionB_coords===void 0?void 0:_positionB_coords.y)||((_positionA_coords1=positionA.coords)===null||_positionA_coords1===void 0?void 0:_positionA_coords1.y)!==((_positionB_coords1=positionB.coords)===null||_positionB_coords1===void 0?void 0:_positionB_coords1.y)||((_positionA_caret=positionA.caret)===null||_positionA_caret===void 0?void 0:_positionA_caret.node)!==((_positionB_caret=positionB.caret)===null||_positionB_caret===void 0?void 0:_positionB_caret.node)||((_positionA_caret1=positionA.caret)===null||_positionA_caret1===void 0?void 0:_positionA_caret1.offset)!==((_positionB_caret1=positionB.caret)===null||_positionB_caret1===void 0?void 0:_positionB_caret1.offset)}function _define_property6(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Mouse=class{move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(\"mousemove\"),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"mouseout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"mouseleave\",init)));},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"mouseover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"mouseenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"mousemove\",init),this.modifySelecting(instance);}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(button===void 0)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit(\"mousedown\",keyDef.button);(disabled||instance.dispatchUIEvent(target,\"mousedown\",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&getMouseEventButton(keyDef.button)===2&&instance.dispatchUIEvent(target,\"contextmenu\",this.getEventInit(\"contextmenu\",keyDef.button,pointer3));}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(button===void 0)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,\"mouseup\",this.getEventInit(\"mouseup\",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit(\"click\",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,init.button===0?\"click\":\"auxclick\",init),init.button===0&&init.detail===2&&instance.dispatchUIEvent(clickTarget,\"dblclick\",{...this.getEventInit(\"dblclick\",keyDef.button),detail:init.detail}));}}}resetClickCount(){this.clickCount.reset();}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),type3===\"mousedown\"?init.detail=this.clickCount.getOnDown(init.button):type3===\"mouseup\"?init.detail=this.clickCount.getOnUp(init.button):(type3===\"click\"||type3===\"auxclick\")&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset,clickCount});}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&modifySelectionPerMouseMove(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset});}endSelecting(){this.selecting=void 0;}constructor(){_define_property6(this,\"position\",{}),_define_property6(this,\"buttons\",new Buttons),_define_property6(this,\"selecting\",void 0),_define_property6(this,\"buttonDownTarget\",{}),_define_property6(this,\"clickCount\",new class{incOnClick(button){let current=this.down[button]===void 0?void 0:Number(this.down[button])+1;return this.count=this.count[button]===void 0?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button;this.down={[button]:(_this_count_button=this.count[button])!==null&&_this_count_button!==void 0?_this_count_button:0};var _this_count_button1;return this.count={[button]:(_this_count_button1=this.count[button])!==null&&_this_count_button1!==void 0?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return this.down[button]===void 0?void 0:Number(this.down[button])+1}reset(){this.count={};}constructor(){_define_property6(this,\"down\",{}),_define_property6(this,\"count\",{});}});}};function hasPointerEvents(instance,element){var _checkPointerEvents;return ((_checkPointerEvents=checkPointerEvents(instance,element))===null||_checkPointerEvents===void 0?void 0:_checkPointerEvents.pointerEvents)!==\"none\"}function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&![\"inherit\",\"unset\"].includes(pointerEvents))return {pointerEvents,tree}}}var PointerEventsCheck=Symbol(\"Last check for pointer-events\");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(!(instance.config.pointerEventsCheck!==PointerEventsCheckLevel.Never&&(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger))))return lastCheck?.result;let declaration=closestPointerEventsDeclaration(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if(declaration?.pointerEvents===\"none\")throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?\"inherits\":\"has\"} \\`pointer-events: none\\`:`,\"\",printTree(declaration.tree)].join(`\n`))}function printTree(tree){return tree.reverse().map((el,i)=>[\"\".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute(\"data-testid\")&&`(testId=${el.getAttribute(\"data-testid\")})`,getLabelDescr(el),tree.length>1&&i===0&&\" <-- This element declared `pointer-events: none`\",tree.length>1&&i===tree.length-1&&\" <-- Asserted pointer events here\"].filter(Boolean).join(\"\")).join(`\n`)}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute(\"aria-label\"))label=element.getAttribute(\"aria-label\");else if(element.hasAttribute(\"aria-labelledby\")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute(\"aria-labelledby\")))===null||_element_ownerDocument_getElementById===void 0||(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)===null||_element_ownerDocument_getElementById_textContent===void 0?void 0:_element_ownerDocument_getElementById_textContent.trim();}else if(isElementType(element,[\"button\",\"input\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\"])&&(!((_element_labels=element.labels)===null||_element_labels===void 0)&&_element_labels.length))label=Array.from(element.labels).map(el=>{var _el_textContent;return (_el_textContent=el.textContent)===null||_el_textContent===void 0?void 0:_el_textContent.trim()}).join(\"|\");else if(isElementType(element,\"button\")){var _element_textContent;label=(_element_textContent=element.textContent)===null||_element_textContent===void 0?void 0:_element_textContent.trim();}return label=label?.replace(/\\n/g,\" \"),Number(label?.length)>30&&(label=`${label?.substring(0,29)}\\u2026`),label?`(label=${label})`:\"\"}function hasBitFlag(conf,flag){return (conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init)));},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"pointermove\",init);}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,\"pointerdown\",this.getEventInit());}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,\"pointerup\",this.getEventInit());}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init))),this.isCancelled=!0;}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}getEventInit(){return {...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,\"pointerId\",void 0),_define_property7(this,\"pointerType\",void 0),_define_property7(this,\"isPrimary\",void 0),_define_property7(this,\"isMultitouch\",!1),_define_property7(this,\"isCancelled\",!1),_define_property7(this,\"isDown\",!1),_define_property7(this,\"isPrevented\",!1),_define_property7(this,\"position\",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary;}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3=keyDef.pointerType===\"touch\"?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),pointer3.pointerType!==\"touch\"&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3);}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove=pointer3.pointerType===\"touch\"||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move();}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),device.countPressed===0&&pointer3.up(instance,keyDef),pointer3.pointerType===\"touch\"&&pointer3.release(instance),!pointer3.isPrevented){if(pointer3.pointerType===\"touch\"&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3);}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3);}}}getPointerName(keyDef){return keyDef.pointerType===\"touch\"?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount();}getMouseTarget(instance){var _this_mouse_position_target;return (_this_mouse_position_target=this.mouse.position.target)!==null&&_this_mouse_position_target!==void 0?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get(\"mouse\").position=position;}constructor(system){_define_property8(this,\"system\",void 0),_define_property8(this,\"mouse\",void 0),_define_property8(this,\"buttons\",void 0),_define_property8(this,\"devices\",new class{get(k){var _this_registry,_k,_;return (_=(_this_registry=this.registry)[_k=k])!==null&&_!==void 0||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,\"registry\",{});}}),_define_property8(this,\"pointers\",new class{new(pointerName,keyDef){let isPrimary=keyDef.pointerType!==\"touch\"||!Object.values(this.registry).some(p2=>p2.pointerType===\"touch\"&&!p2.isCancelled);return isPrimary||Object.values(this.registry).forEach(p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0);}),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer \"${pointerName}\" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,\"registry\",{mouse:new Pointer({pointerId:1,pointerType:\"mouse\",isPrimary:!0})}),_define_property8(this,\"nextId\",2);}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse;}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return {altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,\"keyboard\",new KeyboardHost(this)),_define_property9(this,\"pointer\",new PointerHost(this));}};async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:\"[MouseLeft]\",target:element}),this.pointer(pointerIn)}async function dblClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft]\"])}async function tripleClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft][MouseLeft]\"])}async function hover(element){return this.pointer({target:element})}async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})}async function tab({shift}={}){return this.keyboard(shift===!0?\"{Shift>}{Tab}{/Shift}\":shift===!1?\"[/ShiftLeft][/ShiftRight]{Tab}\":\"{Tab}\")}function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,\"keyboard\");var _keyboardMap_find;let keyDef=(_keyboardMap_find=keyboardMap.find(def=>{if(type3===\"[\"){var _def_code;return ((_def_code=def.code)===null||_def_code===void 0?void 0:_def_code.toLowerCase())===descriptor.toLowerCase()}else if(type3===\"{\"){var _def_key;return ((_def_key=def.key)===null||_def_key===void 0?void 0:_def_key.toLowerCase())===descriptor.toLowerCase()}return def.key===descriptor}))!==null&&_keyboardMap_find!==void 0?_keyboardMap_find:{key:\"Unknown\",code:\"Unknown\",[type3===\"[\"?\"code\":\"key\"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength);}while(text);return defs}async function keyboard(text){let actions=parseKeyDef(this.config.keyboardMap,text);for(let i=0;i{throw new Error(\"`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.\")});this.dispatchUIEvent(target,\"paste\",{clipboardData:dataTransfer});}function getClipboardDataFromString(doc,text){let dt=createDataTransfer(getWindow(doc));return dt.setData(\"text\",text),dt}function parseKeyDef2(pointerMap,keys2){let defs=[];do{let{descriptor,consumedLength,releasePrevious,releaseSelf=!0}=readNextDescriptor(keys2,\"pointer\"),keyDef=pointerMap.find(p2=>p2.name===descriptor);keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength);}while(keys2);return defs}async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach(actionInput=>{typeof actionInput==\"string\"?actions.push(...parseKeyDef2(pointerMap,actionInput)):\"keys\"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map(i=>({...actionInput,...i}))):actions.push(actionInput);});for(let i=0;i{if(typeof val!=\"string\"&&allOptions.includes(val))return val;{let matchingOption=allOptions.find(o=>o.value===val||o.innerHTML===val);if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value \"${String(val)}\" not found in options`,select)}}).filter(option=>!isDisabled2(option));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,\"input\",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,\"change\");};if(isElementType(select,\"select\"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(option,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(option,\"pointermove\"),this.dispatchUIEvent(option,\"mousemove\"),this.dispatchUIEvent(option,\"pointerdown\"),this.dispatchUIEvent(option,\"mousedown\")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,\"pointerup\"),this.dispatchUIEvent(option,\"mouseup\")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,\"click\"),await wait(this.config);}else if(selectedOptions.length===1){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(select,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(select,\"pointerup\"),this.dispatchUIEvent(select,\"mouseup\"),this.dispatchUIEvent(select,\"click\")),await wait(this.config);}else throw getConfig().getElementError(\"Cannot select multiple options on a non-multiple select\",select);else if(select.getAttribute(\"role\")===\"listbox\")for(let option of selectedOptions)await this.click(option),await this.unhover(option);else throw getConfig().getElementError(\"Cannot select options on elements that are neither select nor listbox elements\",select)}async function type(element,text,{skipClick=this.config.skipClick,skipAutoClose=this.config.skipAutoClose,initialSelectionStart,initialSelectionEnd}={}){element.disabled||(skipClick||await this.click(element),initialSelectionStart!==void 0&&setSelectionRange(element,initialSelectionStart,initialSelectionEnd??initialSelectionStart),await this.keyboard(text),skipAutoClose||await releaseAllKeys(this));}var fakeFiles=Symbol(\"files and value properties are mocked\");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop];}function setFiles(el,files){var _el_fakeFiles;(_el_fakeFiles=el[fakeFiles])===null||_el_fakeFiles===void 0||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,\"type\"),valueDescr=Object.getOwnPropertyDescriptor(el,\"value\"),filesDescr=Object.getOwnPropertyDescriptor(el,\"files\");function restore(){restoreProperty(el,\"type\",typeDescr),restoreProperty(el,\"value\",valueDescr),restoreProperty(el,\"files\",filesDescr);}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\\\fakepath\\\\${files[0].name}`:\"\",set(v2){if(v2===\"\")restore();else {var _valueDescr_set;valueDescr==null||(_valueDescr_set=valueDescr.set)===null||_valueDescr_set===void 0||_valueDescr_set.call(el,v2);}}},type:{configurable:!0,get:()=>\"file\",set(v2){v2!==\"file\"&&(restore(),el.type=v2);}}});}async function upload(element,fileOrFiles){let input2=isElementType(element,\"label\")?element.control:element;if(!input2||!isElementType(input2,\"input\",{type:\"file\"}))throw new TypeError(`The ${input2===element?\"given\":\"associated\"} ${input2?.tagName} element does not accept file uploads`);if(isDisabled2(element))return;let files=(Array.isArray(fileOrFiles)?fileOrFiles:[fileOrFiles]).filter(file=>!this.config.applyAccept||isAcceptableFile(file,input2.accept)).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===((_input_files=input2.files)===null||_input_files===void 0?void 0:_input_files.length)&&files.every((f,i)=>{var _input_files2;return f===((_input_files2=input2.files)===null||_input_files2===void 0?void 0:_input_files2.item(i))})||(setFiles(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,\"input\"),this.dispatchUIEvent(input2,\"change\"));};input2.addEventListener(\"fileDialog\",fileDialog),await this.click(element),input2.removeEventListener(\"fileDialog\",fileDialog);}function isAcceptableFile(file,accept){if(!accept)return !0;let wildcards=[\"audio/*\",\"image/*\",\"video/*\"];return accept.split(\",\").some(acceptToken=>acceptToken.startsWith(\".\")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken)}var userEventApi={click,dblClick,tripleClick,hover,unhover,tab,keyboard,copy,cut,paste,pointer,clear,deselectOptions,selectOptions,type,upload};function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:defaultKeyMap2,pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=getDocument2(options,node,defaults);return {...defaults,...options,document:document2}}function setupMain(options={}){let config3=createConfig(options);prepareDocument(config3.document);var _config_document_defaultView;let view=(_config_document_defaultView=config3.document.defaultView)!==null&&_config_document_defaultView!==void 0?_config_document_defaultView:globalThis.window;return attachClipboardStubToView(view),createInstance(config3).api}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);prepareDocument(config3.document);var _ref;let system=(_ref=pointerState??keyboardState)!==null&&_ref!==void 0?_ref:new System;return {api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),wrapAsync(()=>impl.apply(instance,args).then(async ret=>(await wait(instance.config),ret)))}return Object.defineProperty(method,\"name\",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map(([name,api])=>[name,wrapAndBindImpl(instance,api)])),setup:setupSub.bind(instance)}}}function getDocument2(options,node,defaults){var _options_document,_ref;return (_ref=(_options_document=options.document)!==null&&_options_document!==void 0?_options_document:node&&getDocumentFromNode(node))!==null&&_ref!==void 0?_ref:defaults.document}var directApi_exports={};__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then(()=>system)}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then(()=>system)}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}var userEvent={...directApi_exports,setup:setupMain};function dedent(templ){for(var values=[],_i=1;_ipath[0]===\"fireEvent\"||method.startsWith(\"find\")||method.startsWith(\"waitFor\")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get(target,prop,receiver){return once.warn(esm_default`\n You are using Testing Library's \\`screen\\` object. Use \\`within(canvasElement)\\` instead.\n More info: https://storybook.js.org/docs/react/essentials/interactions\n `),Reflect.get(target,prop,receiver)}});var {buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=instrument({userEvent},{intercept:!0});var {expect:expect3}=instrument({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=[\"assert\",\"__methods\",\"__flags\",\"_obj\"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter(it=>!privateApi.includes(it));return depth>2?keys2:[...keys2,\"not\"]}return Object.keys(obj)},intercept:method=>method!==\"expect\"}),resetAllMocksLoader=({parameters})=>{parameters?.test?.mockReset===!0?resetAllMocks():parameters?.test?.clearMocks===!0?clearAllMocks():parameters?.test?.restoreMocks!==!1&&restoreAllMocks();};scope.__STORYBOOK_TEST_LOADERS__=[resetAllMocksLoader];\n\nexport { buildQueries2 as buildQueries, clearAllMocks, configure2 as configure, createEvent3 as createEvent, expect3 as expect, findAllByAltText2 as findAllByAltText, findAllByDisplayValue2 as findAllByDisplayValue, findAllByLabelText2 as findAllByLabelText, findAllByPlaceholderText2 as findAllByPlaceholderText, findAllByRole2 as findAllByRole, findAllByTestId2 as findAllByTestId, findAllByText2 as findAllByText, findAllByTitle2 as findAllByTitle, findByAltText2 as findByAltText, findByDisplayValue2 as findByDisplayValue, findByLabelText2 as findByLabelText, findByPlaceholderText2 as findByPlaceholderText, findByRole2 as findByRole, findByTestId2 as findByTestId, findByText2 as findByText, findByTitle2 as findByTitle, fireEvent2 as fireEvent, fn, getAllByAltText2 as getAllByAltText, getAllByDisplayValue2 as getAllByDisplayValue, getAllByLabelText2 as getAllByLabelText, getAllByPlaceholderText2 as getAllByPlaceholderText, getAllByRole2 as getAllByRole, getAllByTestId2 as getAllByTestId, getAllByText2 as getAllByText, getAllByTitle2 as getAllByTitle, getByAltText2 as getByAltText, getByDisplayValue2 as getByDisplayValue, getByLabelText2 as getByLabelText, getByPlaceholderText2 as getByPlaceholderText, getByRole2 as getByRole, getByTestId2 as getByTestId, getByText2 as getByText, getByTitle2 as getByTitle, getConfig2 as getConfig, getDefaultNormalizer2 as getDefaultNormalizer, getElementError2 as getElementError, getNodeText2 as getNodeText, getQueriesForElement2 as getQueriesForElement, getRoles2 as getRoles, getSuggestedQuery2 as getSuggestedQuery, isInaccessible2 as isInaccessible, isMockFunction, logDOM2 as logDOM, logRoles2 as logRoles, mocked, mocks, prettyDOM2 as prettyDOM, prettyFormat2 as prettyFormat, queries2 as queries, queryAllByAltText2 as queryAllByAltText, queryAllByAttribute2 as queryAllByAttribute, queryAllByDisplayValue2 as queryAllByDisplayValue, queryAllByLabelText2 as queryAllByLabelText, queryAllByPlaceholderText2 as queryAllByPlaceholderText, queryAllByRole2 as queryAllByRole, queryAllByTestId2 as queryAllByTestId, queryAllByText2 as queryAllByText, queryAllByTitle2 as queryAllByTitle, queryByAltText2 as queryByAltText, queryByAttribute2 as queryByAttribute, queryByDisplayValue2 as queryByDisplayValue, queryByLabelText2 as queryByLabelText, queryByPlaceholderText2 as queryByPlaceholderText, queryByRole2 as queryByRole, queryByTestId2 as queryByTestId, queryByText2 as queryByText, queryByTitle2 as queryByTitle, queryHelpers2 as queryHelpers, resetAllMocks, restoreAllMocks, screen2 as screen, spyOn, userEvent2 as userEvent, waitFor2 as waitFor, waitForElementToBeRemoved2 as waitForElementToBeRemoved, within };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"989.db5d1cf3.iframe.bundle.js","mappings":";;AAMA;;AAEA;AACA;ACJA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;AAEA;;ACzYA;AACA;;;AAGA;;;AC+JA","sources":["webpack://@nationalarchives/tdr-components/./node_modules/@storybook/addon-backgrounds/dist/preview.js","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/addon-outline/dist/preview.js","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/html/dist/entry-preview.mjs","webpack://@nationalarchives/tdr-components/./node_modules/@storybook/test/dist/index.mjs"],"sourcesContent":["import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { logger } from '@storybook/client-logger';\n\nvar PARAM_KEY=\"backgrounds\";var{document,window}=global,isReduceMotionEnabled=()=>window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches,getBackgroundColorByName=(currentSelectedValue,backgrounds=[],defaultName)=>{if(currentSelectedValue===\"transparent\")return \"transparent\";if(backgrounds.find(background=>background.value===currentSelectedValue))return currentSelectedValue;let defaultBackground=backgrounds.find(background=>background.name===defaultName);if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map(background=>background.name).join(\", \");logger.warn(dedent`\n Backgrounds Addon: could not find the default color \"${defaultName}\".\n These are the available colors for your story based on your configuration:\n ${availableColors}.\n `);}return \"transparent\"},clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=selector=>{let element=document.getElementById(selector);element&&element.parentElement?.removeChild(element);},addGridStyle=(selector,css)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,document.head.appendChild(style);}},addBackgroundStyle=(selector,css,storyId)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css;let gridStyleSelector=`addon-backgrounds-grid${storyId?`-docs-${storyId}`:\"\"}`,existingGridStyle=document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):document.head.appendChild(style);}};var withBackground=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2[PARAM_KEY]?.value,backgroundsConfig=parameters2[PARAM_KEY],selectedBackgroundColor=useMemo(()=>backgroundsConfig.disable?\"transparent\":getBackgroundColorByName(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default),[backgroundsConfig,globalsBackgroundColor]),isActive=useMemo(()=>selectedBackgroundColor&&selectedBackgroundColor!==\"transparent\",[selectedBackgroundColor]),selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundStyles=useMemo(()=>`\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${isReduceMotionEnabled()?\"\":\"transition: background-color 0.3s;\"}\n }\n `,[selectedBackgroundColor,selector]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-docs-${context.id}`:\"addon-backgrounds-color\";if(!isActive){clearStyles(selectorId);return}addBackgroundStyle(selectorId,backgroundStyles,context.viewMode===\"docs\"?context.id:null);},[isActive,backgroundStyles,context]),StoryFn()};var withGrid=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2[PARAM_KEY].grid,isActive=globals2[PARAM_KEY]?.grid===!0&&gridParameters.disable!==!0,{cellAmount,cellSize,opacity}=gridParameters,isInDocs=context.viewMode===\"docs\",defaultOffset=parameters2.layout===void 0||parameters2.layout===\"padded\"?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=useMemo(()=>{let selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundSize=[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(\", \");return `\n ${selector} {\n background-size: ${backgroundSize} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `},[cellSize]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-grid-docs-${context.id}`:\"addon-backgrounds-grid\";if(!isActive){clearStyles(selectorId);return}addGridStyle(selectorId,gridStyles);},[isActive,gridStyles,context]),StoryFn()};var decorators=[withGrid,withBackground],parameters={[PARAM_KEY]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:\"light\",value:\"#F8F8F8\"},{name:\"dark\",value:\"#333333\"}]}},globals={[PARAM_KEY]:null};\n\nexport { decorators, globals, parameters };\n","import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\n\nvar clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=input=>{let selector=typeof input==\"string\"?input:input.join(\"\"),element=global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element);},addOutlineStyles=(selector,css)=>{let existingStyle=global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=global.document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,global.document.head.appendChild(style);}};var PARAM_KEY=\"outline\";function outlineCSS(selector){return dedent`\n ${selector} body {\n outline: 1px solid #2980b9 !important;\n }\n\n ${selector} article {\n outline: 1px solid #3498db !important;\n }\n\n ${selector} nav {\n outline: 1px solid #0088c3 !important;\n }\n\n ${selector} aside {\n outline: 1px solid #33a0ce !important;\n }\n\n ${selector} section {\n outline: 1px solid #66b8da !important;\n }\n\n ${selector} header {\n outline: 1px solid #99cfe7 !important;\n }\n\n ${selector} footer {\n outline: 1px solid #cce7f3 !important;\n }\n\n ${selector} h1 {\n outline: 1px solid #162544 !important;\n }\n\n ${selector} h2 {\n outline: 1px solid #314e6e !important;\n }\n\n ${selector} h3 {\n outline: 1px solid #3e5e85 !important;\n }\n\n ${selector} h4 {\n outline: 1px solid #449baf !important;\n }\n\n ${selector} h5 {\n outline: 1px solid #c7d1cb !important;\n }\n\n ${selector} h6 {\n outline: 1px solid #4371d0 !important;\n }\n\n ${selector} main {\n outline: 1px solid #2f4f90 !important;\n }\n\n ${selector} address {\n outline: 1px solid #1a2c51 !important;\n }\n\n ${selector} div {\n outline: 1px solid #036cdb !important;\n }\n\n ${selector} p {\n outline: 1px solid #ac050b !important;\n }\n\n ${selector} hr {\n outline: 1px solid #ff063f !important;\n }\n\n ${selector} pre {\n outline: 1px solid #850440 !important;\n }\n\n ${selector} blockquote {\n outline: 1px solid #f1b8e7 !important;\n }\n\n ${selector} ol {\n outline: 1px solid #ff050c !important;\n }\n\n ${selector} ul {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} li {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} dl {\n outline: 1px solid #fd3427 !important;\n }\n\n ${selector} dt {\n outline: 1px solid #ff0043 !important;\n }\n\n ${selector} dd {\n outline: 1px solid #e80174 !important;\n }\n\n ${selector} figure {\n outline: 1px solid #ff00bb !important;\n }\n\n ${selector} figcaption {\n outline: 1px solid #bf0032 !important;\n }\n\n ${selector} table {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} caption {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} thead {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} tbody {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} tfoot {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} tr {\n outline: 1px solid #86c0b2 !important;\n }\n\n ${selector} th {\n outline: 1px solid #a1e7d6 !important;\n }\n\n ${selector} td {\n outline: 1px solid #3f5a54 !important;\n }\n\n ${selector} col {\n outline: 1px solid #6c9a8f !important;\n }\n\n ${selector} colgroup {\n outline: 1px solid #6c9a9d !important;\n }\n\n ${selector} button {\n outline: 1px solid #da8301 !important;\n }\n\n ${selector} datalist {\n outline: 1px solid #c06000 !important;\n }\n\n ${selector} fieldset {\n outline: 1px solid #d95100 !important;\n }\n\n ${selector} form {\n outline: 1px solid #d23600 !important;\n }\n\n ${selector} input {\n outline: 1px solid #fca600 !important;\n }\n\n ${selector} keygen {\n outline: 1px solid #b31e00 !important;\n }\n\n ${selector} label {\n outline: 1px solid #ee8900 !important;\n }\n\n ${selector} legend {\n outline: 1px solid #de6d00 !important;\n }\n\n ${selector} meter {\n outline: 1px solid #e8630c !important;\n }\n\n ${selector} optgroup {\n outline: 1px solid #b33600 !important;\n }\n\n ${selector} option {\n outline: 1px solid #ff8a00 !important;\n }\n\n ${selector} output {\n outline: 1px solid #ff9619 !important;\n }\n\n ${selector} progress {\n outline: 1px solid #e57c00 !important;\n }\n\n ${selector} select {\n outline: 1px solid #e26e0f !important;\n }\n\n ${selector} textarea {\n outline: 1px solid #cc5400 !important;\n }\n\n ${selector} details {\n outline: 1px solid #33848f !important;\n }\n\n ${selector} summary {\n outline: 1px solid #60a1a6 !important;\n }\n\n ${selector} command {\n outline: 1px solid #438da1 !important;\n }\n\n ${selector} menu {\n outline: 1px solid #449da6 !important;\n }\n\n ${selector} del {\n outline: 1px solid #bf0000 !important;\n }\n\n ${selector} ins {\n outline: 1px solid #400000 !important;\n }\n\n ${selector} img {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} iframe {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} embed {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} object {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} param {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} video {\n outline: 1px solid #6ee866 !important;\n }\n\n ${selector} audio {\n outline: 1px solid #027353 !important;\n }\n\n ${selector} source {\n outline: 1px solid #012426 !important;\n }\n\n ${selector} canvas {\n outline: 1px solid #a2f570 !important;\n }\n\n ${selector} track {\n outline: 1px solid #59a600 !important;\n }\n\n ${selector} map {\n outline: 1px solid #7be500 !important;\n }\n\n ${selector} area {\n outline: 1px solid #305900 !important;\n }\n\n ${selector} a {\n outline: 1px solid #ff62ab !important;\n }\n\n ${selector} em {\n outline: 1px solid #800b41 !important;\n }\n\n ${selector} strong {\n outline: 1px solid #ff1583 !important;\n }\n\n ${selector} i {\n outline: 1px solid #803156 !important;\n }\n\n ${selector} b {\n outline: 1px solid #cc1169 !important;\n }\n\n ${selector} u {\n outline: 1px solid #ff0430 !important;\n }\n\n ${selector} s {\n outline: 1px solid #f805e3 !important;\n }\n\n ${selector} small {\n outline: 1px solid #d107b2 !important;\n }\n\n ${selector} abbr {\n outline: 1px solid #4a0263 !important;\n }\n\n ${selector} q {\n outline: 1px solid #240018 !important;\n }\n\n ${selector} cite {\n outline: 1px solid #64003c !important;\n }\n\n ${selector} dfn {\n outline: 1px solid #b4005a !important;\n }\n\n ${selector} sub {\n outline: 1px solid #dba0c8 !important;\n }\n\n ${selector} sup {\n outline: 1px solid #cc0256 !important;\n }\n\n ${selector} time {\n outline: 1px solid #d6606d !important;\n }\n\n ${selector} code {\n outline: 1px solid #e04251 !important;\n }\n\n ${selector} kbd {\n outline: 1px solid #5e001f !important;\n }\n\n ${selector} samp {\n outline: 1px solid #9c0033 !important;\n }\n\n ${selector} var {\n outline: 1px solid #d90047 !important;\n }\n\n ${selector} mark {\n outline: 1px solid #ff0053 !important;\n }\n\n ${selector} bdi {\n outline: 1px solid #bf3668 !important;\n }\n\n ${selector} bdo {\n outline: 1px solid #6f1400 !important;\n }\n\n ${selector} ruby {\n outline: 1px solid #ff7b93 !important;\n }\n\n ${selector} rt {\n outline: 1px solid #ff2f54 !important;\n }\n\n ${selector} rp {\n outline: 1px solid #803e49 !important;\n }\n\n ${selector} span {\n outline: 1px solid #cc2643 !important;\n }\n\n ${selector} br {\n outline: 1px solid #db687d !important;\n }\n\n ${selector} wbr {\n outline: 1px solid #db175b !important;\n }`}var withOutline=(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,\"true\"].includes(globals2[PARAM_KEY]),isInDocs=context.viewMode===\"docs\",outlineStyles=useMemo(()=>outlineCSS(isInDocs?'[data-story-block=\"true\"]':\".sb-show-main\"),[context]);return useEffect(()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:\"addon-outline\";return isActive?addOutlineStyles(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId);}},[isActive,outlineStyles,context]),StoryFn()};var decorators=[withOutline],globals={[PARAM_KEY]:!1};\n\nexport { decorators, globals };\n","import { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api';\n\nvar {Node}=global,render=(args,context)=>{let{id,component:Component}=context;if(typeof Component==\"string\"){let output=Component;return Object.keys(args).forEach(key=>{output=output.replace(`{{${key}}}`,args[key]);}),output}if(Component instanceof HTMLElement){let output=Component.cloneNode(!0);return Object.keys(args).forEach(key=>{output.setAttribute(key,typeof args[key]==\"string\"?args[key]:JSON.stringify(args[key]));}),output}if(typeof Component==\"function\")return Component(args,context);throw console.warn(dedent`\n Storybook's HTML renderer only supports rendering DOM elements and strings.\n Received: ${Component}\n `),new Error(`Unable to render story ${id}`)};function renderToCanvas({storyFn,kind,name,showMain,showError,forceRemount},canvasElement){let element=storyFn();if(showMain(),typeof element==\"string\")canvasElement.innerHTML=element,simulatePageLoad(canvasElement);else if(element instanceof Node){if(canvasElement.firstChild===element&&forceRemount===!1)return;canvasElement.innerHTML=\"\",canvasElement.appendChild(element),simulateDOMContentLoaded();}else showError({title:`Expecting an HTML snippet or DOM node from the story: \"${name}\" of \"${kind}\".`,description:dedent`\n Did you forget to return the HTML snippet from the story?\n Use \"() => \" or when defining the story.\n `});}var parameters={renderer:\"html\"};\n\nexport { parameters, render, renderToCanvas };\n","import { instrument } from '@storybook/instrumenter';\nimport { once } from '@storybook/client-logger';\n\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(x,{get:(a,b2)=>(typeof require<\"u\"?require:a)[b2]}):x)(function(x){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+x+'\" is not supported')});var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==\"object\"||typeof from==\"function\")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:!0}):target,mod));var require_assertion_error=__commonJS({\"../../node_modules/assertion-error/index.js\"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach(function(key){~excludes.indexOf(key)||(res[key]=obj[key]);});}return function(){for(var args=[].slice.call(arguments),i=0,res={};i\"u\"||obj===null?!1:name in Object(obj)}function parsePath(path){var str=path.replace(/([^\\\\])\\[/g,\"$1.[\"),parts=str.match(/(\\\\\\.|[^.]+?)+/g);return parts.map(function(value){if(value===\"constructor\"||value===\"__proto__\"||value===\"prototype\")return {};var regexp=/^\\[(\\d+)\\]$/,mArr=regexp.exec(value),parsed=null;return mArr?parsed={i:parseFloat(mArr[1])}:parsed={p:value.replace(/\\\\([.[\\]])/g,\"$1\")},parsed})}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>\"u\"?parsed.length:pathDepth;for(var i=0;i\"u\"?temporaryValue=temporaryValue[part.i]:temporaryValue=temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue));}return res}function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i\"u\"?part.i:part.p,tempObj[propName]=val;else if(typeof part.p<\"u\"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<\"u\"&&tempObj[part.i])tempObj=tempObj[part.i];else {var next=parsed[i+1];propName=typeof part.p>\"u\"?part.i:part.p,propVal=typeof next.p>\"u\"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName];}}}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}function getPathValue(obj,path){var info=getPathInfo(obj,path);return info.value}function setPathValue(obj,path,val){var parsed=parsePath(path);return internalSetPathValue(obj,val,parsed),obj}module2.exports={hasProperty,getPathInfo,getPathValue,setPathValue};}});var require_flag=__commonJS({\"../../node_modules/chai/lib/chai/utils/flag.js\"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(arguments.length===3)flags[key]=value;else return flags[key]};}});var require_test=__commonJS({\"../../node_modules/chai/lib/chai/utils/test.js\"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),expr=args[0];return negate?!expr:expr};}});var require_type_detect=__commonJS({\"../../node_modules/type-detect/type-detect.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?module2.exports=factory():typeof define==\"function\"&&define.amd?define(factory):global2.typeDetect=factory();})(exports,function(){var promiseExists=typeof Promise==\"function\",globalObject=typeof self==\"object\"?self:global,symbolExists=typeof Symbol<\"u\",mapExists=typeof Map<\"u\",setExists=typeof Set<\"u\",weakMapExists=typeof WeakMap<\"u\",weakSetExists=typeof WeakSet<\"u\",dataViewExists=typeof DataView<\"u\",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<\"u\",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<\"u\",setEntriesExists=setExists&&typeof Set.prototype.entries==\"function\",mapEntriesExists=mapExists&&typeof Map.prototype.entries==\"function\",setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf(new Set().entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf(new Map().entries()),arrayIteratorExists=symbolIteratorExists&&typeof Array.prototype[Symbol.iterator]==\"function\",arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&typeof String.prototype[Symbol.iterator]==\"function\",stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(\"\"[Symbol.iterator]()),toStringLeftSliceLength=8,toStringRightSliceLength=-1;function typeDetect(obj){var typeofObj=typeof obj;if(typeofObj!==\"object\")return typeofObj;if(obj===null)return \"null\";if(obj===globalObject)return \"global\";if(Array.isArray(obj)&&(symbolToStringTagExists===!1||!(Symbol.toStringTag in obj)))return \"Array\";if(typeof window==\"object\"&&window!==null){if(typeof window.location==\"object\"&&obj===window.location)return \"Location\";if(typeof window.document==\"object\"&&obj===window.document)return \"Document\";if(typeof window.navigator==\"object\"){if(typeof window.navigator.mimeTypes==\"object\"&&obj===window.navigator.mimeTypes)return \"MimeTypeArray\";if(typeof window.navigator.plugins==\"object\"&&obj===window.navigator.plugins)return \"PluginArray\"}if((typeof window.HTMLElement==\"function\"||typeof window.HTMLElement==\"object\")&&obj instanceof window.HTMLElement){if(obj.tagName===\"BLOCKQUOTE\")return \"HTMLQuoteElement\";if(obj.tagName===\"TD\")return \"HTMLTableDataCellElement\";if(obj.tagName===\"TH\")return \"HTMLTableHeaderCellElement\"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if(typeof stringTag==\"string\")return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?\"RegExp\":objPrototype===Date.prototype?\"Date\":promiseExists&&objPrototype===Promise.prototype?\"Promise\":setExists&&objPrototype===Set.prototype?\"Set\":mapExists&&objPrototype===Map.prototype?\"Map\":weakSetExists&&objPrototype===WeakSet.prototype?\"WeakSet\":weakMapExists&&objPrototype===WeakMap.prototype?\"WeakMap\":dataViewExists&&objPrototype===DataView.prototype?\"DataView\":mapExists&&objPrototype===mapIteratorPrototype?\"Map Iterator\":setExists&&objPrototype===setIteratorPrototype?\"Set Iterator\":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?\"Array Iterator\":stringIteratorExists&&objPrototype===stringIteratorPrototype?\"String Iterator\":objPrototype===null?\"Object\":Object.prototype.toString.call(obj).slice(toStringLeftSliceLength,toStringRightSliceLength)}return typeDetect});}});var require_expectTypes=__commonJS({\"../../node_modules/chai/lib/chai/utils/expectTypes.js\"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,\"message\"),ssfi=flag(obj,\"ssfi\");flagMsg=flagMsg?flagMsg+\": \":\"\",obj=flag(obj,\"object\"),types=types.map(function(t){return t.toLowerCase()}),types.sort();var str=types.map(function(t,index){var art=~[\"a\",\"e\",\"i\",\"o\",\"u\"].indexOf(t.charAt(0))?\"an\":\"a\",or=types.length>1&&index===types.length-1?\"or \":\"\";return or+art+\" \"+t}).join(\", \"),objType=type3(obj).toLowerCase();if(!types.some(function(expected){return objType===expected}))throw new AssertionError2(flagMsg+\"object tested must be \"+str+\", but \"+objType+\" given\",void 0,ssfi)};}});var require_getActual=__commonJS({\"../../node_modules/chai/lib/chai/utils/getActual.js\"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj};}});var require_get_func_name=__commonJS({\"../../node_modules/get-func-name/index.js\"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}module2.exports=getFuncName;}});var require_loupe=__commonJS({\"../../node_modules/loupe/loupe.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?factory(exports):typeof define==\"function\"&&define.amd?define([\"exports\"],factory):(global2=typeof globalThis<\"u\"?globalThis:global2||self,factory(global2.loupe={}));})(exports,function(exports2){function _typeof5(obj){\"@babel/helpers - typeof\";return typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?_typeof5=function(obj2){return typeof obj2}:_typeof5=function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof5(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>\"u\"||!(Symbol.iterator in Object(arr)))){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&arguments[0]!==void 0?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=_ref$showHidden===void 0?!1:_ref$showHidden,_ref$depth=_ref.depth,depth=_ref$depth===void 0?2:_ref$depth,_ref$colors=_ref.colors,colors=_ref$colors===void 0?!1:_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=_ref$customInspect===void 0?!0:_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=_ref$showProxy===void 0?!1:_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=_ref$maxArrayLength===void 0?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=_ref$breakLength===void 0?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=_ref$seen===void 0?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=_ref$truncate===void 0?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=_ref$stylize===void 0?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}function truncate(string2,length){var tail=arguments.length>2&&arguments[2]!==void 0?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?\"\".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&arguments[3]!==void 0?arguments[3]:\", \";inspectItem=inspectItem||options.inspect;var size=list.length;if(size===0)return \"\";for(var originalLength=options.truncate,output=\"\",peek=\"\",truncated=\"\",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?\"\":inspectItem(list[i+1],options)+(secondToLast?\"\":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated=\"\".concat(truncator,\"(\").concat(list.length-i-1,\")\");break}truncated=\"\";}return \"\".concat(output).concat(truncated)}function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\")}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,typeof key==\"string\"?key=quoteComplexKey(key):typeof key!=\"number\"&&(key=\"[\".concat(options.inspect(key,options),\"]\")),options.truncate-=key.length,value=options.inspect(value,options),\"\".concat(key,\": \").concat(value)}function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"[]\";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents=\"\";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map(function(key){return [key,array[key]]}),options,inspectProperty)),\"[ \".concat(listContents).concat(propertyContents?\", \".concat(propertyContents):\"\",\" ]\")}var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}var getFuncName_1=getFuncName,getArrayName=function(array){return typeof Buffer==\"function\"&&array instanceof Buffer?\"Buffer\":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)};function inspectTypedArray(array,options){var name=getArrayName(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"\".concat(name,\"[]\");for(var output=\"\",i=0;i \").concat(value)}function mapToEntries(map){var entries=[];return map.forEach(function(value,key){entries.push([key,value]);}),entries}function inspectMap(map,options){var size=map.size-1;return size<=0?\"Map{}\":(options.truncate-=7,\"Map{ \".concat(inspectList(mapToEntries(map),options,inspectMapEntry),\" }\"))}var isNaN2=Number.isNaN||function(i){return i!==i};function inspectNumber(number,options){return isNaN2(number)?options.stylize(\"NaN\",\"number\"):number===1/0?options.stylize(\"Infinity\",\"number\"):number===-1/0?options.stylize(\"-Infinity\",\"number\"):number===0?options.stylize(1/number===1/0?\"+0\":\"-0\",\"number\"):options.stylize(truncate(number,options.truncate),\"number\")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+=\"n\"),options.stylize(nums,\"bigint\")}function inspectRegExp(value,options){var flags=value.toString().split(\"/\")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize(\"/\".concat(truncate(source,sourceLength),\"/\").concat(flags),\"regexp\")}function arrayFromSet(set){var values=[];return set.forEach(function(value){values.push(value);}),values}function inspectSet(set,options){return set.size===0?\"Set{}\":(options.truncate-=7,\"Set{ \".concat(inspectList(arrayFromSet(set),options),\" }\"))}var stringEscapeChars=new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]\",\"g\"),escapeCharacters={\"\\b\":\"\\\\b\",\"\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\f\":\"\\\\f\",\"\\r\":\"\\\\r\",\"'\":\"\\\\'\",\"\\\\\":\"\\\\\\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||\"\\\\u\".concat(\"0000\".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize(\"'\".concat(truncate(string2,options.truncate-2),\"'\"),\"string\")}function inspectSymbol(value){return \"description\"in Symbol.prototype?value.description?\"Symbol(\".concat(value.description,\")\"):\"Symbol()\":value.toString()}var getPromiseValue=function(){return \"Promise{\\u2026}\"};try{var _process$binding=process.binding(\"util\"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails=getPromiseDetails(value),_getPromiseDetails2=_slicedToArray(_getPromiseDetails,2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?\"Promise{}\":\"Promise\".concat(state===kRejected?\"!\":\"\",\"{\").concat(options.inspect(innerValue,options),\"}\")});}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(properties.length===0&&symbols.length===0)return \"{}\";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return \"[Circular]\";options.seen.push(object);var propertyContents=inspectList(properties.map(function(key){return [key,object[key]]}),options,inspectProperty),symbolContents=inspectList(symbols.map(function(key){return [key,object[key]]}),options,inspectProperty);options.seen.pop();var sep=\"\";return propertyContents&&symbolContents&&(sep=\", \"),\"{ \".concat(propertyContents).concat(sep).concat(symbolContents,\" }\")}var toStringTag=typeof Symbol<\"u\"&&Symbol.toStringTag?Symbol.toStringTag:!1;function inspectClass(value,options){var name=\"\";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),name=name||getFuncName_1(value.constructor),(!name||name===\"_class\")&&(name=\"\"),options.truncate-=name.length,\"\".concat(name).concat(inspectObject(value,options))}function inspectArguments(args,options){return args.length===0?\"Arguments[]\":(options.truncate-=13,\"Arguments[ \".concat(inspectList(args,options),\" ]\"))}var errorKeys=[\"stack\",\"line\",\"column\",\"name\",\"message\",\"fileName\",\"lineNumber\",\"columnNumber\",\"number\",\"description\"];function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter(function(key){return errorKeys.indexOf(key)===-1}),name=error.name;options.truncate-=name.length;var message=\"\";typeof error.message==\"string\"?message=truncate(error.message,options.truncate):properties.unshift(\"message\"),message=message?\": \".concat(message):\"\",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map(function(key){return [key,error[key]]}),options,inspectProperty);return \"\".concat(name).concat(message).concat(propertyContents?\" { \".concat(propertyContents,\" }\"):\"\")}function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?\"\".concat(options.stylize(key,\"yellow\"),\"=\").concat(options.stylize('\"'.concat(value,'\"'),\"string\")):\"\".concat(options.stylize(key,\"yellow\"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,`\n`)}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize(\"<\".concat(name),\"special\"),headClose=options.stylize(\">\",\"special\"),tail=options.stylize(\"\"),\"special\");options.truncate-=name.length*2+5;var propertyContents=\"\";properties.length>0&&(propertyContents+=\" \",propertyContents+=inspectList(properties.map(function(key){return [key,element.getAttribute(key)]}),options,inspectAttribute,\" \")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children=\"\".concat(truncator,\"(\").concat(element.children.length,\")\")),\"\".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var symbolsSupported=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\",chaiInspect=symbolsSupported?Symbol.for(\"chai/inspect\"):\"@@chai/inspect\",nodeInspect=!1;try{var nodeUtil=__require(\"util\");nodeInspect=nodeUtil.inspect?nodeUtil.inspect.custom:!1;}catch{nodeInspect=!1;}function FakeMap(){this.key=\"chai/loupe__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0});}};var constructorMap=new(typeof WeakMap==\"function\"?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize(\"undefined\",\"undefined\")},null:function(value,options){return options.stylize(null,\"null\")},boolean:function(value,options){return options.stylize(value,\"boolean\")},Boolean:function(value,options){return options.stylize(value,\"boolean\")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:inspectArray,Date:inspectDate,Map:inspectMap,Set:inspectSet,RegExp:inspectRegExp,Promise:inspectPromise,WeakSet:function(value,options){return options.stylize(\"WeakSet{\\u2026}\",\"special\")},WeakMap:function(value,options){return options.stylize(\"WeakMap{\\u2026}\",\"special\")},Arguments:inspectArguments,Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return \"\"},DataView:function(){return \"\"},ArrayBuffer:function(){return \"\"},Error:inspectObject$1,HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},inspectCustom=function(value,options,type3){return chaiInspect in value&&typeof value[chaiInspect]==\"function\"?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&typeof value[nodeInspect]==\"function\"?value[nodeInspect](options.depth,options):\"inspect\"in value&&typeof value.inspect==\"function\"?value.inspect(options.depth,options):\"constructor\"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):\"\"},toString$1=Object.prototype.toString;function inspect3(value,options){options=normaliseOptions(options),options.inspect=inspect3;var _options=options,customInspect=_options.customInspect,type3=value===null?\"null\":_typeof5(value);if(type3===\"object\"&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=inspectCustom(value,options,type3);if(output)return typeof output==\"string\"?output:inspect3(output,options)}var proto=value?Object.getPrototypeOf(value):!1;return proto===Object.prototype||proto===null?inspectObject(value,options):value&&typeof HTMLElement==\"function\"&&value instanceof HTMLElement?inspectHTML(value,options):\"constructor\"in value?value.constructor!==Object?inspectClass(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}function registerConstructor(constructor,inspector){return constructorMap.has(constructor)?!1:(constructorMap.set(constructor,inspector),!0)}function registerStringTag(stringTag,inspector){return stringTag in stringTagMap?!1:(stringTagMap[stringTag]=inspector,!0)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=registerConstructor,exports2.registerStringTag=registerStringTag,Object.defineProperty(exports2,\"__esModule\",{value:!0});});}});var require_config=__commonJS({\"../../node_modules/chai/lib/chai/config.js\"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:[\"then\",\"catch\",\"inspect\",\"toJSON\"],deepEqual:null};}});var require_inspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/inspect.js\"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=inspect3;function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>\"u\"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}});var require_objDisplay=__commonJS({\"../../node_modules/chai/lib/chai/utils/objDisplay.js\"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if(type3===\"[object Function]\")return !obj.name||obj.name===\"\"?\"[Function]\":\"[Function: \"+obj.name+\"]\";if(type3===\"[object Array]\")return \"[ Array(\"+obj.length+\") ]\";if(type3===\"[object Object]\"){var keys2=Object.keys(obj),kstr=keys2.length>2?keys2.splice(0,2).join(\", \")+\", ...\":keys2.join(\", \");return \"{ Object (\"+kstr+\") }\"}else return str}else return str};}});var require_getMessage=__commonJS({\"../../node_modules/chai/lib/chai/utils/getMessage.js\"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),val=flag(obj,\"object\"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,\"message\");return typeof msg==\"function\"&&(msg=msg()),msg=msg||\"\",msg=msg.replace(/#\\{this\\}/g,function(){return objDisplay2(val)}).replace(/#\\{act\\}/g,function(){return objDisplay2(actual)}).replace(/#\\{exp\\}/g,function(){return objDisplay2(expected)}),flagMsg?flagMsg+\": \"+msg:msg};}});var require_transferFlags=__commonJS({\"../../node_modules/chai/lib/chai/utils/transferFlags.js\"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));object.__flags||(object.__flags=Object.create(null)),includeAll=arguments.length===3?includeAll:!0;for(var flag in flags)(includeAll||flag!==\"object\"&&flag!==\"ssfi\"&&flag!==\"lockSsfi\"&&flag!=\"message\")&&(object.__flags[flag]=flags[flag]);};}});var require_deep_eql=__commonJS({\"../../node_modules/deep-eql/index.js\"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key=\"chai/deep-eql__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0});}};var MemoizeMap=typeof WeakMap==\"function\"?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if(typeof result==\"boolean\")return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(!(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):(leftHandMap=new MemoizeMap,leftHandMap.set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap));}}module2.exports=deepEqual;module2.exports.MemoizeMap=MemoizeMap;function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return simpleResult!==null?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?leftHandOperand!==0||1/leftHandOperand===1/rightHandOperand:leftHandOperand!==leftHandOperand&&rightHandOperand!==rightHandOperand?!0:isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand)?!1:null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){options=options||{},options.memoize=options.memoize===!1?!1:options.memoize||new MemoizeMap;var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(memoizeResultLeft!==null)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(memoizeResultRight!==null)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(comparatorResult===!1||comparatorResult===!0)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(simpleResult!==null)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case\"String\":case\"Number\":case\"Boolean\":case\"Date\":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case\"Promise\":case\"Symbol\":case\"function\":case\"WeakMap\":case\"WeakSet\":return leftHandOperand===rightHandOperand;case\"Error\":return keysEqual(leftHandOperand,rightHandOperand,[\"name\",\"message\",\"code\"],options);case\"Arguments\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"Array\":return iterableEqual(leftHandOperand,rightHandOperand,options);case\"RegExp\":return regexpEqual(leftHandOperand,rightHandOperand);case\"Generator\":return generatorEqual(leftHandOperand,rightHandOperand,options);case\"DataView\":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case\"ArrayBuffer\":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case\"Set\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Map\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Temporal.PlainDate\":case\"Temporal.PlainTime\":case\"Temporal.PlainDateTime\":case\"Temporal.Instant\":case\"Temporal.ZonedDateTime\":case\"Temporal.PlainYearMonth\":case\"Temporal.PlainMonthDay\":return leftHandOperand.equals(rightHandOperand);case\"Temporal.Duration\":return leftHandOperand.total(\"nanoseconds\")===rightHandOperand.total(\"nanoseconds\");case\"Temporal.TimeZone\":case\"Temporal.Calendar\":return leftHandOperand.toString()===rightHandOperand.toString();default:return objectEqual(leftHandOperand,rightHandOperand,options)}}function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return !1;if(leftHandOperand.size===0)return !0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach(function(key,value){leftHandItems.push([key,value]);}),rightHandOperand.forEach(function(key,value){rightHandItems.push([key,value]);}),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return !1;if(length===0)return !0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap){memo[i][j]=cap;continue}memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1));}return memo[strA.length][strB.length]}}});var require_addMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var methodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",methodWrapper);var result=method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(methodWrapper,name,!1),ctx[name]=proxify(methodWrapper,name);};}});var require_overwriteProperty=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteProperty.js\"(exports,module2){var chai2=require_chai(),flag=require_flag(),isProxyEnabled=require_isProxyEnabled(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,getter){var _get=Object.getOwnPropertyDescriptor(ctx,name),_super=function(){};_get&&typeof _get.get==\"function\"&&(_super=_get.get),Object.defineProperty(ctx,name,{get:function overwritingPropertyGetter(){!isProxyEnabled()&&!flag(this,\"lockSsfi\")&&flag(this,\"ssfi\",overwritingPropertyGetter);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=getter(_super).call(this);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0});};}});var require_overwriteMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var _method=ctx[name],_super=function(){throw new Error(name+\" is not a function\")};_method&&typeof _method==\"function\"&&(_super=_method);var overwritingMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",overwritingMethodWrapper);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=method(_super).apply(this,arguments);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(overwritingMethodWrapper,name,!1),ctx[name]=proxify(overwritingMethodWrapper,name);};}});var require_addChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addChainableMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();var canSetPrototype=typeof Object.setPrototypeOf==\"function\",testFn=function(){},excludeNames=Object.getOwnPropertyNames(testFn).filter(function(name){var propDesc=Object.getOwnPropertyDescriptor(testFn,name);return typeof propDesc!=\"object\"?!0:!propDesc.configurable}),call=Function.prototype.call,apply=Function.prototype.apply;module2.exports=function(ctx,name,method,chainingBehavior){typeof chainingBehavior!=\"function\"&&(chainingBehavior=function(){});var chainableBehavior={method,chainingBehavior};ctx.__methods||(ctx.__methods={}),ctx.__methods[name]=chainableBehavior,Object.defineProperty(ctx,name,{get:function(){chainableBehavior.chainingBehavior.call(this);var chainableMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",chainableMethodWrapper);var result=chainableBehavior.method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};if(addLengthGuard(chainableMethodWrapper,name,!0),canSetPrototype){var prototype=Object.create(this);prototype.call=call,prototype.apply=apply,Object.setPrototypeOf(chainableMethodWrapper,prototype);}else {var asserterNames=Object.getOwnPropertyNames(ctx);asserterNames.forEach(function(asserterName){if(excludeNames.indexOf(asserterName)===-1){var pd=Object.getOwnPropertyDescriptor(ctx,asserterName);Object.defineProperty(chainableMethodWrapper,asserterName,pd);}});}return transferFlags(this,chainableMethodWrapper),proxify(chainableMethodWrapper)},configurable:!0});};}});var require_overwriteChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js\"(exports,module2){var chai2=require_chai(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method,chainingBehavior){var chainableBehavior=ctx.__methods[name],_chainingBehavior=chainableBehavior.chainingBehavior;chainableBehavior.chainingBehavior=function(){var result=chainingBehavior(_chainingBehavior).call(this);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};var _method=chainableBehavior.method;chainableBehavior.method=function(){var result=method(_method).apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};};}});var require_compareByInspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/compareByInspect.js\"(exports,module2){var inspect3=require_inspect();module2.exports=function(a,b2){return inspect3(a)1&&numErrs===props.length)throw firstErr;return}this.assert(included,\"expected #{this} to \"+descriptor+\"include \"+_.inspect(val),\"expected #{this} to not \"+descriptor+\"include \"+_.inspect(val));}Assertion2.addChainableMethod(\"include\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contain\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contains\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"includes\",include,includeChainingBehavior),Assertion2.addProperty(\"ok\",function(){this.assert(flag(this,\"object\"),\"expected #{this} to be truthy\",\"expected #{this} to be falsy\");}),Assertion2.addProperty(\"true\",function(){this.assert(flag(this,\"object\")===!0,\"expected #{this} to be true\",\"expected #{this} to be false\",!flag(this,\"negate\"));}),Assertion2.addProperty(\"false\",function(){this.assert(flag(this,\"object\")===!1,\"expected #{this} to be false\",\"expected #{this} to be true\",!!flag(this,\"negate\"));}),Assertion2.addProperty(\"null\",function(){this.assert(flag(this,\"object\")===null,\"expected #{this} to be null\",\"expected #{this} not to be null\");}),Assertion2.addProperty(\"undefined\",function(){this.assert(flag(this,\"object\")===void 0,\"expected #{this} to be undefined\",\"expected #{this} not to be undefined\");}),Assertion2.addProperty(\"NaN\",function(){this.assert(_.isNaN(flag(this,\"object\")),\"expected #{this} to be NaN\",\"expected #{this} not to be NaN\");});function assertExist(){var val=flag(this,\"object\");this.assert(val!=null,\"expected #{this} to exist\",\"expected #{this} to not exist\");}Assertion2.addProperty(\"exist\",assertExist),Assertion2.addProperty(\"exists\",assertExist),Assertion2.addProperty(\"empty\",function(){var val=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),itemsCount;switch(flagMsg=flagMsg?flagMsg+\": \":\"\",_.type(val).toLowerCase()){case\"array\":case\"string\":itemsCount=val.length;break;case\"map\":case\"set\":itemsCount=val.size;break;case\"weakmap\":case\"weakset\":throw new AssertionError2(flagMsg+\".empty was passed a weak collection\",void 0,ssfi);case\"function\":var msg=flagMsg+\".empty was passed a function \"+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+\".empty was passed non-string primitive \"+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length;}this.assert(itemsCount===0,\"expected #{this} to be empty\",\"expected #{this} not to be empty\");});function checkArguments(){var obj=flag(this,\"object\"),type3=_.type(obj);this.assert(type3===\"Arguments\",\"expected #{this} to be arguments but got \"+type3,\"expected #{this} to not be arguments\");}Assertion2.addProperty(\"arguments\",checkArguments),Assertion2.addProperty(\"Arguments\",checkArguments);function assertEqual(val,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");if(flag(this,\"deep\")){var prevLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0),this.eql(val),flag(this,\"lockSsfi\",prevLockSsfi);}else this.assert(val===obj,\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{exp}\",val,this._obj,!0);}Assertion2.addMethod(\"equal\",assertEqual),Assertion2.addMethod(\"equals\",assertEqual),Assertion2.addMethod(\"eq\",assertEqual);function assertEql(obj,msg){msg&&flag(this,\"message\",msg);var eql=flag(this,\"eql\");this.assert(eql(obj,flag(this,\"object\")),\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",obj,this._obj,!0);}Assertion2.addMethod(\"eql\",assertEql),Assertion2.addMethod(\"eqls\",assertEql);function assertAbove(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to above must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to above must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,\"expected #{this} to have a \"+descriptor+\" above #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" above #{exp}\",n,itemsCount);}else this.assert(obj>n,\"expected #{this} to be above #{exp}\",\"expected #{this} to be at most #{exp}\",n);}Assertion2.addMethod(\"above\",assertAbove),Assertion2.addMethod(\"gt\",assertAbove),Assertion2.addMethod(\"greaterThan\",assertAbove);function assertLeast(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to least must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to least must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,\"expected #{this} to have a \"+descriptor+\" at least #{exp} but got #{act}\",\"expected #{this} to have a \"+descriptor+\" below #{exp}\",n,itemsCount);}else this.assert(obj>=n,\"expected #{this} to be at least #{exp}\",\"expected #{this} to be below #{exp}\",n);}Assertion2.addMethod(\"least\",assertLeast),Assertion2.addMethod(\"gte\",assertLeast),Assertion2.addMethod(\"greaterThanOrEqual\",assertLeast);function assertBelow(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to below must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to below must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount=start&&itemsCount<=finish,\"expected #{this} to have a \"+descriptor+\" within \"+range,\"expected #{this} to not have a \"+descriptor+\" within \"+range);}else this.assert(obj>=start&&obj<=finish,\"expected #{this} to be within \"+range,\"expected #{this} to not be within \"+range);});function assertInstanceOf(constructor,msg){msg&&flag(this,\"message\",msg);var target=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\");try{var isInstanceOf=target instanceof constructor;}catch(err){throw err instanceof TypeError?(flagMsg=flagMsg?flagMsg+\": \":\"\",new AssertionError2(flagMsg+\"The instanceof assertion needs a constructor but \"+_.type(constructor)+\" was given.\",void 0,ssfi)):err}var name=_.getName(constructor);name===null&&(name=\"an unnamed constructor\"),this.assert(isInstanceOf,\"expected #{this} to be an instance of \"+name,\"expected #{this} to not be an instance of \"+name);}Assertion2.addMethod(\"instanceof\",assertInstanceOf),Assertion2.addMethod(\"instanceOf\",assertInstanceOf);function assertProperty(name,val,msg){msg&&flag(this,\"message\",msg);var isNested=flag(this,\"nested\"),isOwn=flag(this,\"own\"),flagMsg=flag(this,\"message\"),obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),nameType=typeof name;if(flagMsg=flagMsg?flagMsg+\": \":\"\",isNested){if(nameType!==\"string\")throw new AssertionError2(flagMsg+\"the argument to property must be a string when using nested syntax\",void 0,ssfi)}else if(nameType!==\"string\"&&nameType!==\"number\"&&nameType!==\"symbol\")throw new AssertionError2(flagMsg+\"the argument to property must be a string, number, or symbol\",void 0,ssfi);if(isNested&&isOwn)throw new AssertionError2(flagMsg+'The \"nested\" and \"own\" flags cannot be combined.',void 0,ssfi);if(obj==null)throw new AssertionError2(flagMsg+\"Target cannot be null or undefined.\",void 0,ssfi);var isDeep=flag(this,\"deep\"),negate=flag(this,\"negate\"),pathInfo=isNested?_.getPathInfo(obj,name):null,value=isNested?pathInfo.value:obj[name],isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2,descriptor=\"\";isDeep&&(descriptor+=\"deep \"),isOwn&&(descriptor+=\"own \"),isNested&&(descriptor+=\"nested \"),descriptor+=\"property \";var hasProperty;isOwn?hasProperty=Object.prototype.hasOwnProperty.call(obj,name):isNested?hasProperty=pathInfo.exists:hasProperty=_.hasProperty(obj,name),(!negate||arguments.length===1)&&this.assert(hasProperty,\"expected #{this} to have \"+descriptor+_.inspect(name),\"expected #{this} to not have \"+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),\"expected #{this} to have \"+descriptor+_.inspect(name)+\" of #{exp}, but got #{act}\",\"expected #{this} to not have \"+descriptor+_.inspect(name)+\" of #{act}\",val,value),flag(this,\"object\",value);}Assertion2.addMethod(\"property\",assertProperty);function assertOwnProperty(name,value,msg){flag(this,\"own\",!0),assertProperty.apply(this,arguments);}Assertion2.addMethod(\"ownProperty\",assertOwnProperty),Assertion2.addMethod(\"haveOwnProperty\",assertOwnProperty);function assertOwnPropertyDescriptor(name,descriptor,msg){typeof descriptor==\"string\"&&(msg=descriptor,descriptor=null),msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,\"eql\");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to match \"+_.inspect(descriptor)+\", got \"+_.inspect(actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to not match \"+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,\"expected #{this} to have an own property descriptor for \"+_.inspect(name),\"expected #{this} to not have an own property descriptor for \"+_.inspect(name)),flag(this,\"object\",actualDescriptor);}Assertion2.addMethod(\"ownPropertyDescriptor\",assertOwnPropertyDescriptor),Assertion2.addMethod(\"haveOwnPropertyDescriptor\",assertOwnPropertyDescriptor);function assertLengthChain(){flag(this,\"doLength\",!0);}function assertLength(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),descriptor=\"length\",itemsCount;switch(objType){case\"map\":case\"set\":descriptor=\"size\",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),itemsCount=obj.length;}this.assert(itemsCount==n,\"expected #{this} to have a \"+descriptor+\" of #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" of #{act}\",n,itemsCount);}Assertion2.addChainableMethod(\"length\",assertLength,assertLengthChain),Assertion2.addChainableMethod(\"lengthOf\",assertLength,assertLengthChain);function assertMatch(re,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");this.assert(re.exec(obj),\"expected #{this} to match \"+re,\"expected #{this} not to match \"+re);}Assertion2.addMethod(\"match\",assertMatch),Assertion2.addMethod(\"matches\",assertMatch),Assertion2.addMethod(\"string\",function(str,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"string\"),this.assert(~obj.indexOf(str),\"expected #{this} to contain \"+_.inspect(str),\"expected #{this} to not contain \"+_.inspect(str));});function assertKeys(keys2){var obj=flag(this,\"object\"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,\"ssfi\"),isDeep=flag(this,\"deep\"),str,deepStr=\"\",actual,ok=!0,flagMsg=flag(this,\"message\");flagMsg=flagMsg?flagMsg+\": \":\"\";var mixedArgsMsg=flagMsg+\"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments\";if(objType===\"Map\"||objType===\"Set\")deepStr=isDeep?\"deeply \":\"\",actual=[],obj.forEach(function(val,key){actual.push(key);}),keysType!==\"Array\"&&(keys2=Array.prototype.slice.call(arguments));else {switch(actual=_.getOwnEnumerableProperties(obj),keysType){case\"Array\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case\"Object\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments);}keys2=keys2.map(function(val){return typeof val==\"symbol\"?val:String(val)});}if(!keys2.length)throw new AssertionError2(flagMsg+\"keys required\",void 0,ssfi);var len=keys2.length,any=flag(this,\"any\"),all=flag(this,\"all\"),expected=keys2,isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})})),all&&(ok=expected.every(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})}),flag(this,\"contains\")||(ok=ok&&keys2.length==actual.length)),len>1){keys2=keys2.map(function(key){return _.inspect(key)});var last=keys2.pop();all&&(str=keys2.join(\", \")+\", and \"+last),any&&(str=keys2.join(\", \")+\", or \"+last);}else str=_.inspect(keys2[0]);str=(len>1?\"keys \":\"key \")+str,str=(flag(this,\"contains\")?\"contain \":\"have \")+str,this.assert(ok,\"expected #{this} to \"+deepStr+str,\"expected #{this} to not \"+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0);}Assertion2.addMethod(\"keys\",assertKeys),Assertion2.addMethod(\"key\",assertKeys);function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),negate=flag(this,\"negate\")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"function\"),(errorLike instanceof RegExp||typeof errorLike==\"string\")&&(errMsgMatcher=errorLike,errorLike=null);var caughtErr;try{obj();}catch(err){caughtErr=err;}var everyArgIsUndefined=errorLike===void 0&&errMsgMatcher===void 0,everyArgIsDefined=!!(errorLike&&errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString=\"an error\";errorLike instanceof Error?errorLikeString=\"#{exp}\":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,\"expected #{this} to throw \"+errorLikeString,\"expected #{this} to not throw an error but #{act} was thrown\",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():typeof caughtErr==\"string\"?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr));}if(errorLike&&caughtErr){if(errorLike instanceof Error){var isCompatibleInstance=_.checkError.compatibleInstance(caughtErr,errorLike);isCompatibleInstance===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr&&!negate?\" but #{act} was thrown\":\"\"),errorLike.toString(),caughtErr.toString()));}var isCompatibleConstructor=_.checkError.compatibleConstructor(caughtErr,errorLike);isCompatibleConstructor===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)));}if(caughtErr&&errMsgMatcher!==void 0&&errMsgMatcher!==null){var placeholder=\"including\";errMsgMatcher instanceof RegExp&&(placeholder=\"matching\");var isCompatibleMessage=_.checkError.compatibleMessage(caughtErr,errMsgMatcher);isCompatibleMessage===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,\"expected #{this} to throw error \"+placeholder+\" #{exp} but got #{act}\",\"expected #{this} to throw error not \"+placeholder+\" #{exp}\",errMsgMatcher,_.checkError.getMessage(caughtErr)));}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,\"object\",caughtErr);}Assertion2.addMethod(\"throw\",assertThrows),Assertion2.addMethod(\"throws\",assertThrows),Assertion2.addMethod(\"Throw\",assertThrows);function respondTo(method,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),itself=flag(this,\"itself\"),context=typeof obj==\"function\"&&!itself?obj.prototype[method]:obj[method];this.assert(typeof context==\"function\",\"expected #{this} to respond to \"+_.inspect(method),\"expected #{this} to not respond to \"+_.inspect(method));}Assertion2.addMethod(\"respondTo\",respondTo),Assertion2.addMethod(\"respondsTo\",respondTo),Assertion2.addProperty(\"itself\",function(){flag(this,\"itself\",!0);});function satisfy(matcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),result=matcher(obj);this.assert(result,\"expected #{this} to satisfy \"+_.objDisplay(matcher),\"expected #{this} to not satisfy\"+_.objDisplay(matcher),!flag(this,\"negate\"),result);}Assertion2.addMethod(\"satisfy\",satisfy),Assertion2.addMethod(\"satisfies\",satisfy);function closeTo(expected,delta,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"number\"),typeof expected!=\"number\"||typeof delta!=\"number\"){flagMsg=flagMsg?flagMsg+\": \":\"\";var deltaMessage=delta===void 0?\", and a delta is required\":\"\";throw new AssertionError2(flagMsg+\"the arguments to closeTo or approximately must be numbers\"+deltaMessage,void 0,ssfi)}this.assert(Math.abs(obj-expected)<=delta,\"expected #{this} to be close to \"+expected+\" +/- \"+delta,\"expected #{this} not to be close to \"+expected+\" +/- \"+delta);}Assertion2.addMethod(\"closeTo\",closeTo),Assertion2.addMethod(\"approximately\",closeTo);function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return !1;superset=superset.slice();}return subset.every(function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return matchIdx===-1?!1:(contains||superset.splice(matchIdx,1),!0)}return superset.some(function(elem2,matchIdx2){return cmp(elem,elem2)?(contains||superset.splice(matchIdx2,1),!0):!1})})}Assertion2.addMethod(\"members\",function(subset,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an(\"array\"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an(\"array\");var contains=flag(this,\"contains\"),ordered=flag(this,\"ordered\"),subject,failMsg,failNegateMsg;contains?(subject=ordered?\"an ordered superset\":\"a superset\",failMsg=\"expected #{this} to be \"+subject+\" of #{exp}\",failNegateMsg=\"expected #{this} to not be \"+subject+\" of #{exp}\"):(subject=ordered?\"ordered members\":\"members\",failMsg=\"expected #{this} to have the same \"+subject+\" as #{exp}\",failNegateMsg=\"expected #{this} to not have the same \"+subject+\" as #{exp}\");var cmp=flag(this,\"deep\")?flag(this,\"eql\"):void 0;this.assert(isSubsetOf(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0);});function oneOf(list,msg){msg&&flag(this,\"message\",msg);var expected=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),contains=flag(this,\"contains\"),isDeep=flag(this,\"deep\"),eql=flag(this,\"eql\");new Assertion2(list,flagMsg,ssfi,!0).to.be.an(\"array\"),contains?this.assert(list.some(function(possibility){return expected.indexOf(possibility)>-1}),\"expected #{this} to contain one of #{exp}\",\"expected #{this} to not contain one of #{exp}\",list,expected):isDeep?this.assert(list.some(function(possibility){return eql(expected,possibility)}),\"expected #{this} to deeply equal one of #{exp}\",\"expected #{this} to deeply equal one of #{exp}\",list,expected):this.assert(list.indexOf(expected)>-1,\"expected #{this} to be one of #{exp}\",\"expected #{this} to not be one of #{exp}\",list,expected);}Assertion2.addMethod(\"oneOf\",oneOf);function assertChanges(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"change\"),flag(this,\"realDelta\",final!==initial),this.assert(initial!==final,\"expected \"+msgObj+\" to change\",\"expected \"+msgObj+\" to not change\");}Assertion2.addMethod(\"change\",assertChanges),Assertion2.addMethod(\"changes\",assertChanges);function assertIncreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"increase\"),flag(this,\"realDelta\",final-initial),this.assert(final-initial>0,\"expected \"+msgObj+\" to increase\",\"expected \"+msgObj+\" to not increase\");}Assertion2.addMethod(\"increase\",assertIncreases),Assertion2.addMethod(\"increases\",assertIncreases);function assertDecreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"decrease\"),flag(this,\"realDelta\",initial-final),this.assert(final-initial<0,\"expected \"+msgObj+\" to decrease\",\"expected \"+msgObj+\" to not decrease\");}Assertion2.addMethod(\"decrease\",assertDecreases),Assertion2.addMethod(\"decreases\",assertDecreases);function assertDelta(delta,msg){msg&&flag(this,\"message\",msg);var msgObj=flag(this,\"deltaMsgObj\"),initial=flag(this,\"initialDeltaValue\"),final=flag(this,\"finalDeltaValue\"),behavior2=flag(this,\"deltaBehavior\"),realDelta=flag(this,\"realDelta\"),expression;behavior2===\"change\"?expression=Math.abs(final-initial)===Math.abs(delta):expression=realDelta===Math.abs(delta),this.assert(expression,\"expected \"+msgObj+\" to \"+behavior2+\" by \"+delta,\"expected \"+msgObj+\" to not \"+behavior2+\" by \"+delta);}Assertion2.addMethod(\"by\",assertDelta),Assertion2.addProperty(\"extensible\",function(){var obj=flag(this,\"object\"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,\"expected #{this} to be extensible\",\"expected #{this} to not be extensible\");}),Assertion2.addProperty(\"sealed\",function(){var obj=flag(this,\"object\"),isSealed=obj===Object(obj)?Object.isSealed(obj):!0;this.assert(isSealed,\"expected #{this} to be sealed\",\"expected #{this} to not be sealed\");}),Assertion2.addProperty(\"frozen\",function(){var obj=flag(this,\"object\"),isFrozen=obj===Object(obj)?Object.isFrozen(obj):!0;this.assert(isFrozen,\"expected #{this} to be frozen\",\"expected #{this} to not be frozen\");}),Assertion2.addProperty(\"finite\",function(msg){var obj=flag(this,\"object\");this.assert(typeof obj==\"number\"&&isFinite(obj),\"expected #{this} to be a finite number\",\"expected #{this} to not be a finite number\");});};}});var require_expect=__commonJS({\"../../node_modules/chai/lib/chai/interface/expect.js\"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"expect.fail()\",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)};};}});var require_should=__commonJS({\"../../node_modules/chai/lib/chai/interface/should.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol==\"function\"&&this instanceof Symbol||typeof BigInt==\"function\"&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)}function shouldSetter(value){Object.defineProperty(this,\"should\",{value,enumerable:!0,configurable:!0,writable:!0});}Object.defineProperty(Object.prototype,\"should\",{set:shouldSetter,get:shouldGetter,configurable:!0});var should2={};return should2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"should.fail()\",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},should2.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2);},should2.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.Throw(errt,errs);},should2.exist=function(val,msg){new Assertion2(val,msg).to.exist;},should2.not={},should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2);},should2.not.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.not.Throw(errt,errs);},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist;},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould;};}});var require_assert=__commonJS({\"../../node_modules/chai/lib/chai/interface/assert.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag;var assert2=chai2.assert=function(express,errmsg){var test=new Assertion2(null,null,chai2.assert,!0);test.assert(express,errmsg,\"[ negation message unavailable ]\");};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"assert.fail()\",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok;},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok;},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,\"object\"),\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{act}\",exp,act,!0);},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,\"object\"),\"expected #{this} to not equal #{exp}\",\"expected #{this} to equal #{act}\",exp,act,!0);},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp);},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp);},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp);},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp);},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv);},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst);},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw);},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst);},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true;},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0);},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false;},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1);},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null);},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null);},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN;},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN;},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist;},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist;},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0);},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0);},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a(\"function\");},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a(\"function\");},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a(\"object\");},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a(\"object\");},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an(\"array\");},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an(\"array\");},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a(\"string\");},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a(\"string\");},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a(\"number\");},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a(\"number\");},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite;},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a(\"boolean\");},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a(\"boolean\");},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3);},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3);},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3);},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3);},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc);},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc);},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc);},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc);},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc);},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc);},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc);},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc);},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc);},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc);},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc);},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc);},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re);},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re);},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop);},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop);},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val);},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val);},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val);},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val);},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop);},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop);},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value);},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value);},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value);},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value);},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop);},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop);},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val);},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val);},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val);},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val);},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len);},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2);},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2);},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2);},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2);},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2);},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2);},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2);},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2);},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2);},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2);},assert2.throws=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn2,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,\"object\")},assert2.doesNotThrow=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn2,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher);},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case\"==\":ok=val==val2;break;case\"===\":ok=val===val2;break;case\">\":ok=val>val2;break;case\">=\":ok=val>=val2;break;case\"<\":ok=valcode=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections=__commonJS({\"../../node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let rawKeys=Object.keys(object),keys2=compareKeys!==null?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if(stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}[${(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if(stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}{${(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if(stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\")return stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs);if(typeof val.toAsymmetricMatcher!=\"function\")throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?`[${name}]`:(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?`{${(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return `${commentColor.open}${commentColor.close}`};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>val?.constructor?.name&&testNode2(val);exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable=__commonJS({\"../../node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`,SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}{${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`;function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):`${name+SPACE}{${(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)}}`},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?`${name+SPACE}{${val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY}}`:`${name+SPACE}[${val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY}]`},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}[${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=Symbol.for(\"react.element\"),REACT_PORTAL_TYPE=Symbol.for(\"react.portal\"),REACT_FRAGMENT_TYPE=Symbol.for(\"react.fragment\"),REACT_STRICT_MODE_TYPE=Symbol.for(\"react.strict_mode\"),REACT_PROFILER_TYPE=Symbol.for(\"react.profiler\"),REACT_PROVIDER_TYPE=Symbol.for(\"react.provider\"),REACT_CONTEXT_TYPE=Symbol.for(\"react.context\"),REACT_SERVER_CONTEXT_TYPE=Symbol.for(\"react.server_context\"),REACT_FORWARD_REF_TYPE=Symbol.for(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=Symbol.for(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=Symbol.for(\"react.suspense_list\"),REACT_MEMO_TYPE=Symbol.for(\"react.memo\"),REACT_LAZY_TYPE=Symbol.for(\"react.lazy\"),REACT_OFFSCREEN_TYPE=Symbol.for(\"react.offscreen\"),enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for(\"react.module.reference\");function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||enableDebugTracing||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type3===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_MODULE_REFERENCE||type3.getModuleId!==void 0))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isSuspenseList=isSuspenseList,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development();}});var require_ReactElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?`ForwardRef(${functionName})`:\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?`Memo(${functionName})`:\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis[\"jest-symbol-do-not-touch\"]||globalThis.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build=__commonJS({\"../../node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||\"anonymous\"}]`:\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return `[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return `${val}`;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?`\"${val.replace(/\"|\\\\/g,\"\\\\$&\")}\"`:`\"${val}\"`;if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":`${min?\"\":\"Arguments \"}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:isToStringedArrayType(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":`${val.constructor.name} `}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":`Map {${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")}}`:toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":`Set {${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||isWindow(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":`${getConstructorName(val)} `}{${(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2options,DEFAULT_OPTIONS=toOptionsSubtype({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:DEFAULT_THEME});exports.DEFAULT_OPTIONS=DEFAULT_OPTIONS;function validateOptions(options){if(Object.keys(options).forEach(key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>({callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:typeof options?.compareKeys==\"function\"||options?.compareKeys===null?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?\"\":createIndent(options?.indent??DEFAULT_OPTIONS.indent),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?\" \":`\n`,spacingOuter:options?.min?\"\":`\n`});function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_build2=__commonJS({\"../../node_modules/diff-sequences/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=diffSequence;var pkg=\"diff-sequences\",NOT_YET_SET=0,countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=-baDeltaLength+(d2-1),aIndexPrev1=NOT_YET_SET,nF=d2{let bR=bEnd-aEnd,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=NOT_YET_SET,nR=d2{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2===0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon);},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)};}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd;}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];divide(nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division);let{nChangePreceding,aEndPreceding,bEndPreceding,nCommonPreceding,aCommonPreceding,bCommonPreceding,nCommonFollowing,aCommonFollowing,bCommonFollowing,nChangeFollowing,aStartFollowing,bStartFollowing}=division;aStart{if(typeof arg!=\"number\")throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if(type3!==\"function\")throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)};function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength(\"aLength\",aLength),validateLength(\"bLength\",bLength),validateCallback(\"isCommon\",isCommon),validateCallback(\"foundSubsequence\",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(nCommonF!==0&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[NOT_YET_SET],[NOT_YET_SET],{aCommonFollowing:NOT_YET_SET,aCommonPreceding:NOT_YET_SET,aEndPreceding:NOT_YET_SET,aStartFollowing:NOT_YET_SET,bCommonFollowing:NOT_YET_SET,bCommonPreceding:NOT_YET_SET,bEndPreceding:NOT_YET_SET,bStartFollowing:NOT_YET_SET,nChangeFollowing:NOT_YET_SET,nChangePreceding:NOT_YET_SET,nCommonFollowing:NOT_YET_SET,nCommonPreceding:NOT_YET_SET}),nCommonR!==0&&foundSubsequence(nCommonR,aEnd,bEnd);}}}});var require_min_indent=__commonJS({\"../../node_modules/min-indent/index.js\"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \\t]*(?=\\S)/gm);return match?match.reduce((r,a)=>Math.min(r,a.length),1/0):0};}});var require_strip_indent=__commonJS({\"../../node_modules/strip-indent/index.js\"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(indent===0)return string2;let regex=new RegExp(`^[ \\\\t]{${indent}}`,\"gm\");return string2.replace(regex,\"\")};}});var require_indent_string=__commonJS({\"../../node_modules/indent-string/index.js\"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:\" \",includeEmptyLines:!1,...options},typeof string2!=\"string\")throw new TypeError(`Expected \\`input\\` to be a \\`string\\`, got \\`${typeof string2}\\``);if(typeof count!=\"number\")throw new TypeError(`Expected \\`count\\` to be a \\`number\\`, got \\`${typeof count}\\``);if(typeof options.indent!=\"string\")throw new TypeError(`Expected \\`options.indent\\` to be a \\`string\\`, got \\`${typeof options.indent}\\``);if(count===0)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))};}});var require_redent=__commonJS({\"../../node_modules/redent/index.js\"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options);}});var require_listCacheClear=__commonJS({\"../../node_modules/lodash/_listCacheClear.js\"(exports,module2){function listCacheClear(){this.__data__=[],this.size=0;}module2.exports=listCacheClear;}});var require_eq=__commonJS({\"../../node_modules/lodash/eq.js\"(exports,module2){function eq2(value,other){return value===other||value!==value&&other!==other}module2.exports=eq2;}});var require_assocIndexOf=__commonJS({\"../../node_modules/lodash/_assocIndexOf.js\"(exports,module2){var eq2=require_eq();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return -1}module2.exports=assocIndexOf;}});var require_listCacheDelete=__commonJS({\"../../node_modules/lodash/_listCacheDelete.js\"(exports,module2){var assocIndexOf=require_assocIndexOf(),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return !1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}module2.exports=listCacheDelete;}});var require_listCacheGet=__commonJS({\"../../node_modules/lodash/_listCacheGet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module2.exports=listCacheGet;}});var require_listCacheHas=__commonJS({\"../../node_modules/lodash/_listCacheHas.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module2.exports=listCacheHas;}});var require_listCacheSet=__commonJS({\"../../node_modules/lodash/_listCacheSet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}module2.exports=listCacheSet;}});var require_ListCache=__commonJS({\"../../node_modules/lodash/_ListCache.js\"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++indexarrLength))return !1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module2.exports=isLength;}});var require_baseIsTypedArray=__commonJS({\"../../node_modules/lodash/_baseIsTypedArray.js\"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),argsTag=\"[object Arguments]\",arrayTag=\"[object Array]\",boolTag=\"[object Boolean]\",dateTag=\"[object Date]\",errorTag=\"[object Error]\",funcTag=\"[object Function]\",mapTag=\"[object Map]\",numberTag=\"[object Number]\",objectTag=\"[object Object]\",regexpTag=\"[object RegExp]\",setTag=\"[object Set]\",stringTag=\"[object String]\",weakMapTag=\"[object WeakMap]\",arrayBufferTag=\"[object ArrayBuffer]\",dataViewTag=\"[object DataView]\",float32Tag=\"[object Float32Array]\",float64Tag=\"[object Float64Array]\",int8Tag=\"[object Int8Array]\",int16Tag=\"[object Int16Array]\",int32Tag=\"[object Int32Array]\",uint8Tag=\"[object Uint8Array]\",uint8ClampedTag=\"[object Uint8ClampedArray]\",uint16Tag=\"[object Uint16Array]\",uint32Tag=\"[object Uint32Array]\",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module2.exports=baseIsTypedArray;}});var require_baseUnary=__commonJS({\"../../node_modules/lodash/_baseUnary.js\"(exports,module2){function baseUnary(func){return function(value){return func(value)}}module2.exports=baseUnary;}});var require_nodeUtil=__commonJS({\"../../node_modules/lodash/_nodeUtil.js\"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module2==\"object\"&&module2&&!module2.nodeType&&module2,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require(\"util\").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding(\"util\")}catch{}}();module2.exports=nodeUtil;}});var require_isTypedArray=__commonJS({\"../../node_modules/lodash/isTypedArray.js\"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray;}});var require_arrayLikeKeys=__commonJS({\"../../node_modules/lodash/_arrayLikeKeys.js\"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key==\"length\"||isBuff&&(key==\"offset\"||key==\"parent\")||isType&&(key==\"buffer\"||key==\"byteLength\"||key==\"byteOffset\")||isIndex(key,length)))&&result.push(key);return result}module2.exports=arrayLikeKeys;}});var require_isPrototype=__commonJS({\"../../node_modules/lodash/_isPrototype.js\"(exports,module2){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor==\"function\"&&Ctor.prototype||objectProto;return value===proto}module2.exports=isPrototype;}});var require_overArg=__commonJS({\"../../node_modules/lodash/_overArg.js\"(exports,module2){function overArg(func,transform){return function(arg){return func(transform(arg))}}module2.exports=overArg;}});var require_nativeKeys=__commonJS({\"../../node_modules/lodash/_nativeKeys.js\"(exports,module2){var overArg=require_overArg(),nativeKeys=overArg(Object.keys,Object);module2.exports=nativeKeys;}});var require_baseKeys=__commonJS({\"../../node_modules/lodash/_baseKeys.js\"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!=\"constructor\"&&result.push(key);return result}module2.exports=baseKeys;}});var require_isArrayLike=__commonJS({\"../../node_modules/lodash/isArrayLike.js\"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}module2.exports=isArrayLike;}});var require_keys=__commonJS({\"../../node_modules/lodash/keys.js\"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module2.exports=keys2;}});var require_getAllKeys=__commonJS({\"../../node_modules/lodash/_getAllKeys.js\"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}module2.exports=getAllKeys;}});var require_equalObjects=__commonJS({\"../../node_modules/lodash/_equalObjects.js\"(exports,module2){var getAllKeys=require_getAllKeys(),COMPARE_PARTIAL_FLAG=1,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return !1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return !1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,properties);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=properties.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!ariaPropsMap.get(key)},keys:function(){return properties.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return properties.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default;}});var require_domMap=__commonJS({\"node_modules/aria-query/lib/domMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(dom),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,dom);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=dom.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!domMap.get(key)},keys:function(){return dom.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return dom.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(domMap,domMap.entries());exports.default=_default;}});var require_commandRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var commandRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=commandRole;exports.default=_default;}});var require_compositeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var compositeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=compositeRole;exports.default=_default;}});var require_inputRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var inputRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"input\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=inputRole;exports.default=_default;}});var require_landmarkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var landmarkRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=landmarkRole;exports.default=_default;}});var require_rangeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rangeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuemax\":null,\"aria-valuemin\":null,\"aria-valuenow\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rangeRole;exports.default=_default;}});var require_roletypeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var roletypeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{\"aria-atomic\":null,\"aria-busy\":null,\"aria-controls\":null,\"aria-current\":null,\"aria-describedby\":null,\"aria-details\":null,\"aria-dropeffect\":null,\"aria-flowto\":null,\"aria-grabbed\":null,\"aria-hidden\":null,\"aria-keyshortcuts\":null,\"aria-label\":null,\"aria-labelledby\":null,\"aria-live\":null,\"aria-owns\":null,\"aria-relevant\":null,\"aria-roledescription\":null},relatedConcepts:[{concept:{name:\"rel\"},module:\"HTML\"},{concept:{name:\"role\"},module:\"XHTML\"},{concept:{name:\"type\"},module:\"Dublin Core\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=roletypeRole;exports.default=_default;}});var require_sectionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"frontmatter\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"SMIL\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionRole;exports.default=_default;}});var require_sectionheadRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionheadRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionheadRole;exports.default=_default;}});var require_selectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var selectRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=selectRole;exports.default=_default;}});var require_structureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var structureRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=structureRole;exports.default=_default;}});var require_widgetRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var widgetRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=widgetRole;exports.default=_default;}});var require_windowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var windowRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-modal\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=windowRole;exports.default=_default;}});var require_ariaAbstractRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaAbstractRoles=[[\"command\",_commandRole.default],[\"composite\",_compositeRole.default],[\"input\",_inputRole.default],[\"landmark\",_landmarkRole.default],[\"range\",_rangeRole.default],[\"roletype\",_roletypeRole.default],[\"section\",_sectionRole.default],[\"sectionhead\",_sectionheadRole.default],[\"select\",_selectRole.default],[\"structure\",_structureRole.default],[\"widget\",_widgetRole.default],[\"window\",_windowRole.default]],_default=ariaAbstractRoles;exports.default=_default;}});var require_alertRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"assertive\"},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=alertRole;exports.default=_default;}});var require_alertdialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertdialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"alert\"],[\"roletype\",\"window\",\"dialog\"]]},_default=alertdialogRole;exports.default=_default;}});var require_applicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var applicationRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=applicationRole;exports.default=_default;}});var require_articleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/articleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var articleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"article\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=articleRole;exports.default=_default;}});var require_bannerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var bannerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"header\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=bannerRole;exports.default=_default;}});var require_blockquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var blockquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=blockquoteRole;exports.default=_default;}});var require_buttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var buttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-pressed\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-pressed\"},{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"false\"}],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"true\"}],constraints:[\"direct descendant of details element with the open attribute defined\"],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"button\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"image\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"reset\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"submit\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"button\"},module:\"HTML\"},{concept:{name:\"trigger\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=buttonRole;exports.default=_default;}});var require_captionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/captionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var captionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[\"figure\",\"grid\",\"table\"],requiredContextRole:[\"figure\",\"grid\",\"table\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=captionRole;exports.default=_default;}});var require_cellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/cellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var cellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-colspan\":null,\"aria-rowindex\":null,\"aria-rowspan\":null},relatedConcepts:[{concept:{constraints:[\"descendant of table\"],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=cellRole;exports.default=_default;}});var require_checkboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var checkboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=checkboxRole;exports.default=_default;}});var require_codeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/codeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var codeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=codeRole;exports.default=_default;}});var require_columnheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var columnheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{attributes:[{name:\"scope\",value:\"col\"}],concept:{name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=columnheaderRole;exports.default=_default;}});var require_comboboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var comboboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-expanded\":\"false\",\"aria-haspopup\":\"listbox\"},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{constraints:[\"undefined\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{name:\"size\",value:1}],name:\"select\"},module:\"HTML\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-expanded\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=comboboxRole;exports.default=_default;}});var require_complementaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var complementaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"aside\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=complementaryRole;exports.default=_default;}});var require_contentinfoRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var contentinfoRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"footer\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=contentinfoRole;exports.default=_default;}});var require_definitionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var definitionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dd\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=definitionRole;exports.default=_default;}});var require_deletionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var deletionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=deletionRole;exports.default=_default;}});var require_dialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var dialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dialog\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"window\"]]},_default=dialogRole;exports.default=_default;}});var require_directoryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var directoryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{module:\"DAISY Guide\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=directoryRole;exports.default=_default;}});var require_documentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/documentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var documentRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}},{concept:{name:\"body\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=documentRole;exports.default=_default;}});var require_emphasisRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var emphasisRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=emphasisRole;exports.default=_default;}});var require_feedRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/feedRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var feedRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"article\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=feedRole;exports.default=_default;}});var require_figureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/figureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var figureRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"figure\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=figureRole;exports.default=_default;}});var require_formRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/formRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var formRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"name\"}],name:\"form\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=formRole;exports.default=_default;}});var require_genericRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/genericRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var genericRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[{concept:{name:\"span\"},module:\"HTML\"},{concept:{name:\"div\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=genericRole;exports.default=_default;}});var require_gridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-multiselectable\":null,\"aria-readonly\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"grid\"}],name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"table\"]]},_default=gridRole;exports.default=_default;}});var require_gridcellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridcellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-selected\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"gridcell\"}],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"widget\"]]},_default=gridcellRole;exports.default=_default;}});var require_groupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/groupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var groupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"details\"},module:\"HTML\"},{concept:{name:\"fieldset\"},module:\"HTML\"},{concept:{name:\"optgroup\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=groupRole;exports.default=_default;}});var require_headingRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/headingRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var headingRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-level\":\"2\"},relatedConcepts:[{concept:{name:\"h1\"},module:\"HTML\"},{concept:{name:\"h2\"},module:\"HTML\"},{concept:{name:\"h3\"},module:\"HTML\"},{concept:{name:\"h4\"},module:\"HTML\"},{concept:{name:\"h5\"},module:\"HTML\"},{concept:{name:\"h6\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-level\":\"2\"},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=headingRole;exports.default=_default;}});var require_imgRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/imgRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var imgRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{name:\"imggroup\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=imgRole;exports.default=_default;}});var require_insertionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var insertionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=insertionRole;exports.default=_default;}});var require_linkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/linkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var linkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[{concept:{attributes:[{name:\"href\"}],name:\"a\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"area\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"link\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=linkRole;exports.default=_default;}});var require_listRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menu\"},module:\"HTML\"},{concept:{name:\"ol\"},module:\"HTML\"},{concept:{name:\"ul\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"listitem\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listRole;exports.default=_default;}});var require_listboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{attributes:[{constraints:[\">1\"],name:\"size\"},{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\">1\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{name:\"datalist\"},module:\"HTML\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"option\",\"group\"],[\"option\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=listboxRole;exports.default=_default;}});var require_listitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listitemRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{constraints:[\"direct descendant of ol, ul or menu\"],name:\"li\"},module:\"HTML\"},{concept:{name:\"item\"},module:\"XForms\"}],requireContextRole:[\"directory\",\"list\"],requiredContextRole:[\"directory\",\"list\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listitemRole;exports.default=_default;}});var require_logRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/logRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var logRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-live\":\"polite\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=logRole;exports.default=_default;}});var require_mainRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mainRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mainRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"main\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=mainRole;exports.default=_default;}});var require_marqueeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var marqueeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=marqueeRole;exports.default=_default;}});var require_mathRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mathRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mathRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"math\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=mathRole;exports.default=_default;}});var require_menuRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{name:\"MENU\"},module:\"JAPI\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"},{concept:{name:\"sidebar\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=menuRole;exports.default=_default;}});var require_menubarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menubarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"toolbar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\",\"menu\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"menu\"]]},_default=menubarRole;exports.default=_default;}});var require_menuitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"MENU_ITEM\"},module:\"JAPI\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"menuitem\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=menuitemRole;exports.default=_default;}});var require_menuitemcheckboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemcheckboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\"]]},_default=menuitemcheckboxRole;exports.default=_default;}});var require_menuitemradioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemradioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"input\",\"radio\"]]},_default=menuitemradioRole;exports.default=_default;}});var require_meterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/meterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var meterRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"]]},_default=meterRole;exports.default=_default;}});var require_navigationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var navigationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"nav\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=navigationRole;exports.default=_default;}});var require_noneRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noneRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noneRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=noneRole;exports.default=_default;}});var require_noteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=noteRole;exports.default=_default;}});var require_optionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/optionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var optionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[{concept:{name:\"item\"},module:\"XForms\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"option\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-selected\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=optionRole;exports.default=_default;}});var require_paragraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var paragraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=paragraphRole;exports.default=_default;}});var require_presentationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var presentationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=presentationRole;exports.default=_default;}});var require_progressbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var progressbarRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"progress\"},module:\"HTML\"},{concept:{name:\"status\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=progressbarRole;exports.default=_default;}});var require_radioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"radio\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=radioRole;exports.default=_default;}});var require_radiogroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radiogroupRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{name:\"list\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"radio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=radiogroupRole;exports.default=_default;}});var require_regionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/regionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var regionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"section\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"section\"},module:\"HTML\"},{concept:{name:\"Device Independence Glossart perceivable unit\"}},{concept:{name:\"frame\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=regionRole;exports.default=_default;}});var require_rowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-expanded\":null,\"aria-level\":null,\"aria-posinset\":null,\"aria-rowindex\":null,\"aria-selected\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"tr\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"cell\"],[\"columnheader\"],[\"gridcell\"],[\"rowheader\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"],[\"roletype\",\"widget\"]]},_default=rowRole;exports.default=_default;}});var require_rowgroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowgroupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"tbody\"},module:\"HTML\"},{concept:{name:\"tfoot\"},module:\"HTML\"},{concept:{name:\"thead\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"row\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rowgroupRole;exports.default=_default;}});var require_rowheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{concept:{attributes:[{name:\"scope\",value:\"row\"}],name:\"th\"},module:\"HTML\"},{concept:{attributes:[{name:\"scope\",value:\"rowgroup\"}],name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\",\"rowgroup\"],requiredContextRole:[\"row\",\"rowgroup\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=rowheaderRole;exports.default=_default;}});var require_scrollbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var scrollbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-valuetext\":null,\"aria-orientation\":\"vertical\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=scrollbarRole;exports.default=_default;}});var require_searchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=searchRole;exports.default=_default;}});var require_searchboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\",\"textbox\"]]},_default=searchboxRole;exports.default=_default;}});var require_separatorRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var separatorRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"aria-valuenow\":null,\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"hr\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=separatorRole;exports.default=_default;}});var require_sliderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sliderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-valuetext\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"range\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=sliderRole;exports.default=_default;}});var require_spinbuttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var spinbuttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-valuetext\":null,\"aria-valuenow\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"number\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=spinbuttonRole;exports.default=_default;}});var require_statusRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/statusRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var statusRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"polite\"},relatedConcepts:[{concept:{name:\"output\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=statusRole;exports.default=_default;}});var require_strongRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/strongRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var strongRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=strongRole;exports.default=_default;}});var require_subscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var subscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=subscriptRole;exports.default=_default;}});var require_superscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var superscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=superscriptRole;exports.default=_default;}});var require_switchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/switchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var switchRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"button\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"]]},_default=switchRole;exports.default=_default;}});var require_tabRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[],requireContextRole:[\"tablist\"],requiredContextRole:[\"tablist\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"],[\"roletype\",\"widget\"]]},_default=tabRole;exports.default=_default;}});var require_tableRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tableRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tableRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-colcount\":null,\"aria-rowcount\":null},relatedConcepts:[{concept:{name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tableRole;exports.default=_default;}});var require_tablistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tablistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-multiselectable\":null,\"aria-orientation\":\"horizontal\"},relatedConcepts:[{module:\"DAISY\",concept:{name:\"guide\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"tab\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"]]},_default=tablistRole;exports.default=_default;}});var require_tabpanelRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabpanelRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tabpanelRole;exports.default=_default;}});var require_termRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/termRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var termRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dfn\"},module:\"HTML\"},{concept:{name:\"dt\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=termRole;exports.default=_default;}});var require_textboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var textboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-multiline\":null,\"aria-placeholder\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"type\"},{constraints:[\"undefined\"],name:\"list\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"input\"},module:\"XForms\"},{concept:{name:\"textarea\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=textboxRole;exports.default=_default;}});var require_timeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=timeRole;exports.default=_default;}});var require_timerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"status\"]]},_default=timerRole;exports.default=_default;}});var require_toolbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var toolbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"menubar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=toolbarRole;exports.default=_default;}});var require_tooltipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tooltipRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tooltipRole;exports.default=_default;}});var require_treeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"treeitem\",\"group\"],[\"treeitem\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=treeRole;exports.default=_default;}});var require_treegridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treegridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"grid\"],[\"roletype\",\"structure\",\"section\",\"table\",\"grid\"],[\"roletype\",\"widget\",\"composite\",\"select\",\"tree\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"tree\"]]},_default=treegridRole;exports.default=_default;}});var require_treeitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[],requireContextRole:[\"group\",\"tree\"],requiredContextRole:[\"group\",\"tree\"],requiredOwnedElements:[],requiredProps:{\"aria-selected\":null},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"],[\"roletype\",\"widget\",\"input\",\"option\"]]},_default=treeitemRole;exports.default=_default;}});var require_ariaLiteralRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaLiteralRoles=[[\"alert\",_alertRole.default],[\"alertdialog\",_alertdialogRole.default],[\"application\",_applicationRole.default],[\"article\",_articleRole.default],[\"banner\",_bannerRole.default],[\"blockquote\",_blockquoteRole.default],[\"button\",_buttonRole.default],[\"caption\",_captionRole.default],[\"cell\",_cellRole.default],[\"checkbox\",_checkboxRole.default],[\"code\",_codeRole.default],[\"columnheader\",_columnheaderRole.default],[\"combobox\",_comboboxRole.default],[\"complementary\",_complementaryRole.default],[\"contentinfo\",_contentinfoRole.default],[\"definition\",_definitionRole.default],[\"deletion\",_deletionRole.default],[\"dialog\",_dialogRole.default],[\"directory\",_directoryRole.default],[\"document\",_documentRole.default],[\"emphasis\",_emphasisRole.default],[\"feed\",_feedRole.default],[\"figure\",_figureRole.default],[\"form\",_formRole.default],[\"generic\",_genericRole.default],[\"grid\",_gridRole.default],[\"gridcell\",_gridcellRole.default],[\"group\",_groupRole.default],[\"heading\",_headingRole.default],[\"img\",_imgRole.default],[\"insertion\",_insertionRole.default],[\"link\",_linkRole.default],[\"list\",_listRole.default],[\"listbox\",_listboxRole.default],[\"listitem\",_listitemRole.default],[\"log\",_logRole.default],[\"main\",_mainRole.default],[\"marquee\",_marqueeRole.default],[\"math\",_mathRole.default],[\"menu\",_menuRole.default],[\"menubar\",_menubarRole.default],[\"menuitem\",_menuitemRole.default],[\"menuitemcheckbox\",_menuitemcheckboxRole.default],[\"menuitemradio\",_menuitemradioRole.default],[\"meter\",_meterRole.default],[\"navigation\",_navigationRole.default],[\"none\",_noneRole.default],[\"note\",_noteRole.default],[\"option\",_optionRole.default],[\"paragraph\",_paragraphRole.default],[\"presentation\",_presentationRole.default],[\"progressbar\",_progressbarRole.default],[\"radio\",_radioRole.default],[\"radiogroup\",_radiogroupRole.default],[\"region\",_regionRole.default],[\"row\",_rowRole.default],[\"rowgroup\",_rowgroupRole.default],[\"rowheader\",_rowheaderRole.default],[\"scrollbar\",_scrollbarRole.default],[\"search\",_searchRole.default],[\"searchbox\",_searchboxRole.default],[\"separator\",_separatorRole.default],[\"slider\",_sliderRole.default],[\"spinbutton\",_spinbuttonRole.default],[\"status\",_statusRole.default],[\"strong\",_strongRole.default],[\"subscript\",_subscriptRole.default],[\"superscript\",_superscriptRole.default],[\"switch\",_switchRole.default],[\"tab\",_tabRole.default],[\"table\",_tableRole.default],[\"tablist\",_tablistRole.default],[\"tabpanel\",_tabpanelRole.default],[\"term\",_termRole.default],[\"textbox\",_textboxRole.default],[\"time\",_timeRole.default],[\"timer\",_timerRole.default],[\"toolbar\",_toolbarRole.default],[\"tooltip\",_tooltipRole.default],[\"tree\",_treeRole.default],[\"treegrid\",_treegridRole.default],[\"treeitem\",_treeitemRole.default]],_default=ariaLiteralRoles;exports.default=_default;}});var require_docAbstractRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAbstractRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"abstract [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docAbstractRole;exports.default=_default;}});var require_docAcknowledgmentsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAcknowledgmentsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"acknowledgments [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAcknowledgmentsRole;exports.default=_default;}});var require_docAfterwordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAfterwordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"afterword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAfterwordRole;exports.default=_default;}});var require_docAppendixRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAppendixRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"appendix [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAppendixRole;exports.default=_default;}});var require_docBacklinkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBacklinkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"content\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"referrer [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBacklinkRole;exports.default=_default;}});var require_docBiblioentryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBiblioentryRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"EPUB biblioentry [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-bibliography\"],requiredContextRole:[\"doc-bibliography\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docBiblioentryRole;exports.default=_default;}});var require_docBibliographyRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliographyRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"bibliography [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-biblioentry\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docBibliographyRole;exports.default=_default;}});var require_docBibliorefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliorefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"biblioref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBibliorefRole;exports.default=_default;}});var require_docChapterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docChapterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"chapter [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docChapterRole;exports.default=_default;}});var require_docColophonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docColophonRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"colophon [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docColophonRole;exports.default=_default;}});var require_docConclusionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docConclusionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"conclusion [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docConclusionRole;exports.default=_default;}});var require_docCoverRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCoverRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"cover [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=docCoverRole;exports.default=_default;}});var require_docCreditRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credit [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docCreditRole;exports.default=_default;}});var require_docCreditsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credits [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docCreditsRole;exports.default=_default;}});var require_docDedicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docDedicationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"dedication [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docDedicationRole;exports.default=_default;}});var require_docEndnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-endnotes\"],requiredContextRole:[\"doc-endnotes\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docEndnoteRole;exports.default=_default;}});var require_docEndnotesRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnotesRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnotes [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-endnote\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEndnotesRole;exports.default=_default;}});var require_docEpigraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpigraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epigraph [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docEpigraphRole;exports.default=_default;}});var require_docEpilogueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpilogueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epilogue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEpilogueRole;exports.default=_default;}});var require_docErrataRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docErrataRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"errata [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docErrataRole;exports.default=_default;}});var require_docExampleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docExampleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docExampleRole;exports.default=_default;}});var require_docFootnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docFootnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"footnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docFootnoteRole;exports.default=_default;}});var require_docForewordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docForewordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"foreword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docForewordRole;exports.default=_default;}});var require_docGlossaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossary [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"definition\"],[\"term\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docGlossaryRole;exports.default=_default;}});var require_docGlossrefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossrefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docGlossrefRole;exports.default=_default;}});var require_docIndexRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIndexRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"index [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docIndexRole;exports.default=_default;}});var require_docIntroductionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIntroductionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"introduction [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docIntroductionRole;exports.default=_default;}});var require_docNoterefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoterefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"noteref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docNoterefRole;exports.default=_default;}});var require_docNoticeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoticeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"notice [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docNoticeRole;exports.default=_default;}});var require_docPagebreakRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagebreakRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"pagebreak [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"separator\"]]},_default=docPagebreakRole;exports.default=_default;}});var require_docPagelistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagelistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"page-list [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docPagelistRole;exports.default=_default;}});var require_docPartRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPartRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"part [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPartRole;exports.default=_default;}});var require_docPrefaceRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrefaceRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"preface [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrefaceRole;exports.default=_default;}});var require_docPrologueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrologueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"prologue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrologueRole;exports.default=_default;}});var require_docPullquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPullquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"pullquote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"none\"]]},_default=docPullquoteRole;exports.default=_default;}});var require_docQnaRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docQnaRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"qna [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docQnaRole;exports.default=_default;}});var require_docSubtitleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docSubtitleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"subtitle [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=docSubtitleRole;exports.default=_default;}});var require_docTipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTipRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"help [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docTipRole;exports.default=_default;}});var require_docTocRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTocRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"toc [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docTocRole;exports.default=_default;}});var require_ariaDpubRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaDpubRoles=[[\"doc-abstract\",_docAbstractRole.default],[\"doc-acknowledgments\",_docAcknowledgmentsRole.default],[\"doc-afterword\",_docAfterwordRole.default],[\"doc-appendix\",_docAppendixRole.default],[\"doc-backlink\",_docBacklinkRole.default],[\"doc-biblioentry\",_docBiblioentryRole.default],[\"doc-bibliography\",_docBibliographyRole.default],[\"doc-biblioref\",_docBibliorefRole.default],[\"doc-chapter\",_docChapterRole.default],[\"doc-colophon\",_docColophonRole.default],[\"doc-conclusion\",_docConclusionRole.default],[\"doc-cover\",_docCoverRole.default],[\"doc-credit\",_docCreditRole.default],[\"doc-credits\",_docCreditsRole.default],[\"doc-dedication\",_docDedicationRole.default],[\"doc-endnote\",_docEndnoteRole.default],[\"doc-endnotes\",_docEndnotesRole.default],[\"doc-epigraph\",_docEpigraphRole.default],[\"doc-epilogue\",_docEpilogueRole.default],[\"doc-errata\",_docErrataRole.default],[\"doc-example\",_docExampleRole.default],[\"doc-footnote\",_docFootnoteRole.default],[\"doc-foreword\",_docForewordRole.default],[\"doc-glossary\",_docGlossaryRole.default],[\"doc-glossref\",_docGlossrefRole.default],[\"doc-index\",_docIndexRole.default],[\"doc-introduction\",_docIntroductionRole.default],[\"doc-noteref\",_docNoterefRole.default],[\"doc-notice\",_docNoticeRole.default],[\"doc-pagebreak\",_docPagebreakRole.default],[\"doc-pagelist\",_docPagelistRole.default],[\"doc-part\",_docPartRole.default],[\"doc-preface\",_docPrefaceRole.default],[\"doc-prologue\",_docPrologueRole.default],[\"doc-pullquote\",_docPullquoteRole.default],[\"doc-qna\",_docQnaRole.default],[\"doc-subtitle\",_docSubtitleRole.default],[\"doc-tip\",_docTipRole.default],[\"doc-toc\",_docTocRole.default]],_default=ariaDpubRoles;exports.default=_default;}});var require_graphicsDocumentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsDocumentRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-object\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"ARIA\",concept:{name:\"article\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=graphicsDocumentRole;exports.default=_default;}});var require_graphicsObjectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsObjectRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-document\"}},{module:\"ARIA\",concept:{name:\"group\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"GRAPHICS\",concept:{name:\"graphics-symbol\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=graphicsObjectRole;exports.default=_default;}});var require_graphicsSymbolRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsSymbolRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=graphicsSymbolRole;exports.default=_default;}});var require_ariaGraphicsRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaGraphicsRoles=[[\"graphics-document\",_graphicsDocumentRole.default],[\"graphics-object\",_graphicsObjectRole.default],[\"graphics-symbol\",_graphicsSymbolRole.default]],_default=ariaGraphicsRoles;exports.default=_default;}});var require_rolesMap=__commonJS({\"node_modules/aria-query/lib/rolesMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn2.call(thisArg,values,key,roles3);}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}},get:function(key){var item=roles3.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!rolesMap.get(key)},keys:function(){return roles3.map(function(_ref5){var _ref6=_slicedToArray(_ref5,1),key=_ref6[0];return key})},values:function(){return roles3.map(function(_ref7){var _ref8=_slicedToArray(_ref7,2),values2=_ref8[1];return values2})}},_default=(0, _iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default;}});var require_isArguments2=__commonJS({\"../../node_modules/object-keys/isArguments.js\"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs=str===\"[object Arguments]\";return isArgs||(isArgs=str!==\"[object Array]\"&&value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&toStr3.call(value.callee)===\"[object Function]\"),isArgs};}});var require_implementation=__commonJS({\"../../node_modules/object-keys/implementation.js\"(exports,module2){var keysShim;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},\"toString\"),hasProtoEnumBug=isEnumerable.call(function(){},\"prototype\"),dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>\"u\")return !1;for(var k in window)try{if(!excludedKeys[\"$\"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]==\"object\")try{equalsConstructorPrototype(window[k]);}catch{return !0}}catch{return !0}return !1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>\"u\"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return !1}},keysShim=function(object){var isObject2=object!==null&&typeof object==\"object\",isFunction=toStr3.call(object)===\"[object Function]\",isArguments=isArgs(object),isString=isObject2&&toStr3.call(object)===\"[object String]\",theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError(\"Object.keys called on a non-object\");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j\"u\"||!getProto?undefined2:getProto(Uint8Array),INTRINSICS={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?undefined2:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?undefined2:ArrayBuffer,\"%ArrayIteratorPrototype%\":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined2,\"%AsyncFromSyncIteratorPrototype%\":undefined2,\"%AsyncFunction%\":needsEval,\"%AsyncGenerator%\":needsEval,\"%AsyncGeneratorFunction%\":needsEval,\"%AsyncIteratorPrototype%\":needsEval,\"%Atomics%\":typeof Atomics>\"u\"?undefined2:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?undefined2:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?undefined2:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?undefined2:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?undefined2:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":$Error,\"%eval%\":eval,\"%EvalError%\":$EvalError,\"%Float32Array%\":typeof Float32Array>\"u\"?undefined2:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?undefined2:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?undefined2:FinalizationRegistry,\"%Function%\":$Function,\"%GeneratorFunction%\":needsEval,\"%Int8Array%\":typeof Int8Array>\"u\"?undefined2:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?undefined2:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?undefined2:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined2,\"%JSON%\":typeof JSON==\"object\"?JSON:undefined2,\"%Map%\":typeof Map>\"u\"?undefined2:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?undefined2:Promise,\"%Proxy%\":typeof Proxy>\"u\"?undefined2:Proxy,\"%RangeError%\":$RangeError,\"%ReferenceError%\":$ReferenceError,\"%Reflect%\":typeof Reflect>\"u\"?undefined2:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?undefined2:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?undefined2:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":hasSymbols&&getProto?getProto(\"\"[Symbol.iterator]()):undefined2,\"%Symbol%\":hasSymbols?Symbol:undefined2,\"%SyntaxError%\":$SyntaxError,\"%ThrowTypeError%\":ThrowTypeError,\"%TypedArray%\":TypedArray,\"%TypeError%\":$TypeError,\"%Uint8Array%\":typeof Uint8Array>\"u\"?undefined2:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?undefined2:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?undefined2:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?undefined2:Uint32Array,\"%URIError%\":$URIError,\"%WeakMap%\":typeof WeakMap>\"u\"?undefined2:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?undefined2:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?undefined2:WeakSet};if(getProto)try{null.error;}catch(e){errorProto=getProto(getProto(e)),INTRINSICS[\"%Error.prototype%\"]=errorProto;}var errorProto,doEval=function doEval2(name){var value;if(name===\"%AsyncFunction%\")value=getEvalledConstructor(\"async function () {}\");else if(name===\"%GeneratorFunction%\")value=getEvalledConstructor(\"function* () {}\");else if(name===\"%AsyncGeneratorFunction%\")value=getEvalledConstructor(\"async function* () {}\");else if(name===\"%AsyncGenerator%\"){var fn2=doEval2(\"%AsyncGeneratorFunction%\");fn2&&(value=fn2.prototype);}else if(name===\"%AsyncIteratorPrototype%\"){var gen=doEval2(\"%AsyncGenerator%\");gen&&getProto&&(value=getProto(gen.prototype));}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,reEscapeChar=/\\\\(\\\\)?/g,stringToPath=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if(first===\"%\"&&last!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected closing `%`\");if(last===\"%\"&&first!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected opening `%`\");var result=[];return $replace(string2,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,\"$1\"):number||match;}),result},getBaseIntrinsic=function(name,allowMissing){var intrinsicName=name,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName=\"%\"+alias[0]+\"%\"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>\"u\"&&!allowMissing)throw new $TypeError(\"intrinsic \"+name+\" exists, but is not available. Please file an issue!\");return {alias,name:intrinsicName,value}}throw new $SyntaxError(\"intrinsic \"+name+\" does not exist!\")};module2.exports=function(name,allowMissing){if(typeof name!=\"string\"||name.length===0)throw new $TypeError(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof allowMissing!=\"boolean\")throw new $TypeError('\"allowMissing\" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name)===null)throw new $SyntaxError(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:\"\",intrinsic=getBaseIntrinsic(\"%\"+intrinsicBaseName+\"%\",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);isOwn=!!desc,isOwn&&\"get\"in desc&&!(\"originalValue\"in desc.get)?value=desc.get:value=value[part];}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value);}}return value};}});var require_es_define_property=__commonJS({\"../../node_modules/es-define-property/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$defineProperty=GetIntrinsic(\"%Object.defineProperty%\",!0)||!1;if($defineProperty)try{$defineProperty({},\"a\",{value:1});}catch{$defineProperty=!1;}module2.exports=$defineProperty;}});var require_gopd=__commonJS({\"../../node_modules/gopd/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$gOPD=GetIntrinsic(\"%Object.getOwnPropertyDescriptor%\",!0);if($gOPD)try{$gOPD([],\"length\");}catch{$gOPD=null;}module2.exports=$gOPD;}});var require_define_data_property=__commonJS({\"../../node_modules/define-data-property/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||typeof obj!=\"object\"&&typeof obj!=\"function\")throw new $TypeError(\"`obj` must be an object or a function`\");if(typeof property!=\"string\"&&typeof property!=\"symbol\")throw new $TypeError(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new $TypeError(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new $TypeError(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new $TypeError(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new $TypeError(\"`loose`, if provided, must be a boolean\");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6?arguments[6]:!1,desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value,writable:nonWritable===null&&desc?desc.writable:!nonWritable});else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable)obj[property]=value;else throw new $SyntaxError(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")};}});var require_has_property_descriptors=__commonJS({\"../../node_modules/has-property-descriptors/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return !!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],\"length\",{value:1}).length!==1}catch{return !0}};module2.exports=hasPropertyDescriptors;}});var require_define_properties=__commonJS({\"../../node_modules/define-properties/index.js\"(exports,module2){var keys2=require_object_keys(),hasSymbols=typeof Symbol==\"function\"&&typeof Symbol(\"foo\")==\"symbol\",toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),isFunction=function(fn2){return typeof fn2==\"function\"&&toStr3.call(fn2)===\"[object Function]\"},supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object){if(predicate===!0){if(object[name]===value)return}else if(!isFunction(predicate)||!predicate())return}supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value);},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError(\"`length` must be a positive 32-bit integer\");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if(\"length\"in fn2&&gOPD){var desc=gOPD(fn2,\"length\");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1);}return (functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn2,\"length\",length,!0,!0):define2(fn2,\"length\",length)),fn2};}});var require_call_bind=__commonJS({\"../../node_modules/call-bind/index.js\"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic(\"%Function.prototype.apply%\"),$call=GetIntrinsic(\"%Function.prototype.call%\"),$reflectApply=GetIntrinsic(\"%Reflect.apply%\",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic(\"%Math.max%\");module2.exports=function(originalFunction){if(typeof originalFunction!=\"function\")throw new $TypeError(\"a function is required\");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,\"apply\",{value:applyBind}):module2.exports.apply=applyBind;}});var require_callBound=__commonJS({\"../../node_modules/call-bind/callBound.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic(\"String.prototype.indexOf\"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return typeof intrinsic==\"function\"&&$indexOf(name,\".prototype.\")>-1?callBind(intrinsic):intrinsic};}});var require_implementation3=__commonJS({\"../../node_modules/object.assign/implementation.js\"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound(\"Array.prototype.push\"),$propIsEnumerable=callBound(\"Object.prototype.propertyIsEnumerable\"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(target==null)throw new TypeError(\"target must be an object\");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s2&&!!arguments[2];return (!loose||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn2,\"name\",name,!0,!0):define2(fn2,\"name\",name)),fn2};}});var require_implementation4=__commonJS({\"../../node_modules/regexp.prototype.flags/implementation.js\"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName(function(){if(this==null||this!==$Object(this))throw new $TypeError(\"RegExp.prototype.flags getter called on non-object\");var result=\"\";return this.hasIndices&&(result+=\"d\"),this.global&&(result+=\"g\"),this.ignoreCase&&(result+=\"i\"),this.multiline&&(result+=\"m\"),this.dotAll&&(result+=\"s\"),this.unicode&&(result+=\"u\"),this.unicodeSets&&(result+=\"v\"),this.sticky&&(result+=\"y\"),result},\"get flags\",!0);}});var require_polyfill2=__commonJS({\"../../node_modules/regexp.prototype.flags/polyfill.js\"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&/a/mig.flags===\"gim\"){var descriptor=$gOPD(RegExp.prototype,\"flags\");if(descriptor&&typeof descriptor.get==\"function\"&&typeof RegExp.prototype.dotAll==\"boolean\"&&typeof RegExp.prototype.hasIndices==\"boolean\"){var calls=\"\",o={};if(Object.defineProperty(o,\"hasIndices\",{get:function(){calls+=\"d\";}}),Object.defineProperty(o,\"sticky\",{get:function(){calls+=\"y\";}}),calls===\"dy\")return descriptor.get}}return implementation};}});var require_shim2=__commonJS({\"../../node_modules/regexp.prototype.flags/shim.js\"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr(\"RegExp.prototype.flags requires a true ES5 environment that supports property descriptors\");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,\"flags\");return (!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,\"flags\",{configurable:!0,enumerable:!1,get:polyfill}),polyfill};}});var require_regexp_prototype=__commonJS({\"../../node_modules/regexp.prototype.flags/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim});module2.exports=flagsBound;}});var require_shams2=__commonJS({\"../../node_modules/has-tostringtag/shams.js\"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag};}});var require_is_arguments=__commonJS({\"../../node_modules/is-arguments/index.js\"(exports,module2){var hasToStringTag=require_shams2()(),callBound=require_callBound(),$toString=callBound(\"Object.prototype.toString\"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value==\"object\"&&Symbol.toStringTag in value?!1:$toString(value)===\"[object Arguments]\"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&$toString(value)!==\"[object Array]\"&&$toString(value.callee)===\"[object Function]\"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments;}});var require_util=__commonJS({\"(disabled):../../node_modules/object-inspect/util.inspect\"(){}});var require_object_inspect=__commonJS({\"../../node_modules/object-inspect/index.js\"(exports,module2){var hasMap=typeof Map==\"function\"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==\"function\"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set==\"function\"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==\"function\"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef==\"function\"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt==\"function\"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"object\",toStringTag=typeof Symbol==\"function\"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||!0)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect==\"function\"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==\"number\"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,\"$&_\")+\".\"+$replace.call($replace.call(dec,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return $replace.call(str,sepRegex,\"$&_\")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,\"quoteStyle\")&&opts.quoteStyle!==\"single\"&&opts.quoteStyle!==\"double\")throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(has(opts,\"maxStringLength\")&&(typeof opts.maxStringLength==\"number\"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,\"customInspect\")?opts.customInspect:!0;if(typeof customInspect!=\"boolean\"&&customInspect!==\"symbol\")throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(has(opts,\"indent\")&&opts.indent!==null&&opts.indent!==\"\t\"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(has(opts,\"numericSeparator\")&&typeof opts.numericSeparator!=\"boolean\")throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>\"u\")return \"undefined\";if(obj===null)return \"null\";if(typeof obj==\"boolean\")return obj?\"true\":\"false\";if(typeof obj==\"string\")return inspectString(obj,opts);if(typeof obj==\"number\"){if(obj===0)return 1/0/obj>0?\"0\":\"-0\";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==\"bigint\"){var bigIntStr=String(obj)+\"n\";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>\"u\"?5:opts.depth;if(typeof depth>\"u\"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj==\"object\")return isArray(obj)?\"[Array]\":\"[Object]\";var indent=getIndent(opts,depth);if(typeof seen>\"u\")seen=[];else if(indexOf(seen,obj)>=0)return \"[Circular]\";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,\"quoteStyle\")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==\"function\"&&!isRegExp(obj)){var name=nameOf(obj),keys2=arrObjKeys(obj,inspect3);return \"[Function\"+(name?\": \"+name:\" (anonymous)\")+\"]\"+(keys2.length>0?\" { \"+$join.call(keys2,\", \")+\" }\":\"\")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):symToString.call(obj);return typeof obj==\"object\"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement5(obj)){for(var s=\"<\"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i\",obj.childNodes&&obj.childNodes.length&&(s+=\"...\"),s+=\"\",s}if(isArray(obj)){if(obj.length===0)return \"[]\";var xs=arrObjKeys(obj,inspect3);return indent&&!singleLineValues(xs)?\"[\"+indentedJoin(xs,indent)+\"]\":\"[ \"+$join.call(xs,\", \")+\" ]\"}if(isError(obj)){var parts=arrObjKeys(obj,inspect3);return !(\"cause\"in Error.prototype)&&\"cause\"in obj&&!isEnumerable.call(obj,\"cause\")?\"{ [\"+String(obj)+\"] \"+$join.call($concat.call(\"[cause]: \"+inspect3(obj.cause),parts),\", \")+\" }\":parts.length===0?\"[\"+String(obj)+\"]\":\"{ [\"+String(obj)+\"] \"+$join.call(parts,\", \")+\" }\"}if(typeof obj==\"object\"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==\"function\"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!==\"symbol\"&&typeof obj.inspect==\"function\")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect3(key,obj,!0)+\" => \"+inspect3(value,obj));}),collectionOf(\"Map\",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect3(value,obj));}),collectionOf(\"Set\",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf(\"WeakMap\");if(isWeakSet(obj))return weakCollectionOf(\"WeakSet\");if(isWeakRef(obj))return weakCollectionOf(\"WeakRef\");if(isNumber(obj))return markBoxed(inspect3(Number(obj)));if(isBigInt(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect3(String(obj)));if(typeof window<\"u\"&&obj===window)return \"{ [object Window] }\";if(obj===global)return \"{ [object globalThis] }\";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?\"\":\"null prototype\",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?\"Object\":\"\",constructorTag=isPlainObject||typeof obj.constructor!=\"function\"?\"\":obj.constructor.name?obj.constructor.name+\" \":\"\",tag=constructorTag+(stringTag||protoTag?\"[\"+$join.call($concat.call([],stringTag||[],protoTag||[]),\": \")+\"] \":\"\");return ys.length===0?tag+\"{}\":indent?tag+\"{\"+indentedJoin(ys,indent)+\"}\":tag+\"{ \"+$join.call(ys,\", \")+\" }\"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)===\"double\"?'\"':\"'\";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/\"/g,\""\")}function isArray(obj){return toStr3(obj)===\"[object Array]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isDate(obj){return toStr3(obj)===\"[object Date]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isRegExp(obj){return toStr3(obj)===\"[object RegExp]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isError(obj){return toStr3(obj)===\"[object Error]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isString(obj){return toStr3(obj)===\"[object String]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isNumber(obj){return toStr3(obj)===\"[object Number]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isBoolean(obj){return toStr3(obj)===\"[object Boolean]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj==\"object\"&&obj instanceof Symbol;if(typeof obj==\"symbol\")return !0;if(!obj||typeof obj!=\"object\"||!symToString)return !1;try{return symToString.call(obj),!0}catch{}return !1}function isBigInt(obj){if(!obj||typeof obj!=\"object\"||!bigIntValueOf)return !1;try{return bigIntValueOf.call(obj),!0}catch{}return !1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\\s*([\\w$]+)/);return m2?m2[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer=\"... \"+remaining+\" more character\"+(remaining>1?\"s\":\"\");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,lowbyte);return wrapQuotes(s,\"single\",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[n];return x?\"\\\\\"+x:\"\\\\x\"+(n<16?\"0\":\"\")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return \"Object(\"+str+\")\"}function weakCollectionOf(type3){return type3+\" { ? }\"}function collectionOf(type3,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,\", \");return type3+\" (\"+size+\") {\"+joinedEntries+\"}\"}function singleLineValues(xs){for(var i=0;i=0)return !1;return !0}function getIndent(opts,depth){var baseIndent;if(opts.indent===\"\t\")baseIndent=\"\t\";else if(typeof opts.indent==\"number\"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1),\" \");else return null;return {base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return \"\";var lineJoiner=`\n`+indent.prev+indent.base;return lineJoiner+$join.call(xs,\",\"+lineJoiner)+`\n`+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return {next:function(){var done=i>=arraylike.length,value;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return {next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}if(noPrimordialCollections&&typeof iterable[\"_es6-shim iterator_\"]<\"u\")return iterable[\"_es6-shim iterator_\"]()},!$Map&&!$Set?module2.exports=function(iterable){if(iterable!=null)return getNonCollectionIterator(iterable,!0)}:(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound(\"Map.prototype.forEach\",!0),$setForEach=callBound(\"Set.prototype.forEach\",!0),(typeof process>\"u\"||!process.versions||!process.versions.node)&&($mapIterator=callBound(\"Map.prototype.iterator\",!0),$setIterator=callBound(\"Set.prototype.iterator\",!0)),$mapAtAtIterator=callBound(\"Map.prototype.@@iterator\",!0)||callBound(\"Map.prototype._es6-shim iterator_\",!0),$setAtAtIterator=callBound(\"Set.prototype.@@iterator\",!0)||callBound(\"Set.prototype._es6-shim iterator_\",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,function(v2,k){$arrayPush(entries,[k,v2]);}),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,function(v2){$arrayPush(values,v2);}),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}));var $iterator,isArray,isString,GetIntrinsic,$Map,$Set,callBound,$arrayPush,$charCodeAt,$stringSlice,advanceStringIndex,getArrayIterator,getNonCollectionIterator,isMap,isSet,$mapForEach,$setForEach,$mapIterator,$setIterator,$mapAtAtIterator,$setAtAtIterator,getCollectionIterator;}});var require_implementation5=__commonJS({\"../../node_modules/object-is/implementation.js\"(exports,module2){var numberIsNaN=function(value){return value!==value};module2.exports=function(a,b2){return a===0&&b2===0?1/a===1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))};}});var require_polyfill3=__commonJS({\"../../node_modules/object-is/polyfill.js\"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return typeof Object.is==\"function\"?Object.is:implementation};}});var require_shim3=__commonJS({\"../../node_modules/object-is/shim.js\"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill};}});var require_object_is=__commonJS({\"../../node_modules/object-is/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim});module2.exports=polyfill;}});var require_is_array_buffer=__commonJS({\"../../node_modules/is-array-buffer/index.js\"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),GetIntrinsic=require_get_intrinsic(),$ArrayBuffer=GetIntrinsic(\"%ArrayBuffer%\",!0),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),$toString=callBound(\"Object.prototype.toString\"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return !1}}:$ArrayBuffer?function(obj){return $toString(obj)===\"[object ArrayBuffer]\"}:function(obj){return !1};}});var require_is_date_object=__commonJS({\"../../node_modules/is-date-object/index.js\"(exports,module2){var getDay=Date.prototype.getDay,tryDateObject=function(value){try{return getDay.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,dateClass=\"[object Date]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value!=\"object\"||value===null?!1:hasToStringTag?tryDateObject(value):toStr3.call(value)===dateClass};}});var require_is_regex=__commonJS({\"../../node_modules/is-regex/index.js\"(exports,module2){var callBound=require_callBound(),hasToStringTag=require_shams2()(),has,$exec,isRegexMarker,badStringifier;hasToStringTag&&(has=callBound(\"Object.prototype.hasOwnProperty\"),$exec=callBound(\"RegExp.prototype.exec\"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},typeof Symbol.toPrimitive==\"symbol\"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound(\"Object.prototype.toString\"),gOPD=Object.getOwnPropertyDescriptor,regexClass=\"[object RegExp]\";module2.exports=hasToStringTag?function(value){if(!value||typeof value!=\"object\")return !1;var descriptor=gOPD(value,\"lastIndex\"),hasLastIndexDataProperty=descriptor&&has(descriptor,\"value\");if(!hasLastIndexDataProperty)return !1;try{$exec(value,badStringifier);}catch(e){return e===isRegexMarker}}:function(value){return !value||typeof value!=\"object\"&&typeof value!=\"function\"?!1:$toString(value)===regexClass};}});var require_is_shared_array_buffer=__commonJS({\"../../node_modules/is-shared-array-buffer/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0);module2.exports=$byteLength?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength(obj),!0}catch{return !1}}:function(obj){return !1};}});var require_is_number_object=__commonJS({\"../../node_modules/is-number-object/index.js\"(exports,module2){var numToStr=Number.prototype.toString,tryNumberObject=function(value){try{return numToStr.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,numClass=\"[object Number]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"number\"?!0:typeof value!=\"object\"?!1:hasToStringTag?tryNumberObject(value):toStr3.call(value)===numClass};}});var require_is_boolean_object=__commonJS({\"../../node_modules/is-boolean-object/index.js\"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound(\"Boolean.prototype.toString\"),$toString=callBound(\"Object.prototype.toString\"),tryBooleanObject=function(value){try{return $boolToStr(value),!0}catch{return !1}},boolClass=\"[object Boolean]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"boolean\"?!0:value===null||typeof value!=\"object\"?!1:hasToStringTag&&Symbol.toStringTag in value?tryBooleanObject(value):$toString(value)===boolClass};}});var require_is_symbol=__commonJS({\"../../node_modules/is-symbol/index.js\"(exports,module2){var toStr3=Object.prototype.toString,hasSymbols=require_has_symbols()();hasSymbols?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\\(.*\\)$/,isSymbolObject=function(value){return typeof value.valueOf()!=\"symbol\"?!1:symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if(typeof value==\"symbol\")return !0;if(toStr3.call(value)!==\"[object Symbol]\")return !1;try{return isSymbolObject(value)}catch{return !1}}):module2.exports=function(value){return !1};var symToStr,symStringRegex,isSymbolObject;}});var require_has_bigints=__commonJS({\"../../node_modules/has-bigints/index.js\"(exports,module2){var $BigInt=typeof BigInt<\"u\"&&BigInt;module2.exports=function(){return typeof $BigInt==\"function\"&&typeof BigInt==\"function\"&&typeof $BigInt(42)==\"bigint\"&&typeof BigInt(42)==\"bigint\"};}});var require_is_bigint=__commonJS({\"../../node_modules/is-bigint/index.js\"(exports,module2){var hasBigInts=require_has_bigints()();hasBigInts?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return !1},module2.exports=function(value){return value===null||typeof value>\"u\"||typeof value==\"boolean\"||typeof value==\"string\"||typeof value==\"number\"||typeof value==\"symbol\"||typeof value==\"function\"?!1:typeof value==\"bigint\"?!0:tryBigInt(value)}):module2.exports=function(value){return !1};var bigIntValueOf,tryBigInt;}});var require_which_boxed_primitive=__commonJS({\"../../node_modules/which-boxed-primitive/index.js\"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){if(value==null||typeof value!=\"object\"&&typeof value!=\"function\")return null;if(isString(value))return \"String\";if(isNumber(value))return \"Number\";if(isBoolean(value))return \"Boolean\";if(isSymbol(value))return \"Symbol\";if(isBigInt(value))return \"BigInt\"};}});var require_is_weakmap=__commonJS({\"../../node_modules/is-weakmap/index.js\"(exports,module2){var $WeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype?WeakMap:null,$WeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype?WeakSet:null,exported;$WeakMap||(exported=function(x){return !1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return !1});module2.exports=exported||function(x){if(!x||typeof x!=\"object\")return !1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas);}catch{return !0}return x instanceof $WeakMap}catch{}return !1};}});var require_is_weakset=__commonJS({\"../../node_modules/is-weakset/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic(\"%WeakSet%\",!0),$setHas=callBound(\"WeakSet.prototype.has\",!0);$setHas?($mapHas=callBound(\"WeakMap.prototype.has\",!0),module2.exports=function(x){if(!x||typeof x!=\"object\")return !1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas);}catch{return !0}return x instanceof $WeakSet}catch{}return !1}):module2.exports=function(x){return !1};var $mapHas;}});var require_which_collection=__commonJS({\"../../node_modules/which-collection/index.js\"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&typeof value==\"object\"){if(isMap(value))return \"Map\";if(isSet(value))return \"Set\";if(isWeakMap(value))return \"WeakMap\";if(isWeakSet(value))return \"WeakSet\"}return !1};}});var require_is_callable=__commonJS({\"../../node_modules/is-callable/index.js\"(exports,module2){var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply==\"function\"&&typeof Object.defineProperty==\"function\")try{badArrayLike=Object.defineProperty({},\"length\",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike);}catch(_){_!==isCallableMarker&&(reflectApply=null);}else reflectApply=null;var constructorRegex=/^\\s*class\\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return !1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return !1}},toStr3=Object.prototype.toString,objectClass=\"[object Object]\",fnClass=\"[object Function]\",genClass=\"[object GeneratorFunction]\",ddaClass=\"[object HTMLAllCollection]\",ddaClass2=\"[object HTML document.all class]\",ddaClass3=\"[object HTMLCollection]\",hasToStringTag=typeof Symbol==\"function\"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return !1};typeof document==\"object\"&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>\"u\"||typeof value==\"object\"))try{var str=toStr3.call(value);return (str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value(\"\")==null}catch{}return !1}));var all;module2.exports=reflectApply?function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;try{reflectApply(value,null,badArrayLike);}catch(e){if(e!==isCallableMarker)return !1}return !isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return !1;var strClass=toStr3.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\\[object HTML/.test(strClass)?!1:tryFunctionObject(value)};}});var require_for_each=__commonJS({\"../../node_modules/for-each/index.js\"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(array,iterator,receiver){for(var i=0,len=array.length;i=3&&(receiver=thisArg),toStr3.call(list)===\"[object Array]\"?forEachArray(list,iterator,receiver):typeof list==\"string\"?forEachString(list,iterator,receiver):forEachObject(list,iterator,receiver);};module2.exports=forEach;}});var require_possible_typed_array_names=__commonJS({\"../../node_modules/possible-typed-array-names/index.js\"(exports,module2){module2.exports=[\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\"];}});var require_available_typed_arrays=__commonJS({\"../../node_modules/available-typed-arrays/index.js\"(exports,module2){var possibleNames=require_possible_typed_array_names(),g2=typeof globalThis>\"u\"?global:globalThis;module2.exports=function(){for(var out=[],i=0;i\"u\"?global:globalThis,typedArrays=availableTypedArrays(),$slice=callBound(\"String.prototype.slice\"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound(\"Array.prototype.indexOf\",!0)||function(array,value){for(var i=0;i-1?tag:tag!==\"Object\"?!1:trySlices(value)}return gOPD?tryTypedArrays(value):null};}});var require_array_buffer_byte_length=__commonJS({\"../../node_modules/array-buffer-byte-length/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN};}});var require_deep_equal=__commonJS({\"../../node_modules/deep-equal/index.js\"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0),$getTime=callBound(\"Date.prototype.getTime\"),gPO=Object.getPrototypeOf,$objToString=callBound(\"Object.prototype.toString\"),$Set=GetIntrinsic(\"%Set%\",!0),$mapHas=callBound(\"Map.prototype.has\",!0),$mapGet=callBound(\"Map.prototype.get\",!0),$mapSize=callBound(\"Map.prototype.size\",!0),$setAdd=callBound(\"Set.prototype.add\",!0),$setDelete=callBound(\"Set.prototype.delete\",!0),$setHas=callBound(\"Set.prototype.has\",!0),$setSize=callBound(\"Set.prototype.size\",!0);function setHasEqualElement(set,val1,opts,channel){for(var i=getIterator(set),result;(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return !1}function findLooseMatchingPrimitives(prim){if(typeof prim>\"u\")return null;if(typeof prim!=\"object\")return typeof prim==\"symbol\"?!1:typeof prim==\"string\"||typeof prim==\"number\"?+prim==+prim:!0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(altValue!=null)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return typeof curB>\"u\"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel)?!1:!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel)}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var i=getIterator(set),result,key2;(result=i.next())&&!result.done;)if(key2=result.value,internalDeepEqual(key1,key2,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return !1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return !0;var actualBoxed=whichBoxedPrimitive(actual),expectedBoxed=whichBoxedPrimitive(expected);if(actualBoxed!==expectedBoxed)return !1;if(!actual||!expected||typeof actual!=\"object\"&&typeof expected!=\"object\")return opts.strict?is(actual,expected):actual==expected;var hasActual=channel.has(actual),hasExpected=channel.has(expected),sentinel;if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return !0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),objEquiv(actual,expected,opts,channel)}function isBuffer(x){return !x||typeof x!=\"object\"||typeof x.length!=\"number\"||typeof x.copy!=\"function\"||typeof x.slice!=\"function\"||x.length>0&&typeof x[0]!=\"number\"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set;(resultA=iA.next())&&!resultA.done;)if(resultA.value&&typeof resultA.value==\"object\")set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return !1;set||(set=new $Set),$setAdd(set,resultA.value);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&typeof resultB.value==\"object\"){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1;return $setSize(set)===0}return !0}function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set,key,item1,item2;(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&typeof key==\"object\")set||(set=new $Set),$setAdd(set,key);else if(item2=$mapGet(b2,key),typeof item2>\"u\"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return !1;set||(set=new $Set),$setAdd(set,key);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&typeof key==\"object\"){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return !1}else if(!opts.strict&&(!a.has(key)||!internalDeepEqual($mapGet(a,key),item2,opts,channel))&&!mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel))return !1;return $setSize(set)===0}return !0}function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||a==null||b2==null||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return !1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return !1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return !1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return !1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return !1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return !1;if(aWhich||bWhich){if(a.length!==b2.length)return !1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return !1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return !1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection!==bCollection?!1:aCollection===\"Set\"||bCollection===\"Set\"?setEquiv(a,b2,opts,channel):aCollection===\"Map\"?mapEquiv(a,b2,opts,channel):!0}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())};}});var require_elementRoleMap=__commonJS({\"node_modules/aria-query/lib/elementRoleMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(elementRoles3),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,_key,elementRoles3);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key2){var item=elementRoles3.find(function(tuple){return (0, _deepEqual.default)(key2,tuple[0])});return item&&item[1]},has:function(key2){return !!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key2=_ref2[0];return key2})},values:function(){return elementRoles3.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default;}});var require_roleElementMap=__commonJS({\"node_modules/aria-query/lib/roleElementMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(roleElement),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,roleElement);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=roleElement.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!roleElementMap.get(key)},keys:function(){return roleElement.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return roleElement.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default;}});var require_lib=__commonJS({\"node_modules/aria-query/lib/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2;}});var require_color_name=__commonJS({\"../../node_modules/color-name/index.js\"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions=__commonJS({\"../../node_modules/color-convert/conversions.js\"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:\"rgb\"},hsl:{channels:3,labels:\"hsl\"},hsv:{channels:3,labels:\"hsv\"},hwb:{channels:3,labels:\"hwb\"},cmyk:{channels:4,labels:\"cmyk\"},xyz:{channels:3,labels:\"xyz\"},lab:{channels:3,labels:\"lab\"},lch:{channels:3,labels:\"lch\"},hex:{channels:1,labels:[\"hex\"]},keyword:{channels:1,labels:[\"keyword\"]},ansi16:{channels:1,labels:[\"ansi16\"]},ansi256:{channels:1,labels:[\"ansi256\"]},hcg:{channels:3,labels:[\"h\",\"c\",\"g\"]},apple:{channels:3,labels:[\"r16\",\"g16\",\"b16\"]},gray:{channels:1,labels:[\"gray\"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!(\"channels\"in convert[model]))throw new Error(\"missing channels property: \"+model);if(!(\"labels\"in convert[model]))throw new Error(\"missing channel labels property: \"+model);if(convert[model].labels.length!==convert[model].channels)throw new Error(\"channel and label counts mismatch: \"+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],\"channels\",{value:channels}),Object.defineProperty(convert[model],\"labels\",{value:labels});}convert.rgb.hsl=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min,h,s;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(h*60,360),h<0&&(h+=360);let l=(min+max)/2;return max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return (v2-c)/6/diff2+1/2};return diff2===0?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v2*100]};convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,w*100,b2*100]};convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2),c=(1-r-k)/(1-k)||0,m2=(1-g2-k)/(1-k)||0,y2=(1-b2-k)/(1-k)||0;return [c*100,m2*100,y2*100,k*100]};function comparativeDistance(x,y2){return (x[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2}convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestDistance=1/0,currentClosestKeyword;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92;let x=r*.4124+g2*.3576+b2*.1805,y2=r*.2126+g2*.7152+b2*.0722,z=r*.0193+g2*.1192+b2*.9505;return [x*100,y2*100,z*100]};convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.hsl.rgb=function(hsl){let h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t2,t3,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;let v2=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s);return [h,sv*100,v2*100]};convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return [v2,t,p2];case 1:return [q,v2,p2];case 2:return [p2,v2,t];case 3:return [p2,q,v2];case 4:return [t,p2,v2];case 5:return [v2,p2,q]}};convert.hsv.hsl=function(hsv){let h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01),sl,l;l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert.hwb.rgb=function(hwb){let h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,f;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,i&1&&(f=1-f);let n=wh+f*(v2-wh),r,g2,b2;switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n;break}return [r*255,g2*255,b2*255]};convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100,r=1-Math.min(1,c*(1-k)+k),g2=1-Math.min(1,m2*(1-k)+k),b2=1-Math.min(1,y2*(1-k)+k);return [r*255,g2*255,b2*255]};convert.xyz.rgb=function(xyz){let x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100,r,g2,b2;return r=x*3.2406+y2*-1.5372+z*-.4986,g2=x*-.9689+y2*1.8758+z*.0415,b2=x*.0557+y2*-.204+z*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:g2*12.92,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:b2*12.92,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[r*255,g2*255,b2*255]};convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.lab.xyz=function(lab){let l=lab[0],a=lab[1],b2=lab[2],x,y2,z;y2=(l+16)/116,x=a/500+y2,z=y2-b2/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]};convert.lab.lch=function(lab){let l=lab[0],a=lab[1],b2=lab[2],h;h=Math.atan2(b2,a)*360/2/Math.PI,h<0&&(h+=360);let c=Math.sqrt(a*a+b2*b2);return [l,c,h]};convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI,a=c*Math.cos(hr),b2=c*Math.sin(hr);return [l,a,b2]};convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=saturation===null?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),value===0)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])};convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)};convert.ansi16.rgb=function(args){let color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g2=(color>>1&1)*mult*255,b2=(color>>2&1)*mult*255;return [r,g2,b2]};convert.ansi256.rgb=function(args){if(args>=232){let c=(args-232)*10+8;return [c,c,c]}args-=16;let rem,r=Math.floor(args/36)/5*255,g2=Math.floor((rem=args%36)/6)/5*255,b2=rem%6/5*255;return [r,g2,b2]};convert.rgb.hex=function(args){let string2=(((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255)).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];let colorString=match[0];match[0].length===3&&(colorString=colorString.split(\"\").map(char=>char+char).join(\"\"));let integer=parseInt(colorString,16),r=integer>>16&255,g2=integer>>8&255,b2=integer&255;return [r,g2,b2]};convert.rgb.hcg=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g2-b2)/chroma%6:max===g2?hue=2+(b2-r)/chroma:hue=4+(r-g2)/chroma,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],c*100,f*100]};convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(c===0)return [g2*255,g2*255,g2*255];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g2,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert.hcg.hsv=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],f*100,v2*100]};convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert.hcg.hwb=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c);return [hcg[0],(v2-c)*100,(1-v2)*100]};convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],c*100,g2*100]};convert.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert.gray.hsl=function(args){return [0,0,args[0]]};convert.gray.hsv=convert.gray.hsl;convert.gray.hwb=function(gray){return [0,100,gray[0]]};convert.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert.gray.lab=function(gray){return [gray[0],0,0]};convert.gray.hex=function(gray){let val=Math.round(gray[0]/100*255)&255,string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.rgb.gray=function(rgb){return [(rgb[0]+rgb[1]+rgb[2])/3/255*100]};}});var require_route=__commonJS({\"../../node_modules/color-convert/route.js\"(exports,module2){var conversions=require_conversions();function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i1&&(args=arg0),fn2(args))};return \"conversion\"in fn2&&(wrappedFn.conversion=fn2.conversion),wrappedFn}function wrapRounded(fn2){let wrappedFn=function(...args){let arg0=args[0];if(arg0==null)return arg0;arg0.length>1&&(args=arg0);let result=fn2(args);if(typeof result==\"object\")for(let len=result.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],\"channels\",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],\"labels\",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach(toModel=>{let fn2=routes[toModel];convert[fromModel][toModel]=wrapRounded(fn2),convert[fromModel][toModel].raw=wrapRaw(fn2);});});module2.exports=convert;}});var require_ansi_styles2=__commonJS({\"../../node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi16=(fn2,offset)=>(...args)=>`\\x1B[${fn2(...args)+offset}m`,wrapAnsi256=(fn2,offset)=>(...args)=>{let code=fn2(...args);return `\\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn2,offset)=>(...args)=>{let rgb=fn2(...args);return `\\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0});},colorConvert,makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{colorConvert===void 0&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name=sourceSpace===\"ansi16\"?\"ansi\":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):typeof suite==\"object\"&&(styles[name]=wrap(suite[targetSpace],offset));}return styles};function assembleStyles(){let codes=new Map,styles={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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",setLazyProperty(styles.color,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!1)),setLazyProperty(styles.bgColor,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!0)),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_browser=__commonJS({\"../../node_modules/supports-color/browser.js\"(exports,module2){module2.exports={stdout:!1,stderr:!1};}});var require_util2=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js\"(exports,module2){var stringReplaceAll=(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(index===-1)return string2;let substringLength=substring.length,endIndex=0,returnValue=\"\";do returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex);while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex=(string2,prefix,postfix,index)=>{let endIndex=0,returnValue=\"\";do{let gotCR=string2[index-1]===\"\\r\";returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?`\\r\n`:`\n`)+postfix,endIndex=index+1,index=string2.indexOf(`\n`,endIndex);}while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue};module2.exports={stringReplaceAll,stringEncaseCRLFWithFirstIndex};}});var require_templates=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js\"(exports,module2){var TEMPLATE_REGEX=/(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi,STYLE_REGEX=/(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g,STRING_REGEX=/^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/,ESCAPE_REGEX=/\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.)|([^\\\\])/gi,ESCAPES=new Map([[\"n\",`\n`],[\"r\",\"\\r\"],[\"t\",\"\t\"],[\"b\",\"\\b\"],[\"f\",\"\\f\"],[\"v\",\"\\v\"],[\"0\",\"\\0\"],[\"\\\\\",\"\\\\\"],[\"e\",\"\\x1B\"],[\"a\",\"\\x07\"]]);function unescape(c){let u2=c[0]===\"u\",bracket=c[1]===\"{\";return u2&&!bracket&&c.length===5||c[0]===\"x\"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let results=[],chunks=arguments_.trim().split(/\\s*,\\s*/g),matches3;for(let chunk of chunks){let number=Number(chunk);if(!Number.isNaN(number))results.push(number);else if(matches3=chunk.match(STRING_REGEX))results.push(matches3[2].replace(ESCAPE_REGEX,(m2,escape2,character)=>escape2?unescape(escape2):character));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches3;for(;(matches3=STYLE_REGEX.exec(style))!==null;){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName];}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,(m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join(\"\");chunk=[],chunks.push(styles.length===0?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error(\"Found extraneous } in Chalk template literal\");chunks.push(buildStyle(chalk3,styles)(chunk.join(\"\"))),chunk=[],styles.pop();}else chunk.push(character);}),chunks.push(chunk.join(\"\")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?\"\":\"s\"} (\\`}\\`)`;throw new Error(errMsg)}return chunks.join(\"\")};}});var require_source=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js\"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=[\"ansi\",\"ansi\",\"ansi256\",\"ansi16m\"],styles=Object.create(null),applyOptions=(object,options={})=>{if(options.level>3||options.level<0)throw new Error(\"The `level` option should be an integer from 0 to 3\");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=options.level===void 0?colorLevel:options.level;},ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return applyOptions(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error(\"`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.\")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,\"visible\",{value:builder}),builder}};var usedModels=[\"rgb\",\"hex\",\"keyword\",\"hsl\",\"hsv\",\"hwb\",\"ansi\",\"ansi256\"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){let bgModel=\"bg\"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};}var proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level;}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return parent===void 0?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,arguments_.length===1?\"\"+arguments_[0]:arguments_.join(\" \"));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?\"\":string2;let styler=self2._styler;if(styler===void 0)return string2;let{openAll,closeAll}=styler;if(string2.indexOf(\"\\x1B\")!==-1)for(;styler!==void 0;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf(`\n`);return lfIndex!==-1&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},template,chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(\" \");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}module2.exports=arrayIncludes;}});var require_arrayIncludesWith=__commonJS({\"../../node_modules/lodash/_arrayIncludesWith.js\"(exports,module2){function arrayIncludesWith(array,value,comparator){for(var index=-1,length=array==null?0:array.length;++index=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache;}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||codeUnit==127||index==0&&codeUnit>=48&&codeUnit<=57||index==1&&codeUnit>=48&&codeUnit<=57&&firstCodeUnit==45){result+=\"\\\\\"+codeUnit.toString(16)+\" \";continue}if(index==0&&length==1&&codeUnit==45){result+=\"\\\\\"+string2.charAt(index);continue}if(codeUnit>=128||codeUnit==45||codeUnit==95||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122){result+=string2.charAt(index);continue}result+=\"\\\\\"+string2.charAt(index);}return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape});}});var require_ansi_styles3=__commonJS({\"node_modules/pretty-format/node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections2=__commonJS({\"node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=indentationNext+name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"[\"+(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+\"]\":stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"{\"+(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+\"}\":stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\"?stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ansi_regex=__commonJS({\"../../node_modules/ansi-regex/index.js\"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(pattern,onlyFirst?void 0:\"g\")};}});var require_ConvertAnsi=__commonJS({\"node_modules/pretty-format/build/plugins/ConvertAnsi.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toHumanReadableAnsi=text=>text.replace((0, _ansiRegex.default)(),match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return \"\";case _ansiStyles.default.red.open:return \"\";case _ansiStyles.default.green.open:return \"\";case _ansiStyles.default.cyan.open:return \"\";case _ansiStyles.default.gray.open:return \"\";case _ansiStyles.default.white.open:return \"\";case _ansiStyles.default.yellow.open:return \"\";case _ansiStyles.default.bgRed.open:return \"\";case _ansiStyles.default.bgGreen.open:return \"\";case _ansiStyles.default.bgYellow.open:return \"\";case _ansiStyles.default.inverse.open:return \"\";case _ansiStyles.default.dim.open:return \"\";case _ansiStyles.default.bold.open:return \"\";default:return \"\"}}),test=val=>typeof val==\"string\"&&!!val.match((0, _ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(toHumanReadableAnsi(val),config3,indentation,depth,refs);exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?\"[\"+name+\"]\":(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?\"{\"+(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)+\"}\":\"[\"+(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+\"]\")};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>{var _val$constructor;return (val==null||(_val$constructor=val.constructor)===null||_val$constructor===void 0?void 0:_val$constructor.name)&&testNode2(val)};exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable2=__commonJS({\"node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>\"Immutable.\"+name,printAsLeaf=name=>\"[\"+name+\"]\",SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"{\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+\"}\";function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):name+SPACE+\"{\"+(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)+\"}\"},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?name+SPACE+\"{\"+(val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY)+\"}\":name+SPACE+\"[\"+(val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY)+\"]\"},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"[\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"]\",serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development2=__commonJS({\"node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol==\"function\"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor(\"react.element\"),REACT_PORTAL_TYPE=symbolFor(\"react.portal\"),REACT_FRAGMENT_TYPE=symbolFor(\"react.fragment\"),REACT_STRICT_MODE_TYPE=symbolFor(\"react.strict_mode\"),REACT_PROFILER_TYPE=symbolFor(\"react.profiler\"),REACT_PROVIDER_TYPE=symbolFor(\"react.provider\"),REACT_CONTEXT_TYPE=symbolFor(\"react.context\"),REACT_FORWARD_REF_TYPE=symbolFor(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=symbolFor(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=symbolFor(\"react.suspense_list\"),REACT_MEMO_TYPE=symbolFor(\"react.memo\"),REACT_LAZY_TYPE=symbolFor(\"react.lazy\"),REACT_BLOCK_TYPE=symbolFor(\"react.block\"),REACT_SERVER_BLOCK_TYPE=symbolFor(\"react.server.block\"),REACT_FUNDAMENTAL_TYPE=symbolFor(\"react.fundamental\"),symbolFor(\"react.scope\"),symbolFor(\"react.opaque.id\"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor(\"react.debug_trace_mode\"),symbolFor(\"react.offscreen\"),REACT_LEGACY_HIDDEN_TYPE=symbolFor(\"react.legacy_hidden\");}var enableScopeAPI=!1;function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||type3===REACT_DEBUG_TRACING_MODE_TYPE||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||type3===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_FUNDAMENTAL_TYPE||type3.$$typeof===REACT_BLOCK_TYPE||type3[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is2=__commonJS({\"node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development2();}});var require_ReactElement2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?\"ForwardRef(\"+functionName+\")\":\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?\"Memo(\"+functionName+\")\":\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=function(){return typeof globalThis<\"u\"?globalThis:typeof global2<\"u\"?global2:typeof self<\"u\"?self:typeof window<\"u\"?window:Function(\"return this\")()}(),Symbol2=global2[\"jest-symbol-do-not-touch\"]||global2.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build3=__commonJS({\"node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?\"[Function \"+(val.name||\"anonymous\")+\"]\":\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return \"[\"+errorToString.call(val)+\"]\"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return \"\"+val;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?'\"'+val.replace(/\"|\\\\/g,\"\\\\$&\")+'\"':'\"'+val+'\"';if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":(min?\"\":\"Arguments \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":isToStringedArrayType(toStringed)?hitMaxDepth?\"[\"+val.constructor.name+\"]\":(min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":val.constructor.name+\" \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":\"Map {\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")+\"}\":toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":\"Set {\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"}\":hitMaxDepth||isWindow(val)?\"[\"+getConstructorName(val)+\"]\":(min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":getConstructorName(val)+\" \")+\"{\"+(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+\"}\"}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n`+indentationNext)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options&&options.printFunctionName!==void 0?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&options.escapeRegex!==void 0?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&options.escapeString!==void 0?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr;return {callToJSON:options&&options.callToJSON!==void 0?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:options&&typeof options.compareKeys==\"function\"?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?\"\":createIndent(options&&options.indent!==void 0?options.indent:DEFAULT_OPTIONS.indent),maxDepth:options&&options.maxDepth!==void 0?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&options.min!==void 0?options.min:DEFAULT_OPTIONS.min,plugins:options&&options.plugins!==void 0?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:(_options$printBasicPr=options?.printBasicPrototype)!==null&&_options$printBasicPr!==void 0?_options$printBasicPr:!0,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?\" \":`\n`,spacingOuter:options&&options.min?\"\":`\n`}};function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_lz_string=__commonJS({\"../../node_modules/lz-string/libs/lz-string.js\"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",keyStrUriSafe=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[i*2+1]=current_value%256;}return buf},decompressFromUint8Array:function(compressed){if(compressed==null)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c);}if(context_w!==\"\"){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++);}for(value=2,i=0;i>1;for(;;)if(context_data_val=context_data_val<<1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}else context_data_position++;return context_data.join(\"\")},decompress:function(compressed){return compressed==null?\"\":compressed==\"\"?null:LZString2._decompress(compressed.length,32768,function(index){return compressed.charCodeAt(index)})},_decompress:function(length,resetValue,getNextValue){var dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry=\"\",result=[],i,w,bits,resb,maxpower,power,c,data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return \"\"}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return \"\";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join(\"\")}if(enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else if(c===dictSize)entry=w+w.charAt(0);else return null;result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),enlargeIn--,w=entry,enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++);}}};return LZString2}();typeof define==\"function\"&&define.amd?define(function(){return LZString}):typeof module2<\"u\"&&module2!=null?module2.exports=LZString:typeof angular<\"u\"&&angular!=null&&angular.module(\"LZString\",[]).factory(\"LZString\",function(){return LZString});}});var import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version;import_index.default.Assertion;import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default;var scope=(()=>{let win;return typeof window<\"u\"?win=window:typeof globalThis<\"u\"?win=globalThis:typeof global<\"u\"?win=global:typeof self<\"u\"?win=self:win={},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(\" or \")}, received \"${receivedType}\"`)}function isObject(item){return item!=null&&typeof item==\"object\"&&!Array.isArray(item)}function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function collectOwnProperties(obj,collector){let collect=typeof collector==\"function\"?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect);}function getOwnProperties(obj){let ownProps=new Set;return isFinalObj(obj)?[]:(collectOwnProperties(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if(Object.prototype.toString.call(val)===\"[object Object]\"){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);\"get\"in descriptor?Object.defineProperty(out,k2,{...descriptor,get(){return cloned}}):Object.defineProperty(out,k2,{...descriptor,writable:options.forceWritable?!0:descriptor.writable,value:cloned});}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let MAX_LENGTH=maxLength??1e4,result;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options});}catch{result=(0, import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options});}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function format(...args){if(typeof args[0]!=\"string\"){let objects=[];for(let i2=0;i2{if(x===\"%%\")return \"%\";if(i>=len)return x;switch(x){case\"%s\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:typeof value==\"number\"&&value===0&&1/value<0?\"-0\":typeof value==\"object\"&&value!==null?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case\"%d\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number(value).toString()}case\"%i\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case\"%f\":return Number.parseFloat(String(args[i++])).toString();case\"%o\":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case\"%O\":return inspect2(args[i++]);case\"%c\":return i++,\"\";case\"%j\":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes(\"circular structure\")||m2.includes(\"cyclic structures\")||m2.includes(\"cyclic object\"))return \"[Circular]\";throw err}default:return x}});for(let x=args[i];i(acc[key]=string,acc),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1);__toESM(require_loupe(),1);var LineTerminatorSequence;LineTerminatorSequence=/\\r?\\n|[\\r\\u2028\\u2029]/y;RegExp(LineTerminatorSequence.source);var reservedWords={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(reservedWords.keyword);new Set(reservedWords.strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(value===void 0)return \"undefined\";if(value===null)return \"null\";if(Array.isArray(value))return \"array\";if(typeof value==\"boolean\")return \"boolean\";if(typeof value==\"function\")return \"function\";if(typeof value==\"number\")return \"number\";if(typeof value==\"string\")return \"string\";if(typeof value==\"bigint\")return \"bigint\";if(typeof value==\"object\"){if(value!=null){if(value.constructor===RegExp)return \"regexp\";if(value.constructor===Map)return \"map\";if(value.constructor===Set)return \"set\";if(value.constructor===Date)return \"date\"}return \"object\"}else if(typeof value==\"symbol\")return \"symbol\";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text;}};var NO_DIFF_MESSAGE=\"Compared values have no visual difference.\",SIMILAR_MESSAGE=\"Compared values serialize to the same structure.\\nPrinting internal object structure without calling `toJSON` instead.\";function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\\s+$/,match=>trailingSpaceFormatter(match))}function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return line.length!==0?color(`${indicator} ${formatTrailingSpaces(line,trailingSpaceFormatter)}`):indicator!==\" \"?color(indicator):isFirstOrLast&&emptyFirstOrLastLinePlaceholder.length!==0?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):\"\"}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0);}else {let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1);}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1;}let hasPatch=nExcessesBetweenChanges!==0||hasExcessAtStartOrEnd;nExcessesBetweenChanges!==0?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push(\"\");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,j===0||j===jLast,options)),aEnd+=1,bEnd+=1;},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,j===0||j===jLast,options)),aEnd+=1;},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,j===0||j===jLast,options)),bEnd+=1;};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else {let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push(\"\");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1;}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join(`\n`)}function joinAlignedDiffsExpand(diffs,options){return diffs.map((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=i===0||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}}).join(`\n`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return {aAnnotation:\"Expected\",aColor:c.green,aIndicator:\"-\",bAnnotation:\"Received\",bColor:c.red,bIndicator:\"+\",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:\" \",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:\"\",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function getCompareKeys(compareKeys){return compareKeys&&typeof compareKeys==\"function\"?compareKeys:void 0}function getContextLines(contextLines){return typeof contextLines==\"number\"&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT}function normalizeDiffOptions(options={}){return {...getDefaultOptions(),...options,compareKeys:getCompareKeys(options.compareKeys),contextLines:getContextLines(options.contextLines)}}function isEmptyString(lines){return lines.length===1&&lines[0].length===0}function countChanges(diffs){let a=0,b2=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1;break}}),{a,b:b2}}function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return \"\";let aRest=\"\",bRest=\"\";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=\" \".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=\" \".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length,aCountPadding=\" \".repeat(Math.max(0,baCountLengthDiff)),bCountPadding=\" \".repeat(Math.max(0,-baCountLengthDiff));aRest=`${aAnnotationPadding} ${aIndicator} ${aCountPadding}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;}let a=`${aIndicator} ${aAnnotation}${aRest}`,b2=`${bIndicator} ${bAnnotation}${bRest}`;return `${aColor(a)}\n${bColor(b2)}\n\n`}function printDiffLines(diffs,options){return printAnnotation(options,countChanges(diffs))+(options.expand?joinAlignedDiffsExpand(diffs,options):joinAlignedDiffsNoExpand(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1;}}),printDiffLines(diffs,normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;nCommon!==0;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]));};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return \"\";let aType=getType2(a),expectedType=aType,omitDifference=!1;if(aType===\"object\"&&typeof a.asymmetricMatch==\"function\"){if(a.$$typeof!==Symbol.for(\"jest.asymmetricMatcher\")||typeof a.getExpectedType!=\"function\")return null;expectedType=a.getExpectedType(),omitDifference=expectedType===\"string\";}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions),aDiff=`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`,bDiff=`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`;return `${aDiff}\n\n${bDiff}`}if(omitDifference)return null;switch(aType){case\"string\":return diffLinesUnified(a.split(`\n`),b2.split(`\n`),options);case\"boolean\":case\"number\":return comparePrimitive(a,b2,options);case\"map\":return compareObjects(sortMap(a),sortMap(b2),options);case\"set\":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function comparePrimitive(a,b2,options){let aFormat=(0, import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0, import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?\"\":diffLinesUnified(aFormat.split(`\n`),bFormat.split(`\n`),options)}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{let formatOptions=getFormatOptions(FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options);}catch{hasThrown=!0;}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(difference===void 0||difference===noDiffMessage){let formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`);}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return {...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0, import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0, import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions);return diffLinesUnified2(aDisplay.split(`\n`),bDisplay.split(`\n`),aCompare.split(`\n`),bCompare.split(`\n`),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function b(e){return e instanceof Promise}function d(e,t,n){Object.defineProperty(e,t,n);}function p(e,t,n){Object.defineProperty(e,t,{value:n});}var u=Symbol.for(\"tinyspy:spy\"),I=new Set,M=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[];},C=e=>(d(e,u,{value:{reset:()=>M(e[u])}}),e[u]),v=e=>e[u]||C(e);function T(e){m(y(\"function\",e)||y(\"undefined\",e),\"cannot spy on a non-function value\");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if(s===\"ok\")return l;throw l}let o,c=\"ok\";if(r.impl)try{new.target?o=Reflect.construct(r.impl,a,new.target):o=r.impl.apply(this,a),c=\"ok\";}catch(s){throw o=s,c=\"error\",r.results.push([c,s]),s}let x=[c,o];if(b(o)){let s=o.then(l=>x[1]=l).catch(l=>{throw x[0]=\"error\",x[1]=l,l});Object.assign(s,o),o=s;}return r.results.push(x),o};p(t,\"_isMockFunction\",!0),p(t,\"length\",e?e.length:0),p(t,\"name\",e&&e.name||\"spy\");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y(\"undefined\",e),\"spyOn could not find an object to spy upon\"),m(y(\"object\",e)||y(\"function\",e),\"cannot spyOn on a primitive value\");let a=()=>{if(!y(\"object\",t))return [t,\"value\"];if(\"getter\"in t&&\"setter\"in t)throw new Error(\"cannot spy on both getter and setter\");if(\"getter\"in t)return [t.getter,\"get\"];if(\"setter\"in t)return [t.setter,\"set\"];throw new Error(\"specify getter or setter to spy on\")},[r,i]=a(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let l=!1;i===\"value\"&&s&&!s.value&&s.get&&(i=\"get\",l=!0,n=s.get());let f;s?f=s[i]:i!==\"value\"?f=()=>e[r]:f=e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};i!==\"value\"&&delete k.writable,k[i]=w,d(e,r,k);},K=()=>s?d(e,r,s):O(f),A=S[u];return p(A,\"restore\",K),p(A,\"getOriginal\",()=>l?f():f),p(A,\"willCall\",w=>(A.impl=w,S)),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn2){return typeof fn2==\"function\"&&\"_isMockFunction\"in fn2&&fn2._isMockFunction}function spyOn(obj,method,accessType){let objMethod=accessType?{[{get:\"getter\",set:\"setter\"}[accessType]]:method}:method,stub=E(obj,objMethod);return enhanceSpy(stub)}var callOrder=0;function enhanceSpy(spy){let stub=spy,implementation,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map(([callType,value])=>({type:callType===\"error\"?\"throw\":\"return\",value}))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;stub.getMockName=()=>name||\"vi.fn()\",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn2=>(implementation=fn2,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn2=>(onceImplementations.push(fn2),stub);function withImplementation(fn2,cb){let originalImplementation=implementation;implementation=fn2,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1;},result=cb();return result instanceof Promise?result.then(()=>(reset(),stub)):(reset(),stub)}return stub.withImplementation=withImplementation,stub.mockReturnThis=()=>stub.mockImplementation(function(){return this}),stub.mockReturnValue=val=>stub.mockImplementation(()=>val),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce(()=>val),stub.mockResolvedValue=val=>stub.mockImplementation(()=>Promise.resolve(val)),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.resolve(val)),stub.mockRejectedValue=val=>stub.mockImplementation(()=>Promise.reject(val)),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.reject(val)),Object.defineProperty(stub,\"mock\",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},\"spy\"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1);__toESM(require_build2(),1);__toESM(require_loupe(),1);var IS_RECORD_SYMBOL=\"@@__IMMUTABLE_RECORD__@@\",IS_COLLECTION_SYMBOL=\"@@__IMMUTABLE_ITERABLE__@@\";function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:typeof err==\"string\"?`: ${err}`:\"\"}function serializeError(val,seen=new WeakMap){if(!val||typeof val==\"string\")return val;if(typeof val==\"function\")return `Function<${val.name||\"anonymous\"}>`;if(typeof val==\"symbol\")return val.toString();if(typeof val!=\"object\")return val;if(isImmutable(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&val.constructor.prototype===\"AsyncFunction\")return \"Promise\";if(typeof Element<\"u\"&&val instanceof Element)return val.tagName;if(typeof val.asymmetricMatch==\"function\")return `${val.toString()} ${format(val.sample)}`;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){let clone2=new Array(val.length);return seen.set(val,clone2),val.forEach((e,i)=>{try{clone2[i]=serializeError(e,seen);}catch(err){clone2[i]=getUnserializableMessage(err);}}),clone2}else {let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach(key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen);}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err);}}),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\\d+__\\./g,\"\")}function processError(err,diffOptions){if(!err||typeof err!=\"object\")return {message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||err.showDiff===void 0&&err.expected!==void 0&&err.actual!==void 0){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions});}typeof err.expected!=\"string\"&&(err.expected=stringify(err.expected,10)),typeof err.actual!=\"string\"&&(err.actual=stringify(err.actual,10));try{typeof err.message==\"string\"&&(err.message=normalizeErrorMessage(err.message)),typeof err.cause==\"object\"&&typeof err.cause.message==\"string\"&&(err.cause.message=normalizeErrorMessage(err.cause.message));}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return getType(data)===\"Object\"&&typeof data.asymmetricMatch==\"function\"}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1),obj2Type=getType(obj2);return obj1Type===obj2Type&&(obj1Type===\"Object\"||obj1Type===\"Array\")}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?actualReplaced.has(actual)||expectedReplaced.has(expected)?{replacedActual:actual,replacedExpected:expected}:(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach(key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected;}}),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for(\"matchers-object\"),JEST_MATCHERS_OBJECT=Symbol.for(\"$$jest-matchers-object-storybook\"),GLOBAL_EXPECT=Symbol.for(\"expect-global\"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for(\"asymmetric-matchers-object\");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState});}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})});}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers});}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current);}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;function matcherHint(matcherName,received=\"received\",expected=\"expected\",options={}){let{comment=\"\",isDirectExpectCall=!1,isNot=!1,promise=\"\",secondArgument=\"\",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint=\"\",dimString=\"expect\";return !isDirectExpectCall&&received!==\"\"&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=\")\"),promise!==\"\"&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=\"\"),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=\"\"),matcherName.includes(\".\")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=\"\"),expected===\"\"?dimString+=\"()\":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(\", \")+secondArgumentColor(secondArgument)),dimString=\")\"),comment!==\"\"&&(dimString+=` // ${comment}`),dimString!==\"\"&&(hint+=DIM_COLOR(dimString)),hint}let SPACE_SYMBOL=\"\\xB7\",replaceTrailingSpaces=text=>text.replace(/\\s+$/gm,spaces=>SPACE_SYMBOL.repeat(spaces.length));return {EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint,printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return customTesters=customTesters||[],eq(a,b2,[],[],customTesters,strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return !!obj&&typeof obj==\"object\"&&\"asymmetricMatch\"in obj&&isA(\"Function\",obj.asymmetricMatch)}function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!(asymmetricA&&asymmetricB)){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=asymmetricMatch(a,b2);if(asymmetricResult!==void 0)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&obj[key]!==void 0}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return obj!==null&&typeof obj==\"object\"&&\"nodeType\"in obj&&typeof obj.nodeType==\"number\"&&\"nodeName\"in obj&&typeof obj.nodeName==\"string\"&&\"isEqualNode\"in obj&&typeof obj.isEqualNode==\"function\"}var IS_KEYED_SENTINEL=\"@@__IMMUTABLE_KEYED__@@\",IS_SET_SENTINEL=\"@@__IMMUTABLE_SET__@@\",IS_ORDERED_SENTINEL=\"@@__IMMUTABLE_ORDERED__@@\";function isImmutableUnorderedKeyed(maybeKeyed){return !!(maybeKeyed&&maybeKeyed[IS_KEYED_SENTINEL]&&!maybeKeyed[IS_ORDERED_SENTINEL])}function isImmutableUnorderedSet(maybeSet){return !!(maybeSet&&maybeSet[IS_SET_SENTINEL]&&!maybeSet[IS_ORDERED_SENTINEL])}var IteratorSymbol=Symbol.iterator;function hasIterator(object){return !!(object!=null&&object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if(typeof a!=\"object\"||typeof b2!=\"object\"||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return !1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter(t=>t!==iterableEquality),iterableEqualityWithStack];function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}if(a.size!==void 0){if(a.size!==b2.size)return !1;if(isA(\"Set\",a)||isImmutableUnorderedSet(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)equals(aValue,bValue,filteredCustomTesters)===!0&&(has=!0);if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}else if(isA(\"Map\",a)||isImmutableUnorderedKeyed(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedKey=equals(aEntry[0],bEntry[0],filteredCustomTesters),matchedValue=!1;matchedKey===!0&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),matchedValue===!0&&(has=!0);}if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return !1}return bIterator.next().done?(aStack.pop(),bStack.pop(),!0):!1}function hasPropertyInObject(object,key){return !object||typeof object!=\"object\"||object===Object.prototype?!1:Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key)}function isObjectWithKeys(a){return isObject(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter(t=>t!==subsetEquality),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every(key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0);}let result=object2!=null&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result})};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(!(a==null||b2==null||a.constructor===b2.constructor))return !1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer)||!(b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2);}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return !1;for(let i=0;it!==sparseArrayEquality);return equals(a,b2,filteredCustomTesters,!0)&&equals(aKeys,bKeys)}function generateToBeMessage(deepEqualityName,expected=\"#{this}\",actual=\"#{exp}\"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return [\"toStrictEqual\",\"toEqual\"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace \"toBe\" with \"${deepEqualityName}\"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}function pluralize(word,count){return `${count} ${word}${count===1?\"\":\"s\"}`}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse;}$$typeof=Symbol.for(\"jest.asymmetricMatcher\");getMatcherContext(expect4){return {...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for(\"chai/inspect\")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{\\u2026}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample))throw new Error(\"Expected is not a string\");super(sample,inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"string\"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return other!=null}toString(){return \"Anything\"}toAsymmetricMatcher(){return \"Anything\"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return obj?Object.prototype.hasOwnProperty.call(obj,property)?!0:this.hasProperty(this.getPrototype(obj),property):!1}asymmetricMatch(other){if(typeof this.sample!=\"object\")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return `Object${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"object\"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=this.sample.length===0||Array.isArray(other)&&this.sample.every(item=>other.some(another=>equals(item,another,matcherContext.customTesters)));return this.inverse?!result:result}toString(){return `Array${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"array\"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>\"u\")throw new TypeError(\"any() expects to be passed a constructor function. Please pass one or use anything() to match any object.\");super(sample);}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\\s*function\\s*\\*?\\s*([\\w$]+)\\s*\\(/);return matches3?matches3[1]:\"\"}asymmetricMatch(other){return this.sample===String?typeof other==\"string\"||other instanceof String:this.sample===Number?typeof other==\"number\"||other instanceof Number:this.sample===Function?typeof other==\"function\"||other instanceof Function:this.sample===Boolean?typeof other==\"boolean\"||other instanceof Boolean:this.sample===BigInt?typeof other==\"bigint\"||other instanceof BigInt:this.sample===Symbol?typeof other==\"symbol\"||other instanceof Symbol:this.sample===Object?typeof other==\"object\":other instanceof this.sample}toString(){return \"Any\"}getExpectedType(){return this.sample===String?\"string\":this.sample===Number?\"number\":this.sample===Function?\"function\":this.sample===Object?\"object\":this.sample===Boolean?\"boolean\":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return `Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample)&&!isA(\"RegExp\",sample))throw new Error(\"Expected is not a String or a RegExp\");super(new RegExp(sample),inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Matching`}getExpectedType(){return \"string\"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA(\"Number\",sample))throw new Error(\"Expected is not a Number\");if(!isA(\"Number\",precision))throw new Error(\"Precision is not a Number\");super(sample),this.inverse=inverse,this.precision=precision;}asymmetricMatch(other){if(!isA(\"Number\",other))return !1;let result=!1;return other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?result=!0:result=Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return `Number${this.inverse?\"Not\":\"\"}CloseTo`}getExpectedType(){return \"number\"}toAsymmetricMatcher(){return [this.toString(),this.sample,`(${pluralize(\"digit\",this.precision)})`].join(\" \")}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,\"anything\",()=>new Anything),utils.addMethod(chai2.expect,\"any\",expected=>new Any(expected)),utils.addMethod(chai2.expect,\"stringContaining\",expected=>new StringContaining(expected)),utils.addMethod(chai2.expect,\"objectContaining\",expected=>new ObjectContaining(expected)),utils.addMethod(chai2.expect,\"arrayContaining\",expected=>new ArrayContaining(expected)),utils.addMethod(chai2.expect,\"stringMatching\",expected=>new StringMatching(expected)),utils.addMethod(chai2.expect,\"closeTo\",(expected,precision)=>new CloseTo(expected,precision)),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)};};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally(()=>{let index=test.promises.indexOf(promise);index!==-1&&test.promises.splice(index,1);}),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn2){return function(...args){var _a;let test=utils.flag(this,\"vitest-test\");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn2.apply(this,args);if(!test)throw new Error(\"expect.soft() can only be used inside a test\");try{return fn2.apply(this,args)}catch(err){test.result||(test.result={state:\"fail\"}),test.result.state=\"fail\",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err));}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn2){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn2);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper);};Array.isArray(name)?name.forEach(n=>addMethod(n)):addMethod(name);}[\"throw\",\"throws\",\"Throw\"].forEach(m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,_super=>function(...args){let promise=utils.flag(this,\"promise\"),object=utils.flag(this,\"object\"),isNot=utils.flag(this,\"negate\");if(promise===\"rejects\")utils.flag(this,\"object\",()=>{throw object});else if(promise===\"resolves\"&&typeof object!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}_super.apply(this,args);});}),def(\"withTest\",function(test){return utils.flag(this,\"vitest-test\",test),this}),def(\"toEqual\",function(expected){let actual=utils.flag(this,\"object\"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",expected,actual)}),def(\"toStrictEqual\",function(expected){let obj=utils.flag(this,\"object\"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,\"expected #{this} to strictly equal #{exp}\",\"expected #{this} to not strictly equal #{exp}\",expected,obj)}),def(\"toBe\",function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName=\"\";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName=\"toStrictEqual\":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName=\"toEqual\")),this.assert(pass,generateToBeMessage(deepEqualityName),\"expected #{this} not to be #{exp} // Object.is equality\",expected,actual)}),def(\"toMatchObject\",function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),\"expected #{this} to match object #{exp}\",\"expected #{this} to not match object #{exp}\",expected,actual)}),def(\"toMatch\",function(expected){return typeof expected==\"string\"?this.include(expected):this.match(expected)}),def(\"toContain\",function(item){let actual=this._obj;if(typeof Node<\"u\"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof item}`);return this.assert(actual.contains(item),\"expected #{this} to contain element #{exp}\",\"expected #{this} not to contain element #{exp}\",item,actual)}if(typeof DOMTokenList<\"u\"&&actual instanceof DOMTokenList){assertTypes(item,\"class name\",[\"string\"]);let expectedClassList=utils.flag(this,\"negate\")?actual.value.replace(item,\"\").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected \"${actual.value}\" to contain \"${item}\"`,`expected \"${actual.value}\" not to contain \"${item}\"`,expectedClassList,actual.value)}return actual!=null&&typeof actual!=\"string\"&&utils.flag(this,\"object\",Array.from(actual)),this.contain(item)}),def(\"toContainEqual\",function(expected){let obj=utils.flag(this,\"object\"),index=Array.from(obj).findIndex(item=>equals(item,expected,customTesters));this.assert(index!==-1,\"expected #{this} to deep equally contain #{exp}\",\"expected #{this} to not deep equally contain #{exp}\",expected);}),def(\"toBeTruthy\",function(){let obj=utils.flag(this,\"object\");this.assert(!!obj,\"expected #{this} to be truthy\",\"expected #{this} to not be truthy\",obj,!1);}),def(\"toBeFalsy\",function(){let obj=utils.flag(this,\"object\");this.assert(!obj,\"expected #{this} to be falsy\",\"expected #{this} to not be falsy\",obj,!1);}),def(\"toBeGreaterThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)}),def(\"toBeGreaterThanOrEqual\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)}),def(\"toBeLessThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actualString(key).replace(/([.[\\]])/g,\"\\\\$1\")).join(\".\"));let actual=this._obj,[propertyName,expected]=args,getValue=()=>Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),{value,exists}=getValue(),pass=exists&&(args.length===1||equals(expected,value,customTesters)),valueString=args.length===1?\"\":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property \"${propertyName}\"${valueString}`,`expected #{this} to not have property \"${propertyName}\"${valueString}`,expected,exists?value:void 0)}),def(\"toBeCloseTo\",function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)},getSpy=assertion=>(assertIsMock(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return j===1&&k!==11?`${i}st`:j===2&&k!==12?`${i}nd`:j===3&&k!==13?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return actualCall?methodCall+=diff(actualCall,callArg,{omitAnnotationLines:!0}):methodCall+=stringify(callArg).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg),formatReturns=(spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return actualReturn?methodCall+=diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):methodCall+=stringify(callReturn).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg);def([\"toHaveBeenCalledTimes\",\"toBeCalledTimes\"],function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected \"${spyName}\" to be called #{exp} times, but got ${callCount} times`,`expected \"${spyName}\" to not be called #{exp} times`,number,callCount,!1)}),def(\"toHaveBeenCalledOnce\",function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===1,`expected \"${spyName}\" to be called once, but got ${callCount} times`,`expected \"${spyName}\" to not be called once`,1,callCount,!1)}),def([\"toHaveBeenCalled\",\"toBeCalled\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[called,`expected \"${spyName}\" to be called at least once`,`expected \"${spyName}\" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)}),def([\"toHaveBeenCalledWith\",\"toBeCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some(callArg=>equals(callArg,args,[...customTesters,iterableEquality])),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to be called with arguments: #{exp}`,`expected \"${spyName}\" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))}),def([\"toHaveBeenNthCalledWith\",\"nthCalledWith\"],function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} \"${spyName}\" call to have been called with #{exp}`,`expected ${ordinalOf(times)} \"${spyName}\" call to not have been called with #{exp}`,args,nthCall);}),def([\"toHaveBeenLastCalledWith\",\"lastCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last \"${spyName}\" call to have been called with #{exp}`,`expected last \"${spyName}\" call to not have been called with #{exp}`,args,lastCall);}),def([\"toThrow\",\"toThrowError\"],function(expected){if(typeof expected==\"string\"||typeof expected>\"u\"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,\"promise\"),isNot=utils.flag(this,\"negate\"),thrown=null;if(promise===\"rejects\")thrown=obj;else if(promise===\"resolves\"&&typeof obj!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}else {let isThrow=!1;try{obj();}catch(err){isThrow=!0,thrown=err;}if(!isThrow&&!isNot){let message=utils.flag(this,\"message\")||\"expected function to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}if(typeof expected==\"function\"){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if(typeof expected==\"object\"&&\"asymmetricMatch\"in expected&&typeof expected.asymmetricMatch==\"function\"){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),\"expected error to match asymmetric matcher\",\"expected error not to match asymmetric matcher\",matcher,thrown)}throw new Error(`\"toThrow\" expects string, RegExp, function, Error instance or asymmetric matcher, got \"${typeof expected}\"`)}),def([\"toHaveReturned\",\"toReturn\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some(({type:type3})=>type3!==\"throw\");this.assert(calledAndNotThrew,`expected \"${spyName}\" to be successfully called at least once`,`expected \"${spyName}\" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1);}),def([\"toHaveReturnedTimes\",\"toReturnTimes\"],function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce((success,{type:type3})=>type3===\"throw\"?success:++success,0);this.assert(successfulReturns===times,`expected \"${spyName}\" to be successfully called ${times} times`,`expected \"${spyName}\" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1);}),def([\"toHaveReturnedWith\",\"toReturnWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some(({type:type3,value:result})=>type3===\"return\"&&equals(value,result)),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to return with: #{exp} at least once`,`expected \"${spyName}\" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatReturns(spy,msg,value))}),def([\"toHaveLastReturnedWith\",\"lastReturnedWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last \"${spyName}\" call to return #{exp}`,`expected last \"${spyName}\" call to not return #{exp}`,value,lastResult);}),def([\"toHaveNthReturnedWith\",\"nthReturnedWith\"],function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,\"negate\"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&callType===\"throw\"&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} \"${spyName}\" call to return #{exp}`,`expected ${ordinalCall} \"${spyName}\" call to not return #{exp}`,value,callResult);}),def(\"toSatisfy\",function(matcher,message){return this.be.satisfy(matcher,message)}),utils.addProperty(chai2.Assertion.prototype,\"resolves\",function(){let error=new Error(\"resolves\");utils.flag(this,\"promise\",\"resolves\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\");if(typeof obj?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then(value=>(utils.flag(this,\"object\",value),result.call(this,...args)),err=>{let _error=new AssertionError2(`promise rejected \"${utils.inspect(err)}\" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error});return recordAsyncExpect(test,promise)}}});return proxy}),utils.addProperty(chai2.Assertion.prototype,\"rejects\",function(){let error=new Error(\"rejects\");utils.flag(this,\"promise\",\"rejects\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\"),wrapper=typeof obj==\"function\"?obj():obj;if(typeof wrapper?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then(value=>{let _error=new AssertionError2(`promise resolved \"${utils.inspect(value)}\" instead of rejecting`,{showDiff:!0,expected:new Error(\"rejected promise\"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error},err=>(utils.flag(this,\"object\",err),result.call(this,...args)));return recordAsyncExpect(test,promise)}}});return proxy});};function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,\"negate\"),promise=util.flag(assertion,\"promise\")||\"\",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return {state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected;}};function JestExtendPlugin(expect4,matchers){return (c,utils)=>{Object.entries(matchers).forEach(([expectAssertionName,expectAssertion])=>{function expectWrapper(...args){let{state,isNot,obj}=getMatcherState(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&typeof result==\"object\"&&result instanceof Promise)return result.then(({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)});let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}let softWrapper=wrapSoft(utils,expectWrapper);utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse);}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return `${this.inverse?\"not.\":\"\"}${expectAssertionName}`}getExpectedType(){return \"any\"}toAsymmetricMatcher(){return `${this.toString()}<${this.sample.map(String).join(\", \")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0});});}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,\"extend\",(expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects));});};var matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,\"__esModule\",{value:!0,configurable:!0});}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0});}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports);$parcel$export($009ddb00d3ec72b8$exports,\"default\",()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039);var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+\":\"+lineno+\":\"+column+\": \"+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css;}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports);$parcel$export($0865a9fb4cc365fe$exports,\"default\",()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039);var $0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source;}},$b2e137848b48cf4f$exports={};$parcel$export($b2e137848b48cf4f$exports,\"CssTypes\",()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a);var $b2e137848b48cf4f$export$9be5dd6e61d5d73a;(function(CssTypes){CssTypes.stylesheet=\"stylesheet\",CssTypes.rule=\"rule\",CssTypes.declaration=\"declaration\",CssTypes.comment=\"comment\",CssTypes.container=\"container\",CssTypes.charset=\"charset\",CssTypes.document=\"document\",CssTypes.customMedia=\"custom-media\",CssTypes.fontFace=\"font-face\",CssTypes.host=\"host\",CssTypes.import=\"import\",CssTypes.keyframes=\"keyframes\",CssTypes.keyframe=\"keyframe\",CssTypes.layer=\"layer\",CssTypes.media=\"media\",CssTypes.namespace=\"namespace\",CssTypes.page=\"page\",CssTypes.supports=\"supports\";})($b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={}));var $d708735ed1303b43$var$commentre=/\\/\\*[^]*?(?:\\*\\/|$)/g,$d708735ed1303b43$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function updatePosition(str){let lines=str.match(/\\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf(`\n`);column=~i?str.length-i:column+str.length;}function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||\"\"),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||\"\",msg,lineno,column,css);if(options?.silent)errorsList.push(err);else throw err}function stylesheet(){let rulesList=rules();return {type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}function open(){return match(/^{\\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&css.charAt(0)!==\"}\"&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return updatePosition(str),css=css.slice(str.length),m2}function whitespace(){match(/^\\s*/);}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if(css.charAt(0)!==\"/\"||css.charAt(1)!==\"*\")return;let m2=match(/^\\/\\*[^]*?\\*\\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error(\"End of comment missing\")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(\")\",ptr);for(;!found&&closeParentheses!==-1;){let nextParentheses=str.indexOf(\"(\",ptr);nextParentheses!==-1&&nextParenthesesm3.replace(/,/g,\"\\u200C\")),res.split(\",\").map(s=>$d708735ed1303b43$var$trim(s.replace(/\\u200C/g,\",\")))}function declaration(){let pos=position(),propMatch=match(/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\\s*/))return error(\"property missing ':'\");let val=match(/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,\"\"),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,\"\"):\"\"});return match(/^[;\\s]*/),ret}function declarations(){let decls=[];if(!open())return error(\"missing '{'\");comments(decls);let decl;for(;decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error(\"missing '}'\")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\\d+\\.\\d+|\\.\\d+|\\d+)%?|[a-z]+)\\s*/);)vals.push(m2[1]),match(/^,\\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}function atkeyframes(){let pos=position(),m1=match(/^@([-\\w]+)?keyframes\\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\\w]+)\\s*/);if(!m2)return error(\"@keyframes missing name\");let name=m2[1];if(!open())return error(\"@keyframes missing '{'\");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error(\"@keyframes missing '}'\")}function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@supports missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error(\"@supports missing '}'\")}function athost(){let pos=position();if(!match(/^@host\\s*/))return;if(!open())return error(\"@host missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error(\"@host missing '}'\")}function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@container missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error(\"@container missing '}'\")}function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error(\"@layer missing '}'\")}function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@media missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error(\"@media missing '}'\")}function atcustommedia(){let pos=position(),m2=match(/^@custom-media\\s+(--\\S+)\\s*([^{;\\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error(\"@page missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error(\"@page missing '}'\")}function atdocument(){let pos=position(),m2=match(/^@([-\\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error(\"@document missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error(\"@document missing '}'\")}function atfontface(){let pos=position();if(!match(/^@font-face\\s*/))return;if(!open())return error(\"@font-face missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error(\"@font-face missing '}'\")}let atimport=_compileAtrule(\"import\"),atcharset=_compileAtrule(\"charset\"),atnamespace=_compileAtrule(\"namespace\");function _compileAtrule(name){let re=new RegExp(\"^@\"+name+`\\\\s*((?::?[^;'\"]|\"(?:\\\\\\\\\"|[^\"])*?\"|'(?:\\\\\\\\'|[^'])*?')+)(?:;|$)`);return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if(css[0]===\"@\")return atkeyframes()||atmedia()||atcustommedia()||atsupports()||atimport()||atcharset()||atnamespace()||atdocument()||atpage()||athost()||atfontface()||atcontainer()||atlayer()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error(\"selector missing\")}return $d708735ed1303b43$var$addParent(stylesheet())};function $d708735ed1303b43$var$trim(str){return str?str.trim():\"\"}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&typeof obj.type==\"string\",childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach(v2=>{$d708735ed1303b43$var$addParent(v2,childParent);}):value&&typeof value==\"object\"&&$d708735ed1303b43$var$addParent(value,childParent);}return isNode&&Object.defineProperty(obj,\"parent\",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $d708735ed1303b43$export$2e2bcd8739ae039=$d708735ed1303b43$export$98e6a39c04603d36;var $149c1bd638913645$export$98e6a39c04603d36=$d708735ed1303b43$export$2e2bcd8739ae039;var toStr=Object.prototype.toString;function isCallable(fn2){return typeof fn2==\"function\"||toStr.call(fn2)===\"[object Function]\"}function toInteger(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=toInteger(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck(this,SetLike3),_defineProperty(this,\"items\",void 0),this.items=items;}return _createClass(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>\"u\"?Set:SetLike;function getLocalName(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),none:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-description\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole(element,implicitRole){return hasGlobalAriaAttributes(element,implicitRole)}function getRole(element){var explicitRole=getExplicitRole(element);if(explicitRole===null||presentationRoles.indexOf(explicitRole)!==-1){var implicitRole=getImplicitRole(element);if(presentationRoles.indexOf(explicitRole||\"\")===-1||ignorePresentationalRole(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}var presentationRoles=[\"presentation\",\"none\"];function isElement(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&getLocalName(node)===\"caption\"}function isHTMLInputElement(node){return isElement(node)&&getLocalName(node)===\"input\"}function isHTMLOptGroupElement(node){return isElement(node)&&getLocalName(node)===\"optgroup\"}function isHTMLSelectElement(node){return isElement(node)&&getLocalName(node)===\"select\"}function isHTMLTableElement(node){return isElement(node)&&getLocalName(node)===\"table\"}function isHTMLTextAreaElement(node){return isElement(node)&&getLocalName(node)===\"textarea\"}function safeWindow(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement(node){return isElement(node)&&getLocalName(node)===\"fieldset\"}function isHTMLLegendElement(node){return isElement(node)&&getLocalName(node)===\"legend\"}function isHTMLSlotElement(node){return isElement(node)&&getLocalName(node)===\"slot\"}function isSVGElement(node){return isElement(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement(node){return isElement(node)&&getLocalName(node)===\"svg\"}function isSVGTitleElement(node){return isSVGElement(node)&&getLocalName(node)===\"title\"}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles(node,roles3){return isElement(node)?roles3.indexOf(getRole(node))!==-1:!1}function asFlatString(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl(node){return hasAnyConcreteRoles(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole(node,\"range\")}function hasAbstractRole(node,role){if(!isElement(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions(listbox){return isHTMLSelectElement(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,\"[selected]\"):querySelectorAllSubtree(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}function allowsNameFromContent(node){return hasAnyConcreteRoles(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement(node){return !1}function getValueOfTextbox(element){return isHTMLInputElement(element)||isHTMLTextAreaElement(element)?element.value:element.textContent||\"\"}function getTextualContent(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement(element){var localName=getLocalName(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function getLabels(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom(labelsProperty);if(!isLabelableElement(element))return null;var document2=element.ownerDocument;return arrayFrom(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel(label)===element})}function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom(slot.childNodes):assignedNodes}function computeTextAlternative(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default,window2=safeWindow(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement(node)?getSlotContents(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement(node))return null;if(isHTMLFieldSetElement(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return selectedOptions.length===0?isHTMLInputElement(current)?current.value:\"\":arrayFrom(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(allowsNameFromContent(current)||isElement(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement(current)||isDescendantOfNativeHostLanguageTextAlternativeElement()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof2(o){\"@babel/helpers - typeof\";return _typeof2=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol==\"function\"&&o2.constructor===Symbol&&o2!==Symbol.prototype?\"symbol\":typeof o2},_typeof2(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o);}return t}function _objectSpread(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs(root,\"aria-describedby\").map(function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var ariaDescription=root.getAttribute(\"aria-description\");description=ariaDescription===null?\"\":ariaDescription;}if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming(node){return hasAnyConcreteRoles(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"none\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming(root)?\"\":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType=\"\";try{withType=context.utils.printWithType(\"Received\",received,context.utils.printReceived);}catch{}this.message=[context.utils.matcherHint(`${context.isNot?\".not\":\"\"}.${matcherFn.name}`,\"received\",\"\"),\"\",`${context.utils.RECEIVED_COLOR(\"received\")} value must ${expectedString}.`,withType].join(`\n`);}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super(\"be an HTMLElement or an SVGElement\",...args);}},NodeTypeError=class extends GenericTypeError{constructor(...args){super(\"be a Node\",...args);}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkNode(node,...args){checkHasWindow(node,NodeTypeError,...args);let window2=node.ownerDocument.defaultView;if(!(node instanceof window2.Node))throw new NodeTypeError(node,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement)&&!(htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,\"\",context.utils.RECEIVED_COLOR(\"Failing css:\"),context.utils.RECEIVED_COLOR(`${received.css}`)].join(`\n`);}};function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter(d2=>d2.type===\"declaration\").reduce((obj,{property,value})=>Object.assign(obj,{[property]:value}),{})}function display(context,value){return typeof value==\"string\"?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return [`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0, import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0, import_redent.default)(display(context,receivedValue),2))}`].join(`\n`)}function matches(textToMatch,matcher){return matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText);}function normalize(text){return text.replace(/\\s+/g,\" \").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSelectValue({multiple,options}){let selectedOptions=[...options].filter(option=>option.selected);if(multiple)return [...selectedOptions].map(opt=>opt.value);if(selectedOptions.length!==0)return selectedOptions[0].value}function getInputValue(inputElement){switch(inputElement.type){case\"number\":return inputElement.value===\"\"?null:Number(inputElement.value);case\"checkbox\":return inputElement.checked;default:return inputElement.value}}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case\"input\":return getInputValue(element);case\"select\":return getSelectValue(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return (0, import_isEqual.default)(new Set(a),new Set(b2))}function toSentence(array,{wordConnector=\", \",lastWordConnector=\" and \"}={}){return [array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:\"\")}function toBeInTheDOM(element,container){return deprecate(\"toBeInTheDOM\",\"Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.\"),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDOM`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join(`\n`)}}function toBeInTheDocument(element){(element!==null||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=element===null?!1:element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`,errorNotFound=()=>\"element could not be found in the document\";return {pass,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDocument`,\"element\",\"\"),\"\",this.utils.RECEIVED_COLOR(this.isNot?errorFound():errorNotFound())].join(`\n`)}}function toBeEmpty(element){return deprecate(\"toBeEmpty\",\"Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.\"),checkHtmlElement(element,toBeEmpty,this),{pass:element.innerHTML===\"\",message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmpty`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmptyDOMElement`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function isEmptyElement(element){return [...element.childNodes].filter(node=>node.nodeType!==8).length===0}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),element!==null&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainElement`,\"element\",\"element\"),\"\",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?\"contains:\":\"does not contain:\"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join(`\n`)}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement(\"div\");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),typeof htmlText!=\"string\")throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return {pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainHTML`,\"element\",\"\"),\"Expected:\",` ${this.utils.EXPECTED_COLOR(htmlText)}`,\"Received:\",` ${this.utils.printReceived(container.cloneNode(!0))}`].join(`\n`)}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){checkNode(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\\u00a0/g,\" \"),checkingWithEmptyString=textContent!==\"\"&&checkWith===\"\";return {pass:!checkingWithEmptyString&&matches(textContent,checkWith),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveTextContent`,\"element\",\"\"),checkingWithEmptyString?\"Checking with empty string will always match, use .toBeEmptyDOMElement() instead\":`Expected element ${to} have text content`,checkWith,\"Received\",textContent)}}}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=computeAccessibleDescription(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleDescription!==\"\":pass=expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleDescription.name}`,\"element\",\"\"),`Expected element ${to} have accessible description`,expectedAccessibleDescription,\"Received\",actualAccessibleDescription)}}}var ariaInvalidName=\"aria-invalid\",validStates=[\"false\"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?\"not to\":\"to\",method=this.isNot?\".not.toHaveAccessibleErrorMessage\":\".toHaveAccessibleErrorMessage\",errormessageId=htmlElement.getAttribute(\"aria-errormessage\");if(!!errormessageId&&/\\s+/.test(errormessageId))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID\",\"\",\"Received\",`aria-errormessage=\"${errormessageId}\"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element to be marked as invalid with attribute\",`${ariaInvalidName}=\"${String(!0)}\"`,\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`${ariaInvalidName}=\"${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??\"\");return {pass:expectedAccessibleErrorMessage===void 0?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??\"\",\"Received\",error)}}var elementRoleList=buildElementRoleList(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=getExplicitOrImplicitRoles(htmlElement);return {pass:actualRoles.some(el=>el===expectedRole),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveRole.name}`,\"element\",\"\"),`Expected element ${to} have role`,expectedRole,\"Received\",actualRoles.join(\", \"))}}}function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute(\"role\")?htmlElement.getAttribute(\"role\").split(\" \").filter(Boolean):getImplicitAriaRoles(htmlElement)}function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return [...roles3];return []}function buildElementRoleList(elementRolesMap){function makeElementSelector({name,attributes}){return `${name}${attributes.map(({name:attributeName,value,constraints=[]})=>constraints.indexOf(\"undefined\")!==-1?`:not([${attributeName}])`:value?`[${attributeName}=\"${value}\"]`:`[${attributeName}]`).join(\"\")}`}function getSelectorSpecificity({attributes=[]}){return attributes.length}function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleName!==\"\":pass=expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleName.name}`,\"element\",\"\"),`Expected element ${to} have accessible name`,expectedAccessibleName,\"Received\",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return value===void 0?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return value===void 0?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=expectedValue!==void 0,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return {pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?\"not to\":\"to\",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null,matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveAttribute`,\"element\",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)});return getMessage(this,matcher,`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),\"Received\",receivedAttribute)}}}function getExpectedClassNamesAndOptions(params){let lastParam=params.pop(),expectedClassNames,options;return typeof lastParam==\"object\"&&!(lastParam instanceof RegExp)?(expectedClassNames=params,options=lastParam):(expectedClassNames=params.concat(lastParam),options={exact:!1}),{expectedClassNames,options}}function splitClassNames(str){return str?str.split(/\\s+/).filter(s=>s.length>0):[]}function isSubset$1(subset,superset){return subset.every(strOrRegexp=>typeof strOrRegexp==\"string\"?superset.includes(strOrRegexp):superset.some(className=>strOrRegexp.test(className)))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=getExpectedClassNamesAndOptions(params),received=splitClassNames(htmlElement.getAttribute(\"class\")),expected=expectedClassNames.reduce((acc,className)=>acc.concat(typeof className==\"string\"||!className?splitClassNames(className):className),[]),hasRegExp=expected.some(className=>className instanceof RegExp);if(options.exact&&hasRegExp)throw new Error(\"Exact option does not support RegExp expected class names\");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have class`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:{pass:this.isNot?received.length>0:!1,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(\".not.toHaveClass\",\"element\",\"\"),\"Expected the element to have classes\",\"(none)\",\"Received\",received.join(\" \")):[this.utils.matcherHint(\".toHaveClass\",\"element\"),\"At least one expected class must be provided.\"].join(`\n`)}}function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement(\"div\");return Object.keys(css).forEach(property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property];}),styles}function isSubset(styles,computedStyle){return !!Object.keys(styles).length&&Object.entries(styles).every(([prop,value])=>{let isCustomProperty=prop.startsWith(\"--\"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some(name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value)})}function printoutStyles(styles){return Object.keys(styles).sort().map(prop=>`${prop}: ${styles[prop]};`).join(`\n`)}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter(prop=>expected[prop]!==void 0).reduce((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)}),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red(\"+ Received\")}\n`,\"\")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS=typeof css==\"object\"?css:parseCSS(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=getStyleDeclaration(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return {pass:isSubset(expected,received),message:()=>{let matcher=`${this.isNot?\".not\":\"\"}.toHaveStyle`;return [this.utils.matcherHint(matcher,\"element\",\"\"),expectedDiff(this.utils.diff,expected,received)].join(`\n\n`)}}}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveFocus`,\"element\",\"\"),\"\",...this.isNot?[\"Received element is focused:\",` ${this.utils.printReceived(element)}`]:[\"Expected element with focus:\",` ${this.utils.printExpected(element)}`,\"Received element with focus:\",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join(`\n`)}}function getMultiElementValue(elements){let types=(0, import_uniq.default)(elements.map(element=>element.type));if(types.length!==1)throw new Error(\"Multiple form elements with the same name must be of the same type\");switch(types[0]){case\"radio\":{let theChosenOne=elements.find(radio=>radio.checked);return theChosenOne?theChosenOne.value:void 0}case\"checkbox\":return elements.filter(checkbox=>checkbox.checked).map(checkbox=>checkbox.value);default:return elements.map(element=>element.value)}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name=\"${(0, import_css.default)(name)}\"]`)];if(elements.length!==0)switch(elements.length){case 1:return getSingleElementValue(elements[0]);default:return getMultiElementValue(elements)}}function getPureName(name){return /\\[\\]$/.test(name)?name.slice(0,-2):name}function getAllFormValues(container){return Array.from(container.elements).map(element=>element.name).reduce((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)}),{})}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error(\"toHaveFormValues must be called on a form or a fieldset\");let formValues=getAllFormValues(formElement);return {pass:Object.entries(expectedValues).every(([name,expectedValue])=>(0, import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet)),message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=`${this.isNot?\".not\":\"\"}.toHaveFormValues`,commonKeyValues=Object.keys(formValues).filter(key=>expectedValues.hasOwnProperty(key)).reduce((obj,key)=>({...obj,[key]:formValues[key]}),{});return [this.utils.matcherHint(matcher,\"element\",\"\"),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join(`\n\n`)}}}function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return display2!==\"none\"&&visibility!==\"hidden\"&&visibility!==\"collapse\"&&opacity!==\"0\"&&opacity!==0}function isAttributeVisible(element,previousElement){let detailsVisibility;return previousElement?detailsVisibility=element.nodeName===\"DETAILS\"&&previousElement.nodeName!==\"SUMMARY\"?element.hasAttribute(\"open\"):!0:detailsVisibility=element.nodeName===\"DETAILS\"?element.hasAttribute(\"open\"):!0,!element.hasAttribute(\"hidden\")&&detailsVisibility}function isElementVisible(element,previousElement){return isStyleVisible(element)&&isAttributeVisible(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return {pass:isVisible2,message:()=>{let is=isVisible2?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeVisible`,\"element\",\"\"),\"\",`Received element ${is} visible${isInDocument?\"\":\" (element is not in the document)\"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$2=[\"fieldset\",\"input\",\"select\",\"optgroup\",\"option\",\"button\",\"textarea\"];function isFirstLegendChildOfFieldset(element,parent){return getTag(element)===\"legend\"&&getTag(parent)===\"fieldset\"&&element.isSameNode(Array.from(parent.children).find(child=>getTag(child)===\"legend\"))}function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!isFirstLegendChildOfFieldset(element,parent)}function isCustomElement(tag){return tag.includes(\"-\")}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||isCustomElement(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute(\"disabled\")}function isAncestorDisabled(element){let parent=element.parentElement;return !!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return {pass:isDisabled3,message:()=>{let is=isDisabled3?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeDisabled`,\"element\",\"\"),\"\",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return {pass:isEnabled,message:()=>{let is=isEnabled?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEnabled`,\"element\",\"\"),\"\",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$1=[\"select\",\"textarea\"],ARIA_FORM_TAGS=[\"input\",\"select\",\"textarea\"],UNSUPPORTED_INPUT_TYPES=[\"color\",\"hidden\",\"range\",\"submit\",\"image\",\"reset\"],SUPPORTED_ARIA_ROLES=[\"combobox\",\"gridcell\",\"radiogroup\",\"spinbutton\",\"tree\"];function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute(\"required\")}function isRequiredOnSupportedInput(element){return getTag(element)===\"input\"&&element.hasAttribute(\"required\")&&(element.hasAttribute(\"type\")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute(\"type\"))||!element.hasAttribute(\"type\"))}function isElementRequiredByARIA(element){return element.hasAttribute(\"aria-required\")&&element.getAttribute(\"aria-required\")===\"true\"&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute(\"role\")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute(\"role\")))}function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=isRequiredOnFormTagsExceptInput(element)||isRequiredOnSupportedInput(element)||isElementRequiredByARIA(element);return {pass:isRequired,message:()=>{let is=isRequired?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeRequired`,\"element\",\"\"),\"\",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS=[\"form\",\"input\",\"select\",\"textarea\"];function isElementHavingAriaInvalid(element){return element.hasAttribute(\"aria-invalid\")&&element.getAttribute(\"aria-invalid\")!==\"false\"}function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}function isElementInvalid(element){let isHaveAriaInvalid=isElementHavingAriaInvalid(element);return isSupportsValidityMethod(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return {pass:isInvalid,message:()=>{let is=isInvalid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInvalid`,\"element\",\"\"),\"\",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return {pass:isValid,message:()=>{let is=isValid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeValid`,\"element\",\"\"),\"\",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),htmlElement.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(htmlElement.type))throw new Error(\"input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead\");let receivedValue=getSingleElementValue(htmlElement),expectsValue=expectedValue!==void 0,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0, import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveValue`,\"element\",expectedValue);return getMessage(this,matcher,`Expected the element ${to} have value`,expectsValue?expectedTypedValue:\"(any)\",\"Received\",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(![\"select\",\"input\",\"textarea\"].includes(tagName))throw new Error(\".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.\");if(tagName===\"input\"&&[\"radio\",\"checkbox\"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type=\"${htmlElement.type}\"], try with another matcher instead.`);let values=getValues(tagName,htmlElement),expectedValues=getExpectedValues(expectedValue),numberOfMatchesWithValues=expectedValues.filter(expected=>values.some(value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return {pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDisplayValue`,\"element\",\"\"),`Expected element ${this.isNot?\"not \":\"\"}to have display value`,expectedValue,\"Received\",values)}}function getValues(tagName,htmlElement){return tagName===\"select\"?Array.from(htmlElement).filter(option=>option.selected).map(option=>option.textContent):[htmlElement.value]}function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(element.type),isValidAriaElement=()=>roleSupportsChecked(element.getAttribute(\"role\"))&&[\"true\",\"false\"].includes(element.getAttribute(\"aria-checked\"));if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>`only inputs with type=\"checkbox\" or type=\"radio\" or elements with ${supportedRolesSentence()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:element.getAttribute(\"aria-checked\")===\"true\";return {pass:isChecked(),message:()=>{let is=isChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeChecked`,\"element\",\"\"),\"\",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function supportedRolesSentence(){return toSentence(supportedRoles().map(role=>`role=\"${role}\"`),{lastWordConnector:\" or \"})}function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}function roleSupportsChecked(role){return import_aria_query.roles.get(role)?.props[\"aria-checked\"]!==void 0}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&element.type===\"checkbox\",isValidAriaElement=()=>element.getAttribute(\"role\")===\"checkbox\";if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>'only inputs with type=\"checkbox\" or elements with role=\"checkbox\" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed=element.getAttribute(\"aria-checked\")===\"mixed\";return isValidInput()&&element.indeterminate||isAriaMixed};return {pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBePartiallyChecked`,\"element\",\"\"),\"\",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveDescription(htmlElement,checkWith){deprecate(\"toHaveDescription\",\"Please use toHaveAccessibleDescription.\"),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=checkWith!==void 0,descriptionIDs=(htmlElement.getAttribute(\"aria-describedby\")||\"\").split(/\\s+/).filter(Boolean),description=\"\";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map(descriptionID=>document2.getElementById(descriptionID)).filter(Boolean);description=normalize(descriptionEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDescription`,\"element\",\"\"),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate(\"toHaveErrorMessage\",\"Please use toHaveAccessibleErrorMessage.\"),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute(\"aria-invalid\")||htmlElement.getAttribute(\"aria-invalid\")===\"false\"){let not=this.isNot?\".not\":\"\";return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,\"element\",\"\"),\"Expected the element to have invalid state indicated by\",'aria-invalid=\"true\"',\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`aria-invalid=\"${htmlElement.getAttribute(\"aria-invalid\")}\"`:this.utils.printReceived(\"\"))}}let expectsErrorMessage=checkWith!==void 0,errormessageIDs=(htmlElement.getAttribute(\"aria-errormessage\")||\"\").split(/\\s+/).filter(Boolean),errormessage=\"\";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map(errormessageID=>document2.getElementById(errormessageID)).filter(Boolean);errormessage=normalize(errormessageEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveErrorMessage`,\"element\",\"\"),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1);__toESM(require_isEqual(),1);__toESM(require_lib(),1);__toESM(require_source(),1);__toESM(require_isEqualWith(),1);__toESM(require_uniq(),1);__toESM(require_css_escape(),1);function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` \"${message}\" `:\" \"}not to be reached`);};function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen});}function hasAssertions(){let error=new Error(\"expected any number of assertion, but got none\");\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error});}return setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,\"assertions\",assertions),util.addMethod(expect4,\"hasAssertions\",hasAssertions),expect4.extend(matchers_exports),expect4}var expect2=createExpect();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});function clearAllMocks(){mocks.forEach(spy=>spy.mockClear());}function resetAllMocks(){mocks.forEach(spy=>spy.mockReset());}function restoreAllMocks(){mocks.forEach(spy=>spy.mockRestore());}function mocked(item,_options={}){return item}var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3());var toStr2=Object.prototype.toString;function isCallable2(fn2){return typeof fn2==\"function\"||toStr2.call(fn2)===\"[object Function]\"}function toInteger2(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=toInteger2(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable2(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck2(this,SetLike3),_defineProperty3(this,\"items\",void 0),this.items=items;}return _createClass2(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>\"u\"?Set:SetLike2;function getLocalName2(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes2={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes2(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes2[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole2(element,implicitRole){return hasGlobalAriaAttributes2(element,implicitRole)}function getRole2(element){var explicitRole=getExplicitRole2(element);if(explicitRole===null||explicitRole===\"presentation\"){var implicitRole=getImplicitRole2(element);if(explicitRole!==\"presentation\"||ignorePresentationalRole2(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName2(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole2(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole2(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}function isElement2(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&getLocalName2(node)===\"caption\"}function isHTMLInputElement2(node){return isElement2(node)&&getLocalName2(node)===\"input\"}function isHTMLOptGroupElement2(node){return isElement2(node)&&getLocalName2(node)===\"optgroup\"}function isHTMLSelectElement2(node){return isElement2(node)&&getLocalName2(node)===\"select\"}function isHTMLTableElement2(node){return isElement2(node)&&getLocalName2(node)===\"table\"}function isHTMLTextAreaElement2(node){return isElement2(node)&&getLocalName2(node)===\"textarea\"}function safeWindow2(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement2(node){return isElement2(node)&&getLocalName2(node)===\"fieldset\"}function isHTMLLegendElement2(node){return isElement2(node)&&getLocalName2(node)===\"legend\"}function isHTMLSlotElement2(node){return isElement2(node)&&getLocalName2(node)===\"slot\"}function isSVGElement2(node){return isElement2(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement2(node){return isElement2(node)&&getLocalName2(node)===\"svg\"}function isSVGTitleElement2(node){return isSVGElement2(node)&&getLocalName2(node)===\"title\"}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles2(node,roles3){return isElement2(node)?roles3.indexOf(getRole2(node))!==-1:!1}function asFlatString2(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl2(node){return hasAnyConcreteRoles2(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole2(node,\"range\")}function hasAbstractRole2(node,role){if(!isElement2(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles2(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions2(listbox){return isHTMLSelectElement2(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,\"[selected]\"):querySelectorAllSubtree2(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,[\"none\",\"presentation\"])}function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement2(node){return !1}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||isHTMLTextAreaElement2(element)?element.value:element.textContent||\"\"}function getTextualContent2(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement2(element){var localName=getLocalName2(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel2(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function getLabels2(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom2(labelsProperty);if(!isLabelableElement2(element))return null;var document2=element.ownerDocument;return arrayFrom2(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel2(label)===element})}function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom2(slot.childNodes):assignedNodes}function computeTextAlternative2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default2,window2=safeWindow2(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent2(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement2(node)?getSlotContents2(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement2(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent2(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(isHTMLFieldSetElement2(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement2(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles2(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden2(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement2(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs2(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl2(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational2(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return selectedOptions.length===0?isHTMLInputElement2(current)?current.value:\"\":arrayFrom2(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole2(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles2(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(allowsNameFromContent2(current)||isElement2(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement2(current)||isDescendantOfNativeHostLanguageTextAlternativeElement2()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString2(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof4(obj){\"@babel/helpers - typeof\";return _typeof4=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof4(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys2.push.apply(keys2,symbols);}return keys2}function _objectSpread2(target){for(var i=1;i1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs2(root,\"aria-describedby\").map(function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming2(root)?\"\":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,\">\")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")},NodeTypeTextNode=3,printChildren=(children,config3,indentation,depth,refs,printer)=>children.map(child=>{let printedChild=typeof child==\"string\"?printText(child,config3):printer(child,config3,indentation,depth,refs);return printedChild===\"\"&&typeof child==\"object\"&&child!==null&&child.nodeType!==NodeTypeTextNode?\"\":config3.spacingOuter+indentation+printedChild}).join(\"\"),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close},ELEMENT_NODE$1=1,TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\");return nodeType===ELEMENT_NODE$1&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&constructorName===\"Text\"||nodeType===COMMENT_NODE$1&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE&&constructorName===\"DocumentFragment\"};function nodeIsText(node){return node.nodeType===TEXT_NODE$1}function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return {test:val=>{var _val$constructor2;return (val==null||(_val$constructor2=val.constructor)==null?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText(node))return printText(node.data,config3);if(nodeIsComment(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,\"fs\").readFileSync,codeFrameColumns=nodeRequire.call(module,\"@babel/code-frame\").codeFrameColumns,chalk2=nodeRequire.call(module,\"chalk\");}catch{}function getCodeFrame(frame){let locationStart=frame.indexOf(\"(\")+1,locationEnd=frame.indexOf(\")\"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(\":\"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents=\"\";try{rawFileContents=readFileSync(filename,\"utf-8\");}catch{return \"\"}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+`\n`+codeFrame+`\n`}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return \"\";let firstClientCodeFrame=new Error().stack.split(`\n`).slice(1).find(frame=>!frame.includes(\"node_modules/\"));return getCodeFrame(firstClientCodeFrame)}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<\"u\"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,\"clock\"):!1}function getDocument(){if(typeof window>\"u\")throw new Error(\"Could not find default container\");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&node.ownerDocument.defaultView===null?new Error(\"It looks like the window object is not available for the provided node.\"):node.then instanceof Function?new Error(\"It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?\"):Array.isArray(node)?new Error(\"It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?\"):typeof node.debug==\"function\"&&typeof node.logTestingPlaygroundURL==\"function\"?new Error(\"It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?\"):new Error(\"The given node is not an Element, the node type is: \"+typeof node+\".\")}function checkContainerType(container){if(!container||typeof container.querySelector!=\"function\"||typeof container.querySelectorAll!=\"function\")throw new TypeError(\"Expected container to be an Element, a Document or a DocumentFragment but got \"+getTypeName(container)+\".\");function getTypeName(object){return typeof object==\"object\"?object===null?\"null\":object.constructor.name:typeof object}}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse((_process=process)==null||(_process=_process.env)==null?void 0:_process.COLORS);}catch{}return typeof colors==\"boolean\"?colors:typeof process<\"u\"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(options===void 0&&(options={}),dom||(dom=getDocument().body),typeof maxLength!=\"number\"&&(maxLength=typeof process<\"u\"&&process.env.DEBUG_PRINT_LIMIT||7e3),maxLength===0)return \"\";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if(domTypeName===\"object\"?domTypeName=dom.constructor.name:dom={},!(\"outerHTML\"in dom))throw new TypeError(\"Expected an element or document but got \"+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return maxLength!==void 0&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+\"...\":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+`\n\n`+userCodeFrame:prettyDOM(...arguments));},config2={testIdAttribute:\"data-testid\",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:\"script, style\",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,\"Ignored nodes: comments, \"+config2.defaultIgnore+`\n`+prettifiedDOM].filter(Boolean).join(`\n\n`));return error.name=\"TestingLibraryElementError\",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1;}}function configure(newConfig){typeof newConfig==\"function\"&&(newConfig=newConfig(config2)),config2={...config2,...newConfig};}function getConfig(){return config2}var labelledNodeNames=[\"button\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\",\"input\"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?\"\":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map(childNode=>getTextContent(childNode)).join(\"\")}function getLabelContent(element){let textContent;return element.tagName.toLowerCase()===\"label\"?textContent=getTextContent(element):textContent=element.value||element.textContent,textContent}function getRealLabels(element){if(element.labels!==void 0){var _labels;return (_labels=element.labels)!=null?_labels:[]}if(!isLabelable(element))return [];let labels=element.ownerDocument.querySelectorAll(\"label\");return Array.from(labels).filter(label=>label.control===element)}function isLabelable(element){return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||element.tagName===\"INPUT\"&&element.getAttribute(\"type\")!==\"hidden\"}function getLabels3(container,element,_temp){let{selector=\"*\"}=_temp===void 0?{}:_temp,ariaLabelledBy=element.getAttribute(\"aria-labelledby\"),labelsId=ariaLabelledBy?ariaLabelledBy.split(\" \"):[];return labelsId.length?labelsId.map(labelId=>{let labellingElement=container.querySelector('[id=\"'+labelId+'\"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:\"\",formControl:null}}):Array.from(getRealLabels(element)).map(label=>{let textToMatch=getLabelContent(label),labelledFormControl=Array.from(label.querySelectorAll(\"button, input, meter, output, progress, select, textarea\")).filter(formControlElement=>formControlElement.matches(selector))[0];return {content:textToMatch,formControl:labelledFormControl}})}function assertNotNullOrUndefined(matcher){if(matcher==null)throw new Error(\"It looks like \"+matcher+\" was passed instead of a matcher. Did you do something like getByText(\"+matcher+\")?\")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return typeof matcher==\"string\"||typeof matcher==\"number\"?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):typeof matcher==\"function\"?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=_temp===void 0?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\\s+/g,\" \"):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<\"u\"||typeof collapseWhitespace<\"u\")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use \"getDefaultNormalizer({trim, collapseWhitespace})\" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&matcher.lastIndex!==0&&(console.warn(\"To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.\"),matcher.lastIndex=0),match}function getNodeText(node){return node.matches(\"input[type=submit], input[type=button], input[type=reset]\")?node.value:Array.from(node.childNodes).filter(child=>child.nodeType===TEXT_NODE&&!!child.textContent).map(c=>c.textContent).join(\"\")}var elementRoleList2=buildElementRoleList2(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return element.hidden===!0||element.getAttribute(\"aria-hidden\")===\"true\"||element.ownerDocument.defaultView.getComputedStyle(element).display===\"none\"}function isInaccessible(element,options){options===void 0&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if(element.ownerDocument.defaultView.getComputedStyle(element).visibility===\"hidden\")return !0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return !0;currentElement=currentElement.parentElement;}return !1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return [...roles3];return []}function buildElementRoleList2(elementRolesMap){function makeElementSelector(_ref){let{name,attributes}=_ref;return \"\"+name+attributes.map(_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return constraints.indexOf(\"undefined\")!==-1?\":not([\"+attributeName+\"])\":value?\"[\"+attributeName+'=\"'+value+'\"]':\"[\"+attributeName+\"]\"}).join(\"\")}function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function getRoles(container,_temp){let{hidden=!1}=_temp===void 0?{}:_temp;function flattenDOM(node){return [node,...Array.from(node.children).reduce((acc,child)=>[...acc,...flattenDOM(child)],[])]}return flattenDOM(container).filter(element=>hidden===!1?isInaccessible(element)===!1:!0).reduce((acc,node)=>{let roles3=[];return node.hasAttribute(\"role\")?roles3=node.getAttribute(\"role\").split(\" \").slice(0,1):roles3=getImplicitAriaRoles2(node),roles3.reduce((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]},acc)},{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter(_ref7=>{let[role]=_ref7;return role!==\"generic\"}).map(_ref8=>{let[role,elements]=_ref8,delimiterBar=\"-\".repeat(50),elementsString=elements.map(el=>{let nameString='Name \"'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`,domString=prettyDOM(el.cloneNode(!1));if(includeDescription){let descriptionString='Description \"'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`;return \"\"+nameString+descriptionString+domString}return \"\"+nameString+domString}).join(`\n\n`);return role+`:\n\n`+elementsString+`\n\n`+delimiterBar}).join(`\n`)}var logRoles=function(dom,_temp2){let{hidden=!1}=_temp2===void 0?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function computeAriaSelected(element){return element.tagName===\"OPTION\"?element.selected:checkBooleanAttribute(element,\"aria-selected\")}function computeAriaBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"}function computeAriaChecked(element){if(!(\"indeterminate\"in element&&element.indeterminate))return \"checked\"in element?element.checked:checkBooleanAttribute(element,\"aria-checked\")}function computeAriaPressed(element){return checkBooleanAttribute(element,\"aria-pressed\")}function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return (_ref9=(_checkBooleanAttribut=checkBooleanAttribute(element,\"aria-current\"))!=null?_checkBooleanAttribut:element.getAttribute(\"aria-current\"))!=null?_ref9:!1}function computeAriaExpanded(element){return checkBooleanAttribute(element,\"aria-expanded\")}function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);if(attributeValue===\"true\")return !0;if(attributeValue===\"false\")return !1}function computeHeadingLevel(element){let implicitHeadingLevels={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return element.getAttribute(\"aria-level\")&&Number(element.getAttribute(\"aria-level\"))||implicitHeadingLevels[element.tagName]}function computeAriaValueNow(element){let valueNow=element.getAttribute(\"aria-valuenow\");return valueNow===null?void 0:+valueNow}function computeAriaValueMax(element){let valueMax=element.getAttribute(\"aria-valuemax\");return valueMax===null?void 0:+valueMax}function computeAriaValueMin(element){let valueMin=element.getAttribute(\"aria-valuemin\");return valueMin===null?void 0:+valueMin}function computeAriaValueText(element){let valueText=element.getAttribute(\"aria-valuetext\");return valueText===null?void 0:valueText}var normalize2=getDefaultNormalizer();function escapeRegExp(string2){return string2.replace(/[.*+\\-?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function getRegExpMatcher(string2){return new RegExp(escapeRegExp(string2.toLowerCase()),\"i\")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning=\"\",queryOptions={},queryArgs=[[\"Role\",\"TestId\"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),queryName===\"Role\"&&isInaccessible(element)&&(queryOptions.hidden=!0,warning=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n `),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+\"By\"+queryName;return {queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text=typeof text==\"string\"?\"'\"+text+\"'\":text,options=options?\", { \"+Object.entries(options).map(_ref2=>{let[k,v2]=_ref2;return k+\": \"+v2}).join(\", \")+\" }\":\"\",queryMethod+\"(\"+text+options+\")\"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(variant===void 0&&(variant=\"get\"),element.matches(getConfig().defaultIgnore))return;let role=(_element$getAttribute=element.getAttribute(\"role\"))!=null?_element$getAttribute:(_getImplicitAriaRoles=getImplicitAriaRoles2(element))==null?void 0:_getImplicitAriaRoles[0];if(role!==\"generic\"&&canSuggest(\"Role\",method,role))return makeSuggestion(\"Role\",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map(label=>label.content).join(\" \");if(canSuggest(\"LabelText\",method,labelText))return makeSuggestion(\"LabelText\",element,labelText,{variant});let placeholderText=element.getAttribute(\"placeholder\");if(canSuggest(\"PlaceholderText\",method,placeholderText))return makeSuggestion(\"PlaceholderText\",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest(\"Text\",method,textContent))return makeSuggestion(\"Text\",element,textContent,{variant});if(canSuggest(\"DisplayValue\",method,element.value))return makeSuggestion(\"DisplayValue\",element,normalize2(element.value),{variant});let alt=element.getAttribute(\"alt\");if(canSuggest(\"AltText\",method,alt))return makeSuggestion(\"AltText\",element,alt,{variant});let title=element.getAttribute(\"title\");if(canSuggest(\"Title\",method,title))return makeSuggestion(\"Title\",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);if(canSuggest(\"TestId\",method,testId))return makeSuggestion(\"TestId\",element,testId,{variant})}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message);}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,\"message\",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if(typeof callback!=\"function\")throw new TypeError(\"Received `callback` arg must be a function\");return new Promise(async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus=\"idle\",overallTimeoutTimer=setTimeout(handleTimeout,timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error);return}if(await advanceTimersWrapper(async()=>{jest.advanceTimersByTime(interval);}),finished)break;checkCallback();}}else {try{checkContainerType(container);}catch(e){reject(e);return}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback();}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result);}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}else return checkCallback()}function checkCallback(){if(promiseStatus!==\"pending\")try{let result=runWithExpensiveErrorDiagnosticsDisabled(callback);typeof result?.then==\"function\"?(promiseStatus=\"pending\",result.then(resolvedValue=>{promiseStatus=\"resolved\",onDone(null,resolvedValue);},rejectedValue=>{promiseStatus=\"rejected\",lastError=rejectedValue;})):onDone(null,result);}catch(error){lastError=error;}}function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&error.name===\"TestingLibraryElementError\"&©StackTrace(error,stackTraceError)):(error=new Error(\"Timed out in waitFor.\"),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null);}})}function waitForWrapper(callback,options){let stackTraceError=new Error(\"STACK_TRACE_MESSAGE\");return getConfig().asyncWrapper(()=>waitFor(callback,{stackTraceError,...options}))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+\"\\n\\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[\"+attribute+\"]\")).filter(node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError(\"Found multiple elements by [\"+attribute+\"=\"+text+\"]\",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map(element=>getElementError(null,element).message).join(`\n\n`);throw getMultipleElementsFoundError(getMultipleError2(container,...args)+`\n\nHere are the matching elements:\n\n`+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError(`A better query is available, try this:\n`+suggestion.toString()+`\n`,container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return (container,text,options,waitForOptions)=>waitForWrapper(()=>getter(container,text,options),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map(element=>{var _getSuggestedQuery;return (_getSuggestedQuery=getSuggestedQuery(element,variant))==null?void 0:_getSuggestedQuery.toString()}))];if(uniqueSuggestionMessages.length===1&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,\"query\"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"get\"),getAllWithSuggestions=wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace(\"query\",\"get\"),\"getAll\"),findAllBy=makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,\"findAll\")),findBy=makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"find\"));return [queryBy,getAllWithSuggestions,getByWithSuggestions,findAllBy,findBy]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});function queryAllLabels(container){return Array.from(container.querySelectorAll(\"label,input\")).map(node=>({node,textToMatch:getLabelContent(node)})).filter(_ref=>{let{textToMatch}=_ref;return textToMatch!==null})}var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return queryAllLabels(container).filter(_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)}).map(_ref3=>{let{node}=_ref3;return node})},queryAllByLabelText=function(container,text,_temp2){let{selector=\"*\",exact=!0,collapseWhitespace,trim,normalizer}=_temp2===void 0?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll(\"*\")).filter(element=>getRealLabels(element).length||element.hasAttribute(\"aria-labelledby\")).reduce((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter(label=>!!label.formControl).forEach(label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl);});let labelsValue=labelList.filter(label=>!!label.content).map(label=>label.content);return matcher(labelsValue.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);}),labelledElements},[]).concat(queryAllByAttribute(\"aria-label\",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter(element=>element.matches(selector))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map(label=>getTagNameOfElementAssociatedWithLabelViaFor(container,label)).filter(tagName=>!!tagName);throw tagNames.length?getConfig().getElementError(tagNames.map(tagName=>\"Found a label with the text of: \"+text+\", however the element associated with this label (<\"+tagName+\" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <\"+tagName+\" />, you can use aria-label or aria-labelledby instead.\").join(`\n\n`),container):getConfig().getElementError(\"Found a label with the text of: \"+text+`, however no form control was found associated to that label. Make sure you're using the \"for\" attribute or \"aria-labelledby\" attribute correctly.`,container)}else throw getConfig().getElementError(\"Unable to find a label with the text of: \"+text,container)}return els};function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute(\"for\");if(!htmlFor)return null;let element=container.querySelector('[id=\"'+htmlFor+'\"]');return element?element.tagName.toLowerCase():null}var getMultipleError$7=(c,text)=>\"Found multiple elements with the text of: \"+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,\"query\"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"findAll\")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"find\")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"getAll\"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"get\"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,\"queryAll\"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(\"placeholder\",...args)},getMultipleError$6=(c,text)=>\"Found multiple elements with the placeholder text of: \"+text,getMissingError$6=(c,text)=>\"Unable to find an element with the placeholder text of: \"+text,queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,\"queryAll\"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,getMultipleError$6,getMissingError$6),queryAllByText=function(container,text,_temp){let{selector=\"*\",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return typeof container.matches==\"function\"&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter(node=>!ignore||!node.matches(ignore)).filter(node=>matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$5=(c,text)=>\"Found multiple elements with the text: \"+text,getMissingError$5=function(c,text,options){options===void 0&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString()),isNormalizedDifferent=normalizedText!==text.toString(),isCustomSelector=(selector??\"*\")!==\"*\";return \"Unable to find an element with the text: \"+(isNormalizedDifferent?normalizedText+\" (normalized from '\"+text+\"')\":text)+(isCustomSelector?\", which matches selector '\"+selector+\"'\":\"\")+\". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\"},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,\"queryAll\"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,getMultipleError$5,getMissingError$5),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"input,textarea,select\")).filter(node=>node.tagName===\"SELECT\"?Array.from(node.options).filter(option=>option.selected).some(optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer)):matcher(node.value,node,value,matchNormalizer))},getMultipleError$4=(c,value)=>\"Found multiple elements with the display value: \"+value+\".\",getMissingError$4=(c,value)=>\"Unable to find an element with the display value: \"+value+\".\",queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,\"queryAll\"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,getMultipleError$4,getMissingError$4),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return options===void 0&&(options={}),checkContainerType(container),queryAllByAttribute(\"alt\",container,alt,options).filter(node=>VALID_TAG_REGEXP.test(node.tagName))},getMultipleError$3=(c,alt)=>\"Found multiple elements with the alt text: \"+alt,getMissingError$3=(c,alt)=>\"Unable to find an element with the alt text: \"+alt,queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,\"queryAll\"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,getMultipleError$3,getMissingError$3),isSvgTitle=node=>{var _node$parentElement;return node.tagName.toLowerCase()===\"title\"&&((_node$parentElement=node.parentElement)==null?void 0:_node$parentElement.tagName.toLowerCase())===\"svg\"},queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[title], svg > title\")).filter(node=>matcher(node.getAttribute(\"title\"),node,text,matchNormalizer)||isSvgTitle(node)&&matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$2=(c,title)=>\"Found multiple elements with the title: \"+title+\".\",getMissingError$2=(c,title)=>\"Unable to find an element with the title: \"+title+\".\",queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,\"queryAll\"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,getMultipleError$2,getMissingError$2),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=_temp===void 0?{}:_temp;if(checkContainerType(container),selected!==void 0){var _allRoles$get;if(((_allRoles$get=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get.props[\"aria-selected\"])===void 0)throw new Error('\"aria-selected\" is not supported on role \"'+role+'\".')}if(busy!==void 0){var _allRoles$get2;if(((_allRoles$get2=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get2.props[\"aria-busy\"])===void 0)throw new Error('\"aria-busy\" is not supported on role \"'+role+'\".')}if(checked!==void 0){var _allRoles$get3;if(((_allRoles$get3=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get3.props[\"aria-checked\"])===void 0)throw new Error('\"aria-checked\" is not supported on role \"'+role+'\".')}if(pressed!==void 0){var _allRoles$get4;if(((_allRoles$get4=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get4.props[\"aria-pressed\"])===void 0)throw new Error('\"aria-pressed\" is not supported on role \"'+role+'\".')}if(current!==void 0){var _allRoles$get5;if(((_allRoles$get5=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get5.props[\"aria-current\"])===void 0)throw new Error('\"aria-current\" is not supported on role \"'+role+'\".')}if(level!==void 0&&role!==\"heading\")throw new Error('Role \"'+role+'\" cannot have \"level\" property.');if(valueNow!==void 0){var _allRoles$get6;if(((_allRoles$get6=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get6.props[\"aria-valuenow\"])===void 0)throw new Error('\"aria-valuenow\" is not supported on role \"'+role+'\".')}if(valueMax!==void 0){var _allRoles$get7;if(((_allRoles$get7=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get7.props[\"aria-valuemax\"])===void 0)throw new Error('\"aria-valuemax\" is not supported on role \"'+role+'\".')}if(valueMin!==void 0){var _allRoles$get8;if(((_allRoles$get8=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get8.props[\"aria-valuemin\"])===void 0)throw new Error('\"aria-valuemin\" is not supported on role \"'+role+'\".')}if(valueText!==void 0){var _allRoles$get9;if(((_allRoles$get9=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get9.props[\"aria-valuetext\"])===void 0)throw new Error('\"aria-valuetext\" is not supported on role \"'+role+'\".')}if(expanded!==void 0){var _allRoles$get10;if(((_allRoles$get10=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get10.props[\"aria-expanded\"])===void 0)throw new Error('\"aria-expanded\" is not supported on role \"'+role+'\".')}let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(makeRoleSelector(role))).filter(node=>{if(node.hasAttribute(\"role\")){let roleValue=node.getAttribute(\"role\");if(queryFallbacks)return roleValue.split(\" \").filter(Boolean).some(roleAttributeToken=>roleAttributeToken===role);let[firstRoleAttributeToken]=roleValue.split(\" \");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some(implicitRole=>implicitRole===role)}).filter(element=>{if(selected!==void 0)return selected===computeAriaSelected(element);if(busy!==void 0)return busy===computeAriaBusy(element);if(checked!==void 0)return checked===computeAriaChecked(element);if(pressed!==void 0)return pressed===computeAriaPressed(element);if(current!==void 0)return current===computeAriaCurrent(element);if(expanded!==void 0)return expanded===computeAriaExpanded(element);if(level!==void 0)return level===computeHeadingLevel(element);if(valueNow!==void 0||valueMax!==void 0||valueMin!==void 0||valueText!==void 0){let valueMatches=!0;if(valueNow!==void 0&&valueMatches&&(valueMatches=valueNow===computeAriaValueNow(element)),valueMax!==void 0&&valueMatches&&(valueMatches=valueMax===computeAriaValueMax(element)),valueMin!==void 0&&valueMatches&&(valueMatches=valueMin===computeAriaValueMin(element)),valueText!==void 0){var _computeAriaValueText;valueMatches&&(valueMatches=matches2((_computeAriaValueText=computeAriaValueText(element))!=null?_computeAriaValueText:null,element,valueText,text=>text));}return valueMatches}return !0}).filter(element=>name===void 0?!0:matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,text=>text)).filter(element=>description===void 0?!0:matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,text=>text)).filter(element=>hidden===!1?isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})===!1:!0)};function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~=\"'+role+'\"]',roleRelations=(_roleElements$get=import_aria_query3.roleElements.get(role))!=null?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map(_ref=>{let{name}=_ref;return name}));return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(\",\")}var getNameHint=name=>{let nameHint=\"\";return name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\",nameHint},getMultipleError$1=function(c,role,_temp2){let{name}=_temp2===void 0?{}:_temp2;return 'Found multiple elements with the role \"'+role+'\"'+getNameHint(name)},getMissingError$1=function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=_temp3===void 0?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return 'Unable to find role=\"'+role+'\"'+getNameHint(name);let roles3=\"\";Array.from(container.children).forEach(childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:description!==void 0});});let roleMessage;roles3.length===0?hidden===!1?roleMessage=\"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\":roleMessage=\"There are no available roles.\":roleMessage=(`\nHere are the `+(hidden===!1?\"accessible\":\"available\")+` roles:\n\n `+roles3.replace(/\\n/g,`\n `).replace(/\\n\\s\\s\\n/g,`\n\n`)+`\n`).trim();let nameHint=\"\";name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\";let descriptionHint=\"\";return description===void 0?descriptionHint=\"\":typeof description==\"string\"?descriptionHint=' and description \"'+description+'\"':descriptionHint=\" and description `\"+description+\"`\",(`\nUnable to find an `+(hidden===!1?\"accessible \":\"\")+'element with the role \"'+role+'\"'+nameHint+descriptionHint+`\n\n`+roleMessage).trim()},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,\"queryAll\"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},getMultipleError=(c,id)=>\"Found multiple elements by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',getMissingError=(c,id)=>\"Unable to find an element by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,\"queryAll\"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,getMultipleError,getMissingError),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return queries$1===void 0&&(queries$1=queries),initialValue2===void 0&&(initialValue2={}),Object.keys(queries$1).reduce((helpers,key)=>{let fn2=queries$1[key];return helpers[key]=fn2.bind(null,element),helpers},initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error(\"The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.\")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error(\"Timed out in waitForElementToBeRemoved.\");if(typeof callback!=\"function\"){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map(element=>{let parent=element.parentElement;if(parent===null)return ()=>null;for(;parent.parentElement;)parent=parent.parentElement;return ()=>parent.contains(element)?element:null});callback=()=>getRemainingElements.map(c=>c()).filter(Boolean);}return initialCheck(callback()),waitForWrapper(()=>{let result;try{result=callback();}catch(error){if(error.name===\"TestingLibraryElementError\")return;throw error}if(!isRemoved(result))throw timeoutError},options)}var eventMap={copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:\"WheelEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:\"PopStateEvent\",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:\"dblClick\"};function fireEvent(element,event){return getConfig().eventWrapper(()=>{if(!event)throw new Error(\"Unable to fire an event - please provide an event object.\");if(!element)throw new Error('Unable to fire a \"'+event.type+'\" event - please provide a DOM element.');return element.dispatchEvent(event)})}function createEvent(eventName,node,init,_temp){let{EventType=\"Event\",defaultInit={}}=_temp===void 0?{}:_temp;if(!node)throw new Error('Unable to fire a \"'+eventName+'\" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;value!==void 0&&setNativeValue(node,value),files!==void 0&&Object.defineProperty(node,\"files\",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event,event;if(typeof EventConstructor==\"function\")event=new EventConstructor(eventName,eventInit);else {event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach(eventKey=>{event[eventKey]=otherInit[eventKey];});}return [\"dataTransfer\",\"clipboardData\"].forEach(dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];typeof dataTransferValue==\"object\"&&(typeof window2.DataTransfer==\"function\"?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}));}),event}Object.keys(eventMap).forEach(key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init));});function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,\"value\")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,\"value\")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else if(valueSetter)valueSetter.call(element,value);else throw new Error(\"The given element does not have a value setter\")}Object.keys(eventAliasMap).forEach(aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)};});function unindent(string2){return string2.replace(/[ \\t]*[\\n][ \\t]*/g,`\n`)}function encode(value){return import_lz_string.default.compressToEncodedURIComponent(unindent(value))}function getPlaygroundUrl(markup){return \"https://testing-playground.com/#markup=\"+encode(markup)}var debug=(element,maxLength,options)=>Array.isArray(element)?element.forEach(el=>logDOM(el,maxLength,options)):logDOM(element,maxLength,options),logTestingPlaygroundURL=function(element){if(element===void 0&&(element=getDocument().body),!element||!(\"innerHTML\"in element)){console.log(\"The element you're providing isn't a valid DOM element.\");return}if(!element.innerHTML){console.log(\"The provided element doesn't have any children.\");return}let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log(`Open this URL in your browser\n\n`+playgroundUrl),playgroundUrl},initialValue={debug,logTestingPlaygroundURL},screen=typeof document<\"u\"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce((helpers,key)=>(helpers[key]=()=>{throw new TypeError(\"For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error\")},helpers),initialValue);function isElementType(element,tag,props){return element.namespaceURI&&element.namespaceURI!==\"http://www.w3.org/1999/xhtml\"||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase()))?!1:props?Object.entries(props).every(([k,v2])=>element[k]===v2):!0}var clickableInputTypes;(function(clickableInputTypes2){clickableInputTypes2.button=\"button\",clickableInputTypes2.color=\"color\",clickableInputTypes2.file=\"file\",clickableInputTypes2.image=\"image\",clickableInputTypes2.reset=\"reset\",clickableInputTypes2.submit=\"submit\",clickableInputTypes2.checkbox=\"checkbox\",clickableInputTypes2.radio=\"radio\";})(clickableInputTypes||(clickableInputTypes={}));function isClickableInput(element){return isElementType(element,\"button\")||isElementType(element,\"input\")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(isDocument(node)&&node.defaultView)return node.defaultView;if(!((_node_ownerDocument=node.ownerDocument)===null||_node_ownerDocument===void 0)&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${describe(node)}`)}function isDocument(node){return node.nodeType===9}function describe(val){return typeof val==\"function\"?`function ${val.name}`:val===null?\"null\":String(val)}function readBlobText(blob,FileReader){return new Promise((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result));},fr.readAsText(blob);})}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))!==null&&_this_items_find!==void 0?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text=\"\";return match?.getAsString(t=>{text=t;}),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item);}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex);}else this.items.clear();}get types(){let t=[];return this.files.length&&t.push(\"Files\"),this.items.forEach(i=>t.push(i.type)),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,\"dropEffect\",\"none\"),_define_property(this,\"effectAllowed\",\"uninitialized\"),_define_property(this,\"items\",new DataTransferItemListStub),_define_property(this,\"files\",createFileList(window2,[]));}}}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>\"u\"?createDataTransferStub(window2):new window2.DataTransfer;return Object.defineProperty(dt,\"files\",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if(item.kind===\"file\")return item.getAsFile();let data=\"\";return item.getAsString(s=>{data=s;}),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map(b2=>[typeof b2==\"string\"?\"text/plain\":b2.type,Promise.resolve(b2)]));return typeof window2.ClipboardItem<\"u\"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,\"data\",void 0),this.data=d2;}}(dataMap)}var ClipboardStubControl=Symbol(\"Manage ClipboardSub\");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text=\"\";for(let item of this.items){let type3=item.types.includes(\"text/plain\")?\"text/plain\":item.types.find(t=>t.startsWith(\"text/\"));type3&&(text+=await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));}return text}async write(data){this.items=data;}async writeText(text){this.items=[createClipboardItem(window2,text)];}constructor(...args){super(...args),_define_property2(this,\"items\",[]);}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return !!clipboard?.[ClipboardStubControl]}function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,\"clipboard\"),stub,control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control);},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,\"clipboard\",realClipboard):Object.defineProperty(window2.navigator,\"clipboard\",{value:void 0,configurable:!0});}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,\"clipboard\",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub();}function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub();}async function readDataTransferFromClipboard(document2){let window2=document2.defaultView,clipboard=window2?.navigator.clipboard,items=clipboard&&await clipboard.read();if(!items)throw new Error(\"The Clipboard API is unavailable.\");let dt=createDataTransfer(window2);for(let item of items)for(let type3 of item.types)dt.setData(type3,await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));return dt}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0,()=>!1)))throw new Error(\"The Clipboard API is unavailable.\")}var g=globalThis;typeof g.afterEach==\"function\"&&g.afterEach(()=>resetClipboardStubOnView(globalThis.window));typeof g.afterAll==\"function\"&&g.afterAll(()=>detachClipboardStubFromView(globalThis.window));function isContentEditable(element){return element.hasAttribute(\"contenteditable\")&&(element.getAttribute(\"contenteditable\")==\"true\"||element.getAttribute(\"contenteditable\")==\"\")}function getContentEditable(node){let element=getElement(node);return element&&(element.closest('[contenteditable=\"\"]')||element.closest('[contenteditable=\"true\"]'))}function getElement(node){return node.nodeType===1?node:node.parentElement}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}var editableInputTypes;(function(editableInputTypes2){editableInputTypes2.text=\"text\",editableInputTypes2.date=\"date\",editableInputTypes2[\"datetime-local\"]=\"datetime-local\",editableInputTypes2.email=\"email\",editableInputTypes2.month=\"month\",editableInputTypes2.number=\"number\",editableInputTypes2.password=\"password\",editableInputTypes2.search=\"search\",editableInputTypes2.tel=\"tel\",editableInputTypes2.time=\"time\",editableInputTypes2.url=\"url\",editableInputTypes2.week=\"week\";})(editableInputTypes||(editableInputTypes={}));function isEditableInputOrTextArea(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in editableInputTypes}var maxLengthSupportedTypes;(function(maxLengthSupportedTypes2){maxLengthSupportedTypes2.email=\"email\",maxLengthSupportedTypes2.password=\"password\",maxLengthSupportedTypes2.search=\"search\",maxLengthSupportedTypes2.telephone=\"telephone\",maxLengthSupportedTypes2.text=\"text\",maxLengthSupportedTypes2.url=\"url\";})(maxLengthSupportedTypes||(maxLengthSupportedTypes={}));function getMaxLength(element){var _element_getAttribute;let attr=(_element_getAttribute=element.getAttribute(\"maxlength\"))!==null&&_element_getAttribute!==void 0?_element_getAttribute:\"\";return /^\\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}function supportsMaxLength(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in maxLengthSupportedTypes}var FOCUSABLE_SELECTOR=[\"input:not([type=hidden]):not([disabled])\",\"button:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\",'[contenteditable=\"\"]','[contenteditable=\"true\"]',\"a[href]\",\"[tabindex]:not([disabled])\"].join(\", \");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}var bracketDict;(function(bracketDict2){bracketDict2[\"{\"]=\"}\",bracketDict2[\"[\"]=\"]\";})(bracketDict||(bracketDict={}));function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:\"\";pos+=startBracket.length;let type3=new RegExp(`^\\\\${startBracket}{2}`).test(text)?\"\":startBracket;return {type:type3,...type3===\"\"?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length,{consumedLength:pos,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier=text[pos]===\"/\"?\"/\":\"\";pos+=releasePreviousModifier.length;let escapedDescriptor=startBracket===\"{\"&&text[pos]===\"\\\\\";pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:(_text_slice_match=text.slice(pos).match(startBracket===\"{\"?/^\\w+|^[^}>/]/:/^\\w+/))===null||_text_slice_match===void 0?void 0:_text_slice_match[0];assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;var _text_slice_match_;let repeatModifier=(_text_slice_match_=(_text_slice_match1=text.slice(pos).match(/^>\\d+/))===null||_text_slice_match1===void 0?void 0:_text_slice_match1[0])!==null&&_text_slice_match_!==void 0?_text_slice_match_:\"\";pos+=repeatModifier.length;let releaseSelfModifier=text[pos]===\"/\"||!repeatModifier&&text[pos]===\">\"?text[pos]:\"\";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:\"\";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&\"repeat modifier\",!releaseSelfModifier&&\"release modifier\",`\"${expectedEndBracket}\"`].filter(Boolean).join(\" or \"),text[pos],text,context));return pos+=endBracket.length,{consumedLength:pos,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage(\"key descriptor\",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){if(releaseSelfModifier)return releaseSelfModifier===\"/\";if(repeatModifier)return !1}function getErrorMessage(expected,found,text,context){return `Expected ${expected} but found \"${found??\"\"}\" in \"${text}\"\n See ${context===\"pointer\"?\"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen\":\"https://testing-library.com/docs/user-event/keyboard\"}\n for more information about how userEvent parses your input.`}function cloneEvent(event){return new event.constructor(event.type,event)}var ApiLevel;(function(ApiLevel2){ApiLevel2[ApiLevel2.Trigger=2]=\"Trigger\",ApiLevel2[ApiLevel2.Call=1]=\"Call\";})(ApiLevel||(ApiLevel={}));function setLevelRef(instance,level){instance.levelRefs[level]={};}function getLevelRef(instance,level){return instance.levelRefs[level]}var PointerEventsCheckLevel;(function(PointerEventsCheckLevel2){PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTrigger=4]=\"EachTrigger\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]=\"EachApiCall\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]=\"EachTarget\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]=\"Never\";})(PointerEventsCheckLevel||(PointerEventsCheckLevel={}));function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,[\"button\",\"input\",\"select\",\"textarea\",\"optgroup\",\"option\"])){if(el.hasAttribute(\"disabled\"))return !0}else if(isElementType(el,\"fieldset\")){var _el_querySelector;if(el.hasAttribute(\"disabled\")&&!(!((_el_querySelector=el.querySelector(\":scope > legend\"))===null||_el_querySelector===void 0)&&_el_querySelector.contains(element)))return !0}else if(el.tagName.includes(\"-\")&&el.constructor.formAssociated&&el.hasAttribute(\"disabled\"))return !0;return !1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return (_getActiveElement=getActiveElement(document2))!==null&&_getActiveElement!==void 0?_getActiveElement:document2.body}function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement;}while(el&&el!==element.ownerDocument.body)}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function hasNoSelection(node){return isElement3(node)&&isClickableInput(node)}function isElement3(node){return node.nodeType===1}function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=((_contenteditable_firstChild=contenteditable.firstChild)===null||_contenteditable_firstChild===void 0?void 0:_contenteditable_firstChild.nodeType)===3?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0);}}else selection.setBaseAndExtent(element,0,element,0);}}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=findClosest(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(target?wrapEvent(()=>target.focus()):wrapEvent(()=>activeElement?.blur()),updateSelectionOnFocus(target??element.ownerDocument.body));}function blurElement(element){!isFocusable(element)||!(getActiveElement(element.ownerDocument)===element)||wrapEvent(()=>element.blur());}var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest(\"button,input,label,select,textarea\"),control=context&&isElementType(context,\"label\")&&context.control;if(control)return ()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,cloneEvent(event));};if(isElementType(target,\"input\",{type:\"file\"}))return ()=>{blurElement(target),target.dispatchEvent(new(getWindow(target)).Event(\"fileDialog\")),focusElement(target);}};var UIValue=Symbol(\"Displayed value in UI\"),UISelection=Symbol(\"Displayed selection in UI\"),InitialValue=Symbol(\"Initial value to compare on blur\");function isUIValue(value){return typeof value==\"object\"&&UIValue in value}function isUISelectionStart(start){return !!start&&typeof start==\"object\"&&UISelection in start}function setUIValue(element,value){element[InitialValue]===void 0&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0});}function getUIValue(element){return element[UIValue]===void 0?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0;}function clearInitialValue(element){element[InitialValue]=void 0;}function getInitialValue(element){return element[InitialValue]}function setUISelectionRaw(element,selection){element[UISelection]=selection;}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode=\"replace\"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset=mode===\"replace\"||element[UISelection]===void 0?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset);}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=(_element_UISelection=element[UISelection])!==null&&_element_UISelection!==void 0?_element_UISelection:{anchorOffset:(_element_selectionStart=element.selectionStart)!==null&&_element_selectionStart!==void 0?_element_selectionStart:0,focusOffset:(_element_selectionEnd=element.selectionEnd)!==null&&_element_selectionEnd!==void 0?_element_selectionEnd:0};return {...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function hasUISelection(element){return !!element[UISelection]}function setUISelectionClean(element){element[UISelection]=void 0;}var parseInt2=globalThis.parseInt;function buildTimeValue(value){let onlyDigitsValue=value.replace(/\\D/g,\"\");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||firstDigit===2&&secondDigit>=4){let index;return firstDigit>=3?index=1:index=2,build(onlyDigitsValue,index)}return value.length===2?value:build(onlyDigitsValue,2)}function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return `${validHours.toString().padStart(2,\"0\")}:${validMinutes.toString().padStart(2,\"0\")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return {node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return {node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,\"br\")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,\"br\")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&inputType===\"deleteContentBackward\"?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}else return {node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return offset!==void 0&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith(\"__react\"))&&getWindow(element).REACT_VERSION===17}function startTrackValue(element){isReact17Element(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]});}function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;(_element_TrackChanges=element[TrackChanges])===null||_element_TrackChanges===void 0||(_element_TrackChanges_tracked=_element_TrackChanges.tracked)===null||_element_TrackChanges_tracked===void 0||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}));}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,!(!(changes==null||(_changes_tracked=changes.tracked)===null||_changes_tracked===void 0)&&_changes_tracked.length))return;let isJustReactStateUpdate=changes.tracked.length===2&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),hasUISelection(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length});}function getTargetTypeAndSelection(node){let element=getElement2(node);if(element&&hasOwnSelection(element))return {type:\"input\",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return {type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?\"contenteditable\":\"default\",selection}}function getElement2(node){return node.nodeType===1?node:node.parentElement}function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);if(typeAndSelection.type===\"input\")return typeAndSelection.selection;if(typeAndSelection.type===\"contenteditable\"){var _typeAndSelection_selection;return (_typeAndSelection_selection=typeAndSelection.selection)===null||_typeAndSelection_selection===void 0?void 0:_typeAndSelection_selection.getRangeAt(0)}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if(getTargetTypeAndSelection(focusNode).type===\"input\")return setUISelection(focusNode,{anchorOffset,focusOffset});(_anchorNode_ownerDocument=anchorNode.ownerDocument)===null||_anchorNode_ownerDocument===void 0||(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())===null||_anchorNode_ownerDocument_getSelection===void 0||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset);}function isDateOrTime(element){return isElementType(element,\"input\")&&[\"date\",\"time\"].includes(element.type)}function input(instance,element,data,inputType=\"insertText\"){let inputRange=getInputRange(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,\"beforeinput\",{inputType,data})||(\"startContainer\"in inputRange?editContenteditable(instance,element,inputRange,data,inputType):editInputElement(instance,element,inputRange,data,inputType)));}function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(!inputRange.collapsed)del=!0,inputRange.deleteContents();else if([\"deleteContentBackward\",\"deleteContentForward\"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,inputType===\"deleteContentBackward\"?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents();}}if(data)if(inputRange.endContainer.nodeType===3){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length);}else {let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length);}(del||data)&&instance.dispatchUIEvent(element,\"input\",{inputType});}function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(supportsMaxLength(element)){let maxLength=getMaxLength(element);if(maxLength!==void 0&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(spaceUntilMaxLength>0)dataToInsert=data.substring(0,spaceUntilMaxLength);else return}}let{newValue,newOffset,oldValue}=calculateNewValue(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,\"input\",{type:\"number\"})&&!isValidNumberInput(newValue)||(setUIValue(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,\"change\"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}));}function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&inputType===\"deleteContentBackward\"?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&inputType===\"deleteContentForward\"?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,\"input\",{type:\"time\"})){let builtValue=buildTimeValue(newValue);builtValue!==\"\"&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length);}return {oldValue:value,newValue,newOffset}}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,\"input\",inputInit),commitValueAfterInput(element,newOffset);}function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split(\"e\",2);return !(/[^\\d.\\-e]/.test(value)||Number((_value_match=value.match(/-/g))===null||_value_match===void 0?void 0:_value_match.length)>2||Number((_value_match1=value.match(/\\./g))===null||_value_match1===void 0?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\\d*$/.test(valueParts[1]))}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,\"\",\"deleteByCut\");};function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if(display2===\"none\"||visibility===\"hidden\")return !1}return !0}function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter(el=>el===activeElement||!(Number(el.getAttribute(\"tabindex\"))<0||isDisabled2(el)));Number(activeElement.getAttribute(\"tabindex\"))>=0&&enabledElements.sort((a,b2)=>{let i=Number(a.getAttribute(\"tabindex\")),j=Number(b2.getAttribute(\"tabindex\"));return i===j?0:i===0?1:j===0?-1:i-j});let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,\"input\",{type:\"radio\"})?activeElement.name:void 0;enabledElements.forEach(currentElement=>{let el=currentElement;if(isElementType(el,\"input\",{type:\"radio\"})&&el.name){if(el===activeElement){prunedElements.push(el);return}else if(el.name===activeRadioGroup)return;if(el.checked){prunedElements=prunedElements.filter(e=>!isElementType(e,\"input\",{type:\"radio\",name:el.name})),prunedElements.push(el),checkedRadio[el.name]=el;return}if(typeof checkedRadio[el.name]<\"u\")return}prunedElements.push(el);});for(let index=prunedElements.findIndex(el=>el===activeElement);;)if(index+=shift?-1:1,index===prunedElements.length?index=0:index===-1&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset});}else {let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset});}else selection[direction<0?\"collapseToStart\":\"collapseToEnd\"]();}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length});}function isAllSelected(target){if(hasOwnSelection(target))return getUISelection(target).startOffset===0&&getUISelection(target).endOffset===getUIValue(target).length;var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body,selection=target.ownerDocument.getSelection();return selection?.anchorNode===focusNode&&selection.focusNode===focusNode&&selection.anchorOffset===0&&selection.focusOffset===focusNode.childNodes.length}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&((_element_firstChild=element.firstChild)===null||_element_firstChild===void 0?void 0:_element_firstChild.nodeType)===3)return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error(\"Not implemented. The result of this interaction is unreliable.\")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type=\"radio\"][name=\"${window2.CSS.escape(el.name)}\"]`:'input[type=\"radio\"][name=\"\"], input[type=\"radio\"]:not([name])'));for(let i=group.findIndex(e=>e===el)+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],\"click\"));}}behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return (_keydownBehavior_event_key1=(_keydownBehavior_event_key=keydownBehavior[event.key])===null||_keydownBehavior_event_key===void 0?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))!==null&&_keydownBehavior_event_key1!==void 0?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentBackward\");}},Delete:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentForward\");}},End:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=(_getValueOrTextContent_length=(_getValueOrTextContent=getValueOrTextContent(target))===null||_getValueOrTextContent===void 0?void 0:_getValueOrTextContent.length)!==null&&_getValueOrTextContent_length!==void 0?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos);}},Home:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{setSelectionRange(target,0,0);}},PageDown:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos);}},PageUp:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{setSelectionRange(target,0,0);}},Tab:(event,target,instance)=>()=>{let dest=getTabDestination(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length});}},combinationBehavior=(event,target,instance)=>{if(event.code===\"KeyA\"&&instance.system.keyboard.modifiers.Control)return ()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if(event.key===\"Enter\"){if(isElementType(target,\"button\")||isElementType(target,\"input\")&&ClickInputOnEnter.includes(target.type)||isElementType(target,\"a\")&&target.href)return ()=>{instance.dispatchUIEvent(target,\"click\");};if(isElementType(target,\"input\")){let form=target.form,submit=form?.querySelector('input[type=\"submit\"], button:not([type]), button[type=\"submit\"]');return submit?()=>instance.dispatchUIEvent(submit,\"click\"):form&&SubmitSingleInputOnEnter.includes(target.type)&&form.querySelectorAll(\"input\").length===1?()=>instance.dispatchUIEvent(form,\"submit\"):void 0}}if(isEditable(target)){let inputType=event.key===\"Enter\"?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?\"insertParagraph\":\"insertLineBreak\":\"insertText\",inputData=event.key===\"Enter\"?`\n`:event.key;return ()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=[\"button\",\"color\",\"file\",\"image\",\"reset\",\"submit\"],SubmitSingleInputOnEnter=[\"email\",\"month\",\"password\",\"search\",\"tel\",\"text\",\"url\",\"week\"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return (_keyupBehavior_event_key=keyupBehavior[event.key])===null||_keyupBehavior_event_key===void 0?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={\" \":(event,target,instance)=>{if(isClickableInput(target))return ()=>instance.dispatchUIEvent(target,\"click\")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return ()=>{var _event_clipboardData;let insertData=(_event_clipboardData=event.clipboardData)===null||_event_clipboardData===void 0?void 0:_event_clipboardData.getData(\"text\");insertData&&input(instance,target,insertData,\"insertFromPaste\");}};var eventMap2={auxclick:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=[\"MouseEvent\",\"PointerEvent\"];function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}function isKeyboardEvent(type3){return getEventClass(type3)===\"KeyboardEvent\"}var eventInitializer={ClipboardEvent:[initClipboardEvent],Event:[],InputEvent:[initUIEvent,initInputEvent],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,initPointerEvent],KeyboardEvent:[initUIEvent,initUIEventModififiers,initKeyboardEvent]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(getEventConstructors(window2))[EventType](type3,defaultInit);return eventInitializer[EventType].forEach(f=>f(event,init??{})),event}function getEventConstructors(window2){var _window_Event;let Event=(_window_Event=window2.Event)!==null&&_window_Event!==void 0?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=(_window_AnimationEvent=window2.AnimationEvent)!==null&&_window_AnimationEvent!==void 0?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=(_window_ClipboardEvent=window2.ClipboardEvent)!==null&&_window_ClipboardEvent!==void 0?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=(_window_PopStateEvent=window2.PopStateEvent)!==null&&_window_PopStateEvent!==void 0?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=(_window_ProgressEvent=window2.ProgressEvent)!==null&&_window_ProgressEvent!==void 0?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=(_window_TransitionEvent=window2.TransitionEvent)!==null&&_window_TransitionEvent!==void 0?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=(_window_UIEvent=window2.UIEvent)!==null&&_window_UIEvent!==void 0?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=(_window_CompositionEvent=window2.CompositionEvent)!==null&&_window_CompositionEvent!==void 0?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=(_window_FocusEvent=window2.FocusEvent)!==null&&_window_FocusEvent!==void 0?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=(_window_InputEvent=window2.InputEvent)!==null&&_window_InputEvent!==void 0?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=(_window_KeyboardEvent=window2.KeyboardEvent)!==null&&_window_KeyboardEvent!==void 0?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=(_window_MouseEvent=window2.MouseEvent)!==null&&_window_MouseEvent!==void 0?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=(_window_DragEvent=window2.DragEvent)!==null&&_window_DragEvent!==void 0?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=(_window_PointerEvent=window2.PointerEvent)!==null&&_window_PointerEvent!==void 0?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=(_window_TouchEvent=window2.TouchEvent)!==null&&_window_TouchEvent!==void 0?_window_TouchEvent:class extends UIEvent{};return {Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null});}function sanitizeNumber(n){return Number(n??0)}function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData});}function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)});}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)});}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState(k){return !!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]}});}function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode});}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget});}function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary});}function dispatchUIEvent(target,type3,init,preventDefault=!1){(isMouseEvent(type3)||isKeyboardEvent(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:(_behavior_type=behavior[type3])===null||_behavior_type===void 0?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,\"defaultPrevented\",{get:()=>defaultPrevented}),Object.defineProperty(event,\"preventDefault\",{value:()=>{defaultPrevented=event.cancelable;}}),wrapEvent(()=>target.dispatchEvent(event)),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent(()=>target.dispatchEvent(event))}function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent(()=>target.dispatchEvent(event));}var Interceptor=Symbol(\"Interceptor for programmatical calls\");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?\"set\":\"value\";if(typeof prototypeDescriptor?.[target]!=\"function\"||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement \"${String(propName)}\".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];target===\"set\"?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.();}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept});}function prepareValueInterceptor(element){prepareInterceptor(element,\"value\",function(v2){let isUI=isUIValue(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>trackOrSetValue(this,String(v2))}});}function sanitizeValue(element,v2){return isElementType(element,\"input\",{type:\"number\"})&&String(v2)!==\"\"&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,\"setSelectionRange\",function(start,...others){let isUI=isUISelectionStart(start);return {applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionStart\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionEnd\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"select\",function(){return {realArgs:[],then:()=>setUISelectionRaw(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}});}function prepareRangeTextInterceptor(element){prepareInterceptor(element,\"setRangeText\",function(...realArgs){return {realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element);}}});}var isPrepared=Symbol(\"Node prepared with document state workarounds\");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener(\"focus\",e=>{let el=e.target;prepareElement(el);},{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener(\"blur\",e=>{let el=e.target,initialValue2=getInitialValue(el);initialValue2!==void 0&&(el.value!==initialValue2&&dispatchDOMEvent(el,\"change\"),clearInitialValue(el));},{capture:!0,passive:!0}),document2[isPrepared]=isPrepared);}function prepareElement(el){el[isPrepared]||(isElementType(el,[\"input\",\"textarea\"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),prepareRangeTextInterceptor(el)),el[isPrepared]=isPrepared);}function getDocumentFromNode(el){return isDocument2(el)?el:el.ownerDocument}function isDocument2(node){return node.nodeType===9}function wait(config3){let delay=config3.delay;if(typeof delay==\"number\")return Promise.all([new Promise(resolve=>globalThis.setTimeout(()=>resolve(),delay)),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var DOM_KEY_LOCATION;(function(DOM_KEY_LOCATION2){DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.STANDARD=0]=\"STANDARD\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]=\"LEFT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]=\"RIGHT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]=\"NUMPAD\";})(DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}));var modifierKeys=[\"Alt\",\"AltGraph\",\"Control\",\"Fn\",\"Meta\",\"Shift\",\"Symbol\"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=[\"CapsLock\",\"FnLock\",\"NumLock\",\"ScrollLock\",\"SymbolLock\"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return !!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map(p2=>p2.keyDef)}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);this.setKeydownTarget(target);var _;(_=(_this_pressed=this.pressed)[_code=code])!==null&&_!==void 0||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,\"keydown\",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keypress\",{key,code,charCode:keyDef.key===\"Enter\"?13:String(keyDef.key).charCodeAt(0)});}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find(p2=>p2.keyDef.key===key)&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keyup\",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1);}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=\"\"),this.lastKeydownTarget=target;}hasKeyPress(key){return (key.length===1||key===\"Enter\")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(system){_define_property3(this,\"system\",void 0),_define_property3(this,\"modifiers\",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,\"pressed\",{}),_define_property3(this,\"carryChar\",\"\"),_define_property3(this,\"lastKeydownTarget\",void 0),_define_property3(this,\"modifierLockStart\",{}),this.system=system;}};var defaultKeyMap=[...\"0123456789\".split(\"\").map(c=>({code:`Digit${c}`,key:c})),...\")!@#$%^&*(\".split(\"\").map((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0})),...\"abcdefghijklmnopqrstuvwxyz\".split(\"\").map(c=>({code:`Key${c.toUpperCase()}`,key:c})),...\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\").map(c=>({code:`Key${c}`,key:c,shiftKey:!0})),{code:\"Space\",key:\" \"},{code:\"AltLeft\",key:\"Alt\",location:DOM_KEY_LOCATION.LEFT},{code:\"AltRight\",key:\"Alt\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ShiftLeft\",key:\"Shift\",location:DOM_KEY_LOCATION.LEFT},{code:\"ShiftRight\",key:\"Shift\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ControlLeft\",key:\"Control\",location:DOM_KEY_LOCATION.LEFT},{code:\"ControlRight\",key:\"Control\",location:DOM_KEY_LOCATION.RIGHT},{code:\"MetaLeft\",key:\"Meta\",location:DOM_KEY_LOCATION.LEFT},{code:\"MetaRight\",key:\"Meta\",location:DOM_KEY_LOCATION.RIGHT},{code:\"OSLeft\",key:\"OS\",location:DOM_KEY_LOCATION.LEFT},{code:\"OSRight\",key:\"OS\",location:DOM_KEY_LOCATION.RIGHT},{code:\"Tab\",key:\"Tab\"},{code:\"CapsLock\",key:\"CapsLock\"},{code:\"Backspace\",key:\"Backspace\"},{code:\"Enter\",key:\"Enter\"},{code:\"Escape\",key:\"Escape\"},{code:\"ArrowUp\",key:\"ArrowUp\"},{code:\"ArrowDown\",key:\"ArrowDown\"},{code:\"ArrowLeft\",key:\"ArrowLeft\"},{code:\"ArrowRight\",key:\"ArrowRight\"},{code:\"Home\",key:\"Home\"},{code:\"End\",key:\"End\"},{code:\"Delete\",key:\"Delete\"},{code:\"PageUp\",key:\"PageUp\"},{code:\"PageDown\",key:\"PageDown\"},{code:\"Fn\",key:\"Fn\"},{code:\"Symbol\",key:\"Symbol\"},{code:\"AltRight\",key:\"AltGraph\"}];var defaultKeyMap2=[{name:\"MouseLeft\",pointerType:\"mouse\",button:\"primary\"},{name:\"MouseRight\",pointerType:\"mouse\",button:\"secondary\"},{name:\"MouseMiddle\",pointerType:\"mouse\",button:\"auxiliary\"},{name:\"TouchA\",pointerType:\"touch\"},{name:\"TouchB\",pointerType:\"touch\"},{name:\"TouchC\",pointerType:\"touch\"}];function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed){this.pressed[button].push(keyDef);return}return this.pressed[button]=[keyDef],button}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter(k=>k.name!==keyDef.name),this.pressed[button].length===0))return delete this.pressed[button],button}constructor(){_define_property4(this,\"pressed\",{});}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return button=getMouseButtonId(button),button in MouseButtonFlip?MouseButtonFlip[button]:button}function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){_define_property5(this,\"pressedKeys\",new Set);}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return [treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(node.nodeType===3?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=offset===void 0?node.childNodes.length-1:0,step=offset===void 0?-1:1;for(;offset===void 0?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error(\"The given offset is out of bounds.\");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(offset!==void 0&&text.lengthselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange());}}function isDifferentPointerPosition(positionA,positionB){var _positionA_coords,_positionB_coords,_positionA_coords1,_positionB_coords1,_positionA_caret,_positionB_caret,_positionA_caret1,_positionB_caret1;return positionA.target!==positionB.target||((_positionA_coords=positionA.coords)===null||_positionA_coords===void 0?void 0:_positionA_coords.x)!==((_positionB_coords=positionB.coords)===null||_positionB_coords===void 0?void 0:_positionB_coords.y)||((_positionA_coords1=positionA.coords)===null||_positionA_coords1===void 0?void 0:_positionA_coords1.y)!==((_positionB_coords1=positionB.coords)===null||_positionB_coords1===void 0?void 0:_positionB_coords1.y)||((_positionA_caret=positionA.caret)===null||_positionA_caret===void 0?void 0:_positionA_caret.node)!==((_positionB_caret=positionB.caret)===null||_positionB_caret===void 0?void 0:_positionB_caret.node)||((_positionA_caret1=positionA.caret)===null||_positionA_caret1===void 0?void 0:_positionA_caret1.offset)!==((_positionB_caret1=positionB.caret)===null||_positionB_caret1===void 0?void 0:_positionB_caret1.offset)}function _define_property6(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Mouse=class{move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(\"mousemove\"),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"mouseout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"mouseleave\",init)));},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"mouseover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"mouseenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"mousemove\",init),this.modifySelecting(instance);}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(button===void 0)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit(\"mousedown\",keyDef.button);(disabled||instance.dispatchUIEvent(target,\"mousedown\",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&getMouseEventButton(keyDef.button)===2&&instance.dispatchUIEvent(target,\"contextmenu\",this.getEventInit(\"contextmenu\",keyDef.button,pointer3));}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(button===void 0)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,\"mouseup\",this.getEventInit(\"mouseup\",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit(\"click\",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,init.button===0?\"click\":\"auxclick\",init),init.button===0&&init.detail===2&&instance.dispatchUIEvent(clickTarget,\"dblclick\",{...this.getEventInit(\"dblclick\",keyDef.button),detail:init.detail}));}}}resetClickCount(){this.clickCount.reset();}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),type3===\"mousedown\"?init.detail=this.clickCount.getOnDown(init.button):type3===\"mouseup\"?init.detail=this.clickCount.getOnUp(init.button):(type3===\"click\"||type3===\"auxclick\")&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset,clickCount});}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&modifySelectionPerMouseMove(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset});}endSelecting(){this.selecting=void 0;}constructor(){_define_property6(this,\"position\",{}),_define_property6(this,\"buttons\",new Buttons),_define_property6(this,\"selecting\",void 0),_define_property6(this,\"buttonDownTarget\",{}),_define_property6(this,\"clickCount\",new class{incOnClick(button){let current=this.down[button]===void 0?void 0:Number(this.down[button])+1;return this.count=this.count[button]===void 0?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button;this.down={[button]:(_this_count_button=this.count[button])!==null&&_this_count_button!==void 0?_this_count_button:0};var _this_count_button1;return this.count={[button]:(_this_count_button1=this.count[button])!==null&&_this_count_button1!==void 0?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return this.down[button]===void 0?void 0:Number(this.down[button])+1}reset(){this.count={};}constructor(){_define_property6(this,\"down\",{}),_define_property6(this,\"count\",{});}});}};function hasPointerEvents(instance,element){var _checkPointerEvents;return ((_checkPointerEvents=checkPointerEvents(instance,element))===null||_checkPointerEvents===void 0?void 0:_checkPointerEvents.pointerEvents)!==\"none\"}function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&![\"inherit\",\"unset\"].includes(pointerEvents))return {pointerEvents,tree}}}var PointerEventsCheck=Symbol(\"Last check for pointer-events\");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(!(instance.config.pointerEventsCheck!==PointerEventsCheckLevel.Never&&(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger))))return lastCheck?.result;let declaration=closestPointerEventsDeclaration(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if(declaration?.pointerEvents===\"none\")throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?\"inherits\":\"has\"} \\`pointer-events: none\\`:`,\"\",printTree(declaration.tree)].join(`\n`))}function printTree(tree){return tree.reverse().map((el,i)=>[\"\".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute(\"data-testid\")&&`(testId=${el.getAttribute(\"data-testid\")})`,getLabelDescr(el),tree.length>1&&i===0&&\" <-- This element declared `pointer-events: none`\",tree.length>1&&i===tree.length-1&&\" <-- Asserted pointer events here\"].filter(Boolean).join(\"\")).join(`\n`)}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute(\"aria-label\"))label=element.getAttribute(\"aria-label\");else if(element.hasAttribute(\"aria-labelledby\")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute(\"aria-labelledby\")))===null||_element_ownerDocument_getElementById===void 0||(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)===null||_element_ownerDocument_getElementById_textContent===void 0?void 0:_element_ownerDocument_getElementById_textContent.trim();}else if(isElementType(element,[\"button\",\"input\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\"])&&(!((_element_labels=element.labels)===null||_element_labels===void 0)&&_element_labels.length))label=Array.from(element.labels).map(el=>{var _el_textContent;return (_el_textContent=el.textContent)===null||_el_textContent===void 0?void 0:_el_textContent.trim()}).join(\"|\");else if(isElementType(element,\"button\")){var _element_textContent;label=(_element_textContent=element.textContent)===null||_element_textContent===void 0?void 0:_element_textContent.trim();}return label=label?.replace(/\\n/g,\" \"),Number(label?.length)>30&&(label=`${label?.substring(0,29)}\\u2026`),label?`(label=${label})`:\"\"}function hasBitFlag(conf,flag){return (conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init)));},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"pointermove\",init);}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,\"pointerdown\",this.getEventInit());}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,\"pointerup\",this.getEventInit());}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init))),this.isCancelled=!0;}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}getEventInit(){return {...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,\"pointerId\",void 0),_define_property7(this,\"pointerType\",void 0),_define_property7(this,\"isPrimary\",void 0),_define_property7(this,\"isMultitouch\",!1),_define_property7(this,\"isCancelled\",!1),_define_property7(this,\"isDown\",!1),_define_property7(this,\"isPrevented\",!1),_define_property7(this,\"position\",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary;}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3=keyDef.pointerType===\"touch\"?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),pointer3.pointerType!==\"touch\"&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3);}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove=pointer3.pointerType===\"touch\"||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move();}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),device.countPressed===0&&pointer3.up(instance,keyDef),pointer3.pointerType===\"touch\"&&pointer3.release(instance),!pointer3.isPrevented){if(pointer3.pointerType===\"touch\"&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3);}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3);}}}getPointerName(keyDef){return keyDef.pointerType===\"touch\"?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount();}getMouseTarget(instance){var _this_mouse_position_target;return (_this_mouse_position_target=this.mouse.position.target)!==null&&_this_mouse_position_target!==void 0?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get(\"mouse\").position=position;}constructor(system){_define_property8(this,\"system\",void 0),_define_property8(this,\"mouse\",void 0),_define_property8(this,\"buttons\",void 0),_define_property8(this,\"devices\",new class{get(k){var _this_registry,_k,_;return (_=(_this_registry=this.registry)[_k=k])!==null&&_!==void 0||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,\"registry\",{});}}),_define_property8(this,\"pointers\",new class{new(pointerName,keyDef){let isPrimary=keyDef.pointerType!==\"touch\"||!Object.values(this.registry).some(p2=>p2.pointerType===\"touch\"&&!p2.isCancelled);return isPrimary||Object.values(this.registry).forEach(p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0);}),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer \"${pointerName}\" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,\"registry\",{mouse:new Pointer({pointerId:1,pointerType:\"mouse\",isPrimary:!0})}),_define_property8(this,\"nextId\",2);}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse;}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return {altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,\"keyboard\",new KeyboardHost(this)),_define_property9(this,\"pointer\",new PointerHost(this));}};async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:\"[MouseLeft]\",target:element}),this.pointer(pointerIn)}async function dblClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft]\"])}async function tripleClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft][MouseLeft]\"])}async function hover(element){return this.pointer({target:element})}async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})}async function tab({shift}={}){return this.keyboard(shift===!0?\"{Shift>}{Tab}{/Shift}\":shift===!1?\"[/ShiftLeft][/ShiftRight]{Tab}\":\"{Tab}\")}function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,\"keyboard\");var _keyboardMap_find;let keyDef=(_keyboardMap_find=keyboardMap.find(def=>{if(type3===\"[\"){var _def_code;return ((_def_code=def.code)===null||_def_code===void 0?void 0:_def_code.toLowerCase())===descriptor.toLowerCase()}else if(type3===\"{\"){var _def_key;return ((_def_key=def.key)===null||_def_key===void 0?void 0:_def_key.toLowerCase())===descriptor.toLowerCase()}return def.key===descriptor}))!==null&&_keyboardMap_find!==void 0?_keyboardMap_find:{key:\"Unknown\",code:\"Unknown\",[type3===\"[\"?\"code\":\"key\"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength);}while(text);return defs}async function keyboard(text){let actions=parseKeyDef(this.config.keyboardMap,text);for(let i=0;i{throw new Error(\"`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.\")});this.dispatchUIEvent(target,\"paste\",{clipboardData:dataTransfer});}function getClipboardDataFromString(doc,text){let dt=createDataTransfer(getWindow(doc));return dt.setData(\"text\",text),dt}function parseKeyDef2(pointerMap,keys2){let defs=[];do{let{descriptor,consumedLength,releasePrevious,releaseSelf=!0}=readNextDescriptor(keys2,\"pointer\"),keyDef=pointerMap.find(p2=>p2.name===descriptor);keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength);}while(keys2);return defs}async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach(actionInput=>{typeof actionInput==\"string\"?actions.push(...parseKeyDef2(pointerMap,actionInput)):\"keys\"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map(i=>({...actionInput,...i}))):actions.push(actionInput);});for(let i=0;i{if(typeof val!=\"string\"&&allOptions.includes(val))return val;{let matchingOption=allOptions.find(o=>o.value===val||o.innerHTML===val);if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value \"${String(val)}\" not found in options`,select)}}).filter(option=>!isDisabled2(option));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,\"input\",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,\"change\");};if(isElementType(select,\"select\"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(option,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(option,\"pointermove\"),this.dispatchUIEvent(option,\"mousemove\"),this.dispatchUIEvent(option,\"pointerdown\"),this.dispatchUIEvent(option,\"mousedown\")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,\"pointerup\"),this.dispatchUIEvent(option,\"mouseup\")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,\"click\"),await wait(this.config);}else if(selectedOptions.length===1){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(select,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(select,\"pointerup\"),this.dispatchUIEvent(select,\"mouseup\"),this.dispatchUIEvent(select,\"click\")),await wait(this.config);}else throw getConfig().getElementError(\"Cannot select multiple options on a non-multiple select\",select);else if(select.getAttribute(\"role\")===\"listbox\")for(let option of selectedOptions)await this.click(option),await this.unhover(option);else throw getConfig().getElementError(\"Cannot select options on elements that are neither select nor listbox elements\",select)}async function type(element,text,{skipClick=this.config.skipClick,skipAutoClose=this.config.skipAutoClose,initialSelectionStart,initialSelectionEnd}={}){element.disabled||(skipClick||await this.click(element),initialSelectionStart!==void 0&&setSelectionRange(element,initialSelectionStart,initialSelectionEnd??initialSelectionStart),await this.keyboard(text),skipAutoClose||await releaseAllKeys(this));}var fakeFiles=Symbol(\"files and value properties are mocked\");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop];}function setFiles(el,files){var _el_fakeFiles;(_el_fakeFiles=el[fakeFiles])===null||_el_fakeFiles===void 0||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,\"type\"),valueDescr=Object.getOwnPropertyDescriptor(el,\"value\"),filesDescr=Object.getOwnPropertyDescriptor(el,\"files\");function restore(){restoreProperty(el,\"type\",typeDescr),restoreProperty(el,\"value\",valueDescr),restoreProperty(el,\"files\",filesDescr);}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\\\fakepath\\\\${files[0].name}`:\"\",set(v2){if(v2===\"\")restore();else {var _valueDescr_set;valueDescr==null||(_valueDescr_set=valueDescr.set)===null||_valueDescr_set===void 0||_valueDescr_set.call(el,v2);}}},type:{configurable:!0,get:()=>\"file\",set(v2){v2!==\"file\"&&(restore(),el.type=v2);}}});}async function upload(element,fileOrFiles){let input2=isElementType(element,\"label\")?element.control:element;if(!input2||!isElementType(input2,\"input\",{type:\"file\"}))throw new TypeError(`The ${input2===element?\"given\":\"associated\"} ${input2?.tagName} element does not accept file uploads`);if(isDisabled2(element))return;let files=(Array.isArray(fileOrFiles)?fileOrFiles:[fileOrFiles]).filter(file=>!this.config.applyAccept||isAcceptableFile(file,input2.accept)).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===((_input_files=input2.files)===null||_input_files===void 0?void 0:_input_files.length)&&files.every((f,i)=>{var _input_files2;return f===((_input_files2=input2.files)===null||_input_files2===void 0?void 0:_input_files2.item(i))})||(setFiles(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,\"input\"),this.dispatchUIEvent(input2,\"change\"));};input2.addEventListener(\"fileDialog\",fileDialog),await this.click(element),input2.removeEventListener(\"fileDialog\",fileDialog);}function isAcceptableFile(file,accept){if(!accept)return !0;let wildcards=[\"audio/*\",\"image/*\",\"video/*\"];return accept.split(\",\").some(acceptToken=>acceptToken.startsWith(\".\")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken)}var userEventApi={click,dblClick,tripleClick,hover,unhover,tab,keyboard,copy,cut,paste,pointer,clear,deselectOptions,selectOptions,type,upload};function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:defaultKeyMap2,pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=getDocument2(options,node,defaults);return {...defaults,...options,document:document2}}function setupMain(options={}){let config3=createConfig(options);prepareDocument(config3.document);var _config_document_defaultView;let view=(_config_document_defaultView=config3.document.defaultView)!==null&&_config_document_defaultView!==void 0?_config_document_defaultView:globalThis.window;return attachClipboardStubToView(view),createInstance(config3).api}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);prepareDocument(config3.document);var _ref;let system=(_ref=pointerState??keyboardState)!==null&&_ref!==void 0?_ref:new System;return {api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),wrapAsync(()=>impl.apply(instance,args).then(async ret=>(await wait(instance.config),ret)))}return Object.defineProperty(method,\"name\",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map(([name,api])=>[name,wrapAndBindImpl(instance,api)])),setup:setupSub.bind(instance)}}}function getDocument2(options,node,defaults){var _options_document,_ref;return (_ref=(_options_document=options.document)!==null&&_options_document!==void 0?_options_document:node&&getDocumentFromNode(node))!==null&&_ref!==void 0?_ref:defaults.document}var directApi_exports={};__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then(()=>system)}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then(()=>system)}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}var userEvent={...directApi_exports,setup:setupMain};function dedent(templ){for(var values=[],_i=1;_ipath[0]===\"fireEvent\"||method.startsWith(\"find\")||method.startsWith(\"waitFor\")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get(target,prop,receiver){return once.warn(esm_default`\n You are using Testing Library's \\`screen\\` object. Use \\`within(canvasElement)\\` instead.\n More info: https://storybook.js.org/docs/react/essentials/interactions\n `),Reflect.get(target,prop,receiver)}});var {buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=instrument({userEvent},{intercept:!0});var {expect:expect3}=instrument({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=[\"assert\",\"__methods\",\"__flags\",\"_obj\"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter(it=>!privateApi.includes(it));return depth>2?keys2:[...keys2,\"not\"]}return Object.keys(obj)},intercept:method=>method!==\"expect\"}),resetAllMocksLoader=({parameters})=>{parameters?.test?.mockReset===!0?resetAllMocks():parameters?.test?.clearMocks===!0?clearAllMocks():parameters?.test?.restoreMocks!==!1&&restoreAllMocks();};scope.__STORYBOOK_TEST_LOADERS__=[resetAllMocksLoader];\n\nexport { buildQueries2 as buildQueries, clearAllMocks, configure2 as configure, createEvent3 as createEvent, expect3 as expect, findAllByAltText2 as findAllByAltText, findAllByDisplayValue2 as findAllByDisplayValue, findAllByLabelText2 as findAllByLabelText, findAllByPlaceholderText2 as findAllByPlaceholderText, findAllByRole2 as findAllByRole, findAllByTestId2 as findAllByTestId, findAllByText2 as findAllByText, findAllByTitle2 as findAllByTitle, findByAltText2 as findByAltText, findByDisplayValue2 as findByDisplayValue, findByLabelText2 as findByLabelText, findByPlaceholderText2 as findByPlaceholderText, findByRole2 as findByRole, findByTestId2 as findByTestId, findByText2 as findByText, findByTitle2 as findByTitle, fireEvent2 as fireEvent, fn, getAllByAltText2 as getAllByAltText, getAllByDisplayValue2 as getAllByDisplayValue, getAllByLabelText2 as getAllByLabelText, getAllByPlaceholderText2 as getAllByPlaceholderText, getAllByRole2 as getAllByRole, getAllByTestId2 as getAllByTestId, getAllByText2 as getAllByText, getAllByTitle2 as getAllByTitle, getByAltText2 as getByAltText, getByDisplayValue2 as getByDisplayValue, getByLabelText2 as getByLabelText, getByPlaceholderText2 as getByPlaceholderText, getByRole2 as getByRole, getByTestId2 as getByTestId, getByText2 as getByText, getByTitle2 as getByTitle, getConfig2 as getConfig, getDefaultNormalizer2 as getDefaultNormalizer, getElementError2 as getElementError, getNodeText2 as getNodeText, getQueriesForElement2 as getQueriesForElement, getRoles2 as getRoles, getSuggestedQuery2 as getSuggestedQuery, isInaccessible2 as isInaccessible, isMockFunction, logDOM2 as logDOM, logRoles2 as logRoles, mocked, mocks, prettyDOM2 as prettyDOM, prettyFormat2 as prettyFormat, queries2 as queries, queryAllByAltText2 as queryAllByAltText, queryAllByAttribute2 as queryAllByAttribute, queryAllByDisplayValue2 as queryAllByDisplayValue, queryAllByLabelText2 as queryAllByLabelText, queryAllByPlaceholderText2 as queryAllByPlaceholderText, queryAllByRole2 as queryAllByRole, queryAllByTestId2 as queryAllByTestId, queryAllByText2 as queryAllByText, queryAllByTitle2 as queryAllByTitle, queryByAltText2 as queryByAltText, queryByAttribute2 as queryByAttribute, queryByDisplayValue2 as queryByDisplayValue, queryByLabelText2 as queryByLabelText, queryByPlaceholderText2 as queryByPlaceholderText, queryByRole2 as queryByRole, queryByTestId2 as queryByTestId, queryByText2 as queryByText, queryByTitle2 as queryByTitle, queryHelpers2 as queryHelpers, resetAllMocks, restoreAllMocks, screen2 as screen, spyOn, userEvent2 as userEvent, waitFor2 as waitFor, waitForElementToBeRemoved2 as waitForElementToBeRemoved, within };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/iframe.html b/iframe.html index 831999a..1bdf4e1 100644 --- a/iframe.html +++ b/iframe.html @@ -363,8 +363,8 @@ window['TAGS_OPTIONS'] = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}}; \ No newline at end of file + import './main.2739fbad.iframe.bundle.js'; \ No newline at end of file diff --git a/index.html b/index.html index c9f9b8c..8bcbdf0 100644 --- a/index.html +++ b/index.html @@ -51,6 +51,8 @@ + +